Matthew McCune
123c1fe3c7
docs(path): re-add URL examples to @std/path/posix
examples ( #6105 )
2024-10-13 11:06:24 +09:00
Yoshiya Hinosawa
d35803f4f8
docs(path): add note about unstable-join
( #5967 )
2024-09-12 19:41:45 +09:00
Yoshiya Hinosawa
dcef4cd1d2
BREAKING(path/unstable): move unstable overload of normalize
to unstable-normalize
( #5965 )
2024-09-12 19:04:50 +09:00
Yoshiya Hinosawa
c6b71a17ee
BREAKING(path/unstable): move unstable overload of join
to unstable-join
( #5964 )
2024-09-12 16:32:06 +09:00
Yoshiya Hinosawa
99aaaf8f32
BREAKING(path/unstable): move unstable overload of extname
to unstable-extname
( #5962 )
2024-09-12 15:19:05 +09:00
Yoshiya Hinosawa
ecd8a2e626
BREAKING(path/unstable): move unstable overload of basename
to unstable-basename
( #5957 )
2024-09-12 14:54:22 +09:00
Yoshiya Hinosawa
d1f5a368c0
BREAKING(path/unstable): move unstable overload of dirname
to unstable-dirname
( #5954 )
2024-09-12 14:33:12 +09:00
Yoshiya Hinosawa
1432018f00
fix(path/unstable): support string | URL
in the 2nd overload of basename
, dirname
, and extname
( #5904 )
2024-09-04 14:16:49 +09:00
Yoshiya Hinosawa
6aaf191081
feat(path/unstable): support file URL
arg in normalize()
( #5902 )
2024-09-04 13:28:33 +09:00
Yoshiya Hinosawa
7e2616031a
feat(path/unstable): support URL
as 1st arg of basename()
( #5900 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-09-04 12:39:39 +09:00
Yoshiya Hinosawa
94a7e1b34b
feat(path/unstable): support URL
in first arg of join()
( #5863 )
...
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-30 13:18:12 +09:00
Asher Gomez
3666d84513
feat(path/unstable): support URL
in extname()
( #5818 )
...
* feat(path/unstable): support URL in `extname()`
* update
* fix
* fixes
* use fromFileUrl in window implementation
---------
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-08-26 16:33:53 +09:00
Ian Bull
f1d3885994
refactor(path,streams): align additional error messages ( #5718 )
2024-08-23 12:31:01 +09:00
Yoshiya Hinosawa
8e96c1992f
feat(path/unstable): support URL
input in dirname()
( #5747 )
2024-08-21 14:28:58 +09:00
Asher Gomez
6ccc7ad346
docs(path): cleanup @std/path/posix
and @std/path/windows
module documentation ( #5529 )
...
* docs(path): cleanup `@std/path/posix` and `@std/path/windows` module documentation
* tweak
2024-07-24 06:58:07 +00:00
Asher Gomez
d8592d1892
docs(path): add examples to @std/path/posix
examples ( #5371 )
...
* docs(path): add examples to `@std/path/posix` examples
* work
2024-07-24 16:14:56 +10:00
Asher Gomez
fcc59f2b4a
BREAKING(path): remove FormatInputPathObject
( #5321 )
2024-07-05 03:26:18 +00:00
Asher Gomez
dcdd5ea04b
BREAKING(path): remove GlobToRegExpOptions
( #5320 )
2024-07-05 12:43:43 +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
a2af1d0a21
refactor(path): cleanup join()
implementations ( #4946 )
...
* refactor(path): remove dependency on `@std/assert`
* work
* work
* tweaks
2024-06-05 02:49:50 +02:00
Asher Gomez
60acf78a90
BREAKING(path): remove separator argument from common()
( #4947 )
2024-06-04 14:07:38 +10:00
Asher Gomez
c5ad9d48dc
docs(cli,encoding,fmt,jsonc,path,semver,testing,text,toml,url): remove "This module is browser compatible" note ( #4945 )
2024-06-04 13:21:54 +10:00
Asher Gomez
31b906db99
chore: ensure code examples use assertions in Doc Linter ( #4911 )
2024-06-03 14:10:27 +10:00
Yoshiya Hinosawa
388800f301
docs(path): improve API docs ( #4900 )
...
Co-authored-by: Nathan Whitaker <nathan@deno.com>
Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-06-02 11:46:36 +09:00
Yoshiya Hinosawa
9e3c1a2c69
test(path): add test cases of isAbsolute()
, joinGlobs()
, and common()
( #4904 )
2024-05-30 18:17:29 +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
Gabriele Belluardo
2990aa6de5
chore: enable single-var-declarator
lint rule ( #4488 )
2024-03-14 22:18:00 +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
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
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
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
Asher Gomez
7d5344d775
docs: improve deprecation notices ( #3804 )
2023-11-16 05:33:11 +11:00
lino-levan
0a0cfae95b
chore: address asher's comment
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
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