From: Jérôme Benoit Date: Fri, 11 Jul 2025 10:12:12 +0000 (+0200) Subject: chore(deps-dev): apply updates X-Git-Tag: v5.0.8~2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=f64fc65b5ccc113ebfbd499684936844c128d747;p=poolifier.git chore(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index f08b48ff1..9b87e32c9 100644 --- a/package.json +++ b/package.json @@ -114,7 +114,7 @@ "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-typescript": "^12.1.4", "@std/expect": "npm:@jsr/std__expect@^1.0.16", - "@types/node": "^24.0.12", + "@types/node": "^24.0.13", "c8": "^10.1.3", "clean-publish": "^5.2.2", "cross-env": "^7.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5ed8244a4..394e80978 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -16,7 +16,7 @@ importers: version: 2.1.1 '@commitlint/cli': specifier: ^19.8.1 - version: 19.8.1(@types/node@24.0.12)(typescript@5.8.3) + version: 19.8.1(@types/node@24.0.13)(typescript@5.8.3) '@commitlint/config-conventional': specifier: ^19.8.1 version: 19.8.1 @@ -36,8 +36,8 @@ importers: specifier: npm:@jsr/std__expect@^1.0.16 version: '@jsr/std__expect@1.0.16' '@types/node': - specifier: ^24.0.12 - version: 24.0.12 + specifier: ^24.0.13 + version: 24.0.13 c8: specifier: ^10.1.3 version: 10.1.3 @@ -795,8 +795,8 @@ packages: '@types/json-schema@7.0.15': resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} - '@types/node@24.0.12': - resolution: {integrity: sha512-LtOrbvDf5ndC9Xi+4QZjVL0woFymF/xSTKZKPgrrl7H7XoeDvnD+E2IclKVDyaK9UM756W/3BXqSU+JEHopA9g==} + '@types/node@24.0.13': + resolution: {integrity: sha512-Qm9OYVOFHFYg3wJoTSrz80hoec5Lia/dPp84do3X7dZvLikQvM1YpmvTBEdIr/e+U8HTkFjLHLnl78K/qjf+jQ==} '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} @@ -2844,11 +2844,11 @@ snapshots: '@biomejs/cli-win32-x64@2.1.1': optional: true - '@commitlint/cli@19.8.1(@types/node@24.0.12)(typescript@5.8.3)': + '@commitlint/cli@19.8.1(@types/node@24.0.13)(typescript@5.8.3)': dependencies: '@commitlint/format': 19.8.1 '@commitlint/lint': 19.8.1 - '@commitlint/load': 19.8.1(@types/node@24.0.12)(typescript@5.8.3) + '@commitlint/load': 19.8.1(@types/node@24.0.13)(typescript@5.8.3) '@commitlint/read': 19.8.1 '@commitlint/types': 19.8.1 tinyexec: 1.0.1 @@ -2895,7 +2895,7 @@ snapshots: '@commitlint/rules': 19.8.1 '@commitlint/types': 19.8.1 - '@commitlint/load@19.8.1(@types/node@24.0.12)(typescript@5.8.3)': + '@commitlint/load@19.8.1(@types/node@24.0.13)(typescript@5.8.3)': dependencies: '@commitlint/config-validator': 19.8.1 '@commitlint/execute-rule': 19.8.1 @@ -2903,7 +2903,7 @@ snapshots: '@commitlint/types': 19.8.1 chalk: 5.4.1 cosmiconfig: 9.0.0(typescript@5.8.3) - cosmiconfig-typescript-loader: 6.1.0(@types/node@24.0.12)(cosmiconfig@9.0.0(typescript@5.8.3))(typescript@5.8.3) + cosmiconfig-typescript-loader: 6.1.0(@types/node@24.0.13)(cosmiconfig@9.0.0(typescript@5.8.3))(typescript@5.8.3) lodash.isplainobject: 4.0.6 lodash.merge: 4.6.2 lodash.uniq: 4.5.0 @@ -3477,7 +3477,7 @@ snapshots: '@types/conventional-commits-parser@5.0.1': dependencies: - '@types/node': 24.0.12 + '@types/node': 24.0.13 '@types/estree@1.0.8': {} @@ -3489,7 +3489,7 @@ snapshots: '@types/json-schema@7.0.15': {} - '@types/node@24.0.12': + '@types/node@24.0.13': dependencies: undici-types: 7.8.0 @@ -3896,9 +3896,9 @@ snapshots: core-util-is@1.0.3: {} - cosmiconfig-typescript-loader@6.1.0(@types/node@24.0.12)(cosmiconfig@9.0.0(typescript@5.8.3))(typescript@5.8.3): + cosmiconfig-typescript-loader@6.1.0(@types/node@24.0.13)(cosmiconfig@9.0.0(typescript@5.8.3))(typescript@5.8.3): dependencies: - '@types/node': 24.0.12 + '@types/node': 24.0.13 cosmiconfig: 9.0.0(typescript@5.8.3) jiti: 2.4.2 typescript: 5.8.3 diff --git a/src/pools/selection-strategies/fair-share-worker-choice-strategy.ts b/src/pools/selection-strategies/fair-share-worker-choice-strategy.ts index f4d707e94..e777d1c39 100644 --- a/src/pools/selection-strategies/fair-share-worker-choice-strategy.ts +++ b/src/pools/selection-strategies/fair-share-worker-choice-strategy.ts @@ -145,8 +145,7 @@ export class FairShareWorkerChoiceStrategy< ): number { const workerNodeTaskExecutionTime = this.getWorkerNodeTaskWaitTime(workerNodeKey) + - // eslint-disable-next-line @typescript-eslint/no-non-null-assertion - (this.opts!.measurement === Measurements.elu + (this.opts?.measurement === Measurements.elu ? this.getWorkerNodeTaskElu(workerNodeKey) : this.getWorkerNodeTaskRunTime(workerNodeKey)) return workerNodeVirtualTaskStartTimestamp + workerNodeTaskExecutionTime