@poe-platform/safe-js 0.1.160 → 0.1.161

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.
@@ -16497,10 +16497,12 @@ async function evaluateSpreadElement(node, context) {
16497
16497
  if (typeof next !== "object" || next === null) {
16498
16498
  throw new TypeError("Iterator result must be an object.");
16499
16499
  }
16500
- if ((await readIteratorResult(iterator, next, "done")).value) {
16500
+ const done = iterator.readResultProperty === void 0 ? next.done : (await readIteratorResult(iterator, next, "done")).value;
16501
+ if (done) {
16501
16502
  break;
16502
16503
  }
16503
- spreadValues.push((await readIteratorResult(iterator, next, "value")).value);
16504
+ const item = iterator.readResultProperty === void 0 ? next.value : (await readIteratorResult(iterator, next, "value")).value;
16505
+ spreadValues.push(item);
16504
16506
  context.budget.allocateArrayLength(spreadValues.length);
16505
16507
  }
16506
16508
  return {
@@ -36212,4 +36214,4 @@ export {
36212
36214
  FileSnapshotBackend,
36213
36215
  run
36214
36216
  };
36215
- //# sourceMappingURL=chunk-56X2TO4E.js.map
36217
+ //# sourceMappingURL=chunk-AR5OJ6OJ.js.map