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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "11.0.29",
3
+ "version": "11.0.30",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-HC3QSP5N.js";
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-DB2DNWCX.js.map
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)) return value.map((entry) => normalize(entry, seen));
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-HC3QSP5N.js.map
29244
+ //# sourceMappingURL=chunk-XPDK2VVP.js.map