From bb3d5b74217f7b350d2a5adbafe62502e64a55ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Wed, 12 Oct 2022 05:27:23 +0200 Subject: [PATCH] Apply dependencies update MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- package-lock.json | 57 ++++++++++--------- package.json | 6 +- .../dynamic-pool-worker-choice-strategy.ts | 4 +- 3 files changed, 34 insertions(+), 33 deletions(-) diff --git a/package-lock.json b/package-lock.json index 370cc19e..4923bb9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "2.2.2", "license": "MIT", "devDependencies": { - "@types/node": "^18.8.3", + "@types/node": "^18.8.4", "@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.40.0", "benchmark": "^2.1.4", @@ -34,7 +34,7 @@ "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.1.1", "prettierx": "^0.18.3", - "rollup": "^2.79.1", + "rollup": "^3.0.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0", @@ -43,7 +43,7 @@ "rollup-plugin-ts": "^3.0.2", "sinon": "^14.0.1", "source-map-support": "^0.5.21", - "typedoc": "^0.23.15", + "typedoc": "^0.23.16", "typescript": "^4.8.4" }, "engines": { @@ -1018,9 +1018,9 @@ "dev": true }, "node_modules/@types/node": { - "version": "18.8.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.3.tgz", - "integrity": "sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w==", + "version": "18.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", + "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==", "dev": true }, "node_modules/@types/object-path": { @@ -6890,15 +6890,16 @@ } }, "node_modules/rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.0.0.tgz", + "integrity": "sha512-iVomS2lySi4BM2QJb7lGZBjSndUEs6Ip+VDl25jcbM99VI5vWeEitvUSiNQkQkwqEiI4515m5shjyuwPcXS5Dg==", "dev": true, "bin": { "rollup": "dist/bin/rollup" }, "engines": { - "node": ">=10.0.0" + "node": ">=14.18.0", + "npm": ">=8.0.0" }, "optionalDependencies": { "fsevents": "~2.3.2" @@ -7251,9 +7252,9 @@ } }, "node_modules/slice-ansi/node_modules/ansi-styles": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.1.1.tgz", - "integrity": "sha512-qDOv24WjnYuL+wbwHdlsYZFy+cgPtrYw0Tn7GLORicQp9BkQLzrgI3Pm4VyR9ERZ41YTn7KlMPuL1n05WdZvmg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.0.tgz", + "integrity": "sha512-3MWBO/XxbkDtc/qpECaUwDM0DQ++ujBjdjs0ElZvChUoPv/P7GOnl3x+R2RF2My5UJHEW5R87q556MiR8U3PLw==", "dev": true, "engines": { "node": ">=12" @@ -7779,9 +7780,9 @@ } }, "node_modules/typedoc": { - "version": "0.23.15", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.23.15.tgz", - "integrity": "sha512-x9Zu+tTnwxb9YdVr+zvX7LYzyBl1nieOr6lrSHbHsA22/RJK2m4Y525WIg5Mj4jWCmfL47v6f4hUzY7EIuwS5w==", + "version": "0.23.16", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.23.16.tgz", + "integrity": "sha512-rumYsCeNRXlyuZVzefD7050n7ptL2uudsCJg50dY0v/stKniqIlRpvx/F/6expC0/Q6Dbab+g/JpZuB7Sw90FA==", "dev": true, "dependencies": { "lunr": "^2.3.9", @@ -9197,9 +9198,9 @@ "dev": true }, "@types/node": { - "version": "18.8.3", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.3.tgz", - "integrity": "sha512-0os9vz6BpGwxGe9LOhgP/ncvYN5Tx1fNcd2TM3rD/aCGBkysb+ZWpXEocG24h6ZzOi13+VB8HndAQFezsSOw1w==", + "version": "18.8.4", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.8.4.tgz", + "integrity": "sha512-WdlVphvfR/GJCLEMbNA8lJ0lhFNBj4SW3O+O5/cEGw9oYrv0al9zTwuQsq+myDUXgNx2jgBynoVgZ2MMJ6pbow==", "dev": true }, "@types/object-path": { @@ -13439,9 +13440,9 @@ } }, "rollup": { - "version": "2.79.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz", - "integrity": "sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-3.0.0.tgz", + "integrity": "sha512-iVomS2lySi4BM2QJb7lGZBjSndUEs6Ip+VDl25jcbM99VI5vWeEitvUSiNQkQkwqEiI4515m5shjyuwPcXS5Dg==", "dev": true, "requires": { "fsevents": "~2.3.2" @@ -13698,9 +13699,9 @@ }, "dependencies": { "ansi-styles": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.1.1.tgz", - "integrity": "sha512-qDOv24WjnYuL+wbwHdlsYZFy+cgPtrYw0Tn7GLORicQp9BkQLzrgI3Pm4VyR9ERZ41YTn7KlMPuL1n05WdZvmg==", + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.0.tgz", + "integrity": "sha512-3MWBO/XxbkDtc/qpECaUwDM0DQ++ujBjdjs0ElZvChUoPv/P7GOnl3x+R2RF2My5UJHEW5R87q556MiR8U3PLw==", "dev": true }, "is-fullwidth-code-point": { @@ -14092,9 +14093,9 @@ } }, "typedoc": { - "version": "0.23.15", - "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.23.15.tgz", - "integrity": "sha512-x9Zu+tTnwxb9YdVr+zvX7LYzyBl1nieOr6lrSHbHsA22/RJK2m4Y525WIg5Mj4jWCmfL47v6f4hUzY7EIuwS5w==", + "version": "0.23.16", + "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.23.16.tgz", + "integrity": "sha512-rumYsCeNRXlyuZVzefD7050n7ptL2uudsCJg50dY0v/stKniqIlRpvx/F/6expC0/Q6Dbab+g/JpZuB7Sw90FA==", "dev": true, "requires": { "lunr": "^2.3.9", diff --git a/package.json b/package.json index addf4715..109567d2 100644 --- a/package.json +++ b/package.json @@ -64,7 +64,7 @@ "lib" ], "devDependencies": { - "@types/node": "^18.8.3", + "@types/node": "^18.8.4", "@typescript-eslint/eslint-plugin": "^5.40.0", "@typescript-eslint/parser": "^5.40.0", "benchmark": "^2.1.4", @@ -89,7 +89,7 @@ "prettier": "^2.7.1", "prettier-plugin-organize-imports": "^3.1.1", "prettierx": "^0.18.3", - "rollup": "^2.79.1", + "rollup": "^3.0.0", "rollup-plugin-analyzer": "^4.0.0", "rollup-plugin-command": "^1.1.3", "rollup-plugin-delete": "^2.0.0", @@ -98,7 +98,7 @@ "rollup-plugin-ts": "^3.0.2", "sinon": "^14.0.1", "source-map-support": "^0.5.21", - "typedoc": "^0.23.15", + "typedoc": "^0.23.16", "typescript": "^4.8.4" }, "engines": { diff --git a/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts b/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts index 731bb91b..a4cd8b98 100644 --- a/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts @@ -9,7 +9,7 @@ import { WorkerChoiceStrategies } from './selection-strategies-types' import { SelectionStrategiesUtils } from './selection-strategies-utils' /** - * Dynamically choose a worker. + * Selects the next worker for dynamic pool. * * @template Worker Type of worker which manages the strategy. * @template Data Type of data sent to the worker. This can only be serializable data. @@ -23,7 +23,7 @@ export class DynamicPoolWorkerChoiceStrategy< private workerChoiceStrategy: IWorkerChoiceStrategy /** - * Constructs a worker choice strategy for dynamical pool. + * Constructs a worker choice strategy for dynamic pool. * * @param pool The pool instance. * @param createDynamicallyWorkerCallback The worker creation callback for dynamic pool. -- 2.34.1