Fix npm deprecation warnings and minimize dependency overrides

Bump @n8n/node-cli to 0.37.1 (the `^0.24.1` range was trapping it at
0.24.x), which pulls an updated toolchain and clears the eslint@8,
glob@7, inflight, rimraf@3, @humanwhocodes/*, node-domexception and
uuid@10 deprecation warnings at the source.

Add a glob override (^13.0.6) so rimraf@6 no longer pulls the
deprecated glob@11, and trim the overrides list down to the three that
actually do work (uuid, js-yaml, glob); the rest were redundant or dead.
npm audit reports 0 vulnerabilities.

The upgraded @n8n/eslint-plugin-community-nodes rules flagged two
pre-existing issues in the Probo node, now fixed: handle
continueOnFail() in execute() and throw NodeOperationError instead of
raw Error.

The only remaining warning is @langchain/community, whose entire
package is deprecated upstream and is a hard dependency of
@n8n/ai-utilities.

Signed-off-by: Sacha Al Himdani <sacha@probo.com>
This commit is contained in:
Sacha Al Himdani
2026-06-25 00:13:20 +02:00
parent f7e93cdec5
commit 4982c67891
5 changed files with 1454 additions and 3074 deletions

View File

@@ -24,14 +24,9 @@
"turbo": "^2.9.14"
},
"overrides": {
"minimatch@9": "^9.0.9",
"handlebars": "4.7.9",
"@langchain/classic": "^1.0.27",
"@langchain/community": "^1.1.25",
"lodash": "^4.18.1",
"uuid": "^14.0.0",
"form-data": "^4.0.6",
"js-yaml": "^4.2.0"
"js-yaml": "^4.2.0",
"glob": "^13.0.6"
},
"allowScripts": {
"esbuild": true,