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/dist/index.js
CHANGED
|
@@ -137938,7 +137938,17 @@ function normalize2(value, seen) {
|
|
|
137938
137938
|
if (seen.has(value)) throw new TypeError("Host call arguments cannot contain cycles.");
|
|
137939
137939
|
seen.add(value);
|
|
137940
137940
|
try {
|
|
137941
|
-
if (Array.isArray(value))
|
|
137941
|
+
if (Array.isArray(value)) {
|
|
137942
|
+
const normalized = new Array(value.length);
|
|
137943
|
+
for (const [key3, descriptor] of Object.entries(Object.getOwnPropertyDescriptors(value))) {
|
|
137944
|
+
if (!isArrayIndexKey(key3)) continue;
|
|
137945
|
+
if (!("value" in descriptor)) {
|
|
137946
|
+
throw new TypeError("Host call arguments cannot contain accessor properties.");
|
|
137947
|
+
}
|
|
137948
|
+
defineOwnDataProperty(normalized, key3, normalize2(descriptor.value, seen));
|
|
137949
|
+
}
|
|
137950
|
+
return normalized;
|
|
137951
|
+
}
|
|
137942
137952
|
return Object.fromEntries(
|
|
137943
137953
|
Object.keys(value).sort().map((key3) => [key3, normalize2(value[key3], seen)])
|
|
137944
137954
|
);
|
|
@@ -155813,7 +155823,7 @@ var init_package2 = __esm({
|
|
|
155813
155823
|
"package.json"() {
|
|
155814
155824
|
package_default2 = {
|
|
155815
155825
|
name: "poe-code",
|
|
155816
|
-
version: "11.0.
|
|
155826
|
+
version: "11.0.30",
|
|
155817
155827
|
description: "CLI tool to configure Poe API for developer workflows.",
|
|
155818
155828
|
license: "MIT",
|
|
155819
155829
|
type: "module",
|