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 3.0.0-alpha.6 to 3.0.0-alpha.7

lib/DLLArray.js

11

CHANGELOG.md
# Change Log
## [3.0.0] - October xx 2016
- This is pretty big and the migration guide in the README has more detailed set of changes!
- switch support to nodejs v4 and above
- change external interfaces to use promises instead of callbacks
- remove logging
- decouple create/destroy operations from acquire/release operations
- pool should now be created via `poolCreate` factory method instead of constructor.
- huge internal rewrite and flow control changes
- Pool is now an eventEmitter
## [2.4.2] - March 26 2016

@@ -110,2 +120,3 @@ - Travis now runs and fails lint checks (@kevinburke)

[unreleased]: https://github.com/coopernurse/node-pool/compare/v2.4.2...HEAD
[3.0.0]: https://github.com/coopernurse/node-pool/compare/v2.4.1...v3.0.0
[2.4.2]: https://github.com/coopernurse/node-pool/compare/v2.4.1...v2.4.2

@@ -112,0 +123,0 @@ [2.4.1]: https://github.com/coopernurse/node-pool/compare/v2.4.0...v2.4.1

3

lib/Pool.js

@@ -11,2 +11,3 @@ 'use strict'

const PooledResource = require('./PooledResource')
const DLLArray = require('./DLLArray')

@@ -72,3 +73,3 @@ /**

*/
this._availableObjects = []
this._availableObjects = new DLLArray()

@@ -75,0 +76,0 @@ /**

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

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

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

**Node.js Version Warning**
Generic-Pool v3 requires a nodejs version of at least 4
**V3 upgrade warning**
Version 3 contains many breaking changes. The differences are mostly minor and I hope easy to accomodate. There is a very rough and basic [upgrade guide](https://gist.github.com/sandfox/5ca20648b60a0cb959638c0cd6fcd02d) I've written, improvements and other attempts most welcome.
## History

@@ -15,0 +18,0 @@

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