Skip to content

Conversation

@colincasey
Copy link
Contributor

@colincasey colincasey commented Oct 29, 2025

Updates the Node.js version resolver with the following features:

  • detect when a wide version range is in use
  • limit the resolved version to the latest LTS unless a higher version is explicitly requested
  • output the resolved data as JSON so that it's easier to understand

This allows the buildpack to output:

  • a warning if a wide version range is used
  • a warning if the LTS version limit had to be enforced

W-20075501

Updates the Node.js version resolver with the following features:
- detect when a wide version range is in use
- limit the resolved version to the latest LTS unless a higher version is explicitly requested
- output the resolved data as JSON so that it's easier to understand
This is a sanity check since rebuilding the binary after making changes is a manual process. This will ensure that the binary can't be updated if there are failing tests.
The install process is updated to:
- read the new JSON output from the Node.js version resolver binary
- emit a warning if a wide version range is used
- emit a warning if the LTS version limit had to be enforced
@colincasey colincasey self-assigned this Oct 29, 2025
@colincasey colincasey requested a review from a team as a code owner October 29, 2025 19:36
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.

1 participant