@bytecodealliance/preview2-shim 0.25.0 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -428,7 +428,8 @@ class Descriptor {
428
428
  readlinkAt(path) {
429
429
  const fullPath = this.#getFullPath(path);
430
430
  try {
431
- return readlinkSync(fullPath);
431
+ const target = readlinkSync(fullPath);
432
+ return isWindows ? target.replace(/\\/g, "/") : target;
432
433
  }
433
434
  catch (e) {
434
435
  throw convertFsError(e);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytecodealliance/preview2-shim",
3
- "version": "0.25.0",
3
+ "version": "0.26.0",
4
4
  "description": "WASI Preview2 shim for JS environments",
5
5
  "homepage": "https://github.com/bytecodealliance/jco#readme",
6
6
  "bugs": {