process-reporter
Advanced tools
Comparing version 1.1.2 to 1.1.3
10
index.js
@@ -5,4 +5,4 @@ 'use strict'; | ||
var process = require('process'); | ||
var toobusy = require('toobusy'); | ||
var assert = require('assert'); | ||
var _toobusy; | ||
@@ -76,2 +76,6 @@ module.exports = ProcessReporter; | ||
if (!_toobusy) { | ||
_toobusy = require('toobusy'); | ||
} | ||
self.handleTimer = self.timers.setTimeout(onHandle, self.handleInterval); | ||
@@ -115,3 +119,3 @@ self.requestTimer = | ||
toobusy.shutdown(); | ||
_toobusy.shutdown(); | ||
}; | ||
@@ -161,4 +165,4 @@ | ||
self.prefix + 'process-reporter.lag-sampler', | ||
toobusy.lag() | ||
_toobusy.lag() | ||
); | ||
}; |
{ | ||
"name": "process-reporter", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"description": "process reporter", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
10077
213
1