diff --git a/package.json b/package.json index f0d3b4c7..e021659b 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ }, "devDependencies": { "@eslint/js": "^10.0.1", - "eslint": "^10.9.0", + "eslint": "^10.9.1", "globals": "^17.11.0", "mocha": "11.8.0", "nyc": "^18.0.0", diff --git a/tools/bin/upgrade-deps.sh b/tools/bin/upgrade-deps.sh index e2b93737..bc3c6065 100755 --- a/tools/bin/upgrade-deps.sh +++ b/tools/bin/upgrade-deps.sh @@ -281,7 +281,7 @@ step3_check_deps() { log "Checking for outdated dependencies..." local ncu_output - ncu_output="$(cd "$PROJECT_ROOT" && npx npm-check-updates 2>&1)" || true + ncu_output="$(cd "$PROJECT_ROOT" && npx --yes npm-check-updates 2>&1)" || true # ncu exits 0 and prints "All dependencies match the latest package versions :)" # when nothing needs updating @@ -328,8 +328,8 @@ step5_upgrade_deps() { log_step "5" "Upgrade dependencies" if [[ "$DRY_RUN" == true ]]; then - log_dry "Would run: npx npm-check-updates -u && yarn install && yarn audit fix (project root)" - log_dry "Would run: npx npm-check-updates -u && yarn install && yarn audit fix (benchmark-drivers)" + log_dry "Would run: npx --yes npm-check-updates -u && yarn install && yarn audit fix (project root)" + log_dry "Would run: npx --yes npm-check-updates -u && yarn install && yarn audit fix (benchmark-drivers)" return fi @@ -345,7 +345,7 @@ step5_upgrade_deps() { # --- Main project --- log "Upgrading main project dependencies..." cd "$PROJECT_ROOT" - npx npm-check-updates -u + npx --yes npm-check-updates -u yarn install # yarn audit fix bumps transitive dependencies in the lock file that # npm-check-updates cannot reach (it only touches package.json entries). @@ -357,7 +357,7 @@ step5_upgrade_deps() { log "Upgrading benchmark-drivers dependencies..." ( cd "$BENCHMARK_DRIVERS_DIR" - npx npm-check-updates -u + npx --yes npm-check-updates -u yarn install yarn audit fix || true ) diff --git a/yarn.lock b/yarn.lock index fada913f..21e18b36 100644 --- a/yarn.lock +++ b/yarn.lock @@ -670,10 +670,10 @@ eslint-visitor-keys@^5.0.1: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz#9e3c9489697824d2d4ce3a8ad12628f91e9f59be" integrity sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA== -eslint@^10.9.0: - version "10.9.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-10.9.0.tgz#3d86068a06c6c78161a4062e69874d38f59d498b" - integrity sha512-5KeEOJZBfEVA47boFiBsf+6MmmJpffM7qEBg4pLla2e4nlKgdKlqCW0oSLOGsT8Wl5uCGJptLV1bkaiShj90Gw== +eslint@^10.9.1: + version "10.9.1" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-10.9.1.tgz#409da5c41a5536d5a849f8555a18ca7ef1eb963b" + integrity sha512-9VaAkDURekixUQJy0oJYl2DcN6oKMfxay7XzaGYAWQwsb6qfKf+x76R2k1L8kb1boc+FyCAaTA9GmiKaaiaF+A== dependencies: "@eslint-community/eslint-utils" "^4.8.0" "@eslint-community/regexpp" "^4.12.2"