@bytecodealliance/preview2-shim 0.0.2 → 0.0.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.
@@ -0,0 +1,3 @@
1
+ export function getEnvironment () {
2
+ return [];
3
+ }
@@ -45,3 +45,7 @@ export function todoType(fd) {
45
45
  export function dropDirEntryStream(s) {
46
46
  console.log(`[filesystem] CLOSE DIR ENTRY STREAM: ${s}`);
47
47
  }
48
+
49
+ export function getPreopens () {
50
+ console.log(`[filesystem] GET PREOPENS`);
51
+ }
@@ -0,0 +1,3 @@
1
+ export function getEnvironment () {
2
+ return [];
3
+ }
@@ -56,3 +56,7 @@ export function todoType(fd) {
56
56
  export function dropDirEntryStream(s) {
57
57
  console.log(`[filesystem] CLOSE DIR ENTRY STREAM ${s}`);
58
58
  }
59
+
60
+ export function getPreopens () {
61
+ console.log(`[filesystem] GET PREOPENS`);
62
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytecodealliance/preview2-shim",
3
- "version": "0.0.2",
3
+ "version": "0.0.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",