service-pool
Advanced tools
Comparing version 2.3.0-rc-5 to 2.3.0-rc-6
@@ -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 |
@@ -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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
16218
235
0