@@ -13,5 +13,9 @@ import { defaultWindow } from "../../internal/configurable-globals.js"; | ||
| function proxy(value, root, proxies, subscribe, update, serialize) { | ||
| if (value === null || value?.constructor.name === "Date" || typeof value !== "object") { | ||
| if (value === null || typeof value !== "object") { | ||
| return value; | ||
| } | ||
| const proto = Object.getPrototypeOf(value); | ||
| if (proto !== null && proto !== Object.prototype && !Array.isArray(value)) { | ||
| return value; | ||
| } | ||
| let p = proxies.get(value); | ||
@@ -18,0 +22,0 @@ if (!p) { |
+1
-1
| { | ||
| "name": "runed", | ||
| "version": "0.31.0", | ||
| "version": "0.31.1", | ||
| "type": "module", | ||
@@ -5,0 +5,0 @@ "svelte": "./dist/index.js", |
137376
0.09%3667
0.11%