Socket
Socket
Sign inDemoInstall

bottleneckp

Package Overview
Dependencies
0
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.0 to 1.1.1

14

lib/Cluster.js

@@ -69,3 +69,3 @@ hasProp = {}.hasOwnProperty;

Cluster.prototype.status = function() {
Cluster.prototype._status = function() {
var status = [];

@@ -109,2 +109,14 @@ var keys = this.keys();

Object.defineProperty(Cluster.prototype, 'waitingClients', {
get:function() {
return this._waitingClients()
}
})
Object.defineProperty(Cluster.prototype, 'status', {
get:function() {
return this._status()
}
})
module.exports = Cluster;

2

package.json
{
"name": "bottleneckp",
"version": "1.1.0",
"version": "1.1.1",
"description": "asynchronous rate limiter with priority",

@@ -5,0 +5,0 @@ "main": "./lib/Bottleneck.js",

@@ -70,3 +70,3 @@ global.TEST = true

size: function() {
return cluster._waitingClients()
return cluster.waitingClients
},

@@ -73,0 +73,0 @@ fastJob: function(inLimiter, value) {

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