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.8 to 2.1.10

15

lib/index.d.ts

@@ -1,13 +0,10 @@

import Pool, {IPoolFactory} from './Pool';
import {Pool, IPoolFactory} from './Pool';
import type {PoolOptions} from './PoolOptions';
declare module 'lightning-pool' {
export {IPoolFactory, PoolState} from './Pool';
export {PoolOptions, Pool};
export {IPoolFactory, PoolState} from './Pool';
export {PoolOptions};
export class AbortError extends Error {
}
export class AbortError extends Error {
}
export function createPool(factory: IPoolFactory, options: PoolOptions): Pool;
}
export function createPool(factory: IPoolFactory, options: PoolOptions): Pool;

2

lib/index.js

@@ -9,3 +9,3 @@ /* lightning-pool

const Pool = require('./Pool');
const {Pool} = require('./Pool');
const AbortError = require('./AbortError');

@@ -12,0 +12,0 @@

@@ -24,3 +24,3 @@ /// <reference lib="es2015.symbol" />

export default class Pool {
export class Pool {
public readonly acquired: number;

@@ -27,0 +27,0 @@ public readonly available: number;

@@ -470,2 +470,2 @@ /* lightning-pool

module.exports = Pool;
module.exports = {Pool};

@@ -15,2 +15,1 @@ export declare class PoolOptions {

}
{
"name": "lightning-pool",
"description": "Fastest object pool implementation for JavaScript",
"version": "2.1.8",
"version": "2.1.10",
"author": "Panates Ltd.",

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

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