17.1.0 (2024-06-12)
9a3e7e8
#246 remove minipass-json-stream089d0f9
#246 add[email protected]
920a3d8
#241 bump @npmcli/template-oss to 4.22.0 (@lukekarrys)17a1013
#241 postinstall for dependabot template-oss PR (@lukekarrys)
17.0.1 (2024-05-02)
45cef0a
#239 allow HttpErrorBase to take headers object (@lukekarrys, @wraithgar)45cef0a
#239 make ErrorBase always capture stack trace (#239) (@lukekarrys, @wraithgar)
17.0.0 (2024-04-30)
- remove undcoumented cleanUrl export (#234)
7cc481b
#238@npmcli/[email protected]
bdc9039
#238 fix linting in test files (@wraithgar)ceaf77e
#236 postinstall for dependabot template-oss PR (@lukekarrys)377d981
#236 bump @npmcli/template-oss from 4.21.3 to 4.21.4 (@dependabot[bot])
16.2.1 (2024-04-12)
7a18f69
#232[email protected]
(#232)
16.2.0 (2024-04-03)
e58e8bc
#225 postinstall for dependabot template-oss PR (@lukekarrys)ac8ae30
#225 bump @npmcli/template-oss from 4.21.1 to 4.21.3 (@dependabot[bot])8fc28d0
#222 postinstall for dependabot template-oss PR (@lukekarrys)b7c4309
#222 bump @npmcli/template-oss from 4.19.0 to 4.21.1 (@dependabot[bot])
16.1.0 (2023-10-10)
84823a5
#212 include regKey and authKey in auth object (@wraithgar)92ec0da
#212 add getAuth to main exports (@wraithgar)
16.0.0 (2023-08-15)
- support for node <=16.13 has been removed
c859195
#197 bump npm-package-arg from 10.1.0 to 11.0.0c1d490d
#198 bump make-fetch-happen from 12.0.0 to 13.0.0
15.0.0 (2023-07-28)
- the underlying fetch module now uses
@npmcli/agent
. Backwards compatibility should be fully implemented but due to the scope of this change it was made a breaking change out of an abundance of caution. - support for node 14 has been removed
a97564f
#195 bump make-fetch-happen from 11.1.1 to 12.0.0 (#195)e154d49
#191 bump minipass from 5.0.0 to 7.0.2
14.0.5 (2023-04-27)
14.0.4 (2023-04-13)
14.0.3 (2022-12-07)
14.0.2 (2022-10-18)
14.0.1 (2022-10-17)
14.0.0 (2022-10-13)
- this module no longer attempts to change file ownership automatically
npm-registry-fetch
is now compatible with the following semver range for node:^14.17.0 || ^16.13.0 || >=18.0.0
13.3.1 (2022-08-15)
- linting (c9a8727)
13.3.0 (2022-07-18)
13.2.0 (2022-06-29)
13.1.1 (2022-04-13)
13.1.0 (2022-03-22)
- update make-fetch-happen requirement from ^10.0.3 to ^10.0.4 (#96) (38d9782)
- update make-fetch-happen requirement from ^10.0.4 to ^10.0.6 (#101) (1d2f3ed)
- update minipass-fetch requirement from ^2.0.1 to ^2.0.2 (#95) (d8c3180)
- update minipass-fetch requirement from ^2.0.2 to ^2.0.3 (#99) (3e08986)
- update npm-package-arg requirement from ^9.0.0 to ^9.0.1 (#102) (a6192b4)
13.0.1 (2022-03-02)
- bump minipass-fetch from 1.4.1 to 2.0.1 (#92) (33d0ecd)
- update make-fetch-happen requirement from ^10.0.2 to ^10.0.3 (ee38552)
13.0.0 (2022-02-14)
- this drops support for passing in a
log
property. All logs are now emitted on the process object viaproc-log
- bump npm-package-arg from 8.1.5 to 9.0.0 (0b41730)
- update make-fetch-happen requirement from ^10.0.1 to ^10.0.2 (6644733)
12.0.2 (2022-02-09)
- consistent use of url.URL (847e5f9)
- update make-fetch-happen requirement from ^10.0.0 to ^10.0.1 (d1a2a7f)
- update minipass requirement from ^3.1.3 to ^3.1.6 (caa4309)
- update minipass-fetch requirement from ^1.3.0 to ^1.4.1 (52f2ca9)
- update minizlib requirement from ^2.0.0 to ^2.1.2 (9258e8a)
- update npm-package-arg requirement from ^8.0.0 to ^8.1.5 (131ab16)
- rename token to _authToken (d615b4e)
12.0.1 (2022-01-25)
- @npmcli/[email protected] (cc4cc11)
- [email protected] (6926dd1)
12.0.0 (2021-11-23)
- feat(opts): use scope instead of projectScope
- drop support for node10 and non-LTS versions of node12 and node14
- remove handling of deprecated warning headers (#53)
- better cache status (#54)
- docs: fix header typo for npm-command (#51)
- fix(docs): update registry param (#52)
- fix: get auth token correct when login with sso
- Send auth when hostname matches registry, and reg has auth
- feat(auth): set basicAuth (#45)
- feat(auth) load/send based on URI, not registry
- feat(otp): Adds opts.otpPrompt to provide an OTP on demand
- fix(config): remove isFromCI and npm-is-ci
- Remove publishConfig option
8.1.5 (2020-10-12)
8.1.4 (2020-08-17)
- redact passwords from http logs (3c294eb)
8.1.3 (2020-07-21)
8.1.2 (2020-07-11)
8.1.1 (2020-06-30)
8.1.0 (2020-05-20)
- add npm-command HTTP header (1bb4eb2)
8.0.3 (2020-05-13)
8.0.2 (2020-05-04)
- update make-fetch-happen to 8.0.6 (226df2c)
8.0.0 (2020-02-24)
- Removes the 'opts.refer' option and the HTTP Referer header (unless explicitly added to the 'headers' option, of course).
PR-URL: #25 Credit: @isaacs
7.0.1 (2020-02-24)
7.0.0 (2020-02-18)
- figgy pudding is now nowhere to be found.
- this removes figgy-pudding, and drops several option aliases.
Defaults and behavior are all the same, and this module is now using the canonical camelCase option names that npm v7 will provide to all its deps.
Related to: npm/rfcs#102
PR-URL: #22 Credit: @isaacs
-
Remove figgy-pudding, use canonical option names (ede3c08), closes #22
-
update cacache, ssri, make-fetch-happen (57fcc88)
6.0.2 (2020-02-14)
- always bypass cache when ?write=true (83f89f3)
6.0.1 (2020-02-14)
6.0.0 (2019-12-17)
- This drops support for node < 10.
There are some lint failures due to standard pushing for using WhatWG URL objects instead of url.parse/url.resolve. However, the code in this lib does some fancy things with the query/search portions of the parsed url object, so it'll take a bit of care to make it work properly.
-
detect CI so our tests don't fail in CI (5813da6)
-
Use WhatWG URLs instead of url.parse (8ccfa8a)
-
normalize settings, drop old nodes, update deps (510b125)
5.0.1 (2019-11-11)
5.0.0 (2019-10-04)
- refactor to use Minipass streams (bb37f20)
- this replaces all core streams (except for some PassThrough streams in a few tests) with Minipass streams, and updates all deps to the latest and greatest Minipass versions of things.
4.0.2 (2019-10-04)
- Add null check on body on 401 errors (e3a0186), closes #9
- deps: Add explicit dependency on safe-buffer (8eae5f0), closes npm/libnpmaccess#2 #3
4.0.0 (2019-07-15)
- [email protected], infer uid from cache folder (0c4f060)
- uid and gid are inferred from cache folder, rather than being passed in as options.
3.9.1 (2019-07-02)
3.9.0 (2019-01-24)
- auth: support username:password encoded legacy _auth (a91f90c)
3.8.0 (2018-08-23)
- mapJson: add support for passing in json stream mapper (0600986)
3.7.0 (2018-08-23)
- json.stream: add utility function for streamed JSON parsing (051d969)
3.6.0 (2018-08-22)
- docs: document opts.forceAuth (40bcd65)
- opts.ignoreBody: add a boolean to throw away response bodies (6923702)
3.5.0 (2018-08-22)
- pkgid: heuristic pkgid calculation for errors (2e789a5)
3.4.0 (2018-08-22)
- deps: use new figgy-pudding with aliases fix (0308f54)
- auth: add forceAuth option to force a specific auth mechanism (4524d17)
3.3.0 (2018-08-21)
- query: stop including undefined keys (4718b1b)
- otp: use heuristic detection for malformed EOTP responses (f035194)
3.2.1 (2018-08-16)
- opts: pass through non-null opts.retry (beba040)
3.2.0 (2018-07-27)
- gzip: add opts.gzip convenience opt (340abe0)
3.1.1 (2018-04-09)
3.1.0 (2018-04-09)
- config: support no-proxy and https-proxy options (9aa906b)
3.0.0 (2018-04-09)
- config: opts.config is no longer supported. Pass the options down in opts itself.
2.1.0 (2018-04-08)
- token: accept opts.token for opts._authToken (108c9f0)
2.0.0 (2018-04-08)
- drop support for node@4 (758536e)
- node@4 is no longer supported
1.1.1 (2018-04-06)
1.1.0 (2018-03-16)
- specs: can use opts.spec to trigger pickManifest (85c4ac9)
1.0.1 (2018-03-16)
- query: oops console.log (870e4f5)