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

service-pool

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

service-pool - npm Package Compare versions

Comparing version 2.3.0-rc-5 to 2.3.0-rc-6

2

dist/index.d.ts

@@ -0,1 +1,3 @@

import ServicePool from './lib/ServicePool';
export default ServicePool;
//# sourceMappingURL=index.d.ts.map
"use strict";
module.exports = require('./lib/ServicePool');
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
const ServicePool_1 = __importDefault(require("./lib/ServicePool"));
exports.default = ServicePool_1.default;
//# sourceMappingURL=index.js.map

@@ -1,2 +0,16 @@

export {};
export default class ServicePool {
max: any;
pool: {};
constructor(config: any);
getConfig(): {
max: any;
};
getActiveServiceCount(): number;
getActiveIds(): string[];
reset(): boolean;
add(entry: any): Promise<unknown>;
get(id: any): any;
test(id: any): null;
destroy(id: any): any;
}
//# sourceMappingURL=ServicePool.d.ts.map

2

dist/lib/ServicePool.js

@@ -85,3 +85,3 @@ 'use strict';

}
module.exports = ServicePool;
exports.default = ServicePool;
//# sourceMappingURL=ServicePool.js.map
{
"name": "service-pool",
"license": "MIT",
"version": "2.3.0-rc-5",
"version": "2.3.0-rc-6",
"description": "A simple, lightweight, Resource Pool Manager for NodeJS",

@@ -6,0 +6,0 @@ "homepage": "https://agilite.io",

@@ -1,1 +0,3 @@

module.exports = require('./lib/ServicePool')
import ServicePool from './lib/ServicePool'
export default ServicePool

@@ -7,3 +7,3 @@ 'use strict'

class ServicePool {
export default class ServicePool {
max: any

@@ -96,3 +96,1 @@ pool: {}

}
module.exports = ServicePool

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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