Comparing version
@@ -7,2 +7,3 @@ 'use strict'; | ||
const Boom = require('boom'); | ||
const Hoek = require('hoek'); | ||
@@ -72,3 +73,3 @@ | ||
return exports.isError(err) && !!err.isBoom; | ||
return Boom.isBoom(err); | ||
}; | ||
@@ -75,0 +76,0 @@ |
{ | ||
"name": "bounce", | ||
"description": "Selective error catching and rewrite rules", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"repository": "git://github.com/hapijs/bounce", | ||
@@ -15,6 +15,6 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"boom": "7.x.x", | ||
"hoek": "5.x.x" | ||
}, | ||
"devDependencies": { | ||
"boom": "6.x.x", | ||
"code": "5.x.x", | ||
@@ -21,0 +21,0 @@ "lab": "15.x.x" |
@@ -0,0 +0,0 @@ # bounce |
2
-33.33%379
0.26%18415
-0.59%2
100%19842
-0.03%+ Added
+ Added
+ Added