Commit Graph

60 Commits

Author SHA1 Message Date
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
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
Yoshiya Hinosawa
bd55f3b5c3
refactor(fs): improve expandGlob() implementation and testing (#5089) 2024-06-20 16:39:45 +09:00
Asher Gomez
35c240eeed
docs(fs): improve documentation (#4788) 2024-06-07 15:54:50 +12:00
Asher Gomez
fbfcd24f41
refactor(fs): cleanup use of @std/assert (#4948)
* refactor(fs): cleanup use of `@std/assert`

* tweaks

* update
2024-06-05 10:39:33 +09: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
cinchen
52138c6f99
refactor(fs): prepare for noUncheckedIndexedAccess (#4277)
* refactor: fs-noUncheckedIndexedAccess

* tweak

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-07 11:08:47 +11:00
Asher Gomez
f974a22def
BREAKING(path): remove glob.ts files (#4259) 2024-02-02 14:48:32 +09:00
Lino Le Van
18d6a0ee30
deprecation(path): split off all constants into their own files and deprecate old names (#4153)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-18 14:54:39 +09: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
Simon Lecoq
dea3b33c7a
fix(fs): expandGlob/expandGlobSync don't require full --allow-read perms on granted read permissions (#3692)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-10-24 16:51:33 +09:00
Heejoon Kang
a62c90853a
feat(fs): introduce canonicalize option to WalkOptions (#3679) 2023-10-16 22:32:15 +09:00
Yoshiya Hinosawa
6facda630a
refactor(_util): remove _util/os (#3564) 2023-08-25 18:07:43 +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
ud2
159060b15c
perf: repoint internal imports to single-export files (#3537) 2023-08-14 16:08:42 +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
df73bfc067
feat(fs): add followSymlink to expandGlob (#3093) 2023-03-06 16:35:44 +09:00
Kamil Ogórek
b55fb2e311
fix(fs): change globstar default to true for expandGlob and expandGlobSync (#3115) 2023-01-17 00:26:27 +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
Nash Kabbara
2c7274741c
fix(fs/expandGlob): globstar false does not take effect (#2571) (#2779) 2022-10-18 10:40:00 -04: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
Asher Gomez
3b9fb39ddd
chore: remove void and Promise<void> return types (#2550) 2022-08-24 10:21:57 +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
Andrew Mitchell
f933c685cb
fix(path): change default of 'extended' options of glob methods (#1719) 2021-12-23 14:32:12 +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
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
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
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
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
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
Nayeem Rahman
9ff09b26bb refactor: Rewrite globToRegExp() (denoland/deno#6963) 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
Yoshiya Hinosawa
1c3d215f34 docs: document and add examples of expandGlob (denoland/deno#6404) 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
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