reg-cli 0.0.0-experimental-wasm11 → 0.0.0-experimental-wasm13

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.
package/dist/entry.cjs CHANGED
@@ -14,6 +14,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
14
14
 
15
15
  const fs__default = /*#__PURE__*/_interopDefaultCompat(fs);
16
16
 
17
+ console.log(node_worker_threads.workerData.argv, "arg");
17
18
  const wasi = new wasmUtil.WASI({
18
19
  version: "preview1",
19
20
  args: node_worker_threads.workerData.argv,
package/dist/entry.mjs CHANGED
@@ -8,6 +8,7 @@ import 'url';
8
8
  import 'node:fs/promises';
9
9
  import 'node:path';
10
10
 
11
+ console.log(workerData.argv, "arg");
11
12
  const wasi = new WASI({
12
13
  version: "preview1",
13
14
  args: workerData.argv,
package/dist/index.cjs CHANGED
@@ -74,7 +74,7 @@ const compare = (input) => {
74
74
  actualDir,
75
75
  expectedDir,
76
76
  diffDir,
77
- ...Object.entries(rest).flatMap(([k, v]) => v == null ? [] : [`--${k}`, String(v)])
77
+ ...Object.entries(rest).flatMap(([k, v]) => v == null || v === "" ? [] : [`--${k}`, String(v)])
78
78
  ];
79
79
  return run(args);
80
80
  };
package/dist/index.mjs CHANGED
@@ -67,7 +67,7 @@ const compare = (input) => {
67
67
  actualDir,
68
68
  expectedDir,
69
69
  diffDir,
70
- ...Object.entries(rest).flatMap(([k, v]) => v == null ? [] : [`--${k}`, String(v)])
70
+ ...Object.entries(rest).flatMap(([k, v]) => v == null || v === "" ? [] : [`--${k}`, String(v)])
71
71
  ];
72
72
  return run(args);
73
73
  };
package/dist/worker.cjs CHANGED
@@ -81,6 +81,7 @@ const createInstanceProxy = (instance, memory) => {
81
81
  });
82
82
  };
83
83
 
84
+ console.log(node_worker_threads.workerData.argv, "arg");
84
85
  const wasi = new wasmUtil.WASI({
85
86
  version: "preview1",
86
87
  args: node_worker_threads.workerData.argv,
package/dist/worker.mjs CHANGED
@@ -75,6 +75,7 @@ const createInstanceProxy = (instance, memory) => {
75
75
  });
76
76
  };
77
77
 
78
+ console.log(workerData.argv, "arg");
78
79
  const wasi = new WASI({
79
80
  version: "preview1",
80
81
  args: workerData.argv,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reg-cli",
3
- "version": "0.0.0-experimental-wasm11",
3
+ "version": "0.0.0-experimental-wasm13",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "start": "node ./dist/cli.mjs",