Comparing version 7.0.4 to 7.0.5
{ | ||
"name": "bent", | ||
"version": "7.0.4", | ||
"version": "7.0.5", | ||
"description": "Functional HTTP client for Node.js w/ async/await.", | ||
@@ -9,4 +9,4 @@ "main": "src/nodejs.js", | ||
"lint": "standard", | ||
"test:node": "mocha tests/test-*.js", | ||
"test:browser": "polendina --cleanup --service-worker --worker tests/test-*.js", | ||
"test:node": "hundreds mocha test/test-*.js", | ||
"test:browser": "polendina --cleanup --service-worker --worker test/test-*.js", | ||
"test": "npm run lint && npm run test:node && npm run test:browser" | ||
@@ -13,0 +13,0 @@ }, |
@@ -9,3 +9,6 @@ 'use strict' | ||
Error.captureStackTrace(this, StatusError) | ||
if (Error.captureStackTrace) { | ||
Error.captureStackTrace(this, StatusError) | ||
} | ||
this.message = `Incorrect statusCode: ${res.status}` | ||
@@ -12,0 +15,0 @@ this.statusCode = res.status |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
19418
476