reg-cli 0.0.0-experimental-wasm6 → 0.0.0-experimental-wasm8

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/index.cjs CHANGED
@@ -68,7 +68,14 @@ const run = (argv) => {
68
68
  return emitter;
69
69
  };
70
70
  const compare = (input) => {
71
- const args = ["--", ...Object.entries(input).flatMap(([k, v]) => [`--${k}`, String(v)])];
71
+ const { actualDir, expectedDir, diffDir, ...rest } = input;
72
+ const args = [
73
+ "--",
74
+ actualDir,
75
+ expectedDir,
76
+ diffDir,
77
+ ...Object.entries(rest).flatMap(([k, v]) => [`--${k}`, String(v)])
78
+ ];
72
79
  return run(args);
73
80
  };
74
81
 
package/dist/index.mjs CHANGED
@@ -61,7 +61,14 @@ const run = (argv) => {
61
61
  return emitter;
62
62
  };
63
63
  const compare = (input) => {
64
- const args = ["--", ...Object.entries(input).flatMap(([k, v]) => [`--${k}`, String(v)])];
64
+ const { actualDir, expectedDir, diffDir, ...rest } = input;
65
+ const args = [
66
+ "--",
67
+ actualDir,
68
+ expectedDir,
69
+ diffDir,
70
+ ...Object.entries(rest).flatMap(([k, v]) => [`--${k}`, String(v)])
71
+ ];
65
72
  return run(args);
66
73
  };
67
74
 
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reg-cli",
3
- "version": "0.0.0-experimental-wasm6",
3
+ "version": "0.0.0-experimental-wasm8",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "start": "node ./dist/cli.mjs",