You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG?] npm pack --json removed from npm v6 to v7?Β #2038
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 of getContents in lib/utils/tar.js.
Steps To Reproduce:
Using npm v7
Run npm pack --json
Environment:
OS: macOS Catalina 10.15.7
Node: 15.0.1
npm: 7.0.3
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.
Reacted by everhardt, Adam Baldwin, Mario De Schaepmeester and Denis Malinochkin
Activity
mrmlnc commentedon Jun 4, 2021
Fixed in #3217 and shipped in
7.14.0.