[BUG?] npm pack --json
removed from npm v6 to v7?
#2038
Labels
Bug
thing that needs fixing
Priority 2
secondary priority issue
Release 7.x
work is associated with a specific npm 7 release
Current Behavior:
npm pack --json
will completely ignore the--json
option and output it's usual stuff anyway:Expected Behavior:
npm pack --json
on npm v6 and earlier would output a json description of the tarball, which I believe was virtually identical to the output ofgetContents
inlib/utils/tar.js
.Steps To Reproduce:
npm pack --json
Environment:
Additional Notes
My use case was to find what would be included in a tarball, so I'm going to use
npm-packlist
now, but this change did break one of my tools (go-out) and I could not find any documentation about it.The text was updated successfully, but these errors were encountered: