Commit Graph

128 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
Jesse Jackson
fc035e9cf6
fix(path): export private types used in public API (#4645) 2024-04-25 07:02:35 +10:00
Asher Gomez
3f9d4a8494
chore: simplify deprecation notice check (#4577) 2024-04-17 15:36:50 +09:00
Ooker
8b90e3154c
docs(path): add more details to ParsedPath and other examples (#4489)
* docs: add detailed info on the ParsedPath interface

* docs: add detailed info on the ParsedPath interface

* docs: add examples of path/basename.ts

* fmt

* fix

* fix type error

* formatting nits

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-03-16 15:32:20 +10:00
Gabriele Belluardo
2990aa6de5
chore: enable single-var-declarator lint rule (#4488) 2024-03-14 22:18:00 +11:00
Gabriele Belluardo
a49f560dda
refactor(path): prepare for noUncheckedIndexedAccess (#4483) 2024-03-14 14:42:03 +11:00
Bruno Heridet
623d7d0bf1
docs(path): add examples for posix basename, dirname and extname (#4458)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-03-10 21:40:17 +09:00
Joachim Viide
0c6f5e8531
fix(path): fix common() results that depend on the order and/or number of input paths (#4414) 2024-03-05 18:39:39 +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
Javier Hernández
88cbc0f7b3
refactor(path): prepare for noUncheckedIndexedAccess (#4356)
refactor(path): prepare for noUncheckedIndexedAccess (#4040)
2024-02-21 08:01:07 +11:00
jersou
b83c20ff69
doc: fix std/path/posix link (#4337) 2024-02-16 08:54:02 +11:00
Asher Gomez
6da4e4e840
BREAKING(path): remove path/windows/separator.ts (#4292) 2024-02-09 19:55:23 +09:00
Asher Gomez
654787b14d
BREAKING(path): remove separator.ts files (#4260) 2024-02-02 14:49:13 +09: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
d1e8ee8d38
chore(path): integrate zero length string test into other tests (#4154) 2024-01-11 08:34:53 +11:00
Lino Le Van
0600a6c45e
chore(path): split up glob test into multiple files (#4152)
chore: split up glob test into multiple files
2024-01-11 08:05:28 +11:00
David Luis
b2d2bd265f
test(path): move tests away from using deprecated path.posix and path.win32 (#4077)
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-01-04 08:05:20 +11:00
Asher Gomez
1192bce6de
chore(path): remove README.md (#4072) 2024-01-03 18:15:57 +00: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
59866888a0
BREAKING(path): remove deprecated APIs (#4016) 2023-12-22 19:34:50 +09:00
David Sherret
ceb107f4ef
chore: add more explicit types (#4018)
* Add explicit types

* Format.

* Revert
2023-12-22 15:35:15 +11:00
David Sherret
b0803619af
refactor: add some missing explicit types (#3997)
* refactor: add some missing return types and mark some non-exported types as `@internal`

* Update expect/fn.ts

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>

* Remove @internals

* nits

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2023-12-19 00:26:13 +00:00
hugoalh
37de78e337
fix(path/extname): fix incorrect import (#3970) 2023-12-18 18:44:26 +09:00
Asher Gomez
0f44bdb592
chore(fs): complete documentation (#3897) 2023-12-05 19:52:56 +11:00
Skidder
65a4127fea
docs(path): correct globToRegExp() deprecation notice (#3817) 2023-11-19 06:02:45 +11:00
Asher Gomez
7d5344d775
docs: improve deprecation notices (#3804) 2023-11-16 05:33:11 +11:00
Yuki Tanaka
4a9d438555
docs(path): fix @deprecated note for isGlob() (#3791)
docs(std/path/glob): tweak a `@deprecated` comment for `isGlob`
2023-11-13 08:06:28 +11:00
lino-levan
0a0cfae95b chore: address asher's comment 2023-11-02 16:51:51 +11:00
lino-levan
7286baa1a5 fix: broken import 2023-11-02 16:51:51 +11:00
lino-levan
27772418fc BREAKING(path): split up glob into multiple files 2023-11-02 16:51:51 +11:00
Tim Reichen
9560e447c7
refactor(path): format test names (#3755)
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-11-01 16:42:29 +09:00
Mark Gibson
b163c5604b
BREAKING(path): split path into per-os modules, deprecate legacy os-specific exports (#3649)
Deprecations:
- This change deprecates `win32` and `posix` exports from `path/mod.ts`,
- and also deprecates `path/win32.ts` and `path/posix.ts` paths.

New feature:
- This change adds `path/windows/mod.ts` and `path/posix/mod.ts` paths.

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2023-09-28 19:54:53 +09:00
Lino Le Van
63bc0d3569
chore(path): update _os.ts (#3637) 2023-09-13 22:10:12 +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
Lino Le Van
4674b35cae
fix(path): typo in comment in _resolve (#3545) 2023-08-17 12:53:10 +09:00
Lino Le Van
66b2fb8102
feat(path): single file exports (#3510) 2023-08-07 16:45:33 +09:00
Asher Gomez
239e85ad6a
BREAKING(testing, assert): move std/testing/asserts to std/assert (#3445) 2023-07-13 16:04:30 +09:00
David Luis
2d9dd290f0
BREAKING(csv,http,path): remove deprecated APIs (#3418) 2023-06-01 23:13:50 +09:00
Yoshiya Hinosawa
dec438c139
BREAKING(path): deprecate path.sep (#3342) 2023-05-04 14:09:26 +09:00
Asher Gomez
cf14c9b212
chore(tools): improved web-compatibility checks (#3263) 2023-03-18 21:36:00 +09:00
Kamil Ogórek
3e338fda0e
BREAKING(path): rework basename and dirname to be coreutils compatible (#3089) 2023-01-26 15:49:28 +09:00
familyboat
06bec6012a
fix(path): correctly handle trailing slashes for posix basename (#3088) 2023-01-06 15:37:22 +09:00
ayame113
b4239898d6
chore: update copyright header (#3082) 2023-01-03 19:47:44 +09:00
Kamil Ogórek
06aec6a800
fix(path): correctly handle trailing slashes for basename (#3068) 2022-12-30 19:44:15 +09:00
Jared Flatow
9994337fee
docs(path): clarify the meaning of resolve for normalize (#2946)
Addresses #2918.
2022-11-27 13:59:10 -05: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