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: happy-dom security issues (#27037)

Joel91bb8ae4d207
diff --git a/web/package.json b/web/package.json
index 7c2f30aa610..1721e54d73d 100644
--- a/web/package.json
+++ b/web/package.json
@@ -144,7 +144,7 @@
"@babel/core": "^7.28.3",
"@chromatic-com/storybook": "^3.1.0",
"@eslint-react/eslint-plugin": "^1.15.0",
- "@happy-dom/jest-environment": "^20.0.0",
+ "@happy-dom/jest-environment": "^20.0.2",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/bundle-analyzer": "15.5.4",
diff --git a/web/pnpm-lock.yaml b/web/pnpm-lock.yaml
index 28758f11427..4f75b6e93e5 100644
--- a/web/pnpm-lock.yaml
+++ b/web/pnpm-lock.yaml
@@ -345,8 +345,8 @@ importers:
specifier: ^1.15.0
'@happy-dom/jest-environment':
- specifier: ^20.0.0
+ specifier: ^20.0.2
'@mdx-js/loader':
specifier: ^3.1.0
@@ -1644,8 +1644,8 @@ packages:
'@formatjs/[email protected]':
resolution: {integrity: sha512-af3qATX+m4Rnd9+wHcjJ4w2ijq+rAVP3CCinJQvFv1kgSu1W6jypUmvleJxcewdxmutM8dmIRZFxO/IQBZmP2Q==}
- '@happy-dom/[email protected]':
- resolution: {integrity: sha512-dUyMDNJzPDFopSDyzKdbeYs8z9B4jLj9kXnru8TjYdGeLsQKf+6r0lq/9T2XVcu04QFxXMykt64A+KjsaJTaNA==}
+ '@happy-dom/[email protected]':
+ resolution: {integrity: sha512-75OcYtjO+jqxWiYiXvbwR8JZITX1/8iAjRSRpZ/rNjO6UnYebwX6HdI91Ix09xYZEO1X/xOof6HX1EiZnrgnXA==}
engines: {node: '>=20.0.0'}
peerDependencies:
'@jest/environment': '>=25.0.0'
@@ -5575,8 +5575,8 @@ packages:
resolution: {integrity: sha512-3GKBOn+m2LX9iq+JC1064cSFprJY4jL1jCXTcpnfER5HYE2l/4EfWSGzkPa/ZDBmYI0ZOEj5VHV/eKnPGkHuOg==}
- resolution: {integrity: sha512-GkWnwIFxVGCf2raNrxImLo397RdGhLapj5cT3R2PT7FwL62Ze1DROhzmYW7+J3p9105DYMVenEejEbnq5wA37w==}
+ resolution: {integrity: sha512-WxFtvnij6G64/MtMimnZhF0nKx3LUQKc20zjATD6tKiqOykUwQkd+2FW/DZBAFNjk4oWh0xdv/HBleGJmSY/Iw==}
engines: {node: '>=20.0.0'}
@@ -10132,12 +10132,12 @@ snapshots:
dependencies:
tslib: 2.8.1
dependencies:
'@jest/environment': 29.7.0
'@jest/fake-timers': 29.7.0
'@jest/types': 29.6.3
- happy-dom: 20.0.0
+ happy-dom: 20.0.4
jest-mock: 29.7.0
jest-util: 29.7.0
@@ -14787,7 +14787,7 @@ snapshots:
dependencies:
'@types/node': 20.19.20
'@types/whatwg-mimetype': 3.0.2