Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

limiter

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

limiter - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

2

lib/tokenBucket.js

@@ -140,3 +140,3 @@

// Try to remove the requested tokens from the parent bucket
if (this.parentBucket && !this.parent.tryRemoveTokens(count))
if (this.parentBucket && !this.parentBucket.tryRemoveTokens(count))
return false;

@@ -143,0 +143,0 @@

{
"name": "limiter",
"description": "A generic rate limiter for node.js. Useful for API clients, web crawling, or other tasks that need to be throttled",
"version": "1.1.3",
"version": "1.1.4",
"author": "John Hurliman <jhurliman@jhurliman.org>",

@@ -6,0 +6,0 @@ "scripts": {

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