diff --git a/package-lock.json b/package-lock.json index e4499e9b..da2e4f49 100644 --- a/package-lock.json +++ b/package-lock.json @@ -44,7 +44,7 @@ "squarify": "^1.1.0", "styled-components": "^6.1.19", "uuid": "^11.1.0", - "zustand": "^4.5.5", + "zustand": "^5.0.8", "zustand-slices": "^0.3.0" }, "devDependencies": { @@ -7325,6 +7325,34 @@ "react-dom": ">=17" } }, + "node_modules/@xyflow/react/node_modules/zustand": { + "version": "4.5.7", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", + "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "license": "MIT", + "dependencies": { + "use-sync-external-store": "^1.2.2" + }, + "engines": { + "node": ">=12.7.0" + }, + "peerDependencies": { + "@types/react": ">=16.8", + "immer": ">=9.0.6", + "react": ">=16.8" + }, + "peerDependenciesMeta": { + "@types/react": { + "optional": true + }, + "immer": { + "optional": true + }, + "react": { + "optional": true + } + } + }, "node_modules/@xyflow/system": { "version": "0.0.66", "resolved": "https://registry.npmjs.org/@xyflow/system/-/system-0.0.66.tgz", @@ -22749,19 +22777,18 @@ } }, "node_modules/zustand": { - "version": "4.5.5", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.5.tgz", - "integrity": "sha512-+0PALYNJNgK6hldkgDq2vLrw5f6g/jCInz52n9RTpropGgeAf/ioFUCdtsjCqu4gNhW9D01rUQBROoRjdzyn2Q==", - "dependencies": { - "use-sync-external-store": "1.2.2" - }, + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.8.tgz", + "integrity": "sha512-gyPKpIaxY9XcO2vSMrLbiER7QMAMGOQZVRdJ6Zi782jkbzZygq5GI9nG8g+sMgitRtndwaBSl7uiqC49o1SSiw==", + "license": "MIT", "engines": { - "node": ">=12.7.0" + "node": ">=12.20.0" }, "peerDependencies": { - "@types/react": ">=16.8", + "@types/react": ">=18.0.0", "immer": ">=9.0.6", - "react": ">=16.8" + "react": ">=18.0.0", + "use-sync-external-store": ">=1.2.0" }, "peerDependenciesMeta": { "@types/react": { @@ -22772,6 +22799,9 @@ }, "react": { "optional": true + }, + "use-sync-external-store": { + "optional": true } } }, diff --git a/package.json b/package.json index ccdda34a..a9e74836 100644 --- a/package.json +++ b/package.json @@ -154,7 +154,7 @@ "squarify": "^1.1.0", "styled-components": "^6.1.19", "uuid": "^11.1.0", - "zustand": "^4.5.5", + "zustand": "^5.0.8", "zustand-slices": "^0.3.0" }, "overrides": {