🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

runed

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runed - npm Package Compare versions

Comparing version
0.31.0
to
0.31.1
+5
-1
dist/utilities/persisted-state/persisted-state.svelte.js

@@ -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",