@poe-platform/safe-js 0.1.369 → 0.1.370

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-54LUHONC.js";
30
+ } from "./chunk-JJH7D3EH.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-PO624I2M.js.map
8252
+ //# sourceMappingURL=chunk-CEICOOQA.js.map
@@ -28689,6 +28689,8 @@ function copyToSandbox(value, state, path = "<root>", cloneSandboxCollections =
28689
28689
  if (isSandboxPrimitive(value)) {
28690
28690
  return value;
28691
28691
  }
28692
+ if (state.structuredClone && nodeTypes.isSymbolObject(value))
28693
+ throw new DOMException("Cannot clone a boxed symbol.", "DataCloneError");
28692
28694
  if (isLiveCapability(value)) throw new TypeError("Live capabilities require their owning realm bridge.");
28693
28695
  if (isRawJson(value)) {
28694
28696
  const existing = state.seen.get(value);
@@ -43594,4 +43596,4 @@ export {
43594
43596
  FileSnapshotBackend,
43595
43597
  run
43596
43598
  };
43597
- //# sourceMappingURL=chunk-54LUHONC.js.map
43599
+ //# sourceMappingURL=chunk-JJH7D3EH.js.map