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

@dnlup/doc

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dnlup/doc - npm Package Compare versions

Comparing version 3.0.2 to 3.0.3

2

CHANGELOG.md

@@ -5,2 +5,4 @@ # Changelog

### [3.0.3](https://github.com/dnlup/doc/compare/v3.0.2...v3.0.3) (2020-11-10)
### [3.0.2](https://github.com/dnlup/doc/compare/v4.0.0...v3.0.2) (2020-10-28)

@@ -7,0 +9,0 @@

2

lib/cpu.js

@@ -20,3 +20,3 @@ 'use strict'

this[kRawMetric] = process.cpuUsage(this[kCpuLastSample])
this[kComputedMetric] = (100 * (this[kRawMetric].user + this[kRawMetric].system)) / (elapsedNs / 1e3)
this[kComputedMetric] = 100 * ((this[kRawMetric].user + this[kRawMetric].system) / (elapsedNs / 1e3))
}

@@ -23,0 +23,0 @@

@@ -32,3 +32,3 @@ 'use strict'

}
this[kComputedMetric] = (100 * (cpu.user + cpu.system)) / (elapsedNs / 1e3)
this[kComputedMetric] = 100 * ((cpu.user + cpu.system) / (elapsedNs / 1e3))
}

@@ -35,0 +35,0 @@

{
"name": "@dnlup/doc",
"version": "3.0.2",
"version": "3.0.3",
"description": "Get usage and health data about your Node.js process",

@@ -78,3 +78,3 @@ "main": "index.js",

"eslint": "^7.9.0",
"eslint-config-standard": "^15.0.0",
"eslint-config-standard": "^16.0.0",
"eslint-plugin-import": "^2.22.0",

@@ -81,0 +81,0 @@ "eslint-plugin-node": "^11.1.0",

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