@poe-platform/safe-js 0.1.407 → 0.1.408
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-WGMXY4HP.js → chunk-6GFX7QAK.js} +14 -4
- package/dist/safe-js/chunks/{chunk-WGMXY4HP.js.map → chunk-6GFX7QAK.js.map} +3 -3
- package/dist/safe-js/chunks/{chunk-MTMQBPY2.js → chunk-IP5BHXCD.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-MTMQBPY2.js.map → chunk-IP5BHXCD.js.map} +0 -0
|
@@ -30443,10 +30443,20 @@ function measureSandboxData(values, options = {}) {
|
|
|
30443
30443
|
}
|
|
30444
30444
|
return;
|
|
30445
30445
|
}
|
|
30446
|
-
|
|
30447
|
-
|
|
30448
|
-
|
|
30446
|
+
const elements = [];
|
|
30447
|
+
if (nodeTypes.isProxy(value)) {
|
|
30448
|
+
for (let index = 0; index < value.length; index += 1) {
|
|
30449
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, index);
|
|
30450
|
+
if (descriptor !== void 0 && "value" in descriptor) elements.push(descriptor.value);
|
|
30451
|
+
}
|
|
30452
|
+
} else {
|
|
30453
|
+
for (const key of Object.getOwnPropertyNames(value)) {
|
|
30454
|
+
if (!isArrayIndexKey2(key)) continue;
|
|
30455
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
30456
|
+
if (descriptor !== void 0 && "value" in descriptor) elements.push(descriptor.value);
|
|
30457
|
+
}
|
|
30449
30458
|
}
|
|
30459
|
+
for (const element of elements) visit(element, depth + 1);
|
|
30450
30460
|
return;
|
|
30451
30461
|
}
|
|
30452
30462
|
if (isSandboxMap(value) || isSandboxSet(value)) {
|
|
@@ -45558,4 +45568,4 @@ export {
|
|
|
45558
45568
|
FileSnapshotBackend,
|
|
45559
45569
|
run
|
|
45560
45570
|
};
|
|
45561
|
-
//# sourceMappingURL=chunk-
|
|
45571
|
+
//# sourceMappingURL=chunk-6GFX7QAK.js.map
|