@poe-platform/safe-js 0.1.93 → 0.1.95

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-IM7O3ZT3.js";
30
+ } from "./chunk-T3NC5O24.js";
31
31
 
32
32
  // packages/safe-js/src/migrate.ts
33
33
  import { createHash } from "node:crypto";
@@ -8245,4 +8245,4 @@ export {
8245
8245
  parseMcpConfig,
8246
8246
  makeMcpModule
8247
8247
  };
8248
- //# sourceMappingURL=chunk-6ED3JDHJ.js.map
8248
+ //# sourceMappingURL=chunk-ADIFHHXM.js.map
@@ -8848,6 +8848,9 @@ async function evaluateCatchClause(node, thrownValue, context, evaluateNode2) {
8848
8848
  scope
8849
8849
  };
8850
8850
  if (node.param !== void 0) {
8851
+ for (const name of getPatternBindingNames(node.param)) {
8852
+ scope.predeclare(name, "let");
8853
+ }
8851
8854
  const binding = await bindPattern(node.param, thrownValue, catchContext, evaluateNode2);
8852
8855
  if (!binding.ok) {
8853
8856
  return binding.result;
@@ -32914,4 +32917,4 @@ export {
32914
32917
  FileSnapshotBackend,
32915
32918
  run
32916
32919
  };
32917
- //# sourceMappingURL=chunk-IM7O3ZT3.js.map
32920
+ //# sourceMappingURL=chunk-T3NC5O24.js.map