Skip to content

[BUG] unexpected change in behavior of npm view --json of invalid version of a package #1639

Closed
@MylesBorins

Description

@MylesBorins

Current Behavior:

$ npm view --json [email protected]
undefined
$

Expected Behavior:

In previous versions of npm there would be no content returned

$ npm view --json [email protected]
$

Steps To Reproduce:

Run above commands

Environment:

OSX 10.15.6
Node.js v14.6.0
npm v7.0.0-beta.2

Metadata

Metadata

Assignees

Labels

Bugthing that needs fixingRelease 7.xwork is associated with a specific npm 7 release

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions