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/dist/index.js +4 -2
- package/dist/index.js.map +2 -2
- package/dist/metafile.json +1 -1
- package/package.json +1 -1
- package/packages/safe-js/dist/chunks/{chunk-5TMXWUAL.js → chunk-DALBPQDZ.js} +4 -2
- package/packages/safe-js/dist/chunks/{chunk-5TMXWUAL.js.map → chunk-DALBPQDZ.js.map} +2 -2
- package/packages/safe-js/dist/chunks/{chunk-HEFYUEBF.js → chunk-HCODJUGF.js} +2 -2
- package/packages/safe-js/dist/cli.js +2 -2
- package/packages/safe-js/dist/core.js +1 -1
- package/packages/safe-js/dist/index.js +2 -2
- package/packages/safe-js/dist/interp/values.js +1 -1
- /package/packages/safe-js/dist/chunks/{chunk-HEFYUEBF.js.map → chunk-HCODJUGF.js.map} +0 -0
package/package.json
CHANGED
|
@@ -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(
|
|
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-
|
|
29766
|
+
//# sourceMappingURL=chunk-DALBPQDZ.js.map
|