New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dynamic-labs/store

Package Overview
Dependencies
Maintainers
0
Versions
276
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dynamic-labs/store - npm Package Compare versions

Comparing version

to
4.7.2

2

package.js
'use client'
var version = "4.7.1";
var version = "4.7.2";
export { version };
{
"name": "@dynamic-labs/store",
"version": "4.7.1",
"version": "4.7.2",
"description": "Store ",

@@ -21,6 +21,6 @@ "author": "Dynamic Labs, Inc.",

"dependencies": {
"@dynamic-labs/assert-package-version": "4.7.1",
"@dynamic-labs/logger": "4.7.1"
"@dynamic-labs/assert-package-version": "4.7.2",
"@dynamic-labs/logger": "4.7.2"
},
"peerDependencies": {}
}

@@ -15,4 +15,6 @@ 'use client'

try {
const { state: persistedState } = JSON.parse(storedState);
store.setState(Object.assign(store.getInitialState(), persistedState));
const { state: persistedState, version: persistedVersion } = JSON.parse(storedState);
if (persistedVersion === version) {
store.setState(Object.assign(store.getInitialState(), persistedState));
}
}

@@ -19,0 +21,0 @@ catch (error) {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet