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.1 to 3.0.2

2

CHANGELOG.md

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

### [3.0.2](https://github.com/dnlup/doc/compare/v4.0.0...v3.0.2) (2020-10-28)
### [3.0.1](https://github.com/dnlup/doc/compare/v3.0.0...v3.0.1) (2020-10-23)

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

@@ -26,2 +26,6 @@ 'use strict'

function validate (conf) {
if (conf.sampleInterval === undefined || conf.sampleInterval === null) {
conf.sampleInterval = DEFAULTS.sampleInterval
}
if (typeof conf.sampleInterval !== 'number') {

@@ -43,2 +47,6 @@ throw new TypeError(`sampleInterval must be a number, received ${typeof conf.sampleInterval} ${conf.sampleInterval}`)

if (conf.eventLoopOptions.resolution === undefined || conf.eventLoopOptions.resolution === null) {
conf.eventLoopOptions.resolution = DEFAULTS.eventLoopOptions.resolution
}
if (typeof conf.eventLoopOptions.resolution !== 'number') {

@@ -45,0 +53,0 @@ throw new TypeError(`eventLoopOptions.resolution must be a number, received ${typeof conf.eventLoopOptions.resolution} ${conf.eventLoopOptions.resolution}`)

2

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

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

@@ -6,3 +6,3 @@ # doc

![Benchmarks](https://github.com/dnlup/doc/workflows/Benchmarks/badge.svg)
[![Coverage Status](https://coveralls.io/repos/github/dnlup/doc/badge.svg)](https://coveralls.io/github/dnlup/doc)
[![Coverage Status](https://coveralls.io/repos/github/dnlup/doc/badge.svg?branch=next)](https://coveralls.io/github/dnlup/doc?branch=next)
[![Known Vulnerabilities](https://snyk.io/test/github/dnlup/doc/badge.svg?targetFile=package.json)](https://snyk.io/test/github/dnlup/doc?targetFile=package.json)

@@ -9,0 +9,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