@poe-platform/safe-js 0.1.229 → 0.1.231

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.
@@ -16096,7 +16096,7 @@ async function evaluateForOfStatement(node, context) {
16096
16096
  if (iterable.kind !== "normal") {
16097
16097
  return iterable;
16098
16098
  }
16099
- const values = node.await ? void 0 : snapshotableIterationValues(iterable.value);
16099
+ const values = saved?.kind === "for-of-array" && Array.isArray(saved.values) ? saved.values : void 0;
16100
16100
  if (values === void 0) {
16101
16101
  return evaluateForOfIterator(node, iterable.value, context, restoredEntry);
16102
16102
  }
@@ -16525,15 +16525,6 @@ function consumeRestoredLoopIterationIndex(node, context) {
16525
16525
  const iteration = consumeRestoredLoopIteration(node, context);
16526
16526
  return typeof iteration === "number" ? iteration : iteration?.index ?? 0;
16527
16527
  }
16528
- function snapshotableIterationValues(value) {
16529
- if (typeof value === "string") {
16530
- return Array.from(value);
16531
- }
16532
- if (Array.isArray(value)) {
16533
- return value;
16534
- }
16535
- return void 0;
16536
- }
16537
16528
  function isMatchingBreak(result, labels) {
16538
16529
  return result.kind === "break" && (result.label === void 0 || hasLoopLabel(labels, result.label));
16539
16530
  }
@@ -39115,4 +39106,4 @@ export {
39115
39106
  FileSnapshotBackend,
39116
39107
  run
39117
39108
  };
39118
- //# sourceMappingURL=chunk-WWVQVQWC.js.map
39109
+ //# sourceMappingURL=chunk-5SF3QHIJ.js.map