Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2013-05-25 01:33:32 +0400
committerisaacs <i@izs.me>2013-05-25 01:33:32 +0400
commit0bf51de5a80aa9c05970adf3d514027d756c8b9a (patch)
tree56fbd53a2e841204e6e99b21adc8259dcbd7e083 /node_modules
parentcf9c074ad86d84fa807bf5956497ed4e53eba320 (diff)
npm-registry-client@0.2.24
Diffstat (limited to 'node_modules')
-rw-r--r--node_modules/npm-registry-client/lib/request.js5
-rw-r--r--node_modules/npm-registry-client/package.json10
2 files changed, 7 insertions, 8 deletions
diff --git a/node_modules/npm-registry-client/lib/request.js b/node_modules/npm-registry-client/lib/request.js
index 49e7a19d7..9b72bc457 100644
--- a/node_modules/npm-registry-client/lib/request.js
+++ b/node_modules/npm-registry-client/lib/request.js
@@ -222,7 +222,10 @@ function requestDone (method, where, cb) {
return function (er, response, data) {
if (er) return cb(er)
- this.log.http(response.statusCode, url.parse(where).href)
+ var urlObj = url.parse(where)
+ if (urlObj.auth)
+ urlObj.auth = '***'
+ this.log.http(response.statusCode, url.format(urlObj))
var parsed
diff --git a/node_modules/npm-registry-client/package.json b/node_modules/npm-registry-client/package.json
index eb2fac925..8a62919c5 100644
--- a/node_modules/npm-registry-client/package.json
+++ b/node_modules/npm-registry-client/package.json
@@ -6,7 +6,7 @@
},
"name": "npm-registry-client",
"description": "Client for the npm registry",
- "version": "0.2.23",
+ "version": "0.2.24",
"repository": {
"url": "git://github.com/isaacs/npm-registry-client"
},
@@ -38,10 +38,6 @@
"bugs": {
"url": "https://github.com/isaacs/npm-registry-client/issues"
},
- "_id": "npm-registry-client@0.2.23",
- "dist": {
- "shasum": "a320ab2b1d048b4f7b88e40bd86974ca322b4c24"
- },
- "_from": "npm-registry-client@0.2.23",
- "_resolved": "https://registry.npmjs.org/npm-registry-client/-/npm-registry-client-0.2.23.tgz"
+ "_id": "npm-registry-client@0.2.24",
+ "_from": "npm-registry-client@~0.2.22"
}