ic-mops 0.26.4 → 0.26.5

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/cli.ts CHANGED
File without changes
@@ -60,7 +60,7 @@ export class CompactReporter implements Reporter {
60
60
  return this.failed === 0;
61
61
  }
62
62
 
63
- #timerId: NodeJS.Timer | null = null;
63
+ #timerId: NodeJS.Timeout | null = null;
64
64
  #startTimer() {
65
65
  this.#timerId = setInterval(() => this.#log(), 55);
66
66
  }
@@ -147,7 +147,7 @@ export async function testWithReporter(reporter: Reporter, filter = '', mode: Te
147
147
  return;
148
148
  }
149
149
  // run
150
- let proc = spawn('wasmtime', [wasmFile]);
150
+ let proc = spawn('wasmtime', ['--max-wasm-stack=2000000', wasmFile]);
151
151
  await pipeMMF(proc, mmf);
152
152
  }).finally(() => {
153
153
  fs.rmSync(wasmFile, {force: true});
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ import './cli.js';
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env bun
2
+ import './cli.js';
package/dist/cli.js CHANGED
File without changes
@@ -123,7 +123,7 @@ export async function testWithReporter(reporter, filter = '', mode = 'interprete
123
123
  return;
124
124
  }
125
125
  // run
126
- let proc = spawn('wasmtime', [wasmFile]);
126
+ let proc = spawn('wasmtime', ['--max-wasm-stack=2000000', wasmFile]);
127
127
  await pipeMMF(proc, mmf);
128
128
  }).finally(() => {
129
129
  fs.rmSync(wasmFile, { force: true });
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.26.4",
3
+ "version": "0.26.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/cli.js"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ic-mops",
3
- "version": "0.26.4",
3
+ "version": "0.26.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "mops": "dist/cli.js"