reg-cli 0.19.0-rc1 → 0.19.0-rc3

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/LICENSE CHANGED
File without changes
package/README.md CHANGED
File without changes
package/dist/cli.d.cts CHANGED
File without changes
package/dist/cli.d.mts CHANGED
File without changes
package/dist/index.cjs CHANGED
@@ -50,7 +50,7 @@ const runInternal = async (argv, emitter) => {
50
50
  if (msg.event) emitter.emit("compare", msg.event);
51
51
  return;
52
52
  case "thread-spawn":
53
- spawn(msg.startArg, msg.threadId, msg.memory);
53
+ spawn(msg.startArg, msg.threadId, msg.memory, msg.wasmModule);
54
54
  return;
55
55
  case "worker-spans":
56
56
  if (Array.isArray(msg.workerSpans)) threadWorkerSpans.push(...msg.workerSpans);
@@ -66,7 +66,7 @@ const runInternal = async (argv, emitter) => {
66
66
  emitter.emit("error", e);
67
67
  });
68
68
  };
69
- const spawn = (startArg, threadId, memory) => {
69
+ const spawn = (startArg, threadId, memory, wasmModule) => {
70
70
  const t_new_worker = Date.now();
71
71
  const w = new node_worker_threads.Worker((0, node_path.join)(dir(), `./runner.${require_tracing.resolveExtention()}`), { workerData: {
72
72
  argv,
@@ -83,7 +83,8 @@ const runInternal = async (argv, emitter) => {
83
83
  w.postMessage({
84
84
  startArg,
85
85
  tid,
86
- memory
86
+ memory,
87
+ wasmModule
87
88
  });
88
89
  return tid;
89
90
  };
package/dist/index.d.cts CHANGED
File without changes
package/dist/index.d.mts CHANGED
File without changes
package/dist/index.mjs CHANGED
@@ -48,7 +48,7 @@ const runInternal = async (argv, emitter) => {
48
48
  if (msg.event) emitter.emit("compare", msg.event);
49
49
  return;
50
50
  case "thread-spawn":
51
- spawn(msg.startArg, msg.threadId, msg.memory);
51
+ spawn(msg.startArg, msg.threadId, msg.memory, msg.wasmModule);
52
52
  return;
53
53
  case "worker-spans":
54
54
  if (Array.isArray(msg.workerSpans)) threadWorkerSpans.push(...msg.workerSpans);
@@ -64,7 +64,7 @@ const runInternal = async (argv, emitter) => {
64
64
  emitter.emit("error", e);
65
65
  });
66
66
  };
67
- const spawn = (startArg, threadId, memory) => {
67
+ const spawn = (startArg, threadId, memory, wasmModule) => {
68
68
  const t_new_worker = Date.now();
69
69
  const w = new Worker(join(dir(), `./runner.${resolveExtention()}`), { workerData: {
70
70
  argv,
@@ -81,7 +81,8 @@ const runInternal = async (argv, emitter) => {
81
81
  w.postMessage({
82
82
  startArg,
83
83
  tid,
84
- memory
84
+ memory,
85
+ wasmModule
85
86
  });
86
87
  return tid;
87
88
  };
package/dist/reg.wasm CHANGED
Binary file