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? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
npm-check-updates
node >= 10.17
My package.json includes in its devDependencies:
devDependencies
"@barsoom/prettier-config": "> 0.0.0",
Running npx npm-check-updates --upgrade --peer changes this constraint to > 0.0.5.
npx npm-check-updates --upgrade --peer
> 0.0.5
But since the latest version of the package is 0.0.5, there is no greater version, so npm install fails.
npm install
Same issue if the old version is > 0.0.1.
> 0.0.1
Either leaving the constraint as-is, or changing it to >= 0.0.5, or 0.0.5, or ^0.0.5, or similar.
>= 0.0.5
0.0.5
^0.0.5
Changing > 0.0.0 to >= 0.0.0 fixes it. It becomes >= 0.0.5.
> 0.0.0
>= 0.0.0
The text was updated successfully, but these errors were encountered:
Definitely a bug! I'll get a fix into the next major version.
Sorry, something went wrong.
f773263
Fixed and published in v12.0.0.
No branches or pull requests
npm-check-updates
node >= 10.17
Steps to Reproduce
My package.json includes in its
devDependencies
:Current Behavior
Running
npx npm-check-updates --upgrade --peer
changes this constraint to> 0.0.5
.But since the latest version of the package is 0.0.5, there is no greater version, so
npm install
fails.Same issue if the old version is
> 0.0.1
.Expected Behavior
Either leaving the constraint as-is, or changing it to
>= 0.0.5
, or0.0.5
, or^0.0.5
, or similar.Workaround
Changing
> 0.0.0
to>= 0.0.0
fixes it. It becomes>= 0.0.5
.The text was updated successfully, but these errors were encountered: