## v6.7.0 (2019-01-23): Hey y'all! This is a quick hotfix release that includes some important fixes to `npm@6.6.0` related to the large rewrite/refactor. We're tagging it as a feature release because the changes involve some minor new features, and semver is semver, but there's nothing major here. ### NEW FEATURES * [`50463f58b`](https://github.com/npm/cli/commit/50463f58b4b70180a85d6d8c10fcf50d8970ef5e) Improve usage errors to `npm org` commands and add optional filtering to `npm org ls` subcommand. ([@zkat](https://github.com/zkat)) ### BUGFIXES * [`4027070b0`](https://github.com/npm/cli/commit/4027070b03be3bdae2515f2291de89b91f901df9) Fix default usage printout for `npm org` so you actually see how it's supposed to be used. ([@zkat](https://github.com/zkat)) * [`cfea6ea5b`](https://github.com/npm/cli/commit/cfea6ea5b67ec5e4ec57e3a9cb8c82d018cb5476) fix default usage message for npm hook ([@zkat](https://github.com/zkat)) ### DOCS * [`e959e1421`](https://github.com/npm/cli/commit/e959e14217d751ddb295565fd75cc81de1ee0d5b) Add manpage for `npm org` command. ([@zkat](https://github.com/zkat)) ### DEPENDENCY BUMPS * [`8543fc357`](https://github.com/npm/cli/commit/8543fc3576f64e91f7946d4c56a5ffb045b55156) `pacote@9.4.0`: Fall back to "fullfat" packuments on ETARGET errors. This will make it so that, when a package is published but the corgi follower hasn't caught up, users can still install a freshly-published package. ([@zkat](https://github.com/zkat)) * [`75475043b`](https://github.com/npm/cli/commit/75475043b03a254b2e7db2c04c3f0baea31d8dc5) [npm.community#4752](https://npm.community/t/npm-6-6-0-broke-authentication-with-npm-registry-couchapp/4752) `libnpmpublish@1.1.1`: Fixes auth error for username/password legacy authentication. ([@sreeramjayan](https://github.com/sreeramjayan)) * [`0af8c00ac`](https://github.com/npm/cli/commit/0af8c00acb01849362ffca25b567cc62447c7175) [npm.community#4746](https://npm.community/t/npm-6-6-0-release-breaking-docker-npm-ci-commands/4746) `libcipm@3.0.3`: Fixes issue with "cannot run in wd" errors for run-scripts. ([@zkat](https://github.com/zkat)) * [`5a7962e46`](https://github.com/npm/cli/commit/5a7962e46f582c6bd91784b0ddc941ed45e9f802) `write-file-atomic@2.4.2`: Fixes issues with leaking `signal-exit` instances and file descriptors. ([@iarna](https://github.com/iarna)) ## v6.6.0 (2019-01-17): ### REFACTORING OUT npm-REGISTRY-CLIENT Today is an auspicious day! This release marks the end of a massive internal refactor to npm that means we finally got rid of the legacy [`npm-registry-client`](https://npm.im/npm-registry-client) in favor of the shiny, new, `window.fetch`-like [`npm-registry-fetch`](https://npm.im/npm-registry-fetch). Now, the installer had already done most of this work with the release of `npm@5`, but it turns out _every other command_ still used the legacy client. This release updates all of those commands to use the new client, and while we're at it, adds a few extra goodies: * All OTP-requiring commands will now **prompt**. `--otp` is no longer required for `dist-tag`, `access`, et al. * We're starting to integrate a new config system which will eventually get extracted into a standalone package. * We now use [`libnpm`](https://npm.im/libnpm) for the API functionality of a lot of our commands! That means you can install a library if you want to write your own tooling around them. * There's now an `npm org` command for managing users in your org. * [`pacote`](https://npm.im/pacote) now consumes npm-style configurations, instead of its own naming for various config vars. This will make it easier to load npm configs using `libnpm.config` and hand them directly to `pacote`. There's too many commits to list all of them here, so check out the PR if you're curious about details: * [`c5af34c05`](https://github.com/npm/cli/commit/c5af34c05fd569aecd11f18d6d0ddeac3970b253) [npm-registry-client@REMOVED](https://www.youtube.com/watch\?v\=kPIdRJlzERo) ([@zkat](https://github.com/zkat)) * [`4cca9cb90`](https://github.com/npm/cli/commit/4cca9cb9042c0eeb743377e8f1ae1c07733df43f) [`ad67461dc`](https://github.com/npm/cli/commit/ad67461dc3a73d5ae6569fdbee44c67e1daf86e7) [`77625f9e2`](https://github.com/npm/cli/commit/77625f9e20d4285b7726b3bf3ebc10cb21c638f0) [`6e922aefb`](https://github.com/npm/cli/commit/6e922aefbb4634bbd77ed3b143e0765d63afc7f9) [`584613ea8`](https://github.com/npm/cli/commit/584613ea8ff94b927db4957e5647504b30ca2b1f) [`64de4ebf0`](https://github.com/npm/cli/commit/64de4ebf019b217179039124c6621e74651e4d27) [`6cd87d1a9`](https://github.com/npm/cli/commit/6cd87d1a9bb90e795f9891ea4db384435f4a8930) [`2786834c0`](https://github.com/npm/cli/commit/2786834c0257b8bb1bbb115f1ce7060abaab2e17) [`514558e09`](https://github.com/npm/cli/commit/514558e094460fd0284a759c13965b685133b3fe) [`dec07ebe3`](https://github.com/npm/cli/commit/dec07ebe3312245f6421c6e523660be4973ae8c2) [`084741913`](https://github.com/npm/cli/commit/084741913c4fdb396e589abf3440b4be3aa0b67e) [`45aff0e02`](https://github.com/npm/cli/commit/45aff0e02251785a85e56eafacf9efaeac6f92ae) [`846ddcc44`](https://github.com/npm/cli/commit/846ddcc44538f2d9a51ac79405010dfe97fdcdeb) [`8971ba1b9`](https://github.com/npm/cli/commit/8971ba1b953d4f05ff5094f1822b91526282edd8) [`99156e081`](https://github.com/npm/cli/commit/99156e081a07516d6c970685bc3d858f89dc4f9c) [`ab2155306`](https://github.com/npm/cli/commit/ab215530674d7f6123c9572d0ad4ca9e9b5fb184) [`b37a66542`](https://github.com/npm/cli/commit/b37a66542ca2879069b2acd338b1904de71b7f40) [`d2af0777a`](https://github.com/npm/cli/commit/d2af0777ac179ff5009dbbf0354a4a84f151b60f) [`e0b4c6880`](https://github.com/npm/cli/commit/e0b4c6880504fa2e8491c2fbd098efcb2e496849) [`ff72350b4`](https://github.com/npm/cli/commit/ff72350b4c56d65e4a92671d86a33080bf3c2ea5) [`6ed943303`](https://github.com/npm/cli/commit/6ed943303ce7a267ddb26aa25caa035f832895dd) [`90a069e7d`](https://github.com/npm/cli/commit/90a069e7d4646682211f4cabe289c306ee1d5397) [`b24ed5fdc`](https://github.com/npm/cli/commit/b24ed5fdc3a4395628465ae5273bad54eea274c8) [`ec9fcc14f`](https://github.com/npm/cli/commit/ec9fcc14f4e0e2f3967e2fd6ad8b8433076393cb) [`8a56fa39e`](https://github.com/npm/cli/commit/8a56fa39e61136da45565447fe201a57f04ad4cd) [`41d19e18f`](https://github.com/npm/cli/commit/41d19e18f769c6f0acfdffbdb01d12bf332908ce) [`125ff9551`](https://github.com/npm/cli/commit/125ff9551595dda9dab2edaef10f4c73ae8e1433) [`1c3b226ff`](https://github.com/npm/cli/commit/1c3b226ff37159c426e855e83c8f6c361603901d) [`3c0a7b06b`](https://github.com/npm/cli/commit/3c0a7b06b6473fe068fc8ae8466c07a177975b87) [`08fcb3f0f`](https://github.com/npm/cli/commit/08fcb3f0f26e025702b35253ed70a527ab69977f) [`c8135d97a`](https://github.com/npm/cli/commit/c8135d97a424b38363dc4530c45e4583471e9849) [`ae936f22c`](https://github.com/npm/cli/commit/ae936f22ce80614287f2769e9aaa9a155f03cc15) [#2](https://github.com/npm/cli/pull/2) Move rest of commands to `npm-registry-fetch` and use [`figgy-pudding`](https://npm.im/figgy-pudding) for configs. ([@zkat](https://github.com/zkat)) ### NEW FEATURES * [`02c837e01`](https://github.com/npm/cli/commit/02c837e01a71a26f37cbd5a09be89df8a9ce01da) [#106](https://github.com/npm/cli/pull/106) Make `npm dist-tags` the same as `npm dist-tag ls`. ([@isaacs](https://github.com/isaacs)) * [`1065a7809`](https://github.com/npm/cli/commit/1065a7809161fd4dc23e96b642019fc842fdacf2) [#65](https://github.com/npm/cli/pull/65) Add support for `IBM i`. ([@dmabupt](https://github.com/dmabupt)) * [`a22e6f5fc`](https://github.com/npm/cli/commit/a22e6f5fc3e91350d3c64dcc88eabbe0efbca759) [#131](https://github.com/npm/cli/pull/131) Update profile to support new npm-profile API. ([@zkat](https://github.com/zkat)) ### BUGFIXES * [`890a74458`](https://github.com/npm/cli/commit/890a74458dd4a55e2d85f3eba9dbf125affa4206) [npm.community#3278](https://npm.community/t/3278) Fix support for passing git binary path config with `--git`. ([@larsgw](https://github.com/larsgw)) * [`90e55a143`](https://github.com/npm/cli/commit/90e55a143ed1de8678d65c17bc3c2b103a15ddac) [npm.community#2713](https://npm.community/t/npx-envinfo-preset-jest-fails-on-windows-with-a-stack-trace/2713) Check for `npm.config`'s existence in `error-handler.js` to prevent weird errors when failures happen before config object is loaded. ([@BeniCheni](https://github.com/BeniCheni)) * [`134207174`](https://github.com/npm/cli/commit/134207174652e1eb6d7b0f44fd9858a0b6a0cd6c) [npm.community#2569](https://npm.community/t/2569) Fix checking for optional dependencies. ([@larsgw](https://github.com/larsgw)) * [`7a2f6b05d`](https://github.com/npm/cli/commit/7a2f6b05d27f3bcf47a48230db62e86afa41c9d3) [npm.community#4172](https://npm.community/t/4172) Remove tink experiments. ([@larsgw](https://github.com/larsgw)) * [`c5b6056b6`](https://github.com/npm/cli/commit/c5b6056b6b35eefb81ae5fb00a5c7681c5318c22) [#123](https://github.com/npm/cli/pull/123) Handle git branch references correctly. ([@johanneswuerbach](https://github.com/johanneswuerbach)) * [`f58b43ef2`](https://github.com/npm/cli/commit/f58b43ef2c5e3dea2094340a0cf264b2d11a5da4) [npm.community#3983](https://npm.community/t/npm-audit-error-messaging-update-for-401s/3983) Report any errors above 400 as potentially not supporting audit. ([@zkat](https://github.com/zkat)) * [`a5c9e6f35`](https://github.com/npm/cli/commit/a5c9e6f35a591a6e2d4b6ace5c01bc03f2b75fdc) [#124](https://github.com/npm/cli/pull/124) Set default homepage to an empty string. ([@anchnk](https://github.com/anchnk)) * [`5d076351d`](https://github.com/npm/cli/commit/5d076351d7ec1d3585942a9289548166a7fbbd4c) [npm.community#4054](https://npm.community/t/4054) Fix npm-prefix description. ([@larsgw](https://github.com/larsgw)) ### DOCS * [`31a7274b7`](https://github.com/npm/cli/commit/31a7274b70de18b24e7bee51daa22cc7cbb6141c) [#71](https://github.com/npm/cli/pull/71) Fix typo in npm-token documentation. ([@GeorgeTaveras1231](https://github.com/GeorgeTaveras1231)) * [`2401b7592`](https://github.com/npm/cli/commit/2401b7592c6ee114e6db7077ebf8c072b7bfe427) Correct docs for fake-registry interface. ([@iarna](https://github.com/iarna)) ### DEPENDENCIES * [`9cefcdc1d`](https://github.com/npm/cli/commit/9cefcdc1d2289b56f9164d14d7e499e115cfeaee) `npm-registry-fetch@3.8.0` ([@zkat](https://github.com/zkat)) * [`1c769c9b3`](https://github.com/npm/cli/commit/1c769c9b3e431d324c1a5b6dd10e1fddb5cb88c7) `pacote@9.1.0` ([@zkat](https://github.com/zkat)) * [`f3bc5539b`](https://github.com/npm/cli/commit/f3bc5539b30446500abcc3873781b2c717f8e22c) `figgy-pudding@3.5.1` ([@zkat](https://github.com/zkat)) * [`bf7199d3c`](https://github.com/npm/cli/commit/bf7199d3cbf50545da1ebd30d28f0a6ed5444a00) `npm-profile@4.0.1` ([@zkat](https://github.com/zkat)) * [`118c50496`](https://github.com/npm/cli/commit/118c50496c01231cab3821ae623be6df89cb0a32) `semver@5.5.1` ([@isaacs](https://github.com/isaacs)) * [`eab4df925`](https://github.com/npm/cli/commit/eab4df9250e9169c694b3f6c287d2932bf5e08fb) `libcipm@3.0.2` ([@zkat](https://github.com/zkat)) * [`b86e51573`](https://github.com/npm/cli/commit/b86e515734faf433dc6c457c36c1de52795aa870) `libnpm@1.4.0` ([@zkat](https://github.com/zkat)) * [`56fffbff2`](https://github.com/npm/cli/commit/56fffbff27fe2fae8bef27d946755789ef0d89bd) `get-stream@4.1.0` ([@zkat](https://github.com/zkat)) * [`df972e948`](https://github.com/npm/cli/commit/df972e94868050b5aa42ac18b527fd929e1de9e4) npm-profile@REMOVED ([@zkat](https://github.com/zkat)) * [`32c73bf0e`](https://github.com/npm/cli/commit/32c73bf0e3f0441d0c7c940292235d4b93aa87e2) `libnpm@2.0.1` ([@zkat](https://github.com/zkat)) * [`569491b80`](https://github.com/npm/cli/commit/569491b8042f939dc13986b6adb2a0a260f95b63) `licensee@5.0.0` ([@zkat](https://github.com/zkat)) * [`a3ba0ccf1`](https://github.com/npm/cli/commit/a3ba0ccf1fa86aec56b1ad49883abf28c1f56b3c) move rimraf to prod deps ([@zkat](https://github.com/zkat)) * [`f63a0d6cf`](https://github.com/npm/cli/commit/f63a0d6cf0b7db3dcc80e72e1383c3df723c8119) `spdx-license-ids@3.0.3`: Ref: https://github.com/npm/cli/pull/121 ([@zkat](https://github.com/zkat)) * [`f350e714f`](https://github.com/npm/cli/commit/f350e714f66a77f71a7ebe17daeea2ea98179a1a) `aproba@2.0.0` ([@aeschright](https://github.com/aeschright)) * [`a67e4d8b2`](https://github.com/npm/cli/commit/a67e4d8b214e58ede037c3854961acb33fd889da) `byte-size@5.0.1` ([@aeschright](https://github.com/aeschright)) * [`8bea4efa3`](https://github.com/npm/cli/commit/8bea4efa34857c4e547904b3630dd442def241de) `cacache@11.3.2` ([@aeschright](https://github.com/aeschright)) * [`9d4776836`](https://github.com/npm/cli/commit/9d4776836a4eaa4b19701b4e4f00cd64578bf078) `chownr@1.1.1` ([@aeschright](https://github.com/aeschright)) * [`70da139e9`](https://github.com/npm/cli/commit/70da139e97ed1660c216e2d9b3f9cfb986bfd4a4) `ci-info@2.0.0` ([@aeschright](https://github.com/aeschright)) * [`bcdeddcc3`](https://github.com/npm/cli/commit/bcdeddcc3d4dc242f42404223dafe4afdc753b32) `cli-table3@0.5.1` ([@aeschright](https://github.com/aeschright)) * [`63aab82c7`](https://github.com/npm/cli/commit/63aab82c7bfca4f16987cf4156ddebf8d150747c) `is-cidr@3.0.0` ([@aeschright](https://github.com/aeschright)) * [`d522bd90c`](https://github.com/npm/cli/commit/d522bd90c3b0cb08518f249ae5b90bd609fff165) `JSONStream@1.3.5` ([@aeschright](https://github.com/aeschright)) * [`2a59bfc79`](https://github.com/npm/cli/commit/2a59bfc7989bd5575d8cbba912977c6d1ba92567) `libnpmhook@5.0.2` ([@aeschright](https://github.com/aeschright)) * [`66d60e394`](https://github.com/npm/cli/commit/66d60e394e5a96330f90e230505758f19a3643ac) `marked@0.6.0` ([@aeschright](https://github.com/aeschright)) * [`8213def9a`](https://github.com/npm/cli/commit/8213def9aa9b6e702887e4f2ed7654943e1e4154) `npm-packlist@1.2.0` ([@aeschright](https://github.com/aeschright)) * [`e4ffc6a2b`](https://github.com/npm/cli/commit/e4ffc6a2bfb8d0b7047cb6692030484760fc8c91) `unique-filename@1.1.1` ([@aeschright](https://github.com/aeschright)) * [`09a5c2fab`](https://github.com/npm/cli/commit/09a5c2fabe0d1c00ec8c99f328f6d28a3495eb0b) `semver@5.6.0` ([@aeschright](https://github.com/aeschright)) * [`740e79e17`](https://github.com/npm/cli/commit/740e79e17a78247f73349525043c9388ce94459a) `rimraf@2.6.3` ([@aeschright](https://github.com/aeschright)) * [`455476c8d`](https://github.com/npm/cli/commit/455476c8d148ca83a4e030e96e93dcf1c7f0ff5f) `require-inject@1.4.4` ([@aeschright](https://github.com/aeschright)) * [`3f40251c5`](https://github.com/npm/cli/commit/3f40251c5868feaacbcdbcb1360877ce76998f5e) `npm-pick-manifest@2.2.3` ([@aeschright](https://github.com/aeschright)) * [`4ffa8a8e9`](https://github.com/npm/cli/commit/4ffa8a8e9e80e5562898dd76fe5a49f5694f38c8) `query-string@6.2.0` ([@aeschright](https://github.com/aeschright)) * [`a0a0ca9ec`](https://github.com/npm/cli/commit/a0a0ca9ec2a962183d420fa751f4139969760f18) `pacote@9.3.0` ([@aeschright](https://github.com/aeschright)) * [`5777ea8ad`](https://github.com/npm/cli/commit/5777ea8ad2058be3166a6dad2d31d2d393c9f778) `readable-stream@3.1.1` ([@aeschright](https://github.com/aeschright)) * [`887e94386`](https://github.com/npm/cli/commit/887e94386f42cb59a5628e7762b3662d084b23c8) `lru-cache@4.1.5` ([@aeschright](https://github.com/aeschright)) * [`41f15524c`](https://github.com/npm/cli/commit/41f15524c58c59d206c4b1d25ae9e0f22745213b) Updating semver docs. ([@aeschright](https://github.com/aeschright)) * [`fb3bbb72d`](https://github.com/npm/cli/commit/fb3bbb72d448ac37a465b31233b21381917422f3) `npm-audit-report@1.3.2`: ([@melkikh](https://github.com/melkikh)) ### TESTING * [`f1edffba9`](https://github.com/npm/cli/commit/f1edffba90ebd96cf88675d2e18ebc48954ba50e) Modernize maketest script. ([@iarna](https://github.com/iarna)) * [`ae263473d`](https://github.com/npm/cli/commit/ae263473d92a896b482830d4019a04b5dbd1e9d7) maketest: Use promise based example common.npm call. ([@iarna](https://github.com/iarna)) * [`d9970da5e`](https://github.com/npm/cli/commit/d9970da5ee97a354eab01cbf16f9101693a15d2d) maketest: Use newEnv for env production. ([@iarna](https://github.com/iarna)) ### MISCELLANEOUS * [`c665f35aa`](https://github.com/npm/cli/commit/c665f35aacdb8afdbe35f3dd7ccb62f55ff6b896) [#119](https://github.com/npm/cli/pull/119) Replace var with const/let in lib/repo.js. ([@watilde](https://github.com/watilde)) * [`46639ba9f`](https://github.com/npm/cli/commit/46639ba9f04ea729502f1af28b02eb67fb6dcb66) Update package-lock.json for https tarball URLs ([@aeschright](https://github.com/aeschright)) ## v6.5.0 (2018-11-28): ### NEW FEATURES * [`fc1a8d185`](https://github.com/npm/cli/commit/fc1a8d185fc678cdf3784d9df9eef9094e0b2dec) Backronym `npm ci` to `npm clean-install`. ([@zkat](https://github.com/zkat)) * [`4be51a9cc`](https://github.com/npm/cli/commit/4be51a9cc65635bb26fa4ce62233f26e0104bc20) [#81](https://github.com/npm/cli/pull/81) Adds 'Homepage' to outdated --long output. ([@jbottigliero](https://github.com/jbottigliero)) ### BUGFIXES * [`89652cb9b`](https://github.com/npm/cli/commit/89652cb9b810f929f5586fc90cc6794d076603fb) [npm.community#1661](https://npm.community/t/1661) Fix sign-git-commit options. They were previously totally wrong. ([@zkat](https://github.com/zkat)) * [`414f2d1a1`](https://github.com/npm/cli/commit/414f2d1a1bdffc02ed31ebb48a43216f284c21d4) [npm.community#1742](https://npm.community/t/npm-audit-making-non-rfc-compliant-requests-to-server-resulting-in-400-bad-request-pr-with-fix/1742) Set lowercase headers for npm audit requests. ([@maartenba](https://github.com/maartenba)) * [`a34246baf`](https://github.com/npm/cli/commit/a34246bafe73218dc9e3090df9ee800451db2c7d) [#75](https://github.com/npm/cli/pull/75) Fix `npm edit` handling of scoped packages. ([@larsgw](https://github.com/larsgw)) * [`d3e8a7c72`](https://github.com/npm/cli/commit/d3e8a7c7240dd25379a5bcad324a367c58733c73) [npm.community#2303](https://npm.community/t/npm-ci-logs-success-to-stderr/2303) Make summary output for `npm ci` go to `stdout`, not `stderr`. ([@alopezsanchez](https://github.com/alopezsanchez)) * [`71d8fb4a9`](https://github.com/npm/cli/commit/71d8fb4a94d65e1855f6d0c5f2ad2b7c3202e3c4) [npm.community#1377](https://npm.community/t/unhelpful-error-message-when-publishing-without-logging-in-error-eperm-operation-not-permitted-unlink/1377/3) Close the file descriptor during publish if exiting upload via an error. This will prevent strange error messages when the upload fails and make sure cleanup happens correctly. ([@macdja38](https://github.com/macdja38)) ### DOCS UPDATES * [`b1a8729c8`](https://github.com/npm/cli/commit/b1a8729c80175243fbbeecd164e9ddd378a09a50) [#60](https://github.com/npm/cli/pull/60) Mention --otp flag when prompting for OTP. ([@bakkot](https://github.com/bakkot)) * [`bcae4ea81`](https://github.com/npm/cli/commit/bcae4ea8173e489a76cc226bbd30dd9eabe21ec6) [#64](https://github.com/npm/cli/pull/64) Clarify that git dependencies use the default branch, not just `master`. ([@zckrs](https://github.com/zckrs)) * [`15da82690`](https://github.com/npm/cli/commit/15da8269032bf509ade3252978e934f2a61d4499) [#72](https://github.com/npm/cli/pull/72) `bash_completion.d` dir is sometimes found in `/etc` not `/usr/local`. ([@RobertKielty](https://github.com/RobertKielty)) * [`8a6ecc793`](https://github.com/npm/cli/commit/8a6ecc7936dae2f51638397ff5a1d35cccda5495) [#74](https://github.com/npm/cli/pull/74) Update OTP documentation for `dist-tag add` to clarify `--otp` is needed right now. ([@scotttrinh](https://github.com/scotttrinh)) * [`dcc03ec85`](https://github.com/npm/cli/commit/dcc03ec858bddd7aa2173b5a86b55c1c2385a2a3) [#82](https://github.com/npm/cli/pull/82) Note that `prepare` runs when installing git dependencies. ([@seishun](https://github.com/seishun)) * [`a91a470b7`](https://github.com/npm/cli/commit/a91a470b71e08ccf6a75d4fb8c9937789fa8d067) [#83](https://github.com/npm/cli/pull/83) Specify that --dry-run isn't available in older versions of npm publish. ([@kjin](https://github.com/kjin)) * [`1b2fabcce`](https://github.com/npm/cli/commit/1b2fabccede37242233755961434c52536224de5) [#96](https://github.com/npm/cli/pull/96) Fix inline code tag issue in docs. ([@midare](https://github.com/midare)) * [`6cc70cc19`](https://github.com/npm/cli/commit/6cc70cc1977e58a3e1ea48e660ffc6b46b390e59) [#68](https://github.com/npm/cli/pull/68) Add semver link and a note on empty string format to `deprecate` doc. ([@neverett](https://github.com/neverett)) * [`61dbbb7c3`](https://github.com/npm/cli/commit/61dbbb7c3474834031bce88c423850047e8131dc) Fix semver docs after version update. ([@zkat](https://github.com/zkat)) * [`4acd45a3d`](https://github.com/npm/cli/commit/4acd45a3d0ce92f9999446226fe7dfb89a90ba2e) [#78](https://github.com/npm/cli/pull/78) Correct spelling across various docs. ([@hugovk](https://github.com/hugovk)) ### DEPENDENCIES * [`4f761283e`](https://github.com/npm/cli/commit/4f761283e8896d0ceb5934779005646463a030e8) `figgy-pudding@3.5.1` ([@zkat](https://github.com/zkat)) * [`3706db0bc`](https://github.com/npm/cli/commit/3706db0bcbc306d167bb902362e7f6962f2fe1a1) [npm.community#1764](https://npm.community/t/crash-invalid-config-key-requested-error/1764) `ssri@6.0.1` ([@zkat](https://github.com/zkat)) * [`83c2b117d`](https://github.com/npm/cli/commit/83c2b117d0b760d0ea8d667e5e4bdfa6a7a7a8f6) `bluebird@3.5.2` ([@petkaantonov](https://github.com/petkaantonov)) * [`2702f46bd`](https://github.com/npm/cli/commit/2702f46bd7284fb303ca2119d23c52536811d705) `ci-info@1.5.1` ([@watson](https://github.com/watson)) * [`4db6c3898`](https://github.com/npm/cli/commit/4db6c3898b07100e3a324e4aae50c2fab4b93a04) `config-chain@1.1.1`:2 ([@dawsbot](https://github.com/dawbot)) * [`70bee4f69`](https://github.com/npm/cli/commit/70bee4f69bb4ce4e18c48582fe2b48d8b4aba566) `glob@7.1.3` ([@isaacs](https://github.com/isaacs)) * [`e469fd6be`](https://github.com/npm/cli/commit/e469fd6be95333dcaa7cf377ca3620994ca8d0de) `opener@1.5.1`: Fix browser opening under Windows Subsystem for Linux (WSL). ([@thijsputman](https://github.com/thijsputman)) * [`03840dced`](https://github.com/npm/cli/commit/03840dced865abdca6e6449ea030962e5b19db0c) `semver@5.5.1` ([@iarna](https://github.com/iarna)) * [`161dc0b41`](https://github.com/npm/cli/commit/161dc0b4177e76306a0e3b8660b3b496cc3db83b) `bluebird@3.5.3` ([@petkaantonov](https://github.com/petkaantonov)) * [`bb6f94395`](https://github.com/npm/cli/commit/bb6f94395491576ec42996ff6665df225f6b4377) `graceful-fs@4.1.1`:5 ([@isaacs](https://github.com/isaacs)) * [`43b1f4c91`](https://github.com/npm/cli/commit/43b1f4c91fa1d7b3ebb6aa2d960085e5f3ac7607) `tar@4.4.8` ([@isaacs](https://github.com/isaacs)) * [`ab62afcc4`](https://github.com/npm/cli/commit/ab62afcc472de82c479bf91f560a0bbd6a233c80) `npm-packlist@1.1.1`:2 ([@isaacs](https://github.com/isaacs)) * [`027f06be3`](https://github.com/npm/cli/commit/027f06be35bb09f390e46fcd2b8182539939d1f7) `ci-info@1.6.0` ([@watson](https://github.com/watson)) ### MISCELLANEOUS * [`27217dae8`](https://github.com/npm/cli/commit/27217dae8adbc577ee9cb323b7cfe9c6b2493aca) [#70](https://github.com/npm/cli/pull/70) Automatically audit dependency licenses for npm itself. ([@kemitchell](https://github.com/kemitchell)) ## v6.4.1 (2018-08-22): ### BUGFIXES * [`4bd40f543`](https://github.com/npm/cli/commit/4bd40f543dc89f0721020e7d0bb3497300d74818) [#42](https://github.com/npm/cli/pull/42) Prevent blowing up on malformed responses from the `npm audit` endpoint, such as with third-party registries. ([@framp](https://github.com/framp)) * [`0e576f0aa`](https://github.com/npm/cli/commit/0e576f0aa6ea02653d948c10f29102a2d4a31944) [#46](https://github.com/npm/cli/pull/46) Fix `NO_PROXY` support by renaming npm-side config to `--noproxy`. The environment variable should still work. ([@SneakyFish5](https://github.com/SneakyFish5)) * [`d8e811d6a`](https://github.com/npm/cli/commit/d8e811d6adf3d87474982cb831c11316ac725605) [#33](https://github.com/npm/cli/pull/33) Disable `update-notifier` checks when a CI environment is detected. ([@Sibiraj-S](https://github.com/Sibiraj-S)) * [`1bc5b8cea`](https://github.com/npm/cli/commit/1bc5b8ceabc86bfe4777732f25ffef0f3de81bd1) [#47](https://github.com/npm/cli/pull/47) Fix issue where `postpack` scripts would break if `pack` was used with `--dry-run`. ([@larsgw](https://github.com/larsgw)) ### DEPENDENCY BUMPS * [`4c57316d5`](https://github.com/npm/cli/commit/4c57316d5633e940105fa545b52d8fbfd2eb9f75) `figgy-pudding@3.4.1` ([@zkat](https://github.com/zkat)) * [`85f4d7905`](https://github.com/npm/cli/commit/85f4d79059865d5267f3516b6cdbc746012202c6) `cacache@11.2.0` ([@zkat](https://github.com/zkat)) * [`d20ac242a`](https://github.com/npm/cli/commit/d20ac242aeb44aa3581c65c052802a02d5eb22f3) `npm-packlist@1.1.11`: No real changes in npm-packlist, but npm-bundled included a circular dependency fix, as well as adding a proper LICENSE file. ([@isaacs](https://github.com/isaacs)) * [`e8d5f4418`](https://github.com/npm/cli/commit/e8d5f441821553a31fc8cd751670663699d2c8ce) [npm.community#632](https://npm.community/t/using-npm-ci-does-not-run-prepare-script-for-git-modules/632) `libcipm@2.0.2`: Fixes issue where `npm ci` wasn't running the `prepare` lifecycle script when installing git dependencies ([@edahlseng](https://github.com/edahlseng)) * [`a5e6f78e9`](https://github.com/npm/cli/commit/a5e6f78e916873f7d18639ebdb8abd20479615a9) `JSONStream@1.3.4`: Fixes memory leak problem when streaming large files (like legacy npm search). ([@daern91](https://github.com/daern91)) * [`3b940331d`](https://github.com/npm/cli/commit/3b940331dcccfa67f92366adb7ffd9ecf7673a9a) [npm.community#1042](https://npm.community/t/3-path-variables-are-assigned-to-child-process-launched-by-npm/1042) `npm-lifecycle@2.1.0`: Fixes issue for Windows user where multiple `Path`/`PATH` variables were being added to the environment and breaking things in all sorts of fun and interesting ways. ([@JimiC](https://github.com/JimiC)) * [`d612d2ce8`](https://github.com/npm/cli/commit/d612d2ce8fab72026f344f125539ecbf3746af9a) `npm-registry-client@8.6.0` ([@iarna](https://github.com/iarna)) * [`1f6ba1cb1`](https://github.com/npm/cli/commit/1f6ba1cb174590c1f5d2b00e2ca238dfa39d507a) `opener@1.5.0` ([@domenic](https://github.com/domenic)) * [`37b8f405f`](https://github.com/npm/cli/commit/37b8f405f35c861b7beeed56f71ad20b0bf87889) `request@2.88.0` ([@mikeal](https://github.com/mikeal)) * [`bb91a2a14`](https://github.com/npm/cli/commit/bb91a2a14562e77769057f1b6d06384be6d6bf7f) `tacks@1.2.7` ([@iarna](https://github.com/iarna)) * [`30bc9900a`](https://github.com/npm/cli/commit/30bc9900ae79c80bf0bdee0ae6372da6f668124c) `ci-info@1.4.0`: Adds support for two more CI services ([@watson](https://github.com/watson)) * [`1d2fa4ddd`](https://github.com/npm/cli/commit/1d2fa4dddcab8facfee92096cc24b299387f3182) `marked@0.5.0` ([@joshbruce](https://github.com/joshbruce)) ### DOCUMENTATION * [`08ecde292`](https://github.com/npm/cli/commit/08ecde2928f8c89a2fdaa800ae845103750b9327) [#54](https://github.com/npm/cli/pull/54) Mention registry terms of use in manpage and registry docs and update language in README for it. ([@kemitchell](https://github.com/kemitchell)) * [`de956405d`](https://github.com/npm/cli/commit/de956405d8b72354f98579d00c6dd30ac3b9bddf) [#41](https://github.com/npm/cli/pull/41) Add documentation for `--dry-run` in `install` and `pack` docs. ([@reconbot](https://github.com/reconbot)) * [`95031b90c`](https://github.com/npm/cli/commit/95031b90ce0b0c4dcd5e4eafc86e3e5bfd59fb3e) [#48](https://github.com/npm/cli/pull/48) Update republish time and lightly reorganize republish info. ([@neverett](https://github.com/neverett)) * [`767699b68`](https://github.com/npm/cli/commit/767699b6829b8b899d5479445e99b0ffc43ff92d) [#53](https://github.com/npm/cli/pull/53) Correct `npm@6.4.0` release date in changelog. ([@charmander](https://github.com/charmander)) * [`3fea3166e`](https://github.com/npm/cli/commit/3fea3166eb4f43f574fcfd9ee71a171feea2bc29) [#55](https://github.com/npm/cli/pull/55) Align command descriptions in help text. ([@erik](https://github.com/erik)) ## v6.4.0 (2018-08-09): ### NEW FEATURES * [`6e9f04b0b`](https://github.com/npm/cli/commit/6e9f04b0baed007169d4e0c341f097cf133debf7) [npm/cli#8](https://github.com/npm/cli/pull/8) Search for authentication token defined by environment variables by preventing the translation layer from env variable to npm option from breaking `:_authToken`. ([@mkhl](https://github.com/mkhl)) * [`84bfd23e7`](https://github.com/npm/cli/commit/84bfd23e7d6434d30595594723a6e1976e84b022) [npm/cli#35](https://github.com/npm/cli/pull/35) Stop filtering out non-IPv4 addresses from `local-addrs`, making npm actually use IPv6 addresses when it must. ([@valentin2105](https://github.com/valentin2105)) * [`792c8c709`](https://github.com/npm/cli/commit/792c8c709dc7a445687aa0c8cba5c50bc4ed83fd) [npm/cli#31](https://github.com/npm/cli/pull/31) configurable audit level for non-zero exit `npm audit` currently exits with exit code 1 if any vulnerabilities are found of any level. Add a flag of `--audit-level` to `npm audit` to allow it to pass if only vulnerabilities below a certain level are found. Example: `npm audit --audit-level=high` will exit with 0 if only low or moderate level vulns are detected. ([@lennym](https://github.com/lennym)) ### BUGFIXES * [`d81146181`](https://github.com/npm/cli/commit/d8114618137bb5b9a52a86711bb8dc18bfc8e60c) [npm/cli#32](https://github.com/npm/cli/pull/32) Don't check for updates to npm when we are updating npm itself. ([@olore](https://github.com/olore)) ### DEPENDENCY UPDATES A very special dependency update event! Since the [release of `node-gyp@3.8.0`](https://github.com/nodejs/node-gyp/pull/1521), an awkward version conflict that was preventing `request` from begin flattened was resolved. This means two things: 1. We've cut down the npm tarball size by another 200kb, to 4.6MB 2. `npm audit` now shows no vulnerabilities for npm itself! Thanks, [@rvagg](https://github.com/rvagg)! * [`866d776c2`](https://github.com/npm/cli/commit/866d776c27f80a71309389aaab42825b2a0916f6) `request@2.87.0` ([@simov](https://github.com/simov)) * [`f861c2b57`](https://github.com/npm/cli/commit/f861c2b579a9d4feae1653222afcefdd4f0e978f) `node-gyp@3.8.0` ([@rvagg](https://github.com/rvagg)) * [`32e6947c6`](https://github.com/npm/cli/commit/32e6947c60db865257a0ebc2f7e754fedf7a6fc9) [npm/cli#39](https://github.com/npm/cli/pull/39) `colors@1.1.2`: REVERT REVERT, newer versions of this library are broken and print ansi codes even when disabled. ([@iarna](https://github.com/iarna)) * [`beb96b92c`](https://github.com/npm/cli/commit/beb96b92caf061611e3faafc7ca10e77084ec335) `libcipm@2.0.1` ([@zkat](https://github.com/zkat)) * [`348fc91ad`](https://github.com/npm/cli/commit/348fc91ad223ff91cd7bcf233018ea1d979a2af1) `validate-npm-package-license@3.0.4`: Fixes errors with empty or string-only license fields. ([@Gudahtt](https://github.com/Gudahtt)) * [`e57d34575`](https://github.com/npm/cli/commit/e57d3457547ef464828fc6f82ae4750f3e511550) `iferr@1.0.2` ([@shesek](https://github.com/shesek)) * [`46f1c6ad4`](https://github.com/npm/cli/commit/46f1c6ad4b2fd5b0d7ec879b76b76a70a3a2595c) `tar@4.4.6` ([@isaacs](https://github.com/isaacs)) * [`50df1bf69`](https://github.com/npm/cli/commit/50df1bf691e205b9f13e0fff0d51a68772c40561) `hosted-git-info@2.7.1` ([@iarna](https://github.com/iarna)) ([@Erveon](https://github.com/Erveon)) ([@huochunpeng](https://github.com/huochunpeng)) ### DOCUMENTATION * [`af98e76ed`](https://github.com/npm/cli/commit/af98e76ed96af780b544962aa575585b3fa17b9a) [npm/cli#34](https://github.com/npm/cli/pull/34) Remove `npm publish` from list of commands not affected by `--dry-run`. ([@joebowbeer](https://github.com/joebowbeer)) * [`e2b0f0921`](https://github.com/npm/cli/commit/e2b0f092193c08c00f12a6168ad2bd9d6e16f8ce) [npm/cli#36](https://github.com/npm/cli/pull/36) Tweak formatting in repository field examples. ([@noahbenham](https://github.com/noahbenham)) * [`e2346e770`](https://github.com/npm/cli/commit/e2346e7702acccefe6d711168c2b0e0e272e194a) [npm/cli#14](https://github.com/npm/cli/pull/14) Used `process.env` examples to make accessing certain `npm run-scripts` environment variables more clear. ([@mwarger](https://github.com/mwarger)) ## v6.3.0 (2018-08-01): This is basically the same as the prerelease, but two dependencies have been bumped due to bugs that had been around for a while. * [`0a22be42e`](https://github.com/npm/cli/commit/0a22be42eb0d40cd0bd87e68c9e28fc9d72c0e19) `figgy-pudding@3.2.0` ([@zkat](https://github.com/zkat)) * [`0096f6997`](https://github.com/npm/cli/commit/0096f69978d2f40b170b28096f269b0b0008a692) `cacache@11.1.0` ([@zkat](https://github.com/zkat)) ## v6.3.0-next.0 (2018-07-25): ### NEW FEATURES * [`ad0dd226f`](https://github.com/npm/cli/commit/ad0dd226fb97a33dcf41787ae7ff282803fb66f2) [npm/cli#26](https://github.com/npm/cli/pull/26) `npm version` now supports a `--preid` option to specify the preid for prereleases. For example, `npm version premajor --preid rc` will tag a version like `2.0.0-rc.0`. ([@dwilches](https://github.com/dwilches)) ### MESSAGING IMPROVEMENTS * [`c1dad1e99`](https://github.com/npm/cli/commit/c1dad1e994827f2eab7a13c0f6454f4e4c22ebc2) [npm/cli#6](https://github.com/npm/cli/pull/6) Make `npm audit fix` message provide better instructions for vulnerabilities that require manual review. ([@bradsk88](https://github.com/bradsk88)) * [`15c1130fe`](https://github.com/npm/cli/commit/15c1130fe81961706667d845aad7a5a1f70369f3) Fix missing colon next to tarball url in new `npm view` output. ([@zkat](https://github.com/zkat)) * [`21cf0ab68`](https://github.com/npm/cli/commit/21cf0ab68cf528d5244ae664133ef400bdcfbdb6) [npm/cli#24](https://github.com/npm/cli/pull/24) Use the default OTP explanation everywhere except when the context is "OTP-aware" (like when setting double-authentication). This improves the overall CLI messaging when prompting for an OTP code. ([@jdeniau](https://github.com/jdeniau)) ### MISC * [`a9ac8712d`](https://github.com/npm/cli/commit/a9ac8712dfafcb31a4e3deca24ddb92ff75e942d) [npm/cli#21](https://github.com/npm/cli/pull/21) Use the extracted `stringify-package` package. ([@dpogue](https://github.com/dpogue)) * [`9db15408c`](https://github.com/npm/cli/commit/9db15408c60be788667cafc787116555507dc433) [npm/cli#27](https://github.com/npm/cli/pull/27) `wrappy` was previously added to dependencies in order to flatten it, but we no longer do legacy-style for npm itself, so it has been removed from `package.json`. ([@rickschubert](https://github.com/rickschubert)) ### DOCUMENTATION * [`3242baf08`](https://github.com/npm/cli/commit/3242baf0880d1cdc0e20b546d3c1da952e474444) [npm/cli#13](https://github.com/npm/cli/pull/13) Update more dead links in README.md. ([@u32i64](https://github.com/u32i64)) * [`06580877b`](https://github.com/npm/cli/commit/06580877b6023643ec780c19d84fbe120fe5425c) [npm/cli#19](https://github.com/npm/cli/pull/19) Update links in docs' `index.html` to refer to new bug/PR URLs. ([@watilde](https://github.com/watilde)) * [`ca03013c2`](https://github.com/npm/cli/commit/ca03013c23ff38e12902e9569a61265c2d613738) [npm/cli#15](https://github.com/npm/cli/pull/15) Fix some typos in file-specifiers docs. ([@Mstrodl](https://github.com/Mstrodl)) * [`4f39f79bc`](https://github.com/npm/cli/commit/4f39f79bcacef11bf2f98d09730bc94d0379789b) [npm/cli#16](https://github.com/npm/cli/pull/16) Fix some typos in file-specifiers and package-lock docs. ([@watilde](https://github.com/watilde)) * [`35e51f79d`](https://github.com/npm/cli/commit/35e51f79d1a285964aad44f550811aa9f9a72cd8) [npm/cli#18](https://github.com/npm/cli/pull/18) Update build status badge url in README. ([@watilde](https://github.com/watilde)) * [`a67db5607`](https://github.com/npm/cli/commit/a67db5607ba2052b4ea44f66657f98b758fb4786) [npm/cli#17](https://github.com/npm/cli/pull/17/) Replace TROUBLESHOOTING.md with [posts in npm.community](https://npm.community/c/support/troubleshooting). ([@watilde](https://github.com/watilde)) * [`e115f9de6`](https://github.com/npm/cli/commit/e115f9de65bf53711266152fc715a5012f7d3462) [npm/cli#7](https://github.com/npm/cli/pull/7) Use https URLs in documentation when appropriate. Happy [Not Secure Day](https://arstechnica.com/gadgets/2018/07/todays-the-day-that-chrome-brands-plain-old-http-as-not-secure/)! ([@XhmikosR](https://github.com/XhmikosR)) ## v6.2.0 (2018-07-13): In case you missed it, [we moved!](https://blog.npmjs.org/post/175587538995/announcing-npmcommunity). We look forward to seeing future PRs landing in [npm/cli](https://github.com/npm/cli) in the future, and we'll be chatting with you all in [npm.community](https://npm.community). Go check it out! This final release of `npm@6.2.0` includes a couple of features that weren't quite ready on time but that we'd still like to include. Enjoy! ### FEATURES * [`244b18380`](https://github.com/npm/npm/commit/244b18380ee55950b13c293722771130dbad70de) [#20554](https://github.com/npm/npm/pull/20554) Add support for tab-separated output for `npm audit` data with the `--parseable` flag. ([@luislobo](https://github.com/luislobo)) * [`7984206e2`](https://github.com/npm/npm/commit/7984206e2f41b8d8361229cde88d68f0c96ed0b8) [#12697](https://github.com/npm/npm/pull/12697) Add new `sign-git-commit` config to control whether the git commit itself gets signed, or just the tag (which is the default). ([@tribou](https://github.com/tribou)) ### FIXES * [`4c32413a5`](https://github.com/npm/npm/commit/4c32413a5b42e18a34afb078cf00eed60f08e4ff) [#19418](https://github.com/npm/npm/pull/19418) Do not use `SET` to fetch the env in git-bash or Cygwin. ([@gucong3000](https://github.com/gucong3000)) ### DEPENDENCY BUMPS * [`d9b2712a6`](https://github.com/npm/npm/commit/d9b2712a670e5e78334e83f89a5ed49616f1f3d3) `request@2.81.0`: Downgraded to allow better deduplication. This does introduce a bunch of `hoek`-related audit reports, but they don't affect npm itself so we consider it safe. We'll upgrade `request` again once `node-gyp` unpins it. ([@simov](https://github.com/simov)) * [`2ac48f863`](https://github.com/npm/npm/commit/2ac48f863f90166b2bbf2021ed4cc04343d2503c) `node-gyp@3.7.0` ([@MylesBorins](https://github.com/MylesBorins)) * [`8dc6d7640`](https://github.com/npm/npm/commit/8dc6d76408f83ba35bda77a2ac1bdbde01937349) `cli-table3@0.5.0`: `cli-table2` is unmaintained and required `lodash`. With this dependency bump, we've removed `lodash` from our tree, which cut back tarball size by another 300kb. ([@Turbo87](https://github.com/Turbo87)) * [`90c759fee`](https://github.com/npm/npm/commit/90c759fee6055cf61cf6709432a5e6eae6278096) `npm-audit-report@1.3.1` ([@zkat](https://github.com/zkat)) * [`4231a0a1e`](https://github.com/npm/npm/commit/4231a0a1eb2be13931c3b71eba38c0709644302c) Add `cli-table3` to bundleDeps. ([@iarna](https://github.com/iarna)) * [`322d9c2f1`](https://github.com/npm/npm/commit/322d9c2f107fd82a4cbe2f9d7774cea5fbf41b8d) Make `standard` happy. ([@iarna](https://github.com/iarna)) ### DOCS * [`5724983ea`](https://github.com/npm/npm/commit/5724983ea8f153fb122f9c0ccab6094a26dfc631) [#21165](https://github.com/npm/npm/pull/21165) Fix some markdown formatting in npm-disputes.md. ([@hchiam](https://github.com/hchiam)) * [`738178315`](https://github.com/npm/npm/commit/738178315fe48e463028657ea7ae541c3d63d171) [#20920](https://github.com/npm/npm/pull/20920) Explicitly state that republishing an unpublished package requires a 72h waiting period. ([@gmattie](https://github.com/gmattie)) * [`f0a372b07`](https://github.com/npm/npm/commit/f0a372b074cc43ee0e1be28dbbcef0d556b3b36c) Replace references to the old repo or issue tracker. We're at npm/cli now! ([@zkat](https://github.com/zkat)) ## v6.2.0-next.1 (2018-07-05): This is a quick patch to the release to fix an issue that was preventing users from installing `npm@next`. * [`ecdcbd745`](https://github.com/npm/npm/commit/ecdcbd745ae1edd9bdd102dc3845a7bc76e1c5fb) [#21129](https://github.com/npm/npm/pull/21129) Remove postinstall script that depended on source files, thus preventing `npm@next` from being installable from the registry. ([@zkat](https://github.com/zkat)) ## v6.2.0-next.0 (2018-06-28): ### NEW FEATURES * [`ce0793358`](https://github.com/npm/npm/commit/ce07933588ec2da1cc1980f93bdaa485d6028ae2) [#20750](https://github.com/npm/npm/pull/20750) You can now disable the update notifier entirely by using `--no-update-notifier` or setting it in your config with `npm config set update-notifier false`. ([@travi](https://github.com/travi)) * [`d2ad776f6`](https://github.com/npm/npm/commit/d2ad776f6dcd92ae3937465736dcbca171131343) [#20879](https://github.com/npm/npm/pull/20879) When `npm run-script