New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@dnlup/doc

Package Overview
Dependencies
Maintainers
1
Versions
28
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 5.0.3 to 5.0.4

7

lib/gc.js

@@ -67,7 +67,10 @@ 'use strict'

/**
* We have to truncate the value here because `record`
* We have to adjust the value here because `record`
* only accepts integer values:
* https://github.com/nodejs/node/blob/cdad3d8fe5f468aec6549fd59db73a3bfe063e3c/lib/internal/histogram.js#L283-L284
*/
this[kHistogram].record(Math.trunc(ns))
const val = Math.round(ns)
if (val > 0) {
this[kHistogram].record(val)
}
}

@@ -74,0 +77,0 @@

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

@@ -5,0 +5,0 @@ "main": "index.js",

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