Commit Graph

268 Commits

Author SHA1 Message Date
Yoshiya Hinosawa
8c9e96c402
chore: skip yanked versions (#4660) 2024-04-30 20:06:28 +09:00
Yoshiya Hinosawa
3155f0050a
chore: switch to JSR-oriented codebase (#4650) 2024-04-29 11:57:30 +09:00
Joe Hillenbrand
06866a6d47
fix(fs/ensure_dir): allow links to directories (#4132)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-04-22 20:51:39 +09:00
denobot
2442373bdd
0.223.0 (#4588)
Co-authored-by: bartlomieju <bartlomieju@users.noreply.github.com>
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2024-04-16 01:31:19 +02: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
Asher Gomez
24a81a374e
chore(fs): remove test.ts (#4527) 2024-03-27 17:07:52 +11:00
Gabriele Belluardo
4da7440c62
chore: enable no-sync-fn-in-async-fn lint rule (#4471)
* chore: enable `no-sync-fn-in-async-fn` lint rule

* revert for serveTls test
2024-03-12 11:36:10 +11:00
Asher Gomez
f9dc5644a6
fix(fs): emptyDir() test after workspace conversion (#4427) 2024-03-04 18:19:00 +11:00
Asher Gomez
800b7bb729
fix(fs): expandGlob() test after workspace conversion (#4428) 2024-03-04 18:18:37 +11:00
ryota2357
1e0764dc23
fix(fs/ensure_symlink): check symlink is pointing the given target (#4371) 2024-02-28 11:50:33 +09:00
David Sherret
ef6b95f0c7
refactor: make the code work under verbatimModuleSyntax (#4406)
* Start

* Update

* Format

* Revert deno.json change

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-02-27 21:57:25 +00: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
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
Asher Gomez
845a6f8d97
refactor: use granular --unstable-* CLI flags (#4232)
* refactor: use granular `--unstable-*` CLI flags

* tweak
2024-01-25 07:48:48 +11: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
Anwesh
3fcb0a8b24
refactor(using): use using keyword for Explicit Resource Management (#4143)
* refactor(using): add using keyword for Explicit Resource Management

* refactor(using): fix fmt

* refactor(using): add more fixes

* refactor(using): fix fmt

* refactor: add more `using` cases

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-15 08:35:50 +11:00
Asher Gomez
805b926032
fix: add --no-lock to spawned process args in tests (#4168) 2024-01-12 13:38:41 +09:00
Yoshiya Hinosawa
4ca2baefe3
fix(fs): reduce perm requirement of ensureDir() (#4041)
Co-authored-by: Florian Schwalm <Florian.Schwalm@seven.one>
2024-01-08 22:36:41 +09:00
Asher Gomez
8e25d47451
fix(fs): fix expandGlob() test race condition (#4081) 2024-01-04 22:43:58 +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
Yoshiya Hinosawa
81b19b72d0
chore(fs): log more information about test failure (#4022) 2023-12-28 13:45:18 +11:00
Asher Gomez
6507a76435
refactor(fs): trim internal utilities (#4007) 2023-12-21 18:39:51 +11:00
Asher Gomez
bdc9c84c51
refactor(fs): trim internal dependencies (#3916) 2023-12-10 05:16:47 +11:00
Asher Gomez
3bb97f9624
test(fs): fix expandGlob() test assertion (#3906) 2023-12-07 15:04:16 +11:00
Vasu Singh
9a55a6e6e4
fix(fs): improve exists() test coverage (#3898)
* fix(test): improve exists test coverage

* fix(test): improve exists test coverage
2023-12-06 08:07:58 +11:00
Asher Gomez
0f44bdb592
chore(fs): complete documentation (#3897) 2023-12-05 19:52:56 +11:00
Asher Gomez
6648b53031
BREAKIING(fs): remove EOL enum, add OS-dependent EOL (#3850) 2023-11-24 19:15:58 +11:00
Jacob Avery
bc540fbf07
refactor(fs): correct test names (#3835)
* chore(fs): Update fs test descriptions

* fixes "throws" to "rejects" when appropriate

* Update fs/eol_test.ts

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-11-23 17:59:59 +11:00
Asher Gomez
1a4be18be2
BREAKING(fs): deprecate EOL enum (#3809) 2023-11-16 19:40:25 +09:00
Asher Gomez
56e2bc10e0
chore: use Array.fromAsync() where possible (#3788) 2023-11-11 06:00:28 +11:00
Asher Gomez
0beb3dbeea chore: use Deno.(read/write)TextFile() 2023-11-06 14:56:59 +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
Sanjaiyan Parthipan
5b73e8b6d7
perf: improvements using Promise.all() (#3683)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-10-12 15:16:53 +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
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
Yoshiya Hinosawa
7ebc674854
test(fs/walk): clean up socket file after testing (#3505) 2023-07-27 22:09:18 +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
e3289ed93b
chore: parallel tests (#3446) 2023-07-23 17:47:21 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
Martin Fischer
a5b1d80736
chore: fix typos (#3458)
The typos were found with the typos[1] spell checker.  That spell
checker will be incorporated into the CI in a followup PR.

[1]: https://github.com/crate-ci/typos
2023-06-22 01:27:37 +09:00
David Luis
2d9dd290f0
BREAKING(csv,http,path): remove deprecated APIs (#3418) 2023-06-01 23:13:50 +09:00
tetraphobia
c05ce92bf2
fix(fs): fix NotFound error when moving src to itself with overwrite: true (#3289) 2023-04-05 20:19:24 +09:00
Martin Braun
a31339e18e
feat(fs): undo deprecation of exists and add permission and type check to it (#2785) 2023-03-30 14:57:40 +09:00
Lino Le Van
2a60184084
feat(fs/walk): WalkError class (#3054) 2023-03-29 21:07:50 +09:00
ayame113
137b40bc43
fix(fs/ensureDir): fix racy ensureDir (#3242) 2023-03-08 21:53:57 +09:00