poe-code 11.0.16 → 11.0.17
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/index.js +6 -3
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/safejs/dist/chunks/{chunk-X4JCDSRU.js → chunk-COHIMIAF.js} +2 -2
- package/packages/safejs/dist/chunks/{chunk-KNMVUWS7.js → chunk-D4DDI3HH.js} +6 -3
- package/packages/safejs/dist/chunks/{chunk-KNMVUWS7.js.map → chunk-D4DDI3HH.js.map} +2 -2
- package/packages/safejs/dist/cli.js +2 -2
- package/packages/safejs/dist/core.js +1 -1
- package/packages/safejs/dist/index.js +2 -2
- package/packages/safejs/dist/interp/values.js +8 -3
- /package/packages/safejs/dist/chunks/{chunk-X4JCDSRU.js.map → chunk-COHIMIAF.js.map} +0 -0
package/package.json
CHANGED
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
validateMigrationSemantics,
|
|
28
28
|
validateSnapshotData,
|
|
29
29
|
validateSnapshotMigration
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-D4DDI3HH.js";
|
|
31
31
|
|
|
32
32
|
// packages/safejs/src/migrate.ts
|
|
33
33
|
import { createHash } from "node:crypto";
|
|
@@ -8055,4 +8055,4 @@ export {
|
|
|
8055
8055
|
parseMcpConfig,
|
|
8056
8056
|
makeMcpModule
|
|
8057
8057
|
};
|
|
8058
|
-
//# sourceMappingURL=chunk-
|
|
8058
|
+
//# sourceMappingURL=chunk-COHIMIAF.js.map
|
|
@@ -19806,7 +19806,10 @@ function measureSandboxData(values, options = {}) {
|
|
|
19806
19806
|
usage += 1;
|
|
19807
19807
|
if (Array.isArray(value)) {
|
|
19808
19808
|
usage += value.length;
|
|
19809
|
-
for (
|
|
19809
|
+
for (let index = 0; index < value.length; index += 1) {
|
|
19810
|
+
const descriptor = Object.getOwnPropertyDescriptor(value, index);
|
|
19811
|
+
if (descriptor !== void 0 && "value" in descriptor) visit(descriptor.value);
|
|
19812
|
+
}
|
|
19810
19813
|
return;
|
|
19811
19814
|
}
|
|
19812
19815
|
if (isSandboxMap(value)) {
|
|
@@ -19840,7 +19843,7 @@ function measureSandboxData(values, options = {}) {
|
|
|
19840
19843
|
usage += value.source.length + value.flags.length;
|
|
19841
19844
|
return;
|
|
19842
19845
|
}
|
|
19843
|
-
const entries = isSandboxArguments(value) ? getSandboxArgumentEntries(value) : Object.entries(value);
|
|
19846
|
+
const entries = isSandboxArguments(value) ? getSandboxArgumentEntries(value) : Object.entries(Object.getOwnPropertyDescriptors(value)).filter(([, descriptor]) => descriptor.enumerable).map(([key, descriptor]) => [key, "value" in descriptor ? descriptor.value : void 0]);
|
|
19844
19847
|
usage += entries.length;
|
|
19845
19848
|
for (const [key, entry] of entries) {
|
|
19846
19849
|
usage += key.length;
|
|
@@ -29062,4 +29065,4 @@ export {
|
|
|
29062
29065
|
FileSnapshotBackend,
|
|
29063
29066
|
run
|
|
29064
29067
|
};
|
|
29065
|
-
//# sourceMappingURL=chunk-
|
|
29068
|
+
//# sourceMappingURL=chunk-D4DDI3HH.js.map
|