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

lightning-pool

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lightning-pool - npm Package Compare versions

Comparing version 2.1.7 to 2.1.8

lib/index.d.ts

5

lib/Pool.d.ts

@@ -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 {

2

lib/Pool.js

@@ -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": {

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