Skip to content

Bump semver to ~7.7.4; fix INpmCheckVersionBumpType for new 'release' ReleaseType#5781

Merged
iclanton merged 3 commits intomicrosoft:mainfrom
iclanton:bump-semver
Apr 17, 2026
Merged

Bump semver to ~7.7.4; fix INpmCheckVersionBumpType for new 'release' ReleaseType#5781
iclanton merged 3 commits intomicrosoft:mainfrom
iclanton:bump-semver

Conversation

@iclanton
Copy link
Copy Markdown
Member

Summary

  • Bumps semver to ~7.7.4 and @types/semver to 7.7.1 across the repo.
  • @types/semver 7.7.1 added "release" to ReleaseType. This caused a build failure in libraries/npm-check-fork because INpmCheckVersionBumpType didn't include "release". Added it to fix the build.
  • Refactored the dense ternary logic in CreatePackageSummary.ts into readable if blocks while preserving equivalent behavior.

Test plan

  • libraries/npm-check-fork builds cleanly with heft build --clean
  • Existing behavior is preserved — no logic changes, only the type union was extended with a value that semver.diff() can now return

🤖 Generated with Claude Code

@iclanton iclanton merged commit dc158dd into microsoft:main Apr 17, 2026
6 checks passed
@github-project-automation github-project-automation bot moved this from Needs triage to Closed in Bug Triage Apr 17, 2026
@iclanton iclanton deleted the bump-semver branch April 18, 2026 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Closed

Development

Successfully merging this pull request may close these issues.

2 participants