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 5.0.2 to 5.0.3

14

lib/sampler.js

@@ -66,3 +66,9 @@ 'use strict'

if (instances.hasSubscribers) {
process.nextTick(() => instances.publish(this))
process.nextTick(() => {
try {
// On Node 18 the `hasSubscribers` check is not enough so this call fails
// with an uncaught exception if there are no subscribers.
instances.publish(this)
} catch (_) {}
})
}

@@ -125,3 +131,7 @@ }

if (samples.hasSubscribers) {
samples.publish(this)
try {
// On Node 18 the `hasSubscribers` check is not enough so this call fails
// with an uncaught exception if there are no subscribers.
samples.publish(this)
} catch (_) {}
}

@@ -128,0 +138,0 @@ }

5

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

@@ -64,4 +64,3 @@ "main": "index.js",

"engines": {
"node": ">=18",
"npm": ">=10"
"node": ">=18"
},

@@ -68,0 +67,0 @@ "tsd": {

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