Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

chore(web): upgrade zustand from v4.5.7 to v5.0.9 (#28943)

yyha087ace6976f
diff --git a/web/package.json b/web/package.json
index 84bca4d90ea..5d9332daa81 100644
--- a/web/package.json
+++ b/web/package.json
@@ -141,7 +141,7 @@
"uuid": "^10.0.0",
"zod": "^3.25.76",
"zundo": "^2.3.0",
- "zustand": "^4.5.7"
+ "zustand": "^5.0.9"
},
"devDependencies": {
"@antfu/eslint-config": "^5.4.1",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 5312955a0e6..96baa4f2742 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -347,10 +347,10 @@ importers:
version: 3.25.76
zundo:
specifier: ^2.3.0
zustand:
- specifier: ^4.5.7
+ specifier: ^5.0.9
devDependencies:
'@antfu/eslint-config':
specifier: ^5.4.1
@@ -8445,6 +8445,24 @@ packages:
react:
optional: true
+ resolution: {integrity: sha512-ALBtUj0AfjJt3uNRQoL1tL2tMvj6Gp/6e39dnfT6uzpelGru8v1tPOGBzayOWbPJvujM8JojDk3E1LxeFisBNg==}
+ engines: {node: '>=12.20.0'}
+ peerDependencies:
+ '@types/react': ~19.1.17
+ immer: '>=9.0.6'
+ react: '>=18.0.0'
+ use-sync-external-store: '>=1.2.0'
+ peerDependenciesMeta:
+ '@types/react':
+ optional: true
+ immer:
+ optional: true
+ react:
+ optional: true
+ use-sync-external-store:
+ optional: true
+
resolution: {integrity: sha512-bXE4cR/kVZhKZX/RjPEflHaKVhUVl85noU3v6b8apfQEc1x4A+zBxjZ4lN8LqGd6WZ3dl98pY4o717VFmoPp+A==}
@@ -17931,9 +17949,9 @@ snapshots:
dependencies:
tslib: 2.3.0
dependencies:
dependencies:
@@ -17943,4 +17961,11 @@ snapshots:
immer: 10.1.3
react: 19.1.1
+ optionalDependencies:
+ '@types/react': 19.1.17
+ immer: 10.1.3
+ react: 19.1.1
+ use-sync-external-store: 1.6.0([email protected])
+