Commit graph

11 commits

Author SHA1 Message Date
Daniel Osvaldo Rahmanto
6d49e26d60
fix(ext/node): path.relative compatibility (#30566)
Forked from Node.js implementation:
-
591ba692bf/lib/path.js (L548)
-
591ba692bf/lib/path.js (L1294)

This allows `parallel/test-path-relative.js` test to pass.
2025-09-01 11:44:51 +02:00
Daniel Osvaldo Rahmanto
5e1427c397
fix(ext/node): path.normalize compatibility (#30537)
Forked from Node.js implementation:
-
591ba692bf/lib/path.js (L76)
-
591ba692bf/lib/path.js (L1231)

This allows `parallel/test-path-normalize.js` test to pass.
2025-08-27 10:16:29 +02:00
Daniel Osvaldo Rahmanto
55f43d0373
fix(ext/node): fs.path' makelong and resolve compatibility (#30503)
Changes are based on Node.js' implementation
https://github.com/nodejs/node/tree/v24.2.0/lib/path.js.

It allows this tests to pass:
-
[parallel/test-path-makelong.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-path-makelong.js)
-
[parallel/test-path-resolve.js](https://github.com/nodejs/node/blob/v24.2.0/test/parallel/test-path-resolve.js)
2025-08-25 10:59:52 +02:00
Asher Gomez
ec8e4af85b
fix(ext/node): use primordials in ext/node/polyfills/path/_win32.ts (#28668) 2025-04-07 16:54:54 +09:00
Kenta Moriuchi
8fb073d7b4
chore: Happy New Year 2025 (#27509) 2024-12-31 19:12:39 +00:00
Nathan Whitaker
acd62786c2
fix(ext/node): Add missing node:path exports (#25567)
Apparently `path/posix` and `path/win32` have circular exports. I do not
know why.

Additionally there's a deprecated function `_makeLong` which is just
`toNamespacedPath`
2024-09-11 00:00:08 +00:00
David Sherret
7e72f3af61
chore: update copyright to 2024 (#21753) 2024-01-01 19:58:21 +00:00
Kenta Moriuchi
e16b74d792
chore(ext/node): disable prefer-primordials on a per-file basis (#19553) 2023-06-27 15:18:22 +09:00
Ryan Clements
b37b286f7f
fix(ext/node): remove path.toFileUrl (#19536) 2023-06-26 13:08:17 +09:00
Ryan Clements
d32287d211
fix(ext/node): remove fromFileUrl from "node:path" (#19504) 2023-06-16 19:43:59 +09:00
Ryan Clements
b0b0594767
fix(path): Remove non node symbols (#18630)
- preserve referential invariants (e.g. path.posix === posix)
- remove glob and separator exports
- save removal of fromFileUrl and toFileUrl for a different PR as that
refactor is more involved
- addresses #18177
2023-04-18 10:44:25 +02:00