Comparing version 1.0.0 to 1.0.1
@@ -45,3 +45,3 @@ 'use strict'; | ||
if (res.statusCode !== 200) { | ||
if (res.statusCode < 200 || res.statusCode > 299) { | ||
res.destroy(); | ||
@@ -48,0 +48,0 @@ cb(res.statusCode); |
{ | ||
"name": "got", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simplified HTTP/HTTPS requests", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
3312