diff options
author | Gar <gar+gh@danger.computer> | 2022-06-22 23:52:32 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-22 23:52:32 +0300 |
commit | 2953983ad5c5e830a5844be5d6d0a2b49863c05d (patch) | |
tree | 195afc739d6319356028edb74e78f2d06daa5cf8 /package.json | |
parent | e03009f4b423e85e498f1b1851fae785de91a73d (diff) |
fix(view): error on missing version (#5035)
This fixes an error in npm show. When calling npm show with a specific
version of a package that does not exist, it does not show anything and
gives a zero exit code. This has been changed: now it gives a 404 Error
similar to if the package does not exist. Can be tested with npm show
express@5.0.0 (local: node bin/npm-cli.js info express@5.0.0)
Fixes #4964
Co-authored-by: @lukaskuhn-lku
Co-authored-by: @ljharb
Diffstat (limited to 'package.json')
0 files changed, 0 insertions, 0 deletions