From 91bfd799ee1722e0181fe158697523b575f28de3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Mon, 17 May 2021 18:33:24 +0200 Subject: [PATCH] Apply dependencies update. (#369) --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- src/pools/cluster/dynamic.ts | 5 ++--- src/pools/cluster/fixed.ts | 5 ++--- src/pools/thread/dynamic.ts | 5 ++--- src/pools/thread/fixed.ts | 5 ++--- src/worker/cluster-worker.ts | 5 ++--- src/worker/thread-worker.ts | 5 ++--- 8 files changed, 23 insertions(+), 29 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1b4f5f28..8c0e3482 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1658,9 +1658,9 @@ } }, "eslint-plugin-import": { - "version": "2.23.1", - "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.23.1.tgz", - "integrity": "sha512-epW62znqcFCyQeixVrqy26WpdN1Y3LZH5G9XCuiiTCVuksjC4Je+4o1z5mIpa6P1KMyz1n4RT436VSrZoA5+5A==", + "version": "2.23.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.23.2.tgz", + "integrity": "sha512-LmNoRptHBxOP+nb0PIKz1y6OSzCJlB+0g0IGS3XV4KaKk2q4szqQ6s6F1utVf5ZRkxk/QOTjdxe7v4VjS99Bsg==", "dev": true, "requires": { "array-includes": "^3.1.3", @@ -1717,9 +1717,9 @@ } }, "eslint-plugin-jsdoc": { - "version": "34.3.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.3.0.tgz", - "integrity": "sha512-PKQpT76jK/eAX92Jj0Z+W7Ug4cgrxNgnEAHY5aSJJn5EkYdLy85zREzSMmmp5LoEnjPMYPp6H5c0WFFhWrZdPQ==", + "version": "34.6.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-jsdoc/-/eslint-plugin-jsdoc-34.6.3.tgz", + "integrity": "sha512-ixty4/Zl7cZ0fcvqQAWKuTzQ5hnWIirZOuJrzLtWV0RwF4E70/WG5vLXyppxDFbLCiwmYXjSkiqBfcKfm4VA3Q==", "dev": true, "requires": { "@es-joy/jsdoccomment": "^0.6.0", @@ -4573,9 +4573,9 @@ } }, "spdx-license-ids": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.7.tgz", - "integrity": "sha512-U+MTEOO0AiDzxwFvoa4JVnMV6mZlJKk2sBLt90s7G0Gd0Mlknc7kxEn3nuDPNZRta7O2uy8oLcZLVT+4sqNZHQ==", + "version": "3.0.8", + "resolved": "https://registry.npmjs.org/spdx-license-ids/-/spdx-license-ids-3.0.8.tgz", + "integrity": "sha512-NDgA96EnaLSvtbM7trJj+t1LUR3pirkDCcz9nOUlPb5DMBGsH7oES6C3hs3j7R9oHEa1EMvReS/BUAIT5Tcr0g==", "dev": true }, "sprintf-js": { diff --git a/package.json b/package.json index 4dfcedb8..c335dc13 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "eslint": "^7.26.0", "eslint-config-standard": "^16.0.2", "eslint-define-config": "^1.0.8", - "eslint-plugin-import": "^2.23.1", - "eslint-plugin-jsdoc": "^34.3.0", + "eslint-plugin-import": "^2.23.2", + "eslint-plugin-jsdoc": "^34.6.3", "eslint-plugin-node": "^11.1.0", "eslint-plugin-prettierx": "^0.18.0", "eslint-plugin-promise": "^5.1.0", diff --git a/src/pools/cluster/dynamic.ts b/src/pools/cluster/dynamic.ts index 33497b03..33c05a92 100644 --- a/src/pools/cluster/dynamic.ts +++ b/src/pools/cluster/dynamic.ts @@ -8,9 +8,8 @@ import { FixedClusterPool } from './fixed' * This cluster pool creates new workers when the others are busy, up to the maximum number of workers. * When the maximum number of workers is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`. * - * @template Data Type of data sent to the worker. This can only be serializable data. - * @template Response Type of response of execution. This can only be serializable data. - * + * @template DataType of data sent to the worker. This can only be serializable data. + * @template ResponseType of response of execution. This can only be serializable data. * @author [Christopher Quadflieg](https://github.com/Shinigami92) * @since 2.0.0 */ diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index e1caf252..ccffc6bb 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -24,9 +24,8 @@ export interface ClusterPoolOptions extends PoolOptions { * * This pool selects the workers in a round robin fashion. * - * @template Data Type of data sent to the worker. This can only be serializable data. - * @template Response Type of response of execution. This can only be serializable data. - * + * @template DataType of data sent to the worker. This can only be serializable data. + * @template ResponseType of response of execution. This can only be serializable data. * @author [Christopher Quadflieg](https://github.com/Shinigami92) * @since 2.0.0 */ diff --git a/src/pools/thread/dynamic.ts b/src/pools/thread/dynamic.ts index 16aeb439..932a0cd5 100644 --- a/src/pools/thread/dynamic.ts +++ b/src/pools/thread/dynamic.ts @@ -9,9 +9,8 @@ import { FixedThreadPool } from './fixed' * This thread pool creates new threads when the others are busy, up to the maximum number of threads. * When the maximum number of threads is reached, an event is emitted. If you want to listen to this event, use the pool's `emitter`. * - * @template Data Type of data sent to the worker. This can only be serializable data. - * @template Response Type of response of execution. This can only be serializable data. - * + * @template DataType of data sent to the worker. This can only be serializable data. + * @template ResponseType of response of execution. This can only be serializable data. * @author [Alessandro Pio Ardizio](https://github.com/pioardi) * @since 0.0.1 */ diff --git a/src/pools/thread/fixed.ts b/src/pools/thread/fixed.ts index 7dda3f30..a1302340 100644 --- a/src/pools/thread/fixed.ts +++ b/src/pools/thread/fixed.ts @@ -16,9 +16,8 @@ export type ThreadWorkerWithMessageChannel = Worker & Draft * * This pool selects the threads in a round robin fashion. * - * @template Data Type of data sent to the worker. This can only be serializable data. - * @template Response Type of response of execution. This can only be serializable data. - * + * @template DataType of data sent to the worker. This can only be serializable data. + * @template ResponseType of response of execution. This can only be serializable data. * @author [Alessandro Pio Ardizio](https://github.com/pioardi) * @since 0.0.1 */ diff --git a/src/worker/cluster-worker.ts b/src/worker/cluster-worker.ts index aa6aa92f..1028b9a9 100644 --- a/src/worker/cluster-worker.ts +++ b/src/worker/cluster-worker.ts @@ -13,9 +13,8 @@ import type { WorkerOptions } from './worker-options' * If you use a `DynamicClusterPool` the extra workers that were created will be terminated, * but the minimum number of workers will be guaranteed. * - * @template Data Type of data this worker receives from pool's execution. This can only be serializable data. - * @template Response Type of response the worker sends back to the main worker. This can only be serializable data. - * + * @template DataType of data this worker receives from pool's execution. This can only be serializable data. + * @template ResponseType of response the worker sends back to the main worker. This can only be serializable data. * @author [Christopher Quadflieg](https://github.com/Shinigami92) * @since 2.0.0 */ diff --git a/src/worker/thread-worker.ts b/src/worker/thread-worker.ts index f1e38076..1456daef 100644 --- a/src/worker/thread-worker.ts +++ b/src/worker/thread-worker.ts @@ -13,9 +13,8 @@ import type { WorkerOptions } from './worker-options' * If you use a `DynamicThreadPool` the extra workers that were created will be terminated, * but the minimum number of workers will be guaranteed. * - * @template Data Type of data this worker receives from pool's execution. This can only be serializable data. - * @template Response Type of response the worker sends back to the main thread. This can only be serializable data. - * + * @template DataType of data this worker receives from pool's execution. This can only be serializable data. + * @template ResponseType of response the worker sends back to the main thread. This can only be serializable data. * @author [Alessandro Pio Ardizio](https://github.com/pioardi) * @since 0.0.1 */ -- 2.34.1