leaky-bucket
Advanced tools
Comparing version 2.1.2 to 2.1.3
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
182
30899
9