expand shim coverage, additional fs shims, add light stream shim

This commit is contained in:
Nystik
2026-06-07 12:51:27 +02:00
parent 35348093a6
commit c3a9d511b2
16 changed files with 684 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
export function realpathSync(path) {
return typeof path === "string" ? path : String(path);
}
export function realpath(path, options, callback) {
const cb = typeof options === "function" ? options : callback;
queueMicrotask(() => cb(null, realpathSync(path)));
}
realpath.native = realpath;
realpathSync.native = realpathSync;