Comparing version 14.0.0 to 14.0.1
@@ -586,3 +586,2 @@ 'use strict'; | ||
const err = new Error(`Response Error: ${res.statusCode} ${res.statusMessage}`); | ||
const data = { | ||
@@ -595,3 +594,3 @@ isResponseError: true, | ||
throw Boom.create(res.statusCode, err, data); | ||
throw Boom(`Response Error: ${res.statusCode} ${res.statusMessage}`, { statusCode: res.statusCode, data }); | ||
}; | ||
@@ -598,0 +597,0 @@ |
{ | ||
"name": "wreck", | ||
"description": "HTTP Client Utilities", | ||
"version": "14.0.0", | ||
"version": "14.0.1", | ||
"repository": "git://github.com/hapijs/wreck", | ||
@@ -13,6 +13,6 @@ "main": "lib/index", | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=8.9.0" | ||
}, | ||
"dependencies": { | ||
"boom": "6.x.x", | ||
"boom": "7.x.x", | ||
"hoek": "5.x.x" | ||
@@ -23,3 +23,3 @@ }, | ||
"eslint-plugin-markdown": "1.0.0-beta.6", | ||
"lab": "14.x.x" | ||
"lab": "15.x.x" | ||
}, | ||
@@ -26,0 +26,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
40709
497
+ Addedboom@7.3.0(transitive)
+ Addedhoek@6.1.3(transitive)
- Removedboom@6.0.0(transitive)
Updatedboom@7.x.x