@poe-platform/safe-js 0.1.285 → 0.1.286

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-O3NO3NGW.js";
30
+ } from "./chunk-HEI7BJVB.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-4HGDBYOL.js.map
8252
+ //# sourceMappingURL=chunk-2KGYHU5J.js.map
@@ -7954,10 +7954,7 @@ function releaseObjectPrototype(budget) {
7954
7954
  }
7955
7955
  function getSandboxPrototype(value, budget) {
7956
7956
  if (prototypes.has(value)) return prototypes.get(value) ?? null;
7957
- if (budget !== void 0 && isSandboxDate(value)) {
7958
- const prototype = datePrototypes.get(budget);
7959
- return prototype === value ? intrinsicPrototypes.get(budget) ?? null : prototype ?? null;
7960
- }
7957
+ if (budget !== void 0 && isSandboxDate(value)) return datePrototypes.get(budget) ?? null;
7961
7958
  if (budget !== void 0 && isSandboxPromise(value)) return promisePrototypes.get(budget) ?? null;
7962
7959
  if (budget !== void 0 && (isSandboxMap(value) || isSandboxSet(value)))
7963
7960
  return collectionPrototypes.get(budget)?.get(isSandboxMap(value) ? "Map" : "Set") ?? null;
@@ -21875,7 +21872,7 @@ function createDateGlobal(options) {
21875
21872
  }
21876
21873
  );
21877
21874
  const now = wrapCallerInjectedBindings({ now: readNow }, { ...options, moduleId: "<Date>" }).now;
21878
- const prototype = createSandboxDate(NaN);
21875
+ const prototype = /* @__PURE__ */ Object.create(null);
21879
21876
  const constructor = createSandboxClosure({
21880
21877
  guest: true,
21881
21878
  sandbox: true,
@@ -40330,4 +40327,4 @@ export {
40330
40327
  FileSnapshotBackend,
40331
40328
  run
40332
40329
  };
40333
- //# sourceMappingURL=chunk-O3NO3NGW.js.map
40330
+ //# sourceMappingURL=chunk-HEI7BJVB.js.map