@matrixai/workers
Advanced tools
Comparing version 1.3.5 to 1.3.6
@@ -34,3 +34,2 @@ "use strict"; | ||
}; | ||
var WorkerManager_1; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
@@ -41,3 +40,3 @@ const threads_1 = require("threads"); | ||
const errors = __importStar(require("./errors")); | ||
let WorkerManager = WorkerManager_1 = class WorkerManager { | ||
let WorkerManager = class WorkerManager { | ||
constructor({ workerFactory, cores, logger, }) { | ||
@@ -61,3 +60,3 @@ this.logger = logger; | ||
logger.info('Creating WorkerManager'); | ||
const workerManager = new WorkerManager_1({ | ||
const workerManager = new this({ | ||
workerFactory, | ||
@@ -100,3 +99,3 @@ cores, | ||
], WorkerManager.prototype, "settled", null); | ||
WorkerManager = WorkerManager_1 = __decorate([ | ||
WorkerManager = __decorate([ | ||
(0, CreateDestroy_1.CreateDestroy)() | ||
@@ -103,0 +102,0 @@ ], WorkerManager); |
{ | ||
"name": "@matrixai/workers", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"author": "Roger Qiu", | ||
@@ -26,8 +26,9 @@ "description": "Multithreaded Workers", | ||
"dependencies": { | ||
"@matrixai/async-init": "^1.8.1", | ||
"@matrixai/async-init": "^1.8.2", | ||
"@matrixai/errors": "^1.1.2", | ||
"@matrixai/logger": "^3.0.0", | ||
"@matrixai/errors": "^1.1.2", | ||
"threads": "^1.6.5" | ||
}, | ||
"devDependencies": { | ||
"@swc/core": "^1.2.215", | ||
"@types/jest": "^28.1.3", | ||
@@ -34,0 +35,0 @@ "@types/node": "^16.11.7", |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
33120
21
294
Updated@matrixai/async-init@^1.8.2