poe-code 12.0.10 → 12.0.11

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "poe-code",
3
- "version": "12.0.10",
3
+ "version": "12.0.11",
4
4
  "description": "CLI tool to configure Poe API for developer workflows.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -20194,7 +20194,9 @@ function copyToSandbox(value, state, path = "<root>", cloneSandboxCollections =
20194
20194
  if (existing !== void 0) {
20195
20195
  return existing;
20196
20196
  }
20197
- const copy = createPlainObject(true);
20197
+ const copy = createPlainObject(
20198
+ !cloneSandboxCollections || Object.getPrototypeOf(value) === null
20199
+ );
20198
20200
  state.seen.set(value, copy);
20199
20201
  const errorType = sandboxErrorTypes.get(value);
20200
20202
  if (errorType !== void 0) sandboxErrorTypes.set(copy, errorType);
@@ -29761,4 +29763,4 @@ export {
29761
29763
  FileSnapshotBackend,
29762
29764
  run
29763
29765
  };
29764
- //# sourceMappingURL=chunk-5TMXWUAL.js.map
29766
+ //# sourceMappingURL=chunk-DALBPQDZ.js.map