@ai-ecoverse/slicc-kernel 1.165.2 → 1.165.3
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 +1 -1
- package/dist/kernel-worker.js +1 -1
- package/dist/node-driver-worker.js +16 -1
- package/dist/node-driver-worker.js.map +2 -2
- package/dist/node-process-worker.js +17 -2
- package/dist/node-process-worker.js.map +2 -2
- package/dist/node.js +1 -1
- package/dist/process-worker.js +1 -1
- package/package.json +2 -2
|
@@ -7465,7 +7465,7 @@ var init_version = __esm({
|
|
|
7465
7465
|
"src/version.ts"() {
|
|
7466
7466
|
"use strict";
|
|
7467
7467
|
init_captured_globals();
|
|
7468
|
-
KERNEL_VERSION = true ? "1.165.
|
|
7468
|
+
KERNEL_VERSION = true ? "1.165.3" : "0.0.0-dev";
|
|
7469
7469
|
OS_RELEASE = "6.0.0-slicc";
|
|
7470
7470
|
}
|
|
7471
7471
|
});
|
|
@@ -19807,8 +19807,21 @@ function programScript(name2, hash) {
|
|
|
19807
19807
|
apply(setAdd, programNames, [name2]);
|
|
19808
19808
|
apply(setAdd, programHashes, [hash]);
|
|
19809
19809
|
}
|
|
19810
|
+
var SOURCE_NAMES = 4096;
|
|
19811
|
+
var sourceNames = new capturedSet();
|
|
19810
19812
|
function programName(name2) {
|
|
19811
|
-
return apply(startsWith, name2, ["data:"]) === true || apply(setHas, programNames, [name2]) === true;
|
|
19813
|
+
return apply(startsWith, name2, ["data:"]) === true || apply(setHas, programNames, [name2]) === true || apply(setHas, sourceNames, [name2]) === true;
|
|
19814
|
+
}
|
|
19815
|
+
function noteSourceUrls(trace) {
|
|
19816
|
+
for (let i = 0; i < trace.length; i++) {
|
|
19817
|
+
const site = trace[i];
|
|
19818
|
+
if (apply(isEval, site, []) !== true || apply(hashOf, site, []) === ownHash) continue;
|
|
19819
|
+
const origin = apply(originOf, site, []);
|
|
19820
|
+
if (typeof origin !== "string" || evalAt(origin)) continue;
|
|
19821
|
+
const name2 = apply(nameOf, site, []);
|
|
19822
|
+
if (typeof name2 !== "string" || apply(setHas, ownNames, [name2]) === true) continue;
|
|
19823
|
+
if (sourceNames.size < SOURCE_NAMES) apply(setAdd, sourceNames, [name2]);
|
|
19824
|
+
}
|
|
19812
19825
|
}
|
|
19813
19826
|
function rootOrigin(origin) {
|
|
19814
19827
|
let at = origin;
|
|
@@ -19856,6 +19869,7 @@ function keptFrame(site) {
|
|
|
19856
19869
|
return apply(startsWith, file, ["node:"]) === true || programName(file);
|
|
19857
19870
|
}
|
|
19858
19871
|
function keptFrames(trace) {
|
|
19872
|
+
noteSourceUrls(trace);
|
|
19859
19873
|
const out = [];
|
|
19860
19874
|
for (let i = 0; i < trace.length; i++) {
|
|
19861
19875
|
const site = trace[i];
|
|
@@ -19877,6 +19891,7 @@ function positionsAt(positions, error, site) {
|
|
|
19877
19891
|
}
|
|
19878
19892
|
function record(positions, error, trace) {
|
|
19879
19893
|
if (typeof error === "object" && error !== null && trace.length > 0) {
|
|
19894
|
+
noteSourceUrls(trace);
|
|
19880
19895
|
const site = trace[0];
|
|
19881
19896
|
apply(mapSet, seen, [error, { site, at: positionsAt(positions, error, site) }]);
|
|
19882
19897
|
}
|