@poe-platform/safe-js 0.1.92 → 0.1.94

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-MVOTTS35.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-W7PU3UWT.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;
@@ -23608,10 +23611,8 @@ function describeRuntimeValue(value) {
23608
23611
  }
23609
23612
  function copyObjectRestValue(value, excludedKeys) {
23610
23613
  const rest = /* @__PURE__ */ Object.create(null);
23611
- for (const [key, entryValue] of ownEnumerableSandboxEntries(value)) {
23612
- if (!excludedKeys.has(key)) {
23613
- defineProperty(rest, key, entryValue);
23614
- }
23614
+ for (const [key, entryValue] of ownEnumerableSandboxEntries(value, excludedKeys)) {
23615
+ defineProperty(rest, key, entryValue);
23615
23616
  }
23616
23617
  return rest;
23617
23618
  }
@@ -32916,4 +32917,4 @@ export {
32916
32917
  FileSnapshotBackend,
32917
32918
  run
32918
32919
  };
32919
- //# sourceMappingURL=chunk-MVOTTS35.js.map
32920
+ //# sourceMappingURL=chunk-T3NC5O24.js.map