Skip to content

Add CalculateMinVersion function for NPM. #269

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sherzberg-1
Copy link

This function is relevant for cases where we are given a constraint range and want to see the minimum version that fulfills that constraint, for a heuristic/approximation of which version may be pulled at runtime. This does not look up actual versions, so there is no guarantee that the version returned here actually exists (e.g. >1.0.0 will return 1.0.1, which may not be a real version).

@cuixq cuixq requested a review from distractible July 11, 2025 03:53
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