Files
renovate/lib/modules/versioning/node
Rhys Arkins 0d5d7a8669 refactor!: remove rangeStrategy=pin from versioning modules (#36261)
Refactors `getNewValue` logic to replace it with an optional
`getPinnedValue()` where rangeStrategy=pin. This way each versioning
module doesn't need to add and test extensive "pin" logic.

This should not be breaking, but out of an abundance of caution, we'll
mark it as such.
2025-11-06 08:07:40 +00:00
..

Renovate's Node.js versioning is a wrapper around npm versioning. But Renovate removes any v prefixes from semantic versions when replacing.

Its primary purpose is to add Node.js LTS awareness, e.g.:

  • Odd releases are unstable
  • Even releases do not reach stability (LTS) immediately

You can not use node versioning to replace docker versioning if you are using node tags with suffixes like -alpine. This is because npm versioning treats these suffixes as implying pre-releases/instability.