@poe-platform/safe-js 0.1.415 → 0.1.417
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/dist/safe-js/chunks/{chunk-GGBETIGN.js → chunk-J2YIA5RE.js} +8 -3
- package/dist/safe-js/chunks/{chunk-GGBETIGN.js.map → chunk-J2YIA5RE.js.map} +3 -3
- package/dist/safe-js/chunks/{chunk-SIANCQHE.js → chunk-WX23Y7DF.js} +2 -2
- package/dist/safe-js/cli.js +2 -2
- package/dist/safe-js/core.js +1 -1
- package/dist/safe-js/index.js +2 -2
- package/package.json +2 -2
- /package/dist/safe-js/chunks/{chunk-SIANCQHE.js.map → chunk-WX23Y7DF.js.map} +0 -0
|
@@ -24666,7 +24666,7 @@ function createHostErrorValue(reason, stackFrames, budget, span, state = { seen:
|
|
|
24666
24666
|
if (nativeError) {
|
|
24667
24667
|
state.seen.set(reason, error);
|
|
24668
24668
|
copyHostErrorMetadata(error, reason, budget, chargeBudget);
|
|
24669
|
-
const errors =
|
|
24669
|
+
const errors = Object.getOwnPropertyDescriptor(reason, "errors");
|
|
24670
24670
|
const registered = hostErrorData.get(reason);
|
|
24671
24671
|
const data = errors !== void 0 && "value" in errors ? { ...registered, errors: errors.value } : registered;
|
|
24672
24672
|
if (data !== void 0) {
|
|
@@ -30404,7 +30404,12 @@ function measureSandboxData(values, options = {}) {
|
|
|
30404
30404
|
if (descriptor !== void 0 && "value" in descriptor) arrayElements.push(descriptor.value);
|
|
30405
30405
|
}
|
|
30406
30406
|
} else {
|
|
30407
|
-
|
|
30407
|
+
let keys2 = managedArray ? Object.getOwnPropertyNames(value) : Object.keys(value);
|
|
30408
|
+
const denseIndices = !managedArray && (arrayLength === 0 || keys2[arrayLength - 1] === String(arrayLength - 1));
|
|
30409
|
+
if (!managedArray && !denseIndices) keys2 = Object.getOwnPropertyNames(value);
|
|
30410
|
+
const keyCount = denseIndices ? arrayLength : keys2.length;
|
|
30411
|
+
for (let index = 0; index < keyCount; index += 1) {
|
|
30412
|
+
const key = keys2[index];
|
|
30408
30413
|
if (key === "length") {
|
|
30409
30414
|
if (!managedArray) break;
|
|
30410
30415
|
continue;
|
|
@@ -45607,4 +45612,4 @@ export {
|
|
|
45607
45612
|
FileSnapshotBackend,
|
|
45608
45613
|
run
|
|
45609
45614
|
};
|
|
45610
|
-
//# sourceMappingURL=chunk-
|
|
45615
|
+
//# sourceMappingURL=chunk-J2YIA5RE.js.map
|