@ai-ecoverse/slicc-kernel 1.162.1 → 1.163.0
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/README.md +5 -0
- package/dist/kernel-worker.js +1 -1
- package/dist/node-driver-worker.js +117 -0
- package/dist/node-driver-worker.js.map +4 -4
- package/dist/node-process-worker.js +232 -88
- package/dist/node-process-worker.js.map +4 -4
- package/dist/node.js +37 -7
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +5 -2
- package/dist/process-worker.js.map +2 -2
- package/dist/types/node.d.ts +3 -0
- package/dist/types/process/js/js-context.d.ts +3 -0
- package/dist/types/process/js/js-sync.d.ts +2 -1
- package/package.json +2 -2
package/dist/process-worker.js
CHANGED
|
@@ -3058,7 +3058,7 @@ var init_version = __esm({
|
|
|
3058
3058
|
"src/version.ts"() {
|
|
3059
3059
|
"use strict";
|
|
3060
3060
|
init_captured_globals();
|
|
3061
|
-
KERNEL_VERSION = true ? "1.
|
|
3061
|
+
KERNEL_VERSION = true ? "1.163.0" : "0.0.0-dev";
|
|
3062
3062
|
OS_RELEASE = "6.0.0-slicc";
|
|
3063
3063
|
}
|
|
3064
3064
|
});
|
|
@@ -18920,9 +18920,11 @@ function measured(measure) {
|
|
|
18920
18920
|
return out;
|
|
18921
18921
|
}
|
|
18922
18922
|
function realmOps(o) {
|
|
18923
|
+
const hook = o.stackFormatter;
|
|
18923
18924
|
return {
|
|
18924
18925
|
runScript: scriptRunner(o.runScript),
|
|
18925
|
-
promiseState: (promise) => o.promiseState?.(promise)
|
|
18926
|
+
promiseState: (promise) => o.promiseState?.(promise),
|
|
18927
|
+
...hook ? { setStackFormatter: (fn) => hook(fn) } : {}
|
|
18926
18928
|
};
|
|
18927
18929
|
}
|
|
18928
18930
|
function scriptRunner(run) {
|
|
@@ -19517,6 +19519,7 @@ async function runJs(init, port2, deps, thread) {
|
|
|
19517
19519
|
runScript: deps.runScript,
|
|
19518
19520
|
modulePath: modulePathOf(init.program),
|
|
19519
19521
|
promiseState: deps.promiseState,
|
|
19522
|
+
stackFormatter: deps.stackFormatter,
|
|
19520
19523
|
...thread?.owned ? { owned: thread.owned } : {},
|
|
19521
19524
|
held: init.held,
|
|
19522
19525
|
failed: () => failedWith
|