Leo Kettmeir
aba5017d43
docs: reorganize docs ( #2658 )
2022-11-25 12:40:23 +01:00
Asher Gomez
792f1334fe
refactor: use _util/asserts.ts
for non-test code ( #2857 )
2022-11-10 16:28:20 +09:00
Asher Gomez
e0e851053a
chore: remove _deno_unstable.ts
( #2600 )
2022-09-05 13:55:53 +09:00
Michael Gibson
e4f76568a6
fix(fs): use Deno.errors.AlreadyExists where appropriate ( #2547 )
2022-08-31 16:04:53 +09:00
Asher Gomez
c6483bd3e6
feat(fs): support URL params ( #2573 )
2022-08-30 12:58:48 +09:00
Asher Gomez
3b9fb39ddd
chore: remove void
and Promise<void>
return types ( #2550 )
2022-08-24 10:21:57 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header ( #1871 )
2022-02-02 23:21:39 +09:00
Nayeem Rahman
06b1791664
fix: bypass TS errors for missing --unstable ( #1819 )
...
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2022-02-01 19:16:37 +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
Yusuke Tanaka
d8a589ac80
chore: update copyright to 2021 ( denoland/deno#9092 )
2021-02-01 10:46:59 +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
David Sherret
99e0dca320
feat(fmt): Sort named import and export specifiers ( denoland/deno#7711 )
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
Chris Knight
589fe4bd53
refactor: remove testing dependencies from non-test code ( denoland/deno#5838 )
2021-02-01 10:46:57 +00:00
Ali Hasani
0362de74ca
Implement Deno.symlink() for windows ( denoland/deno#5533 )
2021-02-01 10:46:57 +00:00
Akash Vishwakarma
f69ca57ed0
Fix spelling: "--alow-write" => "--allow-write" ( denoland/deno#5486 )
2021-02-01 10:46:57 +00:00
Nayeem Rahman
1eecc5c7d0
BREAKING: reorganization ( denoland/deno#5087 )
...
* Prepend underscores to private modules
* Remove collectUint8Arrays() It would be a misuse of Deno.iter()'s result.
* Move _util/async.ts to async
* Move util/sha*.ts to hash
2021-02-01 10:46:57 +00:00
Ryan Dahl
975115fb15
make camel case readDir, readLink, realPath ( denoland/deno#4995 )
2021-02-01 10:46:57 +00:00
Bert Belder
5cc4e45d69
BREAKING: Include limited metadata in 'DirEntry' objects ( denoland/deno#4941 )
...
This change is to prevent needed a separate stat syscall for each file
when using readdir.
For consistency, this PR also modifies std's `WalkEntry` interface to
extend `DirEntry` with an additional `path` field.
2021-02-01 10:46:57 +00:00
Bert Belder
14ff9a84b4
Rename FileInfo time fields and represent them as Date objects ( denoland/deno#4932 )
...
This patch also increases the resolution of reported file times to
sub-millisecond precision.
2021-02-01 10:46:57 +00:00
Nayeem Rahman
b10a0edb43
refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces ( denoland/deno#4763 )
2021-02-01 10:46:57 +00:00
dubiousjim
28eb11d848
Rename readDir -> readdir ( denoland/deno#4225 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
8bd4c5ed4d
rename Deno.Err -> Deno.errors ( denoland/deno#4093 )
2021-02-01 10:46:57 +00:00
Bartek Iwańczuk
f5cbcf287e
refactor: remove unneeded ErrorKinds ( denoland/deno#3936 )
2021-02-01 10:46:57 +00:00
Maximilien Mellen
623a601fd5
Enable TS strict mode by default ( denoland/deno#3899 )
...
Fixes denoland/deno#3324
Co-authored-by: Kitson Kelly <me@kitsonkelly.com>
2021-02-01 10:46:57 +00:00
Yusuke Sakurai
7534d8390a
remove non-null assertion operator from std (part2) ( denoland/deno#3927 )
2021-02-01 10:46:57 +00:00
Ry Dahl
3a9eb92372
Happy new year! ( denoland/deno#3578 )
2021-02-01 10:46:56 +00:00
Axetroy
e24c39a7f0
fix permission errors are swallowed by fs.copy() ( denoland/deno#3504 )
2021-02-01 10:46:56 +00:00
Nayeem Rahman
5b2aec7a62
std: Move fs/path to the top-level ( denoland/deno#3100 )
2021-02-01 10:46:56 +00:00
Yoshiya Hinosawa
c3fe858f98
Update eslint and @typescript-eslint ( #621 )
2019-10-05 12:02:34 -04:00
Axetroy
b04fda30c8
lint: add max line length rules ( #507 )
2019-06-18 21:22:01 -07:00
Bartek Iwańczuk
be24677d15
chore: Implement strict mode ( #453 )
2019-05-30 08:59:30 -04:00
Ryan Dahl
47134db9f2
Bump v0.6.0 ( #423 )
2019-05-21 02:44:36 -04:00
Axetroy
ab5b0887cc
feat(fs): add copy/copySync ( #278 )
2019-05-16 12:19:17 -04:00