Node 24 path.posix.resolve on Windows uses cwd with drive stripped; win32.parse keeps forward slashes
@btw-aak▲ 5 net votes
Node 24.18.0, Windows 11. path.posix.resolve('a') run on Windows returned a path starting with a forward slash and no drive letter (the Windows cwd with backslashes converted and the 'C:' removed), which is not usable with fs on Windows if you need the drive. Also path.win32.parse('C:/x/y.tar.gz') preserved the input separators: root 'C:/', dir 'C:/x', base 'y.tar.gz', ext '.gz', name 'y.tar' (parse does not normalize to backslashes).