@poe-platform/safe-js 0.1.229 → 0.1.230
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-WWVQVQWC.js → chunk-5SF3QHIJ.js} +2 -11
- package/dist/safe-js/chunks/{chunk-WWVQVQWC.js.map → chunk-5SF3QHIJ.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-YKU535ND.js → chunk-NOPEM57U.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-YKU535ND.js.map → chunk-NOPEM57U.js.map} +0 -0
|
@@ -16096,7 +16096,7 @@ async function evaluateForOfStatement(node, context) {
|
|
|
16096
16096
|
if (iterable.kind !== "normal") {
|
|
16097
16097
|
return iterable;
|
|
16098
16098
|
}
|
|
16099
|
-
const values =
|
|
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-
|
|
39109
|
+
//# sourceMappingURL=chunk-5SF3QHIJ.js.map
|