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

exer

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exer - npm Package Compare versions

Comparing version 0.0.23 to 0.0.24

7

lib/process.js

@@ -70,6 +70,7 @@ "use strict";

const start = Utils.time();
this.cpuUsage = process.cpuUsage(this.cpuUsage);
(level > -1) && this.refresh();
const mem = process.memoryUsage();
const total = process.cpuUsage();
const usage = this.cpuUsage = process.cpuUsage(this.cpuUsage);
const mem = (level > -2) ? process.memoryUsage() : undefined;
const total = (level > -2) ? process.cpuUsage() : undefined;
const usage = (level > -2) ? this.cpuUsage : undefined;
const cpus = (level > -2) ? os.cpus().map(c => (Object.assign({ model: c.model, speed: c.speed }, c.times))) : undefined;

@@ -76,0 +77,0 @@ const networks = (level > -2) ? Object.entries(os.networkInterfaces())

{
"name": "exer",
"version": "0.0.23",
"version": "0.0.24",
"description": "Utils in TypeScript, Debug, NanoTimer ...",

@@ -42,5 +42,7 @@ "author": "kbajalc@gmail.com",

"devDependencies": {
"@types/chance": "^1.0.2",
"@types/lodash": "^4.14.123",
"@types/node": "^10.14.6",
"@types/uuid": "^3.4.4",
"chance": "^1.0.18",
"ts-node": "^8.1.0",

@@ -47,0 +49,0 @@ "tslint": "^5.16.0",

Sorry, the diff of this file is not supported yet

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