@poe-platform/safe-js 0.1.390 → 0.1.391

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-XBIXRS5K.js";
30
+ } from "./chunk-MT4D4J5E.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-QFWWDD7I.js.map
8252
+ //# sourceMappingURL=chunk-2H5CQNFL.js.map
@@ -29370,7 +29370,8 @@ function* cloneStructuredGraph(value, state, budget, depth = 0) {
29370
29370
  if (typeof value === "symbol" || isSandboxModuleNamespace(value) || isSandboxClosure(value) || isSandboxPromise(value) || isSandboxGenerator(value) || isSandboxCollectionIterator(value) || isSandboxRegExpIterator(value) || isSandboxArrayIterator(value) || isSandboxStringIterator(value) || isSandboxArguments(value))
29371
29371
  throw new DOMException("Value cannot be structured cloned.", "DataCloneError");
29372
29372
  if (typeof value !== "object" || value === null) return allocateProducedSandboxValue(value, budget);
29373
- if (iteratorHelperStates.has(value)) throw new DOMException("Iterator helpers cannot be structured cloned.", "DataCloneError");
29373
+ if (iteratorHelperStates.has(value) || iteratorWrapperStates.has(value))
29374
+ throw new DOMException("Iterator objects cannot be structured cloned.", "DataCloneError");
29374
29375
  if (isLiveCapability(value)) throw new DOMException("Capabilities cannot be structured cloned.", "DataCloneError");
29375
29376
  const existing = state.seen.get(value);
29376
29377
  if (existing !== void 0) return existing;
@@ -44637,4 +44638,4 @@ export {
44637
44638
  FileSnapshotBackend,
44638
44639
  run
44639
44640
  };
44640
- //# sourceMappingURL=chunk-XBIXRS5K.js.map
44641
+ //# sourceMappingURL=chunk-MT4D4J5E.js.map