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 Versions

12

2.0.0

Diff

Changelog

Source

2.0.0 (2020-09-22)

⚠ BREAKING CHANGES

  • the exported class is named Sampler and not Doc anymore
  • types: types are not accessible using Doc. notation. DocInstance has been renamed to Doc and declared as a class.
  • gc: the metric is not exposed to the event handler anymore, but it is attached directly to the Doc instance.
  • eventLoopDelay: the eventLoopDelay metric is not exposed anymore to the event handler, but it is attached to the Doc instance.
  • cpu: the cpu metric is not exposed anymore to the event handler, but it is attached to the Doc instance. The event name is changed from data to sample.

Features

  • eventLoopDelay: expose compute method (928670f)
  • attach remaining metrics and add start options (a5945cd)
  • config: add JSON schema validator (4efdedd)
  • config: allow selection of metrics to collect (89619a0)
  • cpu: attach cpu state to doc instance (479e095)
  • eventLoopDelay: attach object to doc instance (85d7b20)
  • gc: attach metric to doc instance (ac516d9)
  • add activeHandles metric (59d0710)
  • add activeHandles metric (1676e68)
  • improve gc metric (ea77ea7)

Bug Fixes

  • eventLoopDelay: use Symbol for sample method (d4021e0)

  • gc: use symbols for GCAggregatedEntry methods (356b37a)

  • lib: fix wrong name used for options symbol (865ba82)

  • sampler: exit if timer is initialized on start (408b1b3)

  • types: remove undefined from gc stats (289d252)

  • types: use camel case for enum and use jsdoc (f90bd60)

  • rename Doc to Sampler and move it to lib (2ed25ab)

  • types: remove Doc namespace (4a3ecc2)

dnlup
published 1.2.0-0 •

Changelog

Source

1.2.0-0 (2020-07-03)

Features

  • use PerformanceObserver for gc stats (fae15d2)

Bug Fixes

  • gc types are number | undefined (fae1cf4)
  • split gc into separate file to make testing easier (fae108f)
dnlup
published 1.1.0 •

Changelog

Source

1.1.0 (2020-06-30)

Features

  • add TypeScript typings file (fae1f3b)

Bug Fixes

  • include typings file when published (fae1012)
dnlup
published 1.0.4-0 •

Changelog

Source

1.0.4-0 (2020-06-12)

dnlup
published 1.0.3 •

Changelog

Source

1.0.3 (2020-05-25)

dnlup
published 1.0.2 •

Changelog

Source

1.0.2 (2020-03-31)

Bug Fixes

dnlup
published 1.0.1 •

Changelog

Source

1.0.1 (2020-03-30)

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