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.

fix: nextjs security update (#29545)

NFish87c4b4c576bc
diff --git a/web/package.json b/web/package.json
index 391324395d5..c553a4aec0b 100644
--- a/web/package.json
+++ b/web/package.json
@@ -106,7 +106,7 @@
"mime": "^4.1.0",
"mitt": "^3.0.1",
"negotiator": "^1.0.0",
- "next": "~15.5.7",
+ "next": "~15.5.9",
"next-pwa": "^5.6.0",
"next-themes": "^0.4.6",
"pinyin-pro": "^3.27.0",
@@ -155,9 +155,9 @@
"@happy-dom/jest-environment": "^20.0.8",
"@mdx-js/loader": "^3.1.1",
"@mdx-js/react": "^3.1.1",
- "@next/bundle-analyzer": "15.5.7",
- "@next/eslint-plugin-next": "15.5.7",
- "@next/mdx": "15.5.7",
+ "@next/bundle-analyzer": "15.5.9",
+ "@next/eslint-plugin-next": "15.5.9",
+ "@next/mdx": "15.5.9",
"@rgrove/parse-xml": "^4.2.0",
"@storybook/addon-docs": "9.1.13",
"@storybook/addon-links": "9.1.13",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 0aa388a2d19..537a3507a1a 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -236,11 +236,11 @@ importers:
specifier: ^1.0.0
version: 1.0.0
next:
- specifier: ~15.5.7
+ specifier: ~15.5.9
next-pwa:
specifier: ^5.6.0
next-themes:
specifier: ^0.4.6
@@ -358,7 +358,7 @@ importers:
devDependencies:
'@antfu/eslint-config':
specifier: ^5.4.1
'@babel/core':
specifier: ^7.28.4
version: 7.28.5
@@ -378,14 +378,14 @@ importers:
specifier: ^3.1.1
version: 3.1.1(@types/[email protected])([email protected])
'@next/bundle-analyzer':
- specifier: 15.5.7
- version: 15.5.7
+ specifier: 15.5.9
+ version: 15.5.9
'@next/eslint-plugin-next':
- specifier: 15.5.7
- version: 15.5.7
+ specifier: 15.5.9
+ version: 15.5.9
'@next/mdx':
- specifier: 15.5.7
+ specifier: 15.5.9
'@rgrove/parse-xml':
specifier: ^4.2.0
version: 4.2.0
@@ -403,7 +403,7 @@ importers:
version: 9.1.13([email protected](@testing-library/[email protected]))
'@storybook/nextjs':
specifier: 9.1.13
'@storybook/react':
specifier: 9.1.13
@@ -538,7 +538,7 @@ importers:
version: 8.5.6
react-scan:
specifier: ^0.4.3
sass:
specifier: ^1.93.2
version: 1.95.0
@@ -2374,17 +2374,17 @@ packages:
'@neoconfetti/[email protected]':
resolution: {integrity: sha512-klcSooChXXOzIm+SE5IISIAn3bYzYfPjbX7D7HoqZL84oAfgREeSg5vSIaSFH+DaGzzvImTyWe1OyrJ67vik4A==}
- resolution: {integrity: sha512-bKCGI9onUYyLaAQKvJOTeSv1vt3CYtF4Or+CRlCP/1Yu8NR9W4A2kd4qBs2OYFbT+/38fKg8BIPNt7IcMLKZCA==}
+ resolution: {integrity: sha512-lT1EBpFyGVN9u8M43f2jE78DsCu0A5KPA5OkF5PdIHrKDo4oTJ4lUQKciA9T2u9gccSXIPQcZb5TYkHF4f8iiw==}
- resolution: {integrity: sha512-4h6Y2NyEkIEN7Z8YxkA27pq6zTkS09bUSYC0xjd0NpwFxjnIKeZEeH591o5WECSmjpUhLn3H2QLJcDye3Uzcvg==}
+ resolution: {integrity: sha512-4GlTZ+EJM7WaW2HEZcyU317tIQDjkQIyENDLxYJfSWlfqguN+dHkZgyQTV/7ykvobU7yEH5gKvreNrH4B6QgIg==}
- resolution: {integrity: sha512-DtRU2N7BkGr8r+pExfuWHwMEPX5SD57FeA6pxdgCHODo+b/UgIgjE+rgWKtJAbEbGhVZ2jtHn4g3wNhWFoNBQQ==}
+ resolution: {integrity: sha512-kUzXx0iFiXw27cQAViE1yKWnz/nF8JzRmwgMRTMh8qMY90crNsdXJRh2e+R0vBpFR3kk1yvAR7wev7+fCCb79Q==}
- resolution: {integrity: sha512-ao/NELNlLQkQMkACV0LMimE32DB5z0sqtKL6VbaruVI3LrMw6YMGhNxpSBifxKcgmMBSsIR985mh4CJiqCGcNw==}
+ resolution: {integrity: sha512-qG9GUKUMpnyD5vU+wNGFNsVDxuSdmYDaCEsScPNPIiplzfNSS7VZk1G2yQ2tgXz6KjFncdaqJPuDehFqFy/gjQ==}
peerDependencies:
'@mdx-js/loader': '>=0.15.0'
'@mdx-js/react': '>=0.15.0'
@@ -6886,8 +6886,8 @@ packages:
react: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
react-dom: ^16.8 || ^17 || ^18 || ^19 || ^19.0.0-rc
- resolution: {integrity: sha512-+t2/0jIJ48kUpGKkdlhgkv+zPTEOoXyr60qXe68eB/pl3CMJaLeIGjzp5D6Oqt25hCBiBTt8wEeeAzfJvUKnPQ==}
+ resolution: {integrity: sha512-agNLK89seZEtC5zUHwtut0+tNrc0Xw4FT/Dg+B/VLEo9pAcS9rtTKpek3V6kVcVwsB2YlqMaHdfZL4eLEVYuCg==}
engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}
hasBin: true
peerDependencies:
@@ -9094,7 +9094,7 @@ snapshots:
idb: 8.0.0
tslib: 2.8.1
dependencies:
'@antfu/install-pkg': 1.1.0
'@clack/prompts': 0.11.0
@@ -9135,7 +9135,7 @@ snapshots:
yaml-eslint-parser: 1.3.2
optionalDependencies:
- '@next/eslint-plugin-next': 15.5.7
+ '@next/eslint-plugin-next': 15.5.9
eslint-plugin-react-hooks: 5.2.0([email protected]([email protected]))
eslint-plugin-react-refresh: 0.4.24([email protected]([email protected]))
transitivePeerDependencies:
@@ -11138,20 +11138,20 @@ snapshots:
'@neoconfetti/[email protected]': {}
dependencies:
webpack-bundle-analyzer: 4.10.1
transitivePeerDependencies:
- bufferutil
- utf-8-validate
- '@next/[email protected]': {}
+ '@next/[email protected]': {}
dependencies:
fast-glob: 3.3.1
dependencies:
source-map: 0.7.6
optionalDependencies:
@@ -11938,7 +11938,7 @@ snapshots:
react: 19.2.3
react-dom: 19.2.3([email protected])
dependencies:
'@babel/core': 7.28.5
'@babel/plugin-syntax-bigint': 7.8.3(@babel/[email protected])
@@ -11962,7 +11962,7 @@ snapshots:
image-size: 2.0.2
loader-utils: 3.3.1
node-polyfill-webpack-plugin: 2.0.1([email protected]([email protected])([email protected]))
postcss: 8.5.6
@@ -16527,12 +16527,12 @@ snapshots:
dependencies:
globby: 11.1.0
workbox-window: 6.6.0
@@ -16550,9 +16550,9 @@ snapshots:
react: 19.2.3
react-dom: 19.2.3([email protected])
dependencies:
- '@next/env': 15.5.7
+ '@next/env': 15.5.9
'@swc/helpers': 0.5.15
caniuse-lite: 1.0.30001760
postcss: 8.4.31
@@ -17288,7 +17288,7 @@ snapshots:
tslib: 2.6.2
dependencies:
'@babel/core': 7.28.5
'@babel/generator': 7.28.5
@@ -17310,7 +17310,7 @@ snapshots:
react-dom: 19.2.3([email protected])
tsx: 4.21.0
optionalDependencies:
unplugin: 2.1.0
transitivePeerDependencies:
- '@types/react'