Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
10 changes: 5 additions & 5 deletions tools/bin/upgrade-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand All @@ -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).
Expand All @@ -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
)
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down