npm-registry-fetch
Advanced tools
Comparing version 3.3.0 to 3.4.0
@@ -12,2 +12,5 @@ 'use strict' | ||
const regKey = registry && registryKey(registry) | ||
if (opts.forceAuth) { | ||
opts = opts.forceAuth | ||
} | ||
const doKey = (key, alias) => addKey(opts, AUTH, regKey, key, alias) | ||
@@ -14,0 +17,0 @@ doKey('token') |
@@ -5,2 +5,17 @@ # Change Log | ||
<a name="3.4.0"></a> | ||
# [3.4.0](https://github.com/npm/registry-fetch/compare/v3.3.0...v3.4.0) (2018-08-22) | ||
### Bug Fixes | ||
* **deps:** use new figgy-pudding with aliases fix ([0308f54](https://github.com/npm/registry-fetch/commit/0308f54)) | ||
### Features | ||
* **auth:** add forceAuth option to force a specific auth mechanism ([4524d17](https://github.com/npm/registry-fetch/commit/4524d17)) | ||
<a name="3.3.0"></a> | ||
@@ -7,0 +22,0 @@ # [3.3.0](https://github.com/npm/registry-fetch/compare/v3.2.1...v3.3.0) (2018-08-21) |
@@ -20,2 +20,4 @@ 'use strict' | ||
'fetch-retry-mintimeout': {}, | ||
'force-auth': {}, | ||
forceAuth: 'force-auth', | ||
'gid': {}, | ||
@@ -22,0 +24,0 @@ 'gzip': {}, |
{ | ||
"name": "npm-registry-fetch", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"description": "Fetch-based http client for use with npm registry APIs", | ||
@@ -33,3 +33,3 @@ "main": "index.js", | ||
"bluebird": "^3.5.1", | ||
"figgy-pudding": "^3.2.0", | ||
"figgy-pudding": "^3.4.1", | ||
"lru-cache": "^4.1.3", | ||
@@ -36,0 +36,0 @@ "make-fetch-happen": "^4.0.1", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37490
470
Updatedfiggy-pudding@^3.4.1