We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
^0 >=0.1.2
.minVersion is failing with error on range ^0 >=0.1.2. Workaround isminVersion(validRange('<range>'))
.minVersion
minVersion(validRange('<range>'))
Failing with undefined error
undefined
Returns 0.1.2
0.1.2
semver version - 7.3.2
semver
7.3.2
The text was updated successfully, but these errors were encountered:
Got the same issue in the above Issue with npm/cli and it's engines. minVersion returns null
const semver = require('semver'); undefined > semver.minVersion("6 >=6.2.0 || 8 || >=9.3.0"); null > semver.minVersion(">=6.2.0 || 8 || >=9.3.0"); SemVer { options: { loose: false, includePrerelease: false }, loose: false, includePrerelease: false, raw: '6.2.0', major: 6, minor: 2, patch: 0, prerelease: [], build: [], version: '6.2.0' } > semver.minVersion("6 || >=6.2.0 || 8 || >=9.3.0"); SemVer { options: { loose: false, includePrerelease: false }, loose: false, includePrerelease: false, raw: '6.0.0', major: 6, minor: 0, patch: 0, prerelease: [], build: [], version: '6.0.0' }
Sorry, something went wrong.
Fixed by #341
No branches or pull requests
What / Why
.minVersion
is failing with error on range^0 >=0.1.2
. Workaround isminVersion(validRange('<range>'))
How
Current Behavior
Failing with
undefined
errorExpected Behavior
Returns
0.1.2
References
semver
version -7.3.2
The text was updated successfully, but these errors were encountered: