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

generic-pool

Package Overview
Dependencies
Maintainers
2
Versions
74
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generic-pool - npm Package Compare versions

Comparing version 2.2.0 to 2.2.1

2

lib/generic-pool.js

@@ -149,2 +149,3 @@ var PriorityQueue = function(size) {

count -= 1;
if (count < 0) count = 0;
availableObjects = availableObjects.filter(function(objWithTimeout) {

@@ -274,2 +275,3 @@ return (objWithTimeout.obj !== obj);

count -= 1;
if (count < 0) count = 0;
if (clientCb) {

@@ -276,0 +278,0 @@ clientCb(err, obj);

5

package.json
{
"name": "generic-pool",
"description": "Generic resource pooling for Node.JS",
"version": "2.2.0",
"version": "2.2.1",
"author": "James Cooper <james@bitmechanic.com>",

@@ -13,3 +13,4 @@ "contributors": [

{ "name": "calibr"},
{ "name": "Justin Robinson", "email":"jrobinson@redventures.com>"}
{ "name": "Justin Robinson", "email":"jrobinson@redventures.com>"},
{ "name": "Nayana Hettiarachchi", "email":"nayana@corp-gems.com"}
],

@@ -16,0 +17,0 @@ "keywords": ["pool", "pooling", "throttle"],

@@ -23,2 +23,5 @@ [![build status](https://secure.travis-ci.org/coopernurse/node-pool.png)](http://travis-ci.org/coopernurse/node-pool)

2.2.1 - October 30 2015
- Merged #104 - fix #103 - condition where pool can create > specified max number of connections (contributed by @devzer01)
2.2.0 - March 26 2015

@@ -25,0 +28,0 @@ - Merged #92 - add getMaxPoolSize function (contributed by platypusMaximus)

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