Socket
Socket
Sign inDemoInstall

@lage-run/worker-threads-pool

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lage-run/worker-threads-pool - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

17

CHANGELOG.json

@@ -5,3 +5,18 @@ {

{
"date": "Tue, 01 Nov 2022 22:25:35 GMT",
"date": "Tue, 01 Nov 2022 22:48:19 GMT",
"tag": "@lage-run/worker-threads-pool_v0.4.4",
"version": "0.4.4",
"comments": {
"patch": [
{
"author": "kchau@microsoft.com",
"package": "@lage-run/worker-threads-pool",
"commit": "97b306418acd099a3ed6f3dfc062b513f5fe391c",
"comment": "get rid of third party abort-controller impl"
}
]
}
},
{
"date": "Tue, 01 Nov 2022 22:25:59 GMT",
"tag": "@lage-run/worker-threads-pool_v0.4.3",

@@ -8,0 +23,0 @@ "version": "0.4.3",

# Change Log - @lage-run/worker-threads-pool
This log was last generated on Tue, 01 Nov 2022 22:25:35 GMT and should not be manually modified.
This log was last generated on Tue, 01 Nov 2022 22:48:19 GMT and should not be manually modified.
<!-- Start content -->
## 0.4.4
Tue, 01 Nov 2022 22:48:19 GMT
### Patches
- get rid of third party abort-controller impl (kchau@microsoft.com)
## 0.4.3
Tue, 01 Nov 2022 22:25:35 GMT
Tue, 01 Nov 2022 22:25:59 GMT

@@ -11,0 +19,0 @@ ### Patches

2

lib/AggregatedPool.d.ts
/// <reference types="node" />
import type { AbortSignal } from "abort-controller";
/// <reference types="global" />
import type { Readable } from "stream";

@@ -4,0 +4,0 @@ import type { Worker, WorkerOptions } from "worker_threads";

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

import type { AbortSignal } from "abort-controller";
/// <reference types="node" />
/// <reference types="global" />
export declare function registerWorker(fn: (data: any, abortSignal?: AbortSignal) => Promise<void> | void): void;

@@ -5,3 +5,2 @@ "use strict";

const worker_threads_1 = require("worker_threads");
const abort_controller_1 = require("abort-controller");
const stdioStreamMarkers_js_1 = require("./stdioStreamMarkers.js");

@@ -13,3 +12,3 @@ function registerWorker(fn) {

case "start":
abortController = new abort_controller_1.AbortController();
abortController = new AbortController();
return message.task && (await start(message.id, message.task, abortController.signal));

@@ -16,0 +15,0 @@ case "abort":

/// <reference types="node" />
/// <reference types="global" />
import type { Worker } from "worker_threads";
import type { Readable } from "stream";
import type { AbortSignal } from "abort-controller";
export interface PoolStats {

@@ -6,0 +6,0 @@ maxWorkerMemoryUsage: number;

@@ -6,2 +6,3 @@ /**

/// <reference types="node" />
/// <reference types="global" />
import { EventEmitter } from "events";

@@ -11,3 +12,2 @@ import { Worker } from "worker_threads";

import type { Readable } from "stream";
import type { AbortSignal } from "abort-controller";
import type { WorkerPoolOptions } from "./types/WorkerPoolOptions.js";

@@ -14,0 +14,0 @@ interface QueueItem {

{
"name": "@lage-run/worker-threads-pool",
"version": "0.4.3",
"version": "0.4.4",
"description": "A worker_threads pool implementation based on the official Node.js async_hooks documentation",

@@ -18,4 +18,3 @@ "repository": {

"dependencies": {
"@lage-run/logger": "^1.2.2",
"abort-controller": "^3.0.0"
"@lage-run/logger": "^1.2.2"
},

@@ -22,0 +21,0 @@ "devDependencies": {

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