Comparing version 5.0.2 to 6.0.0
@@ -88,3 +88,3 @@ 'use strict'; | ||
if (!this.settings.sampleInterval) { | ||
return null; | ||
return; | ||
} | ||
@@ -104,3 +104,3 @@ | ||
return Boom.serverUnavailable('Server under heavy load (event loop)', load); | ||
throw Boom.serverUnavailable('Server under heavy load (event loop)', load); | ||
} | ||
@@ -111,3 +111,3 @@ | ||
return Boom.serverUnavailable('Server under heavy load (heap)', load); | ||
throw Boom.serverUnavailable('Server under heavy load (heap)', load); | ||
} | ||
@@ -118,6 +118,4 @@ | ||
return Boom.serverUnavailable('Server under heavy load (rss)', load); | ||
throw Boom.serverUnavailable('Server under heavy load (rss)', load); | ||
} | ||
return null; | ||
}; |
{ | ||
"name": "heavy", | ||
"description": "Measure process load", | ||
"version": "5.0.2", | ||
"version": "6.0.0", | ||
"repository": "git://github.com/hapijs/heavy", | ||
@@ -15,6 +15,6 @@ "main": "lib/index.js", | ||
"engines": { | ||
"node": ">=8.0.0" | ||
"node": ">=8.9.0" | ||
}, | ||
"dependencies": { | ||
"boom": "6.x.x", | ||
"boom": "7.x.x", | ||
"hoek": "5.x.x", | ||
@@ -25,3 +25,3 @@ "joi": "13.x.x" | ||
"code": "5.x.x", | ||
"lab": "14.x.x" | ||
"lab": "15.x.x" | ||
}, | ||
@@ -28,0 +28,0 @@ "scripts": { |
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
5796
77
+ Addedboom@7.3.0(transitive)
- Removedboom@6.0.0(transitive)
Updatedboom@7.x.x