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 2.0.0 to 2.0.1

7

CHANGELOG.md

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

### [2.0.1](https://github.com/dnlup/doc/compare/v2.0.0...v2.0.1) (2020-10-03)
### Bug Fixes
* **sampler:** pass options from kOptions ([90fddd7](https://github.com/dnlup/doc/commit/90fddd765ff4163b21d8802923e26d415e6e1163))
## [2.0.0](https://github.com/dnlup/doc/compare/v1.2.0-0...v2.0.0) (2020-09-22)

@@ -7,0 +14,0 @@

2

lib/sampler.js

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

if (this[kOptions].collect.eventLoopDelay) {
this[kEventLoopDelay] = new EventLoopDelayMetric(options.eventLoopOptions)
this[kEventLoopDelay] = new EventLoopDelayMetric(this[kOptions].eventLoopOptions)
}

@@ -37,0 +37,0 @@

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

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

@@ -11,3 +11,3 @@ # doc

It is not coupled with any APM platform so you are free to use anything you want for that purpose.
Its API are designed to let you access both computed and raw values, where possible.
Its API is designed to let you access both computed and raw values, where possible.

@@ -17,8 +17,8 @@ <!-- toc -->

- [Installation](#installation)
* [latest stable version](#latest-stable-version)
* [latest development version](#latest-development-version)
* [latest stable version](#latest-stable-version)
* [latest development version](#latest-development-version)
- [Usage](#usage)
- [Enable/disable metrics collection](#enabledisable-metrics-collection)
* [Garbage collection](#garbage-collection)
* [Active handles](#active-handles)
- [Enable/disable metrics collection](#enabledisable-metrics-collection)
* [Garbage collection](#garbage-collection)
* [Active handles](#active-handles)
- [API](#api)

@@ -93,3 +93,3 @@ * [doc([options])](#docoptions)

You can disable metrics you don't need.
You can disable the metrics that you don't need.

@@ -249,6 +249,6 @@ ```js

* `raw` `<number>` The raw value taken using the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) API.
* `raw` `<number>` The raw value obtained using the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) API.
* Returns `<number>` The computed delay value.
This method is meamt to use only on node versions that supports [`monitorEventLoopDelay`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options). It allows to get computed values of the event loop delay from other values than the `mean` of the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) instance.
This method is meant to be used only on node versions that supports [`monitorEventLoopDelay`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_perf_hooks_monitoreventloopdelay_options). It allows to get computed values of the event loop delay from other values than the `mean` of the [`Histogram`](https://nodejs.org/dist/latest-v12.x/docs/api/perf_hooks.html#perf_hooks_class_histogram) instance.

@@ -255,0 +255,0 @@ ### Class: `GCMetric`

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