Skip to content

fix(plugin-essentials): handle null on latest version retrieval#7003

Merged
arcanis merged 2 commits intoyarnpkg:masterfrom
Xstoudi:fix/yarn-install-fails-when-github-crash
Mar 2, 2026
Merged

fix(plugin-essentials): handle null on latest version retrieval#7003
arcanis merged 2 commits intoyarnpkg:masterfrom
Xstoudi:fix/yarn-install-fails-when-github-crash

Conversation

@Xstoudi
Copy link
Copy Markdown
Contributor

@Xstoudi Xstoudi commented Dec 4, 2025

What's the problem this PR addresses?

Sometime, candidate version can be null. In this case, yarn used to crash.

Fixes #6654

How did you fix it?

Do not check semver if latest version retrieved is null.

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

@arcanis arcanis merged commit a03add9 into yarnpkg:master Mar 2, 2026
25 of 27 checks passed
@Xstoudi Xstoudi deleted the fix/yarn-install-fails-when-github-crash branch March 3, 2026 08:30
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.

[Bug?]: yarn fails to run with TypeError

3 participants