diff --git a/apps/web/package.json b/apps/web/package.json index f048249..8e465c8 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -26,7 +26,7 @@ "tailwind-merge": "^2.6.1", "three": "^0.183.2", "zod": "^4.3.6", - "zustand": "^4.5.7" + "zustand": "^5.0.16" }, "devDependencies": { "@subweb/protocol": "0.1.0", diff --git a/package-lock.json b/package-lock.json index 0f1bf1a..7cbc158 100644 --- a/package-lock.json +++ b/package-lock.json @@ -92,7 +92,7 @@ "tailwind-merge": "^2.6.1", "three": "^0.183.2", "zod": "^4.3.6", - "zustand": "^4.5.7" + "zustand": "^5.0.16" }, "devDependencies": { "@subweb/protocol": "0.1.0", @@ -5643,15 +5643,6 @@ } } }, - "node_modules/use-sync-external-store": { - "version": "1.7.0", - "resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.7.0.tgz", - "integrity": "sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==", - "license": "MIT", - "peerDependencies": { - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" - } - }, "node_modules/util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz", @@ -5865,20 +5856,18 @@ } }, "node_modules/zustand": { - "version": "4.5.7", - "resolved": "https://registry.npmjs.org/zustand/-/zustand-4.5.7.tgz", - "integrity": "sha512-CHOUy7mu3lbD6o6LJLfllpjkzhHXSBlX8B9+qPddUsIfeF5S/UZ5q0kmCsnRqT1UHFQZchNFDDzMbQsuesHWlw==", + "version": "5.0.16", + "resolved": "https://registry.npmjs.org/zustand/-/zustand-5.0.16.tgz", + "integrity": "sha512-Uv7e327ihlCfayfja3hDc0M64Upev1LWBKpRobdK4NyovDDPeeX4imWXc/wzC1yc6fkYPoAY/ncKVPAs2jrtQw==", "license": "MIT", - "dependencies": { - "use-sync-external-store": "^1.2.2" - }, "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": { @@ -5889,6 +5878,9 @@ }, "react": { "optional": true + }, + "use-sync-external-store": { + "optional": true } } },