Socket
Socket
Sign inDemoInstall

prom-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prom-utils - npm Package Versions

2

0.13.0

Diff

sp-dev
published 0.12.1 •

Changelog

Source

0.12.1

  • Fixed type for raceTimeout.
sp-dev
published 0.12.0 •

Changelog

Source

0.12.0

  • Added raceTimeout.
sp-dev
published 0.11.0 •

Changelog

Source

0.11.0

  • Fixed: rateLimit should remove an item if it has rejected.
  • rateLimit - .finish swallows exceptions.
  • rateLimit - Added length getter.
  • batchQueue - Added length getter.
  • BREAKING: pausable.proceed changed to pausable.maybeBlock.
sp-dev
published 0.10.0 •

Changelog

Source

0.10.0

  • Added throughputLimiter - Limit throughput (items/sec).
  • Added sleep - Sleep for time ms before resolving the Promise.
  • batchQueue - Added maxItemsPerSec and maxBytesPerSec options for throughput throttling.
  • Changed testing library from jest to vitest.
  • Bumped packages.
sp-dev
published 0.9.0 •

Changelog

Source

0.9.0

  • Better types - removed all use of any.
  • rateLimit - Changed the return type of the finish method to Promise<void>.
sp-dev
published 0.8.0 •

Changelog

Source

0.8.0

  • Added waitUntil - Wait until the predicate returns truthy or the timeout expires.
  • Changed function signature to use generics for batchQueue.
sp-dev
published 0.7.0 •

Changelog

Source

0.7.0

  • Changed dependency for determining size in bytes of a value for batchQueue.
sp-dev
published 0.6.1 •

Changelog

Source

0.6.1

  • rateLimit - Catch promise exceptions which will be re-thrown in .add or .finish.
sp-dev
published 0.6.0 •

Changelog

Source

0.6.0

  • Added pacemaker.
2
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