diff options
author | Gar <gar+gh@danger.computer> | 2021-04-21 19:14:08 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2021-04-22 22:10:49 +0300 |
commit | 42e0587a9ea6940a5d5be5903370ad1113feef21 (patch) | |
tree | ba602b32711f300f3599f71b2de9dc77bc81d749 /package-lock.json | |
parent | 4c1f16d2c29a7a56c19b97f2820e6305a6075083 (diff) |
fix(pack): refuse to pack invalid packument
If name and version are missing, the filename won't make sense.
This also slightly reorders operations so that it will bail early on
multiple packages, not potentially packing some before hitting an
invalid package and bailing.
PR-URL: https://github.com/npm/cli/pull/3115
Credit: @wraithgar
Close: #3115
Reviewed-by: @nlf
Diffstat (limited to 'package-lock.json')
0 files changed, 0 insertions, 0 deletions