🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

bare-process

Package Overview
Dependencies
Maintainers
2
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-process - npm Package Compare versions

Comparing version
4.1.2
to
4.2.0
+2
-0
index.d.ts

@@ -61,2 +61,4 @@ import EventEmitter, { EventMap } from 'bare-events'

uptime(): number
cpuUsage: typeof cpuUsage

@@ -63,0 +65,0 @@ threadCpuUsage: typeof threadCpuUsage

@@ -18,2 +18,4 @@ /* global Bare */

this._startTime = hrtime.bigint()
EventEmitter.forward(Bare, this, [

@@ -147,2 +149,6 @@ 'uncaughtException',

uptime() {
return Number(hrtime.bigint() - this._startTime) / 1e9
}
cpuUsage(previous) {

@@ -149,0 +155,0 @@ return os.cpuUsage(previous)

+2
-2
{
"name": "bare-process",
"version": "4.1.2",
"version": "4.2.0",
"description": "Node.js-compatible process control for Bare",

@@ -23,3 +23,3 @@ "exports": {

"scripts": {
"test": "prettier . --check"
"test": "prettier . --check && bare test.js"
},

@@ -26,0 +26,0 @@ "repository": {