@poe-platform/safe-js 0.1.239 → 0.1.240
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-GM6QCOXT.js → chunk-IIEGYHM4.js} +17 -13
- package/dist/safe-js/chunks/{chunk-GM6QCOXT.js.map → chunk-IIEGYHM4.js.map} +2 -2
- package/dist/safe-js/chunks/{chunk-KRIQESNQ.js → chunk-JD5SV5DJ.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-KRIQESNQ.js.map → chunk-JD5SV5DJ.js.map} +0 -0
|
@@ -16545,20 +16545,24 @@ async function evaluateWhileStatement(node, context) {
|
|
|
16545
16545
|
}
|
|
16546
16546
|
}
|
|
16547
16547
|
async function evaluateDoWhileStatement(node, context) {
|
|
16548
|
+
let resumeTest = context.generatorResume !== void 0 && context.generatorResume.completed !== true && containsResumeTarget(node.test, /* @__PURE__ */ new Set([context.generatorResume.yieldNodeId]));
|
|
16548
16549
|
while (true) {
|
|
16549
|
-
|
|
16550
|
-
|
|
16551
|
-
|
|
16552
|
-
|
|
16553
|
-
|
|
16554
|
-
|
|
16555
|
-
|
|
16556
|
-
|
|
16557
|
-
|
|
16558
|
-
|
|
16559
|
-
|
|
16560
|
-
|
|
16550
|
+
if (!resumeTest) {
|
|
16551
|
+
const iterationContext = createLoopIterationContext(context, context.scope);
|
|
16552
|
+
emitLoopIterationBreakpoint(node, iterationContext);
|
|
16553
|
+
const result = await evaluateNode(node.body, iterationContext);
|
|
16554
|
+
if (isMatchingBreak(result, loopLabels(node))) {
|
|
16555
|
+
return {
|
|
16556
|
+
kind: "normal",
|
|
16557
|
+
hasValue: false,
|
|
16558
|
+
value: void 0
|
|
16559
|
+
};
|
|
16560
|
+
}
|
|
16561
|
+
if (result.kind !== "normal" && !isMatchingContinue(result, loopLabels(node))) {
|
|
16562
|
+
return result;
|
|
16563
|
+
}
|
|
16561
16564
|
}
|
|
16565
|
+
resumeTest = false;
|
|
16562
16566
|
const test = await evaluateNode(node.test, context);
|
|
16563
16567
|
if (test.kind !== "normal") {
|
|
16564
16568
|
return test;
|
|
@@ -39288,4 +39292,4 @@ export {
|
|
|
39288
39292
|
FileSnapshotBackend,
|
|
39289
39293
|
run
|
|
39290
39294
|
};
|
|
39291
|
-
//# sourceMappingURL=chunk-
|
|
39295
|
+
//# sourceMappingURL=chunk-IIEGYHM4.js.map
|