From: Jérôme Benoit Date: Sat, 22 Jul 2023 21:34:03 +0000 (+0200) Subject: build(deps-dev): apply updates X-Git-Tag: v2.6.21~40 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=73bfd59d83bc832e72e594de1f23bcd5290a16cd;p=poolifier.git build(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 924e2b3d..23290e44 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "@release-it/keep-a-changelog": "^4.0.0", "@rollup/plugin-terser": "^0.4.3", "@rollup/plugin-typescript": "^11.1.2", - "@types/node": "^20.4.3", + "@types/node": "^20.4.4", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "benny": "^3.7.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 128ce045..fc7e212a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ devDependencies: specifier: ^11.1.2 version: 11.1.2(rollup@3.26.3)(typescript@5.1.6) '@types/node': - specifier: ^20.4.3 - version: 20.4.3 + specifier: ^20.4.4 + version: 20.4.4 '@typescript-eslint/eslint-plugin': specifier: ^5.62.0 version: 5.62.0(@typescript-eslint/parser@5.62.0)(eslint@8.45.0)(typescript@5.1.6) @@ -273,15 +273,15 @@ packages: '@commitlint/execute-rule': 17.4.0 '@commitlint/resolve-extends': 17.6.7 '@commitlint/types': 17.4.4 - '@types/node': 20.4.3 + '@types/node': 20.4.4 chalk: 4.1.2 cosmiconfig: 8.2.0 - cosmiconfig-typescript-loader: 4.3.0(@types/node@20.4.3)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6) + cosmiconfig-typescript-loader: 4.3.0(@types/node@20.4.4)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 resolve-from: 5.0.0 - ts-node: 10.9.1(@types/node@20.4.3)(typescript@5.1.6) + ts-node: 10.9.1(@types/node@20.4.4)(typescript@5.1.6) typescript: 5.1.6 transitivePeerDependencies: - '@swc/core' @@ -458,7 +458,7 @@ packages: '@jest/schemas': 29.6.0 '@types/istanbul-lib-coverage': 2.0.4 '@types/istanbul-reports': 3.0.1 - '@types/node': 20.4.3 + '@types/node': 20.4.4 '@types/yargs': 17.0.24 chalk: 4.1.2 dev: true @@ -859,7 +859,7 @@ packages: resolution: {integrity: sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA==} dependencies: '@types/minimatch': 5.1.2 - '@types/node': 20.4.3 + '@types/node': 20.4.4 dev: true /@types/http-cache-semantics@4.0.1: @@ -898,8 +898,8 @@ packages: resolution: {integrity: sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==} dev: true - /@types/node@20.4.3: - resolution: {integrity: sha512-Yu3+r4Mn/iY6Mf0aihncZQ1qOjOUrCiodbHHY1hds5O+7BbKp9t+Li7zLO13zO8j9L2C6euz8xsYQP0rjGvVXw==} + /@types/node@20.4.4: + resolution: {integrity: sha512-CukZhumInROvLq3+b5gLev+vgpsIqC2D0deQr/yS1WnxvmYLlJXZpaQrQiseMY+6xusl79E04UjWoqyr+t1/Ew==} dev: true /@types/normalize-package-data@2.4.1: @@ -1755,7 +1755,7 @@ packages: resolution: {integrity: sha512-ASFBup0Mz1uyiIjANan1jzLQami9z1PoYSZCiiYW2FczPbenXc45FZdBZLzOT+r6+iciuEModtmCti+hjaAk0A==} dev: true - /cosmiconfig-typescript-loader@4.3.0(@types/node@20.4.3)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6): + /cosmiconfig-typescript-loader@4.3.0(@types/node@20.4.4)(cosmiconfig@8.2.0)(ts-node@10.9.1)(typescript@5.1.6): resolution: {integrity: sha512-NTxV1MFfZDLPiBMjxbHRwSh5LaLcPMwNdCutmnHJCKoVnlvldPWlllonKwrsRJ5pYZBIBGRWWU2tfvzxgeSW5Q==} engines: {node: '>=12', npm: '>=6'} peerDependencies: @@ -1764,9 +1764,9 @@ packages: ts-node: '>=10' typescript: '>=3' dependencies: - '@types/node': 20.4.3 + '@types/node': 20.4.4 cosmiconfig: 8.2.0 - ts-node: 10.9.1(@types/node@20.4.3)(typescript@5.1.6) + ts-node: 10.9.1(@types/node@20.4.4)(typescript@5.1.6) typescript: 5.1.6 dev: true @@ -2659,7 +2659,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/expect-utils': 29.6.1 - '@types/node': 20.4.3 + '@types/node': 20.4.4 jest-get-type: 29.4.3 jest-matcher-utils: 29.6.1 jest-message-util: 29.6.1 @@ -3715,7 +3715,7 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: '@jest/types': 29.6.1 - '@types/node': 20.4.3 + '@types/node': 20.4.4 chalk: 4.1.2 ci-info: 3.8.0 graceful-fs: 4.2.11 @@ -5665,7 +5665,7 @@ packages: engines: {node: '>=8'} dev: true - /ts-node@10.9.1(@types/node@20.4.3)(typescript@5.1.6): + /ts-node@10.9.1(@types/node@20.4.4)(typescript@5.1.6): resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -5684,7 +5684,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 20.4.3 + '@types/node': 20.4.4 acorn: 8.10.0 acorn-walk: 8.2.0 arg: 4.1.3 diff --git a/tests/pools/abstract/abstract-pool.test.js b/tests/pools/abstract/abstract-pool.test.js index 5496746d..5ac704a6 100644 --- a/tests/pools/abstract/abstract-pool.test.js +++ b/tests/pools/abstract/abstract-pool.test.js @@ -175,7 +175,7 @@ describe('Abstract pool test suite', () => { expect(pool.opts.onlineHandler).toBeUndefined() expect(pool.opts.exitHandler).toBeUndefined() await pool.destroy() - const testHandler = () => console.log('test handler executed') + const testHandler = () => console.info('test handler executed') pool = new FixedThreadPool( numberOfWorkers, './tests/worker-files/thread/testWorker.js', diff --git a/tests/pools/cluster/dynamic.test.js b/tests/pools/cluster/dynamic.test.js index a6d0b594..7c24131b 100644 --- a/tests/pools/cluster/dynamic.test.js +++ b/tests/pools/cluster/dynamic.test.js @@ -89,8 +89,8 @@ describe('Dynamic cluster pool test suite', () => { './tests/worker-files/cluster/longRunningWorkerHardBehavior.js', { errorHandler: e => console.error(e), - onlineHandler: () => console.log('long executing worker is online'), - exitHandler: () => console.log('long executing worker exited') + onlineHandler: () => console.info('long executing worker is online'), + exitHandler: () => console.info('long executing worker exited') } ) expect(longRunningPool.workerNodes.length).toBe(min) @@ -116,8 +116,8 @@ describe('Dynamic cluster pool test suite', () => { './tests/worker-files/cluster/longRunningWorkerSoftBehavior.js', { errorHandler: e => console.error(e), - onlineHandler: () => console.log('long executing worker is online'), - exitHandler: () => console.log('long executing worker exited') + onlineHandler: () => console.info('long executing worker is online'), + exitHandler: () => console.info('long executing worker exited') } ) expect(longRunningPool.workerNodes.length).toBe(min) diff --git a/tests/pools/cluster/fixed.test.js b/tests/pools/cluster/fixed.test.js index 0415d9c1..1f4337e4 100644 --- a/tests/pools/cluster/fixed.test.js +++ b/tests/pools/cluster/fixed.test.js @@ -27,7 +27,7 @@ describe('Fixed cluster pool test suite', () => { const emptyPool = new FixedClusterPool( numberOfWorkers, './tests/worker-files/cluster/emptyWorker.js', - { exitHandler: () => console.log('empty pool worker exited') } + { exitHandler: () => console.info('empty pool worker exited') } ) const echoPool = new FixedClusterPool( numberOfWorkers, diff --git a/tests/pools/thread/dynamic.test.js b/tests/pools/thread/dynamic.test.js index 4f3dfb6d..b5ba62bb 100644 --- a/tests/pools/thread/dynamic.test.js +++ b/tests/pools/thread/dynamic.test.js @@ -89,8 +89,8 @@ describe('Dynamic thread pool test suite', () => { './tests/worker-files/thread/longRunningWorkerHardBehavior.js', { errorHandler: e => console.error(e), - onlineHandler: () => console.log('long executing worker is online'), - exitHandler: () => console.log('long executing worker exited') + onlineHandler: () => console.info('long executing worker is online'), + exitHandler: () => console.info('long executing worker exited') } ) expect(longRunningPool.workerNodes.length).toBe(min) @@ -116,8 +116,8 @@ describe('Dynamic thread pool test suite', () => { './tests/worker-files/thread/longRunningWorkerSoftBehavior.js', { errorHandler: e => console.error(e), - onlineHandler: () => console.log('long executing worker is online'), - exitHandler: () => console.log('long executing worker exited') + onlineHandler: () => console.info('long executing worker is online'), + exitHandler: () => console.info('long executing worker exited') } ) expect(longRunningPool.workerNodes.length).toBe(min) diff --git a/tests/pools/thread/fixed.test.js b/tests/pools/thread/fixed.test.js index e4b99a63..f38a56c6 100644 --- a/tests/pools/thread/fixed.test.js +++ b/tests/pools/thread/fixed.test.js @@ -27,7 +27,7 @@ describe('Fixed thread pool test suite', () => { const emptyPool = new FixedThreadPool( numberOfThreads, './tests/worker-files/thread/emptyWorker.js', - { exitHandler: () => console.log('empty pool worker exited') } + { exitHandler: () => console.info('empty pool worker exited') } ) const echoPool = new FixedThreadPool( numberOfThreads,