Commit Graph

183 Commits

Author SHA1 Message Date
Matthew McCune
123c1fe3c7
docs(path): re-add URL examples to @std/path/posix examples (#6105) 2024-10-13 11:06:24 +09:00
denobot
c6d1ab2d68
chore: release 2024.09.12a (#5971)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-13 01:57:33 +09:00
Yoshiya Hinosawa
d35803f4f8
docs(path): add note about unstable-join (#5967) 2024-09-12 19:41:45 +09:00
denobot
c5d7930d57
chore: release 2024.09.12 (#5969)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-12 19:18:10 +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
denobot
67e9cfa0ff
chore: release 2024.09.04 (#5908)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-09-04 19:37:53 +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
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
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
Ben McLean
c3b113d7a9
refactor(path): make isWindows check compatible with Node and Bun (#4961)
* Refactored to get rid of unnecessary function.

All that needs to be done here is to check if
the version is windows. Handling each combination
of runtime and operating system will make
the existing osType difficult to test and maintain.

* Changed browser version of isWindows.

It was using a deprecated web API.

* Refactored getIsWindows.

* Added node/bun version of isWindows.

* Got cross platform os module working.

* Handled Deno error.

* Fixed type errors.

* Removed node:os import.

This is how NodeJS checks to see
if the underlying OS is windows.

* tweaks

* fix

* cleanup

* tweak

* fix

* Added support for node.

---------

Co-authored-by: Asher Gomez <ashersaupingomez@gmail.com>
2024-08-30 08:39:59 +10:00
denobot
2b3683b6fb
chore: release 2024.08.26 (#5824)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-08-26 17:33:29 +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
denobot
fb950fa0f3
chore: release 2024.07.26 (#5554)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-26 19:45:22 +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
denobot
3ee4c4dd43
chore: release 2024.07.19 (#5494)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-19 20:22:43 +09:00
Yoshiya Hinosawa
db9d4ec70b
fix(path): support use in dnt (#5478) 2024-07-18 14:38:06 +09:00
Asher Gomez
f20b580e77
chore(path): release path@1.0.0 (#5203)
* chore(path): release `path@1.0.0`

* Update deno.json

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

* fix

---------

Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-07-10 11:02:12 +10:00
denobot
dc14633394
chore: release 2024.07.09 (#5363)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-09 15:13:21 +09: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
denobot
940568c62d
chore: release 2024.07.02 (#5254)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-07-02 20:43:42 +09: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
denobot
cea0a14578
chore: release 2024.06.17 (#5062)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-17 18:53:28 +09:00
Michael Herzner
22b4d03d37
test(path): improve test coverage (#5038) 2024-06-14 11:54:18 +12:00
Asher Gomez
cda6714c5e
refactor(path): clean isWindows logic (#4972)
* refactor(path): clean `isWindows` logic

* fix
2024-06-06 07:27:59 +10:00
Asher Gomez
7085c94b25
chore(path): release path@1.0.0-rc.1 (#4951) 2024-06-05 11:07:12 +10:00
Asher Gomez
a0b6e4543d
chore(path): use assertPath() in windows.join() (#4960) 2024-06-05 03:03:56 +02: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
Yoshiya Hinosawa
c3728a57d7
docs(path): fix typo in normalize doc (#4959) 2024-06-04 22:03:58 +09:00
Yoshiya Hinosawa
c9a47f4e2d
docs(path): improve join jsdoc (#4958) 2024-06-04 21:53:29 +09:00
Yoshiya Hinosawa
6e17e115c0
docs(path): fix typo (#4956) 2024-06-04 21:39:39 +09:00
Asher Gomez
cfb169ea2f
BREAKING(path): remove path.posix and path.win32 (#4953) 2024-06-04 17:08:10 +10:00
Yoshiya Hinosawa
78dcf0748d
test(path): improve windows.parse() test (#4952) 2024-06-04 13:54:53 +09:00
Asher Gomez
60acf78a90
BREAKING(path): remove separator argument from common() (#4947) 2024-06-04 14:07:38 +10:00
Asher Gomez
1ac89853f5
BREAKING(path): remove GlobToRegExpOptions.os and OSType export (#4928)
* BREAKING(fs): remove `GlobToRegExpOptions.os`

* fix
2024-06-04 14:03:48 +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
Yoshiya Hinosawa
315903117d
test(path): improve normalizeGlob() test coverage (#4940) 2024-06-03 22:54:18 +09:00
Yoshiya Hinosawa
a5a658f7ca
test(path): improve normalize() coverage (#4939) 2024-06-03 21:44:23 +09:00
denobot
b9374d3715
chore: release 2024.06.03 (#4935)
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
2024-06-03 15:44:03 +09: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