@bytecodealliance/preview2-shim 0.16.2 → 0.16.3

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.
@@ -700,6 +700,13 @@ function convertFsError(e) {
700
700
  return "text-file-busy";
701
701
  case "EXDEV":
702
702
  return "cross-device";
703
+ case "UNKNOWN":
704
+ switch (e.errno) {
705
+ case -4094:
706
+ return "no-such-device";
707
+ default:
708
+ throw e;
709
+ }
703
710
  default:
704
711
  throw e;
705
712
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytecodealliance/preview2-shim",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "description": "WASI Preview2 shim for JS environments",
5
5
  "author": "Guy Bedford, Eduardo Rodrigues<16357187+eduardomourar@users.noreply.github.com>",
6
6
  "type": "module",