lightning-pool
Advanced tools
Comparing version 2.1.7 to 2.1.8
@@ -1,4 +0,1 @@ | ||
/** Declaration file generated by dts-gen */ | ||
/// <reference lib="es2015.symbol" /> | ||
@@ -8,3 +5,3 @@ | ||
import PoolOptions from "./PoolOptions"; | ||
import {PoolOptions} from "./PoolOptions"; | ||
@@ -11,0 +8,0 @@ export enum PoolState { |
@@ -17,6 +17,6 @@ /* lightning-pool | ||
const DoublyLinked = require('doublylinked'); | ||
const PoolOptions = require('./PoolOptions'); | ||
const PoolRequest = require('./PoolRequest'); | ||
const ResourceInfo = require('./ResourceInfo'); | ||
const AbortError = require('./AbortError'); | ||
const {PoolOptions} = require('./PoolOptions'); | ||
@@ -23,0 +23,0 @@ const PoolState = { |
@@ -1,2 +0,2 @@ | ||
export default class PoolOptions { | ||
export declare class PoolOptions { | ||
public acquireMaxRetries: number; | ||
@@ -3,0 +3,0 @@ public acquireRetryWait: number; |
@@ -162,2 +162,2 @@ /* lightning-pool | ||
module.exports = PoolOptions; | ||
module.exports = {PoolOptions}; |
{ | ||
"name": "lightning-pool", | ||
"description": "Fastest object pool implementation for JavaScript", | ||
"version": "2.1.7", | ||
"version": "2.1.8", | ||
"author": "Panates Ltd.", | ||
@@ -21,5 +21,5 @@ "contributors": [ | ||
"devDependencies": { | ||
"eslint": "^7.7.0", | ||
"eslint": "^7.9.0", | ||
"eslint-config-google": "^0.14.0", | ||
"mocha": "^8.1.1", | ||
"mocha": "^8.1.3", | ||
"nyc": "^15.1.0", | ||
@@ -29,4 +29,6 @@ "rejected-or-not": "^2.0.0" | ||
"engines": { | ||
"node": ">= 8.0" | ||
"node": ">= 10.0" | ||
}, | ||
"main": "lib/index.js", | ||
"types": "lib/index.d.ts", | ||
"directories": { | ||
@@ -38,4 +40,3 @@ "lib": "./lib" | ||
"README.md", | ||
"lib/", | ||
"index.js" | ||
"lib/" | ||
], | ||
@@ -42,0 +43,0 @@ "nyc": { |
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
37320
12
820