npm-registry-client
Advanced tools
Comparing version 8.0.2 to 8.1.0
@@ -119,6 +119,8 @@ module.exports = regRequest | ||
var useCorgi = params.fullMetadata == null ? false : !params.fullMetadata | ||
var opts = this.initialize( | ||
parsed, | ||
params.method, | ||
'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*', | ||
useCorgi ? 'application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*' : 'application/json', | ||
headers | ||
@@ -125,0 +127,0 @@ ) |
@@ -5,3 +5,3 @@ { | ||
"description": "Client for the npm registry", | ||
"version": "8.0.2", | ||
"version": "8.1.0", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "https://github.com/npm/npm-registry-client.git" |
@@ -180,2 +180,4 @@ # npm-registry-client | ||
* `auth` {Credentials} Optional. | ||
* `fullMetadata` {Boolean} If true, don't attempt to fetch filtered | ||
("corgi") registry metadata. (default: false) | ||
* `cb` {Function} | ||
@@ -182,0 +184,0 @@ |
1492
358
66727
28