Commit Graph

70 Commits

Author SHA1 Message Date
Asher Gomez
0b2497f16e
fix: update codebase to work with Deno RC (#6018)
* fix: update codebase to work with Deno RC

* work

* fix

* fix

* fix

* fixes

* work

* update

* fixes

* fix

* revert
2024-09-20 09:29:31 +10:00
Kenta Moriuchi
4d4bd0eb92
refactor(archive,async,cli,csv,dotenv,encoding,expect,fmt,front-matter,fs,http,internal,log,net,path,semver,testing,text,webgpu,yaml): enable "exactOptionalPropertyTypes" option (#5892) 2024-09-04 14:15:01 +09:00
ryu
e511eb05ce
docs(fs): fix incorrect examples for walk (#5559)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-27 11:19:21 +09:00
Asher Gomez
0dc7ce1a1c
BREAKING(fs): throw Deno.errors.NotFound instead of WalkError in walk[Sync]() (#5477) 2024-07-24 16:31:05 +10:00
Asher Gomez
c349da2e43
chore(fs): remove redundant constructor examples (#5511)
chore(fs): remove constructor examples
2024-07-23 12:06:03 +09:00
Asher Gomez
c710c93ab0
docs(fs): fix options argument display (#5487) 2024-07-19 13:10:29 +09:00
Asher Gomez
ad1dad6ce6
docs(cli,csv,datetime,fmt,fs,http,ini,semver,testing): assert optional properties on types/interfaces have @default tag (#4933)
* docs: assert optional properties on types/interfaces have `@default` tag

* work

* work

* work

* work

* work

* work

* fix

* fix

* Update fs/expand_glob.ts

* cleanups

* cleanups

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-11 09:21:37 +00:00
Asher Gomez
f222d807b4
fix(fs): accept exts without leading period in walk[Sync]() (#5345) 2024-07-08 10:41:32 +10:00
Asher Gomez
d102a10235
refactor(assert,async,bytes,cli,collections,crypto,csv,data-structures,datetime,dotenv,encoding,expect,fmt,front-matter,fs,html,http,ini,internal,io,json,jsonc,log,media-types,msgpack,net,path,semver,streams,testing,text,toml,ulid,url,uuid,webgpu,yaml): import from @std/assert (#5199)
* refactor: import from `@std/assert`

* update
2024-06-30 08:30:10 +00:00
Asher Gomez
35c240eeed
docs(fs): improve documentation (#4788) 2024-06-07 15:54:50 +12:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Asher Gomez
a6251703f7
docs(fs): polish documentation (#4526)
* refactor(datetime): rename `_common.ts` to `_date_time_formatter.ts`

* docs(fs): polish documentation

* work
2024-03-27 17:28:06 +11:00
Asher Gomez
9254339170
fix(fs): SubdirectoryMoveError extends Error correctly (#4528) 2024-03-27 17:09:09 +11:00
David Luis
ad4abccb66
docs: replace markdown hyperlink syntax with {@link} tag where necessary. (#4253)
docs: replaces markdown hyperlink syntax with `{@link}` tag when necessary.
2024-02-01 09:19:46 +11:00
Lino Le Van
c46143f0ac
chore: update copyright year (#4046)
* chore: update copyright year

* fix

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-02 08:11:32 +11:00
Asher Gomez
6507a76435
refactor(fs): trim internal utilities (#4007) 2023-12-21 18:39:51 +11:00
Asher Gomez
0f44bdb592
chore(fs): complete documentation (#3897) 2023-12-05 19:52:56 +11:00
Heejoon Kang
a62c90853a
feat(fs): introduce canonicalize option to WalkOptions (#3679) 2023-10-16 22:32:15 +09:00
Lino Le Van
2b5d71224f
refactor: cleanup usage of double equals (#3566)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-08-25 18:04:43 +09:00
Yuki Tanaka
69272080cb
docs(fs/walk): add descriptions to WalkOptions's properties (#3535) 2023-08-14 18:10:17 +09:00
ud2
159060b15c
perf: repoint internal imports to single-export files (#3537) 2023-08-14 16:08:42 +09:00
MrKleeblatt
a9eda9b9e1
feat(fs/walk): include symlink option (#3464)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-07-27 22:07:44 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Lino Le Van
2a60184084
feat(fs/walk): WalkError class (#3054) 2023-03-29 21:07:50 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
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
Alex Kladov
a283766895
docs(fs): remove misleading docs from fs.walk (#2836) 2022-11-07 18:44:04 +09:00
ayame113
e6189c08e9
docs: Using absolute paths in jsdoc import statements (#2762) 2022-10-10 10:05:56 -04:00
Asher Gomez
c6483bd3e6
feat(fs): support URL params (#2573) 2022-08-30 12:58:48 +09:00
Tim Reichen
b1def27be7
refactor(fs/walk): move private exported functions (#2352) 2022-06-17 23:18:53 +09:00
Yoshiya Hinosawa
808fe203e0
chore: update copyright header (#1871) 2022-02-02 23:21:39 +09:00
Ben Noordhuis
86defe5181
fix(fs/walk): handle special files (#1792)
Don't error on special files like /dev files or UNIX domain sockets.

Fixes #1789.
2022-01-20 08:50:14 +01:00
Zheyu Zhang
8578b01f44
fix(fs/walk): don't throw when symlink to a file (#1559) 2021-11-12 12:52:46 +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
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
Liam Murphy
07be7159ce feat(fs): Re-enable followSymlinks on walk() (denoland/deno#8479) 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
Casper Beyer
d02995cd0f fix(fs): mark createWalkEntry(Sync) as internal (denoland/deno#7643) 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
David Sherret
1425960509 Use dprint for internal formatting (denoland/deno#6682) 2021-02-01 10:46:58 +00:00
Nayeem Rahman
ccb92613f0 refactor: Don't destructure the Deno namespace (denoland/deno#6268) 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
Bert Belder
90b0966034 fix fs/walk example (denoland/deno#5030) 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
Nayeem Rahman
b10a0edb43 refactor(cli/js/ops/fs): Improve readdir() and FileInfo interfaces (denoland/deno#4763) 2021-02-01 10:46:57 +00:00
Kitson Kelly
7914eae5f0 Update to Prettier 2 and use ES Private Fields (denoland/deno#4498) 2021-02-01 10:46:57 +00:00