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
Yoshiya Hinosawa
9e3c1a2c69
test(path): add test cases of isAbsolute()
, joinGlobs()
, and common()
( #4904 )
2024-05-30 18:17:29 +09:00
Yoshiya Hinosawa
d70e1e979f
test(path): test toNamespacedPath()
( #4902 )
2024-05-30 16:56:15 +09:00
Yoshiya Hinosawa
434a52eefa
chore(fmt,fs,path,internal): skip yanked version manually ( #4753 )
2024-05-16 20:04:16 +09:00
denobot
53e08775e3
chore: release 2024.05.07 ( #4689 )
...
Co-authored-by: kt3k <kt3k@users.noreply.github.com>
Co-authored-by: Yoshiya Hinosawa <stibium121@gmail.com>
2024-05-08 13:32:51 +09:00
Yoshiya Hinosawa
4c769f8175
chore(assert,fmt,fs,internal,path): skip yanked versions manually ( #4683 )
2024-05-07 16:26:05 +09:00
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