Zheyu Zhang
8578b01f44
fix(fs/walk): don't throw when symlink to a file ( #1559 )
2021-11-12 12:52:46 +09:00
Reo
8ede51b9bf
perf(fs): parallelize expandGlob
( #1370 )
2021-11-03 11:48:03 +09:00
Nayeem Rahman
8fca3a5f66
fix(fs/expand_glob): don't parse root as glob ( #1417 )
2021-10-18 03:04:24 +09:00
Yoshiya Hinosawa
064dd9260d
BREAKING(fs): deprecate exists and existsSync ( #1364 )
2021-10-11 17:30:25 +09:00
Bartek Iwańczuk
44c326dc5b
fix: update to latest signal API changes ( #1211 )
2021-09-15 01:32:26 +02:00
Yuki Tanaka
76d8c0159b
chore: wrap examples in fenced code blocks ( #1222 )
2021-09-13 00:14:54 +09:00
Kitson Kelly
b7c61a27a7
chore: updates related to TypeScript 4.4 ( #1171 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-08-31 14:39:04 +10:00
Behnam Mohammadi
1a346417fd
refactor: use os util on entire of codebase ( #1123 )
2021-08-13 11:11:14 +09:00
Ryan Dahl
455077a905
fix: type check examples in README files ( #1121 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2021-08-11 11:28:10 +02:00
Yasser A.Idrissi
eb69dbd380
feat(testing): add assertRejects, deprecate assertThrowsSync ( #1101 )
2021-08-09 14:59:52 +09:00
Aurélien Bertron
a0984a6863
feat(fs/walk): show path in walk error ( #875 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-04-30 15:49:41 +09:00
Simon Lecoq
e3e642d867
feat(path/glob): add caseInsensitive option ( #854 )
...
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2021-04-22 12:34:10 +09:00
William Perron
69f3d67cb2
chore: remove Promise<void>
return type annotation ( #819 )
...
There's a couple of instances where `Promise<void>` is still there,
those are the exceptions, for example functions that explicitely return
a `Promise` object or functions that return the promise from another
function call without any `await` statement.
used this one-liner to automatically remove everything:
```bash
grep -rli 'promise<void>' | xargs sed -i 's/: Promise<void>//g
```
2021-04-05 07:49:05 -04:00
Ryan Dahl
5bc48298bb
Remove unused testdata files ( #744 )
...
And format JSON files.
This became necessary because JSON support for "deno fmt" landed in canary.
d9b1f96897
2021-02-19 08:11:53 -05:00
Zhangyuan Nie
5bc18f5d86
BREAKING(encoding): remove module utf8.ts ( #728 )
2021-02-16 13:22:07 +01:00
Casper Beyer
d5bad95a71
chore: Setup CI and tests
...
Create ci.yml
chore: add wasi-test-suite as a submodule
chore: remove legacy configuration files and scripts
chore: remove outdated redirection notice
chore: add git attributes to ensure text files use unix line endings
chore: format
test(http): copy tls testdata from denoland/deno
2021-02-01 12:20:35 +01:00
Bartek Iwańczuk
84ee144ba8
chore: Enforce ban-untagged-todo lint rule ( denoland/deno#9135 )
2021-02-01 10:46:59 +00:00
Yusuke Tanaka
d8a589ac80
chore: update copyright to 2021 ( denoland/deno#9092 )
2021-02-01 10:46:59 +00:00
Liam Murphy
07be7159ce
feat(fs): Re-enable followSymlinks
on walk()
( denoland/deno#8479 )
2021-02-01 10:46:58 +00:00
Bartek Iwańczuk
4379f0a9c1
test: make test output less noisy ( denoland/deno#8445 )
...
This commit makes output of tests less noisy
by passing "--quiet" flag to Deno subprocesses run
as part of test suite.
2021-02-01 10:46:58 +00:00
inokawa
7e03229caf
Add JSDocs to fs/walk.ts ( denoland/deno#8426 )
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
519a862c40
refactor: add _util/os.ts module ( denoland/deno#8370 )
...
This commit adds "_util/os.ts" module which contains
common os detection logic and is browser compatible.
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
327f459f89
refactor(fs): moved isCopyFolder to options ( denoland/deno#8319 )
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
777b0c1513
refactor(fs): remove unnecessary if else block ( denoland/deno#8321 )
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
db9e206d8c
refactor(fs): improve performance by using some instead filter method ( denoland/deno#8322 )
2021-02-01 10:46:58 +00:00
Behnam Mohammadi
77c3514128
refactor: remove redundant code in move.ts ( denoland/deno#8269 )
2021-02-01 10:46:58 +00:00
Khushraj Rathod
9cecf197fe
docs: fix typo in fs README.md ( denoland/deno#8104 )
2021-02-01 10:46:58 +00:00
Tim Reichen
55a7adb58e
rename(testing): rename assert*Contains to assert*Includes ( denoland/deno#7951 )
...
This commit renames two assertion functions to better align with JS API:
- assertStringContains -> assertStringIncludes
- assertArrayContains -> assertArrayIncludes
2021-02-01 10:46:58 +00:00
tokiedokie
8567b960f8
docs: version all imports in README ( denoland/deno#7442 )
...
Use $STD_VERSION in README files to automatically
display proper version.
2021-02-01 10:46:58 +00:00
Trivikram Kamat
eb1c38cfbf
docs: end sentences with a period in markdown ( denoland/deno#7813 )
2021-02-01 10:46:58 +00:00
Nayeem Rahman
d93563d6ea
feat(path): Align globToRegExp() with bash glob expansion ( denoland/deno#7209 )
...
- feat: Support escaping glob characters
- feat: Support more character classes
- feat: Match characters literally on segment parse failure
- fix: Match nothing for empty globs
- fix: Contain any glob syntax to its path segment
- perf: Remove extraneous separators from generated regex
- doc: Add detailed JSDoc
- chore: Remove old copyright headers
2021-02-01 10:46:58 +00:00
David Sherret
99e0dca320
feat(fmt): Sort named import and export specifiers ( denoland/deno#7711 )
2021-02-01 10:46:58 +00:00
Casper Beyer
d02995cd0f
fix(fs): mark createWalkEntry(Sync) as internal ( denoland/deno#7643 )
2021-02-01 10:46:58 +00:00
tokiedokie
d3fa1bbf5d
chore: add copyright ( denoland/deno#7593 )
2021-02-01 10:46:58 +00:00
Casper Beyer
ff1382572e
test(fs): make tests runnable from any directory ( denoland/deno#7388 )
2021-02-01 10:46:58 +00:00
Casper Beyer
7fca531676
BREAKING(fs): remove writeJson and writeJsonSync ( denoland/deno#7256 )
2021-02-01 10:46:58 +00:00
Casper Beyer
3cf37567ec
BREAKING(fs): remove readJson and readJsonSync ( denoland/deno#7255 )
2021-02-01 10:46:58 +00:00
Casper Beyer
c8e56805af
fix: use millisecond precision for Deno.futime and Deno.utime ( denoland/deno#7299 )
2021-02-01 10:46:58 +00:00
Casper Beyer
b8e8415ae3
docs(fs): remove stale references to readFileStr and writeFileStr ( denoland/deno#7254 )
2021-02-01 10:46:58 +00:00
Paul Jones
84f59788d8
docs(fs): provide more context on unstable perm ( denoland/deno#6748 )
2021-02-01 10:46:58 +00:00
木杉
eb4a970ba4
docs(fs/walk): fix code example ( denoland/deno#7166 )
2021-02-01 10:46:58 +00:00
Jesse Jackson
724a03e51a
test: fs/writeJson add test for append option ( denoland/deno#6889 )
...
Co-authored-by: Ryan Dahl <ry@tinyclouds.org>
Co-authored-by: Nayeem Rahman <nayeemrmn99@gmail.com>
2021-02-01 10:46:58 +00:00
Nayeem Rahman
9ff09b26bb
refactor: Rewrite globToRegExp() ( denoland/deno#6963 )
2021-02-01 10:46:58 +00:00
Trivikram Kamat
6f30c8bd57
test: remove unstable from multiple tests ( denoland/deno#6882 )
2021-02-01 10:46:58 +00:00
Marcin Puc
7d4b49623d
fix(json): Add newline at the end of json files ( denoland/deno#6885 )
2021-02-01 10:46:58 +00:00
Gerald
b137171459
fix(fs): remove unexisted imports ( denoland/deno#6850 )
2021-02-01 10:46:58 +00:00
Casper Beyer
9c302c2ed0
BREAKING(fs): remove readFileStr and readFileStrSync ( denoland/deno#6848 )
...
This removes the readFileStr and readFileStrSync functions which are
effectively duplicates of Deno.readTextFile and Deno.readTextFileSync.
2021-02-01 10:46:58 +00:00
Casper Beyer
4e304e5519
BREAKING(fs): remove writeFileStr and writeFileStrSync ( denoland/deno#6847 )
...
This removes the writeFileStr and writeFileStrSync functions which are
effectivly duplicates of Deno.writeTextFile and Deno.writeTextFileSync.
2021-02-01 10:46:58 +00:00
David Sherret
1425960509
Use dprint for internal formatting ( denoland/deno#6682 )
2021-02-01 10:46:58 +00:00
uki00a
221393d449
fix(tesing/asserts): assertEquals/NotEquals should use milliseconds in Date ( denoland/deno#6644 )
2021-02-01 10:46:58 +00:00