Skip to content

fix: security dep bumps, tar 7, and Node >=20.17 - #457

Merged
AaronFeledy merged 4 commits into
mainfrom
fix/pr-433-npm-deps
Aug 10, 2026
Merged

fix: security dep bumps, tar 7, and Node >=20.17#457
AaronFeledy merged 4 commits into
mainfrom
fix/pr-433-npm-deps

Conversation

@AaronFeledy

@AaronFeledy AaronFeledy commented Apr 3, 2026

Copy link
Copy Markdown
Member

Supersedes #433.

Summary

Takes the Dependabot major bumps for the npm tooling deps and makes sure tar actually lands on a patched version.

Dependabot bumped @npmcli/arborist (^6→^9), npm-profile (^9→^12), and pacote (^15→^21), which pulls tar up from 6.x to 7.x.

Findings

  • None of these packages are directly imported/required anywhere in the codebase — they're top-level deps only
  • No source-level API migration needed
  • The new versions of @npmcli/arborist, npm-profile, and pacote require Node ^20.17.0 || >=22.9.0, which is stricter than the repo's previous >=20.0.0

Changes

  • package.json: engines.node from >=20.0.0 to >=20.17.0
  • package.json: @npmcli/arborist ^9.3.0, npm-profile ^12.0.1, pacote ^21.3.1
  • package.json: new overrides block pinning tar to ^7.5.22
  • .node-version: 20 to 20.17.0
  • Regenerated package-lock.json

Why the tar override

tar is transitive-only here (via pacote and @npmcli/arboristnode-gyp). The bare major bump resolved it to 7.5.9, which is still exposed to the critical node-tar advisory (needs >= 7.5.19) and the follow-up highs (need >= 7.5.21). The override forces ^7.5.22 across the whole tree so those alerts actually clear.

Testing

292 unit tests passing, lint clean.

Follow-up

A separate PR covers the remaining direct-dep bumps (axios, js-yaml, lodash, nanoid, node-forge) and transitive overrides for the other Dependabot alert classes.

Closes #433

@netlify

netlify Bot commented Apr 3, 2026

Copy link
Copy Markdown

Deploy Preview for lando-core ready!

Name Link
🔨 Latest commit 61626d4
🔍 Latest deploy log https://app.netlify.com/projects/lando-core/deploys/6a7936b1f5452d0008085f7f
😎 Deploy Preview https://deploy-preview-457--lando-core.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 75 (🔴 down 4 from production)
Accessibility: 89 (no change from production)
Best Practices: 92 (no change from production)
SEO: 90 (no change from production)
PWA: -
View the detailed breakdown and full score reports
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

dependabot Bot and others added 3 commits August 9, 2026 21:14
Bumps [tar](https://github.com/isaacs/node-tar) to 7.5.9 and updates ancestor dependencies [tar](https://github.com/isaacs/node-tar), [@npmcli/arborist](https://github.com/npm/cli/tree/HEAD/workspaces/arborist), [npm-profile](https://github.com/npm/npm-profile) and [pacote](https://github.com/npm/pacote). These dependencies need to be updated together.

Updates `tar` from 6.2.1 to 7.5.9
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.2.1...v7.5.9)

Updates `@npmcli/arborist` from 6.5.1 to 9.3.0
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/workspaces/arborist/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/commits/v9.3.0/workspaces/arborist)

Updates `npm-profile` from 9.0.2 to 12.0.1
- [Release notes](https://github.com/npm/npm-profile/releases)
- [Changelog](https://github.com/npm/npm-profile/blob/main/CHANGELOG.md)
- [Commits](npm/npm-profile@v9.0.2...v12.0.1)

Updates `pacote` from 15.2.0 to 21.3.1
- [Release notes](https://github.com/npm/pacote/releases)
- [Changelog](https://github.com/npm/pacote/blob/main/CHANGELOG.md)
- [Commits](npm/pacote@v15.2.0...v21.3.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.9
  dependency-type: indirect
- dependency-name: "@npmcli/arborist"
  dependency-version: 9.3.0
  dependency-type: direct:production
- dependency-name: npm-profile
  dependency-version: 12.0.1
  dependency-type: direct:production
- dependency-name: pacote
  dependency-version: 21.3.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Regenerate package-lock after rebase onto main and override tar to
^7.5.22 so the critical/high node-tar advisories are actually cleared
(not left on 7.5.9).
@AaronFeledy AaronFeledy changed the title fix: update Node engine floor for major npm dep bumps fix: security dep bumps, tar 7, and Node >=20.17 Aug 10, 2026
@AaronFeledy
AaronFeledy merged commit 9e70ca3 into main Aug 10, 2026
75 checks passed
@AaronFeledy
AaronFeledy deleted the fix/pr-433-npm-deps branch August 10, 2026 03:24
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.

1 participant