npm-registry-client
Advanced tools
Comparing version 3.1.1 to 3.1.2
@@ -29,3 +29,3 @@ var assert = require("assert") | ||
req.on("response", function (res) { | ||
client.log.http("fetch", res.statusCode, uri) | ||
client.log.http("fetch", "" + res.statusCode, uri) | ||
@@ -32,0 +32,0 @@ // Only retry on 408, 5xx or no `response`. |
@@ -105,4 +105,8 @@ var assert = require("assert") | ||
} | ||
if (response) | ||
self.log.verbose("headers", response.headers) | ||
if (response) { | ||
this.log.verbose("headers", response.headers) | ||
if (response.headers["npm-notice"]) { | ||
this.log.warn("notice", response.headers["npm-notice"]) | ||
} | ||
} | ||
cb.apply(null, arguments) | ||
@@ -109,0 +113,0 @@ }) |
@@ -5,3 +5,3 @@ { | ||
"description": "Client for the npm registry", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "url": "git://github.com/isaacs/npm-registry-client" |
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
254116
2411