Skip to content

docs: fix typos and update -n CLI option documentation#836

Merged
owlstronaut merged 1 commit intonpm:mainfrom
mldangelo:docs/typos-and-cli-docs
Jan 5, 2026
Merged

docs: fix typos and update -n CLI option documentation#836
owlstronaut merged 1 commit intonpm:mainfrom
mldangelo:docs/typos-and-cli-docs

Conversation

@mldangelo
Copy link
Contributor

Small cleanup PR:

Typo fixes

  • internal/re.js: "numberic" → "numeric" (3 occurrences)
  • functions/diff.js: "preleases" → "prereleases"
  • test/ranges/min-version.js: "Carot" → "Caret"
  • ranges/subset.js: "GT.semver" → "LT.semver" (comment was in the LT section)

Documentation

  • Update README -n option to match the CLI help text (documents the false option to omit the prerelease number)

@mldangelo mldangelo requested a review from a team as a code owner December 20, 2025 17:06
- Fix "numberic" → "numeric" typos in internal/re.js
- Fix "preleases" → "prereleases" typo in functions/diff.js
- Fix "Carot" → "Caret" typo in test/ranges/min-version.js
- Fix "GT.semver" → "LT.semver" in ranges/subset.js comment (was in LT section)
- Update README -n option to document `false` option
@mldangelo mldangelo force-pushed the docs/typos-and-cli-docs branch from 6da2301 to 9065187 Compare December 20, 2025 17:11
@owlstronaut owlstronaut merged commit 1d28d5e into npm:main Jan 5, 2026
25 of 29 checks passed
@github-actions github-actions bot mentioned this pull request Jan 5, 2026
wraithgar pushed a commit that referenced this pull request Feb 5, 2026
🤖 I have created a release *beep* *boop*
---


## [7.7.4](v7.7.3...v7.7.4)
(2026-01-16)
### Bug Fixes
*
[`a29faa5`](a29faa5)
[#835](#835) cli: pass options to
semver.valid() for loose version validation (#835) (@mldangelo)
### Documentation
*
[`1d28d5e`](1d28d5e)
[#836](#836) fix typos and update
-n CLI option documentation (#836) (@mldangelo)
### Dependencies
*
[`120968b`](120968b)
[#840](#840)
`@npmcli/template-oss@4.29.0` (#840)
### Chores
*
[`44d7130`](44d7130)
[#824](#824) bump
@npmcli/eslint-config from 5.1.0 to 6.0.0 (#824) (@dependabot[bot])
*
[`7073576`](7073576)
[#820](#820) reorder parameters
in invalid-versions.js test (#820) (@reggi)
*
[`5816d4c`](5816d4c)
[#829](#829) bump
@npmcli/template-oss from 4.28.0 to 4.28.1 (#829) (@dependabot[bot],
@npm-cli-bot)

---
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>
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