@poe-platform/safe-js 0.1.281 → 0.1.282

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-NNOPQXDM.js";
30
+ } from "./chunk-GAVXWFZM.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-WHA3P2V4.js.map
8252
+ //# sourceMappingURL=chunk-EQ773ION.js.map
@@ -25728,6 +25728,7 @@ function copyToSandbox(value, state, path = "<root>", cloneSandboxCollections =
25728
25728
  for (const [key, descriptor] of dateDataProperties(value)) {
25729
25729
  Object.defineProperty(copy, key, { ...descriptor, value: copyToSandbox(descriptor.value, state, joinPath2(path, key), cloneSandboxCollections, depth + 1) });
25730
25730
  }
25731
+ if (!state.structuredClone && !Object.isExtensible(value)) Object.preventExtensions(copy);
25731
25732
  return copy;
25732
25733
  }
25733
25734
  if (isFloat32Array(value)) {
@@ -25926,6 +25927,7 @@ function copyFromSandbox(value, state, path = "<root>", options, depth = 0) {
25926
25927
  for (const [key, descriptor] of dateDataProperties(value)) {
25927
25928
  Object.defineProperty(copy, key, { ...descriptor, value: copyFromSandbox(descriptor.value, state, joinPath2(path, key), options, depth + 1) });
25928
25929
  }
25930
+ if (!Object.isExtensible(value)) Object.preventExtensions(copy);
25929
25931
  return copy;
25930
25932
  }
25931
25933
  if (isSandboxClosure(value)) {
@@ -40299,4 +40301,4 @@ export {
40299
40301
  FileSnapshotBackend,
40300
40302
  run
40301
40303
  };
40302
- //# sourceMappingURL=chunk-NNOPQXDM.js.map
40304
+ //# sourceMappingURL=chunk-GAVXWFZM.js.map