Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

heavy

Package Overview
Dependencies
Maintainers
5
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

heavy - npm Package Compare versions

Comparing version 5.0.2 to 6.0.0

10

lib/index.js

@@ -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;
};

8

package.json
{
"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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc