Socket
Socket
Sign inDemoInstall

leaky-bucket

Package Overview
Dependencies
0
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 4.1.0 to 4.1.1

2

package.json
{
"name": "leaky-bucket",
"description": "A fast and efficient leaky bucket implementation",
"version": "4.1.0",
"version": "4.1.1",
"homepage": "https://github.com/linaGirl/leaky-bucket",

@@ -6,0 +6,0 @@ "author": "Lina van der Weg <lina@vanderweg.ch> (http://vanderweg.ch/)",

@@ -65,3 +65,3 @@ # leaky-bucket

#### option timeout
#### option: timeout

@@ -73,3 +73,3 @@ Normally, the bucket will throw errors when the throttle() method is called

#### option initialCapacity
#### option: initialCapacity

@@ -82,3 +82,3 @@ Some rate limited services will start out with an empty bucket, or refill

#### idleTimeout
#### option: idleTimeout

@@ -89,3 +89,3 @@ If this option is set, the bucket will emti a idleTimeout event after the

#### debug
#### option: debug

@@ -92,0 +92,0 @@ If set to true, the bucket will print debug logs using console.log()

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc