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

generic-pool

Package Overview
Dependencies
Maintainers
3
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 3.8.0 to 3.8.1

index.d.ts

4

lib/Pool.js

@@ -369,3 +369,3 @@ "use strict";

// Safety check incase we could get stuck in infinite loop because we
// somehow emptied the array after chekcing it's length
// somehow emptied the array after checking its length.
if (iterationResult.done === true && this._availableObjects.length < 1) {

@@ -375,3 +375,3 @@ this._evictionIterator.reset();

}
// if this happens it should just mean we reached the end of the
// If this happens it should just mean we reached the end of the
// list and can reset the cursor.

@@ -378,0 +378,0 @@ if (iterationResult.done === true && this._availableObjects.length > 0) {

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

@@ -6,0 +6,0 @@ "contributors": [

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