Ryan Dahl
151ce0266e
Move everything into std subdir
2019-10-09 17:10:09 -04:00
Nayeem Rahman
2f90225c89
Implement expandGlob() and expandGlobSync() ( denoland/deno_std#617 )
...
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604 .
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
and filepath options.
fs/globrex.ts:
- Add GlobrexOptions.
fs/path/constants.ts:
- Add SEP_PATTERN.
fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.
prettier:
- Refactor to use expandGlob().
testing:
- Make findTestModules() an async generator.
Original: 8c90bd9d0b
2019-10-02 13:59:27 -04:00
Nayeem Rahman
a472b6732d
Test runner v2 ( denoland/deno_std#604 )
...
Original: 17a214bbd5
2019-09-28 09:33:17 -04:00
Shubhadeep Das
b7082f1640
Added isGlob function ( denoland/deno_std#433 )
...
Original: 94dcb2779b
2019-05-23 10:23:31 +03:00
Ryan Dahl
1b359f4106
walk() should not use deprecated FileInfo.path ( denoland/deno_std#398 )
...
The walk() interface is change to return a WalkInfo object which
contains both the resolved filename and FileInfo object from stat.
The followSymlinks feature is disabled for now.
Original: 07ca4f9629
2019-05-14 17:14:08 -04:00
Vincent LE GOFF
dcd01dd025
Eslint fixes ( denoland/deno_std#356 )
...
Make warnings fail
Original: 4543b563a9
2019-04-24 07:41:22 -04:00
Yoshiya Hinosawa
f124e64526
fix: eslint errors ( denoland/deno_std#265 )
...
Original: 61af419bbc
2019-03-12 01:51:51 -04:00
Yoshiya Hinosawa
f90f62fa52
Use Deno global var instead of built-in "deno" module ( denoland/deno_std#247 )
...
Original: 395392912d
2019-03-07 19:25:16 -05:00
Ryan Dahl
caa383a583
Rename assertEq to assertEquals ( denoland/deno_std#242 )
...
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
Original: 4cf39d4a14
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e36edfdb3f
Testing refactor ( denoland/deno_std#240 )
...
Original: e1d5c00279
2019-03-06 16:39:50 -05:00
Vincent LE GOFF
2bbde0c226
Refactoring + Enhance UTs + Enhance doc ( denoland/deno_std#230 )
...
Original: e2fd507cfd
2019-03-04 13:06:05 -05:00
Vincent LE GOFF
c131b8f3b6
Glob integration for the FS walker ( denoland/deno_std#219 )
...
Original: 0c3ba838fa
2019-03-02 14:56:19 -05:00