Skip to content

doc: fix broken link in releases guide#63672

Open
parkhojeong wants to merge 1 commit into
nodejs:mainfrom
parkhojeong:fix-npm-supported-versions-link
Open

doc: fix broken link in releases guide#63672
parkhojeong wants to merge 1 commit into
nodejs:mainfrom
parkhojeong:fix-npm-supported-versions-link

Conversation

@parkhojeong
Copy link
Copy Markdown

@parkhojeong parkhojeong commented May 31, 2026

Updates a broken link in the release guide to point to npm CLI's current engine validation file.

Before After
image image

Signed-off-by: Hojeong Park <parkhj062@gmail.com>
@nodejs-github-bot
Copy link
Copy Markdown
Collaborator

Review requested:

  • @nodejs/tsc

@nodejs-github-bot nodejs-github-bot added the doc Issues and PRs related to the documentations. label May 31, 2026
@parkhojeong parkhojeong marked this pull request as ready for review May 31, 2026 04:50
@parkhojeong parkhojeong changed the title doc: fix broken npm engine validation link doc: fix broken link in releases guide May 31, 2026
Copy link
Copy Markdown
Contributor

@MikeMcC399 MikeMcC399 left a comment

Choose a reason for hiding this comment

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

The old file used to exist in npm v7
https://github.com/npm/cli/blame/release/v7/lib/utils/unsupported.js

The replacement file
https://github.com/npm/cli/blob/latest/lib/cli/validate-engines.js

also refers back to
https://github.com/npm/cli/blob/latest/package.json#L252-L254

  "engines": {
    "node": "^20.17.0 || >=22.9.0"
  }

where the engines definition for node has no upwards restrictions.

So I'm not sure that keeping a link to https://github.com/npm/cli/blob/latest/lib/cli/validate-engines.js is necessary or relevant.

The old non-working link should however be removed in any case.

Comment on lines +1341 to 1342
upcoming release. `npm` maintains a list of [supported versions](https://github.com/npm/cli/blob/latest/lib/cli/validate-engines.js#L5)
that will need updating to include the new major release.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
upcoming release. `npm` maintains a list of [supported versions](https://github.com/npm/cli/blob/latest/lib/cli/validate-engines.js#L5)
that will need updating to include the new major release.
upcoming release.

Possibly just remove this sentence with the link.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants