Skip to content

chore(deps): Clear the security alerts of the n8n node lockfile - #52

Merged
johnxie merged 2 commits into
masterfrom
deps/n8n-lockfile-audit
Nov 19, 2026
Merged

johnxie merged 2 commits into
masterfrom
deps/n8n-lockfile-audit

Conversation

@johnxie

@johnxie johnxie commented Nov 19, 2026

Copy link
Copy Markdown
Member

Clears the Dependabot alerts on packages/n8n-nodes-taskade/package-lock.json that a fix can reach. The package manager stays npm. Only dev dependencies change. The package version stays 1.0.1, and this PR adds no tag.

What changes

Change Type Alerts it clears
npm audit fix Lockfile only follow-redirects, undici
@n8n/node-cli 0.51.4 to 0.57.4 (dev, exact pin kept) 0.x minor, which npm treats as breaking handlebars (4.7.10), axios (1.20.0)
vitest ^3.2.4 to ^4.1.12 (dev) Major vitest, @vitest/mocker (4.1.12), tinypool (vitest 4 does not use it)

The alerts for form-data and lodash point at versions that #42 already replaced. They close when Dependabot scans master again.

Checks

  • npm ci --ignore-scripts, npm run lint, npm test (2 files, 51 tests) and npm run build pass locally.
  • The published surface does not change. A recursive diff of dist before and after shows one changed file, the copy of package.json, in its devDependencies. Every compiled node, credential and icon file is the same.
  • CI runs the n8n community package scanner on the source and the tarball.

Alerts that stay open

The newest @n8n/node-cli (0.57.4) pins these packages through @n8n/ai-node-sdk and @oclif/core. No release of the CLI fixes them yet:

  • qs 6.16.0: @n8n/backend-network 1.22.4 pins it exactly.
  • stream-json 1.9.1: @n8n/backend-common 1.48.4 pins it exactly. The fix is in 3.x.
  • uuid 10.0.0: @langchain/classic 1.0.27 asks for ^10.0.0. The fix is in 11.x.
  • minimatch 10.2.6: @oclif/core 4 asks for ^10.2.5. The fix is in 11.x.

All of them are dev-only. They do not reach the published package, which ships only dist.

- npm audit fix: follow-redirects 1.16.3, undici 7.30.2 and eslint-plugin-import-x 4.18.1.
- @n8n/node-cli 0.51.4 to 0.57.4 (dev). It pins handlebars 4.7.10 and axios 1.20.0.
- vitest 3 to 4.1.12 (dev). It brings @vitest/mocker 4.1.12 and drops tinypool.

The compiled node and credential files in dist are the same. The package version does not change.
Copilot AI lite review requested due to automatic review settings November 19, 2026 05:59

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The package’s declared Node.js minimum is incompatible with the upgraded Vitest/Vite toolchain, leaving an active installation and build failure risk for supported environments.

1 open issue
1 file not reviewed
  • packages/n8n-nodes-taskade/package-lock.json: Generated file
What changed in this PR

Updates the Taskade n8n node’s development toolchain and lockfile to address reachable security alerts without changing the published package version or runtime dependency surface.

Changes:

  • Upgrades @n8n/node-cli from 0.51.4 to 0.57.4.
  • Upgrades Vitest from ^3.2.4 to ^4.1.12.
  • Refreshes transitive dependencies, including patched follow-redirects, undici, handlebars, and axios versions.
  • The updated Vitest toolchain resolves Vite/Rolldown versions requiring Node >=20.19, while the package still declares Node >=20.15.
File Description
packages/​n8n-nodes-taskade/​package.json Updates the development CLI and Vitest dependencies.
packages/​n8n-nodes-taskade/​package-lock.json Records the updated dependency graph and refreshed security-related transitive dependencies.

Review effort: Lite

"n8n-workflow": "2.49.1",
"typescript": "5.9.3",
"vitest": "^3.2.4"
"vitest": "^4.1.12"
@johnxie
johnxie merged commit 604e8a6 into master Nov 19, 2026
5 checks passed
@johnxie
johnxie deleted the deps/n8n-lockfile-audit branch November 19, 2026 06:02
@johnxie

johnxie commented Nov 28, 2026

Copy link
Copy Markdown
Member Author

@deanzaka impact and QA notes for this PR.

Impact

Area Who sees it What changes Risk
packages/n8n-nodes-taskade/package-lock.json Maintainers and CI npm audit fix Low
packages/n8n-nodes-taskade/package.json dev dependencies Maintainers and CI @n8n/node-cli 0.51.4 to 0.57.4, vitest ^3.2.4 to ^4.1.12 Low. Dev only
Published npm package n8n users No change. The PR body states that dist is the same, except the copy of package.json None

No visible change for users. The package version stays 1.0.1, and this PR adds no tag. The next n8n-v<version> tag builds with the new dev tools.

Before and after

BEFORE
package-lock.json --> Dependabot scan --> open alerts, with follow-redirects,
                                          undici, handlebars, axios, vitest
AFTER
package-lock.json --> Dependabot scan --> open alerts only for minimatch, qs,
                                          stream-json, uuid (dev only, pinned
                                          by the newest @n8n/node-cli)
CI: build-and-test, n8n-node, CodeQL --> pass

How to QA

# Step Expected result
1 In a clone, run cd packages/n8n-nodes-taskade && npm ci --ignore-scripts && npm run lint && npm test && npm run build All commands pass
2 Run gh api 'repos/taskade/integrations/dependabot/alerts?state=open&per_page=100' --jq '[.[] | select(.dependency.manifest_path=="packages/n8n-nodes-taskade/package-lock.json") | .dependency.package.name] | unique' (needs access to the security alerts) ["minimatch","qs","stream-json","uuid"]
3 Run npm view n8n-nodes-taskade dist-tags { latest: '1.0.1' }. This PR published nothing
4 Run gh pr checks 52 -R taskade/integrations build-and-test, n8n-node and CodeQL pass

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants