@poe-platform/safe-js 0.1.147 → 0.1.148

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-4YULMGBM.js";
30
+ } from "./chunk-F6FZXBQR.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-GSJEQ767.js.map
8252
+ //# sourceMappingURL=chunk-AJOCDNNB.js.map
@@ -28825,7 +28825,7 @@ async function interpret(node, options = {}) {
28825
28825
  }
28826
28826
  async function evaluateNode(node, context) {
28827
28827
  context.assertActive?.();
28828
- if (context.inferredName !== void 0 && node.type !== "ClassExpression" && !(node.type === "FunctionExpression" && node.method === true)) context = { ...context, inferredName: void 0 };
28828
+ if (context.inferredName !== void 0 && node.type !== "ClassExpression" && node.type !== "FunctionExpression" && node.type !== "ArrowFunctionExpression") context = { ...context, inferredName: void 0 };
28829
28829
  const replayWait = promiseReplayContext.getStore()?.beforeNode(node.nodeId);
28830
28830
  if (replayWait !== void 0) await suspendJob(replayWait);
28831
28831
  assertPromiseExecutionAllowed();
@@ -31682,7 +31682,7 @@ function createInterpretedClosure(node, context, evaluateNode2, homeObject) {
31682
31682
  sandbox: true,
31683
31683
  length: getFunctionLength(node.params),
31684
31684
  ...node.async ? { async: true } : {},
31685
- ...node.type === "FunctionDeclaration" || node.type === "FunctionExpression" ? node.id === void 0 ? { name: context.inferredName } : { name: node.id.name } : {},
31685
+ ...node.type === "FunctionDeclaration" || node.type === "FunctionExpression" ? node.id === void 0 ? { name: context.inferredName } : { name: node.id.name } : { name: context.inferredName },
31686
31686
  ...construct === void 0 ? {} : { construct },
31687
31687
  retainedValues: () => [...context.scope.retainedValues(), context.functionEnvironment?.homeObject, context.functionEnvironment?.newTarget],
31688
31688
  call: (args, callContext) => {
@@ -35565,4 +35565,4 @@ export {
35565
35565
  FileSnapshotBackend,
35566
35566
  run
35567
35567
  };
35568
- //# sourceMappingURL=chunk-4YULMGBM.js.map
35568
+ //# sourceMappingURL=chunk-F6FZXBQR.js.map