@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.
@@ -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-X4Q4MITB.js.map
42268
+ //# sourceMappingURL=chunk-CYVI4ZUK.js.map