@poe-platform/safe-js 0.1.318 → 0.1.319
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-X4Q4MITB.js → chunk-CYVI4ZUK.js} +2 -2
- package/dist/safe-js/chunks/chunk-CYVI4ZUK.js.map +7 -0
- package/dist/safe-js/chunks/{chunk-AXRLZHJU.js → chunk-ZXUROMXW.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-X4Q4MITB.js.map +0 -7
- /package/dist/safe-js/chunks/{chunk-AXRLZHJU.js.map → chunk-ZXUROMXW.js.map} +0 -0
|
@@ -10719,7 +10719,7 @@ async function nextArrayIterator(value, budget, context) {
|
|
|
10719
10719
|
const read = (key) => context?.getProperty !== void 0 ? context.getProperty(source, key) : readPropertyDescriptor((isFloat32Array(source) ? Object.getOwnPropertyDescriptor(source, key) : void 0) ?? getSandboxPropertyDescriptor(source, key, budget) ?? { value: void 0 }, source, context);
|
|
10720
10720
|
try {
|
|
10721
10721
|
budget.visitNode();
|
|
10722
|
-
const number = isFloat32Array(source) ? float32Storage(source).length : await sandboxNumber(await read("length"), budget, context);
|
|
10722
|
+
const number = isFloat32Array(source) ? float32Storage(source, true).length : await sandboxNumber(await read("length"), budget, context);
|
|
10723
10723
|
const length = Number.isNaN(number) || number <= 0 ? 0 : Math.min(Math.trunc(number), Number.MAX_SAFE_INTEGER);
|
|
10724
10724
|
if (index >= length) {
|
|
10725
10725
|
state.source = void 0;
|
|
@@ -42265,4 +42265,4 @@ export {
|
|
|
42265
42265
|
FileSnapshotBackend,
|
|
42266
42266
|
run
|
|
42267
42267
|
};
|
|
42268
|
-
//# sourceMappingURL=chunk-
|
|
42268
|
+
//# sourceMappingURL=chunk-CYVI4ZUK.js.map
|