npm 6.6.0
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 in favor of the shiny, new, window.fetch-like 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.
--otpis no longer required fordist-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
libnpmfor 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 orgcommand for managing users in your org. pacotenow consumes npm-style configurations, instead of its own naming for various config vars. This will make it easier to load npm configs usinglibnpm.configand hand them directly topacote.
There's too many commits to list all of them here, so check out the PR if you're curious about details:
c5af34c05npm-registry-client@REMOVED (@zkat)4cca9cb90ad67461dc77625f9e26e922aefb584613ea864de4ebf06cd87d1a92786834c0514558e09dec07ebe308474191345aff0e02846ddcc448971ba1b999156e081ab2155306b37a66542d2af0777ae0b4c6880ff72350b46ed94330390a069e7db24ed5fdcec9fcc14f8a56fa39e41d19e18f125ff95511c3b226ff3c0a7b06b08fcb3f0fc8135d97aae936f22c#2
NEW FEATURES
02c837e01#106 Makenpm dist-tagsthe same asnpm dist-tag ls. (@isaacs)1065a7809#65 Add support forIBM i. (@dmabupt)a22e6f5fc#131 Update profile to support new npm-profile API. (@zkat)
BUGFIXES
890a74458npm.community#3278 Fix support for passing git binary path config with--git. (@larsgw)90e55a143npm.community#2713 Check fornpm.config's existence inerror-handler.jsto prevent weird errors when failures happen before config object is loaded. (@BeniCheni)134207174npm.community#2569 Fix checking for optional dependencies. (@larsgw)7a2f6b05dnpm.community#4172 Remove tink experiments. (@larsgw)c5b6056b6#123 Handle git branch references correctly. (@johanneswuerbach)f58b43ef2npm.community#3983 Report any errors above 400 as potentially not supporting audit. (@zkat)a5c9e6f35#124 Set default homepage to an empty string. (@anchnk)5d076351dnpm.community#4054 Fix npm-prefix description. (@larsgw)
DOCS
31a7274b7#71 Fix typo in npm-token documentation. (@GeorgeTaveras1231)2401b7592Correct docs for fake-registry interface. (@iarna)
DEPENDENCIES
9cefcdc1dnpm-registry-fetch@3.8.0(@zkat)1c769c9b3pacote@9.1.0(@zkat)f3bc5539bfiggy-pudding@3.5.1(@zkat)bf7199d3cnpm-profile@4.0.1(@zkat)118c50496semver@5.5.1(@isaacs)eab4df925libcipm@3.0.2(@zkat)b86e51573libnpm@1.4.0(@zkat)56fffbff2get-stream@4.1.0(@zkat)df972e948npm-profile@REMOVED (@zkat)32c73bf0elibnpm@2.0.1(@zkat)569491b80licensee@5.0.0(@zkat)a3ba0ccf1move rimraf to prod deps (@zkat)f63a0d6cfspdx-license-ids@3.0.3(@zkat)f350e714faproba@2.0.0(@aeschright)a67e4d8b2byte-size@5.0.1(@aeschright)8bea4efa3cacache@11.3.2(@aeschright)9d4776836chownr@1.1.1(@aeschright)70da139e9ci-info@2.0.0(@aeschright)bcdeddcc3cli-table3@0.5.1(@aeschright)63aab82c7is-cidr@3.0.0(@aeschright)d522bd90cJSONStream@1.3.5(@aeschright)2a59bfc79libnpmhook@5.0.2(@aeschright)66d60e394marked@0.6.0(@aeschright)8213def9anpm-packlist@1.2.0(@aeschright)e4ffc6a2bunique-filename@1.1.1(@aeschright)09a5c2fabsemver@5.6.0(@aeschright)740e79e17rimraf@2.6.3(@aeschright)455476c8drequire-inject@1.4.4(@aeschright)3f40251c5npm-pick-manifest@2.2.3(@aeschright)4ffa8a8e9query-string@6.2.0(@aeschright)a0a0ca9ecpacote@9.3.0(@aeschright)5777ea8adreadable-stream@3.1.1(@aeschright)887e94386lru-cache@4.1.5(@aeschright)41f15524cUpdating semver docs. (@aeschright)fb3bbb72dnpm-audit-report@1.3.2(@melkikh)
TESTING
f1edffba9Modernize maketest script. (@iarna)ae263473dmaketest: Use promise based example common.npm call. (@iarna)d9970da5emaketest: Use newEnv for env production. (@iarna)
MISCELLANEOUS
c665f35aa#119 Replace var with const/let in lib/repo.js. (@watilde)46639ba9fUpdate package-lock.json for https tarball URLs (@aeschright)