lightning-pool
Advanced tools
Comparing version 4.8.0 to 4.9.0
@@ -39,2 +39,4 @@ "use strict"; | ||
const opts = (this._options = new pool_options_js_1.PoolOptions(this)); | ||
if (config) | ||
this.options.assign(config); | ||
opts.on('change', (prop, val) => { | ||
@@ -46,4 +48,2 @@ if (prop === 'houseKeepInterval') | ||
}); | ||
if (config) | ||
this.options.assign(config); | ||
this._factory = factory; | ||
@@ -50,0 +50,0 @@ } |
@@ -35,2 +35,4 @@ import DoublyLinked from 'doublylinked'; | ||
const opts = (this._options = new PoolOptions(this)); | ||
if (config) | ||
this.options.assign(config); | ||
opts.on('change', (prop, val) => { | ||
@@ -42,4 +44,2 @@ if (prop === 'houseKeepInterval') | ||
}); | ||
if (config) | ||
this.options.assign(config); | ||
this._factory = factory; | ||
@@ -46,0 +46,0 @@ } |
{ | ||
"name": "lightning-pool", | ||
"description": "Fastest generic Pool written with TypeScript", | ||
"version": "4.8.0", | ||
"version": "4.9.0", | ||
"author": "Panates Ltd.", | ||
@@ -11,3 +11,3 @@ "license": "MIT", | ||
"putil-promisify": "^1.10.1", | ||
"tslib": "^2.6.3" | ||
"tslib": "^2.7.0" | ||
}, | ||
@@ -14,0 +14,0 @@ "type": "module", |
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
67191
51330
29
Updatedtslib@^2.7.0