@poe-platform/safe-js 0.1.373 → 0.1.374
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-SCIKHRZS.js → chunk-35DAUDMZ.js} +7 -2
- package/dist/safe-js/chunks/{chunk-SCIKHRZS.js.map → chunk-35DAUDMZ.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-CFRO3VRS.js → chunk-SOATRIJB.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-CFRO3VRS.js.map → chunk-SOATRIJB.js.map} +0 -0
|
@@ -28552,8 +28552,13 @@ function measureSandboxData(values, options = {}) {
|
|
|
28552
28552
|
if (Array.isArray(value)) {
|
|
28553
28553
|
usage += value.length;
|
|
28554
28554
|
if (hasManagedDescriptors(value)) {
|
|
28555
|
-
|
|
28555
|
+
const descriptors3 = [];
|
|
28556
|
+
for (const key of Object.getOwnPropertyNames(value)) {
|
|
28556
28557
|
if (key === "length") continue;
|
|
28558
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, key);
|
|
28559
|
+
if (descriptor !== void 0) descriptors3.push([key, descriptor]);
|
|
28560
|
+
}
|
|
28561
|
+
for (const [key, descriptor] of descriptors3) {
|
|
28557
28562
|
usage += key.length + 1;
|
|
28558
28563
|
if ("value" in descriptor) visit(descriptor.value, depth + 1);
|
|
28559
28564
|
else for (const closure of retainedAccessorClosures(descriptor)) visit(closure, depth + 1);
|
|
@@ -43642,4 +43647,4 @@ export {
|
|
|
43642
43647
|
FileSnapshotBackend,
|
|
43643
43648
|
run
|
|
43644
43649
|
};
|
|
43645
|
-
//# sourceMappingURL=chunk-
|
|
43650
|
+
//# sourceMappingURL=chunk-35DAUDMZ.js.map
|