poe-code 11.0.29 → 11.0.30
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 +12 -2
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/safejs/dist/chunks/{chunk-DB2DNWCX.js → chunk-44GTB3XV.js} +2 -2
- package/packages/safejs/dist/chunks/{chunk-HC3QSP5N.js → chunk-XPDK2VVP.js} +12 -2
- package/packages/safejs/dist/chunks/{chunk-HC3QSP5N.js.map → chunk-XPDK2VVP.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/host-call.js +13 -3
- /package/packages/safejs/dist/chunks/{chunk-DB2DNWCX.js.map → chunk-44GTB3XV.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-XPDK2VVP.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-44GTB3XV.js.map
|
|
@@ -21115,7 +21115,17 @@ function normalize(value, seen) {
|
|
|
21115
21115
|
if (seen.has(value)) throw new TypeError("Host call arguments cannot contain cycles.");
|
|
21116
21116
|
seen.add(value);
|
|
21117
21117
|
try {
|
|
21118
|
-
if (Array.isArray(value))
|
|
21118
|
+
if (Array.isArray(value)) {
|
|
21119
|
+
const normalized = new Array(value.length);
|
|
21120
|
+
for (const [key, descriptor] of Object.entries(Object.getOwnPropertyDescriptors(value))) {
|
|
21121
|
+
if (!isArrayIndexKey(key)) continue;
|
|
21122
|
+
if (!("value" in descriptor)) {
|
|
21123
|
+
throw new TypeError("Host call arguments cannot contain accessor properties.");
|
|
21124
|
+
}
|
|
21125
|
+
defineOwnDataProperty(normalized, key, normalize(descriptor.value, seen));
|
|
21126
|
+
}
|
|
21127
|
+
return normalized;
|
|
21128
|
+
}
|
|
21119
21129
|
return Object.fromEntries(
|
|
21120
21130
|
Object.keys(value).sort().map((key) => [key, normalize(value[key], seen)])
|
|
21121
21131
|
);
|
|
@@ -29231,4 +29241,4 @@ export {
|
|
|
29231
29241
|
FileSnapshotBackend,
|
|
29232
29242
|
run
|
|
29233
29243
|
};
|
|
29234
|
-
//# sourceMappingURL=chunk-
|
|
29244
|
+
//# sourceMappingURL=chunk-XPDK2VVP.js.map
|