GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: increment dotted prerelease identifiers by liuzemei · Pull Request #870 · npm/node-semver

Conversation

@liuzemei

@liuzemei liuzemei commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Fixes #226.

Summary

  • treat a dotted prerelease identifier as a prefix when deciding whether to continue incrementing the existing prerelease sequence
  • keep replacing the prerelease when the matched prefix is followed by a non-numeric segment
  • add fixtures for dotted identifiers such as alpha.beta and alpha.beta.5

Testing

  • npm test

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mbtools reacted with hooray emoji
All reactions
  • 🎉 1 reaction
@SheldonNeo
Fix dotted prerelease identifier increment
72ce045
@liuzemei
liuzemei requested a review from a team as a code owner June 4, 2026 04:09
owlstronaut
owlstronaut approved these changes Jun 4, 2026
View reviewed changes

@owlstronaut owlstronaut left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@liuzemei thanks for casually fixing a 9 year old bug!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

mbtools reacted with laugh emoji
All reactions
  • 😄 1 reaction
@owlstronaut
owlstronaut merged commit bea6028 into npm:main Jun 4, 2026
35 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot mentioned this pull request Jun 4, 2026
chore: release 7.8.2 #871
Merged
@stephenlacy

stephenlacy commented Jun 4, 2026

Copy link
Copy Markdown

Nice! totally forgot about this one

mbtools reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

owlstronaut pushed a commit that referenced this pull request Jun 4, 2026
@github-actions
chore: release 7.8.2 (#871)
efafcf8
🤖 I have created a release *beep* *boop*
---


## [7.8.2](v7.8.1...v7.8.2)
(2026-06-04)
### Bug Fixes
*
[`bea6028`](bea6028)
[#870](#870) increment dotted
prerelease identifiers (#870) (@liuzemei, @SheldonNeo)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@github-actions github-actions Bot mentioned this pull request Jun 5, 2026
deps: semver 7.7.4 → 7.8.2 suj1e/larkcc#240
Closed
5 tasks
@lisaparma lisaparma mentioned this pull request Jun 5, 2026
chore(deps): weekly dependencies update 2026-06-05 zextras/carbonio-ws-collaboration-ui#765
Merged
This was referenced Jun 6, 2026
deps: semver 7.7.4 → 7.8.2 suj1e/larkcc#248
Closed
deps: semver 7.7.4 → 7.8.2 suj1e/larkcc#256
Closed
@claude claude Bot mentioned this pull request Jun 8, 2026
fix(deps): update dependency semver to v7.8.2 tailor-platform/sdk#1353
Merged
1 task
This was referenced Jun 8, 2026
deps: semver 7.7.4 → 7.8.2 suj1e/larkcc#264
Closed
deps: semver 7.7.4 → 7.8.3 suj1e/larkcc#273
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#282
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#291
Closed
@claude claude Bot mentioned this pull request Jun 11, 2026
build(deps): update dependency semver to v7.8.2 ncaq/konoka#343
Merged
1 task
This was referenced Jun 12, 2026
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#300
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#309
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#318
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#327
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#336
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#345
Closed
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#354
Closed
This was referenced Jun 19, 2026
deps: semver 7.7.4 → 7.8.4 suj1e/larkcc#363
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#372
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#381
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#390
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#399
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#408
Closed
This was referenced Jul 16, 2026
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#613
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#623
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#633
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#643
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#653
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#663
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#673
Closed
This was referenced Jul 23, 2026
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#683
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#693
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#703
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#713
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#724
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#735
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#746
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#757
Closed
This was referenced Jul 31, 2026
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#768
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#779
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#790
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#801
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#812
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#823
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#834
Closed
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#845
Closed
This was referenced Aug 8, 2026
deps: semver 7.7.4 → 7.8.5 suj1e/larkcc#856
Open
deps: semver 7.7.4 → 7.8.5 minrenczq/larkcc#8
Closed
deps: semver 7.7.4 → 7.8.5 minrenczq/larkcc#19
Closed
deps: semver 7.7.4 → 7.8.5 minrenczq/larkcc#30
Closed
@github-actions github-actions Bot mentioned this pull request Aug 16, 2026
deps: semver 7.7.4 → 7.8.5 minrenczq/larkcc#41
Open
5 tasks
social4hyq pushed a commit to social4hyq/homebrew-core that referenced this pull request Sep 20, 2026
HarmonybrewBot HarmonybrewBot
!10573 merge bump-semver-7.8.2 into main
dd6c3e6
semver 7.8.2

Created-by: HarmonybrewBot
Commit-by: HarmonybrewBot
Merged-by: HarmonybrewBot
Description: Created by `brew bump`

---

Created with `brew bump-formula-pr`.<details>
  <summary>release notes</summary>
  <pre>## [7.8.2](npm/node-semver@v7.8.1...v7.8.2) (2026-06-04)
### Bug Fixes
* [`bea6028`](npm/node-semver@bea6028) [#870](npm/node-semver#870) increment dotted prerelease identifiers (#870) (@liuzemei, @SheldonNeo)</pre>
  <p>View the full release notes at <a href="https://github.com/npm/node-semver/releases/tag/v7.8.2">https://github.com/npm/node-semver/releases/tag/v7.8.2</a>.</p>
</details>
<hr>

See merge request: Harmonybrew/homebrew-core!10573
@KyleAMathews KyleAMathews mentioned this pull request Nov 10, 2026
Testing node-semver against an independent model: possible bugs and behavior questions #951
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@owlstronaut owlstronaut owlstronaut approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Pre-release id version do not update with a provided pre-release id

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@liuzemei @stephenlacy @owlstronaut @SheldonNeo
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.