Skip to content

fix(yarn): unblock Node 24 LTS and fix test#12155

Open
timothytlewis wants to merge 1 commit intomainfrom
audit/yarnpkg.com
Open

fix(yarn): unblock Node 24 LTS and fix test#12155
timothytlewis wants to merge 1 commit intomainfrom
audit/yarnpkg.com

Conversation

@timothytlewis
Copy link
Contributor

Summary

  • Remove <23 Node.js upper bound from build deps — blocks Node 24 LTS (yarn 4.13.0 supports it)
  • Tighten runtime Node.js dep to >=18.12 (yarn's declared engine requirement)
  • Fix test: yarn add in Berry/v4 requires a package.json present

Audit findings

  • Critical: Build dep nodejs.org: '>=18.3<23' blocks Node 24 LTS entirely
  • Critical: Test runs yarn add jquery without package.json — fails with WorkspaceRequiredError in Berry/v4
  • Minor: Runtime nodejs.org: '*' allowed incompatible Node versions

Test plan

  • Verify yarn builds with Node 24
  • Verify yarn add jquery works in test with package.json present

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jhheider
Copy link
Contributor

jhheider commented Mar 6, 2026

build timed out at 6hrs, which, iirc, was the node24 problem.

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