@poe-platform/safe-js 0.1.214 → 0.1.215

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-OFYATXUI.js";
30
+ } from "./chunk-XEABTBIE.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-7HDFRW4L.js.map
8252
+ //# sourceMappingURL=chunk-VJZDZJ6B.js.map
@@ -16892,6 +16892,8 @@ async function evaluateMemberAssignmentExpression(node, context) {
16892
16892
  });
16893
16893
  }
16894
16894
  async function evaluateLogicalExpression(node, context) {
16895
+ if (context.generatorResume !== void 0 && containsResumeTarget(node.right, /* @__PURE__ */ new Set([context.generatorResume.yieldNodeId])))
16896
+ return evaluateNode(node.right, context);
16895
16897
  const left = await evaluateNode(node.left, context);
16896
16898
  if (left.kind !== "normal") {
16897
16899
  return left;
@@ -16934,6 +16936,11 @@ async function evaluateSequenceExpression(node, context) {
16934
16936
  return result;
16935
16937
  }
16936
16938
  async function evaluateConditionalExpression(node, context) {
16939
+ if (context.generatorResume !== void 0) {
16940
+ const target = /* @__PURE__ */ new Set([context.generatorResume.yieldNodeId]);
16941
+ if (containsResumeTarget(node.consequent, target)) return evaluateNode(node.consequent, context);
16942
+ if (containsResumeTarget(node.alternate, target)) return evaluateNode(node.alternate, context);
16943
+ }
16937
16944
  const test = await evaluateNode(node.test, context);
16938
16945
  if (test.kind !== "normal") {
16939
16946
  return test;
@@ -38626,4 +38633,4 @@ export {
38626
38633
  FileSnapshotBackend,
38627
38634
  run
38628
38635
  };
38629
- //# sourceMappingURL=chunk-OFYATXUI.js.map
38636
+ //# sourceMappingURL=chunk-XEABTBIE.js.map