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.

refactor(web): replace resolutions with pnpm.overrides (#32768)

slegarraga2e90075e17c0
diff --git a/web/package.json b/web/package.json
index 9478b4067f0..f0d4fdd1fc3 100644
--- a/web/package.json
+++ b/web/package.json
@@ -264,7 +264,9 @@
"array.prototype.flatmap": "npm:@nolyfill/array.prototype.flatmap@^1",
"array.prototype.tosorted": "npm:@nolyfill/array.prototype.tosorted@^1",
"assert": "npm:@nolyfill/assert@^1",
+ "brace-expansion": "~2.0",
"brace-expansion@<2.0.2": "2.0.2",
+ "canvas": "^3.2.0",
"devalue@<5.3.2": "5.3.2",
"es-iterator-helpers": "npm:@nolyfill/es-iterator-helpers@^1",
"esbuild@<0.27.2": "0.27.2",
@@ -280,13 +282,16 @@
"object.fromentries": "npm:@nolyfill/object.fromentries@^1",
"object.groupby": "npm:@nolyfill/object.groupby@^1",
"object.values": "npm:@nolyfill/object.values@^1",
+ "pbkdf2": "~3.1.3",
"pbkdf2@<3.1.3": "3.1.3",
+ "prismjs": "~1.30",
"prismjs@<1.30.0": "1.30.0",
"safe-buffer": "^5.2.1",
"safe-regex-test": "npm:@nolyfill/safe-regex-test@^1",
"safer-buffer": "npm:@nolyfill/safer-buffer@^1",
"side-channel": "npm:@nolyfill/side-channel@^1",
"solid-js": "1.9.11",
+ "string-width": "~4.2.3",
"string.prototype.includes": "npm:@nolyfill/string.prototype.includes@^1",
"string.prototype.matchall": "npm:@nolyfill/string.prototype.matchall@^1",
"string.prototype.repeat": "npm:@nolyfill/string.prototype.repeat@^1",
@@ -304,13 +309,6 @@
"sharp"
]
},
- "resolutions": {
- "brace-expansion": "~2.0",
- "canvas": "^3.2.0",
- "pbkdf2": "~3.1.3",
- "prismjs": "~1.30",
- "string-width": "~4.2.3"
- },
"lint-staged": {
"*": "eslint --fix"
}