Skip to content

Modernize installer dependencies and Node support - #48

Merged
thomashoneyman merged 6 commits into
masterfrom
modernize-installer
Nov 12, 2026
Merged

thomashoneyman merged 6 commits into
masterfrom
modernize-installer

Conversation

@thomashoneyman

@thomashoneyman thomashoneyman commented Nov 9, 2026 •

Copy link
Copy Markdown
Member

This change modernizes the installer to remove vulnerable dependency paths and run installation and tests without dependency deprecations or engine warnings showing up anymore. To do that, I had to make a couple replacements:

  • Replace make-fetch-happen with Undici, retaining proxy support, redirects, retries, and cancellation.
  • Replace rimraf with native filesystem cleanup and tap with Node’s built-in test runner.

Breaking changes
This now requires Node ^22.22.2 || ^24.15.0 || >=26.0.0 because cacache 21 requires these versions; Node 20 is EOL anyway so this seems fine.

I'm reusing the changes proposed in #42, and #39 is already superseded by a merged upgrade to make-fetch-happen, so this replaces both of those changes.

The upstream fix in npm/cacache#350 is now released in cacache 21.0.2. Updating to it removes the remaining audit findings while retaining the existing cache implementation and format.

That merged, so we're now warning-free.

@thomashoneyman
thomashoneyman merged commit e672392 into master Nov 12, 2026
6 checks passed
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