client-request
Advanced tools
Comparing version 1.2.1 to 1.2.2
{ | ||
"name": "client-request", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A zero-dependency stripped-down http client request module based on the http://npm.im/request API", | ||
@@ -5,0 +5,0 @@ "main": "request.js", |
@@ -10,3 +10,3 @@ const request = require('./request') | ||
reject(err) | ||
} else if (response.statusCode !== 200) { | ||
} else if (response.statusCode >= 400) { | ||
err = new Error('Status code ' + response.statusCode) | ||
@@ -13,0 +13,0 @@ err.response = response |
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
12831