@ai-ecoverse/slicc-kernel 1.164.3 → 1.164.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/README.md +2 -2
- package/dist/index.js.map +1 -1
- package/dist/kernel-worker.js +65 -69
- package/dist/kernel-worker.js.map +3 -3
- package/dist/meta.js.map +2 -2
- package/dist/node-driver-worker.js +13 -2
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.js +14 -3
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +65 -69
- package/dist/node.js.map +3 -3
- package/dist/process-worker.js +1 -1
- package/dist/process-worker.js.map +2 -2
- package/dist/types/fs/remote.d.ts +0 -2
- package/dist/types/fs/types.d.ts +0 -2
- package/dist/types/fs/unlinked.d.ts +1 -0
- package/dist/types/launcher.d.ts +0 -1
- package/dist/types/mount/mount-fs.d.ts +0 -1
- package/package.json +1 -1
|
@@ -7385,7 +7385,7 @@ var init_version = __esm({
|
|
|
7385
7385
|
"src/version.ts"() {
|
|
7386
7386
|
"use strict";
|
|
7387
7387
|
init_captured_globals();
|
|
7388
|
-
KERNEL_VERSION = true ? "1.164.
|
|
7388
|
+
KERNEL_VERSION = true ? "1.164.5" : "0.0.0-dev";
|
|
7389
7389
|
OS_RELEASE = "6.0.0-slicc";
|
|
7390
7390
|
}
|
|
7391
7391
|
});
|
|
@@ -19700,6 +19700,7 @@ var hashOf = proto.getScriptHash;
|
|
|
19700
19700
|
var isEval = proto.isEval;
|
|
19701
19701
|
var originOf = proto.getEvalOrigin;
|
|
19702
19702
|
var lineOf = proto.getLineNumber;
|
|
19703
|
+
var nameOf = proto.getScriptNameOrSourceURL;
|
|
19703
19704
|
var ownNames = new capturedSet([
|
|
19704
19705
|
apply(fileOf, self, []),
|
|
19705
19706
|
apply(proto.getScriptNameOrSourceURL, self, [])
|
|
@@ -19737,12 +19738,22 @@ function rootOrigin(origin) {
|
|
|
19737
19738
|
}
|
|
19738
19739
|
return apply(slice, at, [0, end]);
|
|
19739
19740
|
}
|
|
19741
|
+
function evalAt(origin) {
|
|
19742
|
+
return apply(startsWith, origin, ["eval at "]) === true;
|
|
19743
|
+
}
|
|
19744
|
+
function scriptOf(site) {
|
|
19745
|
+
if (apply(isEval, site, []) !== true) return apply(fileOf, site, []);
|
|
19746
|
+
const origin = apply(originOf, site, []);
|
|
19747
|
+
if (typeof origin !== "string" || evalAt(origin)) return void 0;
|
|
19748
|
+
return apply(nameOf, site, []);
|
|
19749
|
+
}
|
|
19740
19750
|
function keptFrame(site) {
|
|
19741
19751
|
const hash = apply(hashOf, site, []);
|
|
19742
19752
|
if (hash === ownHash) return false;
|
|
19743
19753
|
if (apply(isEval, site, []) === true) {
|
|
19744
19754
|
const origin = apply(originOf, site, []);
|
|
19745
|
-
|
|
19755
|
+
if (typeof origin !== "string") return false;
|
|
19756
|
+
return !evalAt(origin) || programName(rootOrigin(origin));
|
|
19746
19757
|
}
|
|
19747
19758
|
const file = apply(fileOf, site, []);
|
|
19748
19759
|
if (typeof file !== "string") return true;
|
|
@@ -19810,7 +19821,7 @@ function errorSourceOf(error) {
|
|
|
19810
19821
|
if (!at || typeof at.sourceLine !== "string" || typeof at.lineNumber !== "number")
|
|
19811
19822
|
return void 0;
|
|
19812
19823
|
if (apply(setHas, ownNames, [at.scriptResourceName]) === true) return void 0;
|
|
19813
|
-
const file =
|
|
19824
|
+
const file = scriptOf(site);
|
|
19814
19825
|
if (at.scriptResourceName !== file || apply(lineOf, site, []) !== at.lineNumber) return void 0;
|
|
19815
19826
|
const out = blank(null);
|
|
19816
19827
|
out.sourceLine = at.sourceLine;
|