Socket
Socket
Sign inDemoInstall

leaky-bucket

Package Overview
Dependencies
Maintainers
1
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

leaky-bucket - npm Package Compare versions

Comparing version 2.1.2 to 2.1.3

6

package.json
{
"name": "leaky-bucket",
"description": "A fast and efficient leaky bucket implementation",
"version": "2.1.2",
"version": "2.1.3",
"homepage": "https://github.com/eventEmitter/leaky-bucket",
"author": "Michael van der Weg <michael@joinbox.com> (http://joinbox.com/)",
"author": "Lina van der Weg <lina@joinbox.com> (http://joinbox.com/)",
"license": "MIT",

@@ -25,3 +25,3 @@ "repository": {

"devDependencies": {
"mocha": "2.x"
"mocha": "^6.1.4"
},

@@ -28,0 +28,0 @@ "optionalDependencies": {},

@@ -59,4 +59,4 @@ # leaky-bucket

- The first parameter can either be a callback function or the cost of the opertion
- The seocnd parameter can be the callback function
- The first parameter can either be a callback function or the cost of the operation
- The second parameter can be the callback function

@@ -182,2 +182,2 @@ If you do not pass a callback a promise is returned. The first argument of the callback is an error object (or the promise fails) if the item could not be executed because the max waiting time was exceeded.

else response.send(200, '{id:4, ...}')
});
});

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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