sequelize-pool
Advanced tools
Comparing version 2.3.0 to 3.0.0
@@ -259,5 +259,4 @@ "use strict"; | ||
this._inUseObjects.push(resource); | ||
if (deferred) { | ||
this._inUseObjects.push(resource); | ||
deferred.resolve(resource); | ||
@@ -264,0 +263,0 @@ } else { |
{ | ||
"name": "sequelize-pool", | ||
"description": "Resource pooling for Node.JS", | ||
"version": "2.3.0", | ||
"version": "3.0.0", | ||
"author": "Sushant <sushantdhiman@outlook.com>", | ||
@@ -22,3 +22,3 @@ "keywords": [ | ||
"devDependencies": { | ||
"eslint": "^5.16.0", | ||
"eslint": "^6.5.1", | ||
"eslint-config-prettier": "^4.3.0", | ||
@@ -30,3 +30,3 @@ "eslint-plugin-prettier": "^3.1.0", | ||
"engines": { | ||
"node": ">= 6.0.0" | ||
"node": ">= 10.0.0" | ||
}, | ||
@@ -33,0 +33,0 @@ "scripts": { |
# sequelize-pool | ||
[![npm](https://img.shields.io/npm/v/sequelize-pool.svg?style=flat-square)](https://www.npmjs.com/package/sequelize-pool) | ||
[![Travis (.org)](https://img.shields.io/travis/sushantdhiman/sequelize-pool.svg?style=flat-square)](https://travis-ci.org/sushantdhiman/sequelize-pool) | ||
[![Travis (.org)](https://img.shields.io/travis/com/sequelize/sequelize-pool.svg?style=flat-square)](https://travis-ci.com/sequelize/sequelize-pool) | ||
@@ -119,6 +119,6 @@ | ||
// returns number of maxixmum number of resources allowed by ppol | ||
// returns number of maxixmum number of resources allowed by pool | ||
pool.maxSize | ||
// returns number of minimum number of resources allowed by ppol | ||
// returns number of minimum number of resources allowed by pool | ||
pool.minSize | ||
@@ -131,2 +131,2 @@ | ||
$ npm install | ||
$ npm test | ||
$ npm test |
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
131
21248