Charles M Drani
ee56794601
add test for fs.open with wx flag for existing file ( #745 )
...
* add test for fs.open with wx flag for existing file
* update implementation and open spec to throw EEXIST
2019-02-27 11:56:11 -05:00
rscotchmer
914ba8b473
added test to fs.readlink.spec.js
2019-02-26 12:06:41 -05:00
Oleksii Polovyi
2a4fa0f0fd
fixed #738 : consolidated stats into stat tests ( #743 )
...
* fixed #738 : consolidated stats into stat tests
* fix for newline and import spacing
2019-02-23 16:42:51 -05:00
ApolllonDev
9d3f220d92
increase test timeout to 10 seconds from 5 seconds
2019-02-23 16:42:03 -05:00
Abdirahman Guled
3d10d6431c
Fix #710 : updated let to const.
2019-02-15 15:04:04 -05:00
Adel El Masery
7ab6f5e7c6
Update fs.read.spec.js ( #741 )
...
* Update fs.read.spec.js
* Update fs.read.spec.js
2019-02-12 16:44:21 -05:00
kwchan19
9487e8ecc6
Issue 728: Updated 'filer/tests/spec/fs.shell.spec.js' to use 'const/let' instead of 'var' ( #730 )
...
* Fixes for review comments
* Fixes for review comments
* Fixes for review comments
* Fixes for review comments
* Fixes for review comments
2019-02-12 14:50:57 -05:00
hoaianhkhang
e6f8ef2251
Issue #715 Update fs.lstat.spec.js to have proper const and let instead of var and added 'use strict' ( #727 )
...
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
* Update fs.lstat.spec.js
2019-02-12 14:49:20 -05:00
Paul Moon
f2201e7a74
Update fs.spec.js to use strict mode and changed var to let ( #693 )
...
* Update fs.spec.js
* Update fs.spec.js
Changed global variables
* Update fs.spec.js
changed let to const
2019-02-12 14:46:56 -05:00
otkach
3447ec9c8a
Updated file for issue #714 ( #732 )
...
* Updated file for issue 714
* Updated file due to review requirements
2019-02-08 15:00:45 -05:00
David Humphrey (:humph) david.humphrey@senecacollege.ca
fe17870a8f
Merge branch 'issue-734'
2019-02-08 14:52:57 -05:00
David Humphrey
f4e0dce8d3
Merge pull request #733 from PriyankaCodes99/issue-685
...
issue-685 fix: replaced "var" with "let" in fs.unlink.spec.js
2019-02-08 14:42:53 -05:00
Priyanka Dhiman
34e5580a66
changes made as requested
2019-02-08 11:32:27 -05:00
Aqeel Parpia
c515865fb3
[Issue 734]
2019-02-08 05:46:54 -05:00
Aqeel Parpia
4887cc725f
issue 734
2019-02-08 05:36:55 -05:00
Aqeel Parpia
3471848b39
[issue-734]
2019-02-08 05:25:26 -05:00
David Humphrey
9b3e567dd1
Release 1.1.2
2019-02-07 22:54:40 -05:00
David Humphrey
bf18093661
fs.lstat should return a Stats object including mode
2019-02-07 22:51:52 -05:00
David Humphrey
fa3186d322
Release 1.1.1
2019-02-07 16:38:32 -05:00
David Humphrey
8a2e64f9ea
Fix #736 : use ms vs. s resolution on all times
2019-02-07 16:36:17 -05:00
Alvin Valdez
0ec51a198d
Fix for issue-670: Changed var to const ( #687 )
...
* Changed var to const
* Added 'use strict' to top of file
* Update stats.js
* Update stats.js
2019-02-05 14:38:59 -05:00
Oleksii Polovyi
317cee5636
Fix issue #672 : Refactor "filer/tests/spec/fs.mkdir.spec.js" to follow ES6 syntax with "const/let" instead of "var" ( #722 )
...
* Solution for issue-672
* Removed extra 'use strict';
2019-02-05 14:20:48 -05:00
cmchumak
3c51bbb24f
Issue-686 - rfs.mkdtemp.spec.js ( #717 )
...
* Replaced 'var' with 'const' where applicable
* Issue-686 - replacing 'var' with 'const', added 'use strict' fs.mkdtemp.spec.js
* Issue-686 - replacing 'var' with 'const', updated 'use strict' fs.mkdtemp.spec.js
2019-02-05 13:58:01 -05:00
Arash N
9d4b264479
Update errors.spec.js ( #718 )
...
* Update errors.spec.js
Updating errors.spec.js to use const/let appropriately instead of var.
* Update errors.spec.js
- Changed corrected 'using' to 'use'.
- Changed 'let' to 'const' becuase the're not being changed during the function scope.
2019-02-05 13:51:29 -05:00
Sahib Arora
b5e1d9a82b
'Use strict' @top and updated the file with const/let [issue-702] ( #726 )
...
* filer.spec.js var changed to const/let
* let changed to const for a local variable, which is constant through out
2019-02-05 13:46:58 -05:00
Jacob Adach
da1aad5667
fixes issue #667 ( #678 )
...
* fixes issue 667: Update code in tests/some/fs.write.spec.js to use const/let AND strict mode
* fixes issue 667: Update code in tests/some/fs.write.spec.js to use const/let AND strict mode
* changed let to const for variables pointing to required function
* switched a few variable lets to const in file fs.write.spec.js
* switched a few variable lets to const in file fs.write.spec.js
* added package-lock.json file
* changed variables let to const
2019-02-01 20:53:12 -05:00
Violet-XiaoWeiHuang
05057c45d2
Fix ssue #692 : Update code in filer/tests/spec/time-flags.spec.js ( #696 )
...
* installed npm
* modified time-flags.spec.js
* Update code to use const/let instead of var
* update the variable type from let to const
* add Strict mode
* review fixed
2019-02-01 15:04:15 -05:00
Rachael Scotchmer
4ba9eded4c
Fix Issue 684: Replace var with const, let in filer/tests/spec/filer.buffer.spec.js ( #697 )
...
* refactored code in tests/spec/filer.buffer.spec.js
* reverted changes to package-lock.json which shouldn't have been changed
* updated package-lock.json
* trying to fix bug
* roll back changes to package-lock.json, change lets to consts in filer.buffer.spec.js, added new line at the end of filer.buffer.spec.js
2019-02-01 12:45:54 -05:00
Woosle Park
8eaaeeed17
Fix issue #681 : Updated filer/tests/spec/filer.filesystem.spec.js ( #695 )
...
* issue 681 fix
* issue 681 revision
* issue 681 revision v2
2019-01-31 20:23:57 -05:00
Brandon Wissmann
3b4bf42604
Fixes #662 : exchange var for const of require statements in src/filesystem/interface.js ( #668 )
...
* exchange var for const of require statements
Changed decleration of import files from var to const in interface.js
* Fixed all areas where var was used as well as use destructing assignment for CONST imports.
* Fixed import const statement
* Added changes from let to const in certain lines
2019-01-31 20:22:46 -05:00
Harsh Patel
701849eb5a
Fixed #707 Replaced var with const and let and added strict mode ( #712 )
...
* Fixed #707 Replaced var with const and let and added strict mode
* Fixed src/fs-watcher.js and changed remaining var to let
* Changed src/fs-watcher.js file to use const instead of let at line 52 and 57
2019-01-31 20:20:56 -05:00
DavidLi119
87513997a2
Fixed #708 : Added 'use strict' and replaced var with let/const in fs.appendFile.spec.js ( #713 )
...
* Add files via upload
* Add files via upload
* Revert "Add files via upload"
This reverts commit 214977d8bf
.
* Update fs.appendFile.spec.js
* s
* Revert "s"
This reverts commit 8aa5cbbbd6
.
* Changed all `let` to `const`
As informed, all variables will not change at all in this file, therefore all `let` declarations have been changed to `const`
2019-01-31 18:42:50 -05:00
bonbon12
1e660a9d07
Fixed #699 Replacing var with let/const and adding strict mode ( #706 )
...
* Updated File to use let/const and strict mode
* Update path-resolution.spec.js
* Updated path-resolution.spec.js
Upon review and further inspection, there was a realization that there was need for the "let" variable as all variable were not modified.
Instead, "const" was used.
2019-01-31 16:42:38 -05:00
Iryna Thompson
3f619fdcb8
Fixed #665 : Replaced var with let or const and added strict mode fs.a… ( #688 )
...
* Fixed #665 : Replaced var with let or const and added strict mode fs.access.spec.js
* Replaced let with const
* Replaced all let with const
2019-01-31 16:08:19 -05:00
Vincent Logozzo
43bba422d9
fixed Issue-689 indexedDB.js ( #700 )
...
* CRLF replaced with LF
* package changes to run tests
* updated local varriables to use let and const instead of var
* reverted dependency changes
2019-01-31 15:40:09 -05:00
Priyam Brahmbhatt
7e46fcde8f
updated environment.js to use const insted of var for constant property ( #709 )
...
* updated environment.js to use const insted of var for constant property
* Added use strict
2019-01-31 15:32:57 -05:00
OlenaVyshnevska
fc545ee3c7
code refactoring, added strict mode ( #704 )
2019-01-31 15:25:57 -05:00
Yuansheng Lu
e5481efa9b
Fix issue #660 : Updated the code to replace var with let, const in strict mode ( #694 )
...
* Modify the test file to fix issue-660
* change let to const
2019-01-31 15:11:07 -05:00
Vladimir Rozin
5918cf6ae7
changed fs.watch.spec.js according to filed issue-666 ( #680 )
2019-01-31 14:12:08 -05:00
jatinkumar
0380a8153c
Fixed #667 : Replaced var with const and added strict mode in fs.readdir.spec.js ( #675 )
...
* Replaced var with either const or let and added strict mode in fs.readdir.spec.js
* Replaced let with const
2019-01-31 14:07:31 -05:00
Nathaniel Ngo
4a39dcc2f0
Fixes Issue#674: Refactored var declarations to const or let declarations to address i… ( #676 )
...
* Refactored var declarations to const or let declarations to address issue#674
* refactored let to const when variable does not change values
2019-01-31 14:00:48 -05:00
andrewkoung
4de0bbfafd
Fixes #661 : replaced var with const ( #669 )
...
* replaced var with const for the most part
* Update fs.symlink.spec.js
fixed line 93 and added strict mode
2019-01-31 13:52:39 -05:00
Priyanka Dhiman
7cdef6d963
replaced var with let
2019-01-30 22:27:11 -05:00
David Humphrey
26b47ee094
Remove src/encodings.js, use Buffer methods instead ( #657 )
2019-01-03 10:46:31 -05:00
David Humphrey
5f10cc2fde
Add test API to shim indexedDB when necessary for better coverage
2019-01-03 00:08:22 -05:00
David Humphrey
4e9593f5e8
Bump license date to reflect 2019 activity
2019-01-02 23:20:41 -05:00
David Humphrey
01d76ba0df
Update keywords to remove WebSQL
2019-01-02 23:20:19 -05:00
David Humphrey
dd7536827b
Release 1.1.0
2019-01-02 23:12:19 -05:00
David Humphrey
c6e1d51612
Reorder method order to match node's lib/fs.js, document missing
2019-01-02 23:09:47 -05:00
David Humphrey
c0acdb97d6
Match node's layout for access modes on fs, with tests
2019-01-02 22:23:58 -05:00