@poe-platform/safe-js 0.1.241 → 0.1.242

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.
@@ -27,7 +27,7 @@ import {
27
27
  validateMigrationSemantics,
28
28
  validateSnapshotData,
29
29
  validateSnapshotMigration
30
- } from "./chunk-L2JX3HPQ.js";
30
+ } from "./chunk-HL454CBB.js";
31
31
 
32
32
  // packages/safe-js/src/migrate.ts
33
33
  import { createHash } from "node:crypto";
@@ -8249,4 +8249,4 @@ export {
8249
8249
  parseMcpConfig,
8250
8250
  makeMcpModule
8251
8251
  };
8252
- //# sourceMappingURL=chunk-DND27FSF.js.map
8252
+ //# sourceMappingURL=chunk-FMIETDHG.js.map
@@ -16176,6 +16176,11 @@ async function evaluateSwitchStatement(node, context) {
16176
16176
  }
16177
16177
  }
16178
16178
  async function evaluateIfStatement(node, context) {
16179
+ if (context.generatorResume !== void 0 && context.generatorResume.completed !== true) {
16180
+ const target = /* @__PURE__ */ new Set([context.generatorResume.yieldNodeId]);
16181
+ if (containsResumeTarget(node.consequent, target)) return evaluateNode(node.consequent, context);
16182
+ if (node.alternate !== void 0 && containsResumeTarget(node.alternate, target)) return evaluateNode(node.alternate, context);
16183
+ }
16179
16184
  const test = await evaluateNode(node.test, context);
16180
16185
  if (test.kind !== "normal") {
16181
16186
  return test;
@@ -39336,4 +39341,4 @@ export {
39336
39341
  FileSnapshotBackend,
39337
39342
  run
39338
39343
  };
39339
- //# sourceMappingURL=chunk-L2JX3HPQ.js.map
39344
+ //# sourceMappingURL=chunk-HL454CBB.js.map