Skip to content

Bump tmp and eslint - #13

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-a16433ae43
Open

Bump tmp and eslint#13
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/multi-a16433ae43

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 22, 2026

Copy link
Copy Markdown

Removes tmp. It's no longer used after updating ancestor dependency eslint. These dependencies need to be updated together.

Removes tmp

Updates eslint from 6.0.1 to 10.7.0

Release notes

Sourced from eslint's releases.

v10.7.0

Features

  • cf2a9bf feat: add errorClassNames option to preserve-caught-error rule (#21032) (sethamus)
  • f8b873a feat: max-nested-callbacks option for constructor callbacks (#21063) (fnx)
  • 557fde8 feat: support computed Number.parseInt member access in radix rule (#21041) (Pixel)
  • 0b4a73b feat: add suggestions to no-compare-neg-zero (#21034) (den$)
  • 96cdd42 feat: report invalid signed numeric radix values in radix rule (#21030) (Pixel)

Bug Fixes

  • 3e7bf15 fix: apply ignoreClassesWithImplements to class expressions (#21069) (Pixel)
  • 0d7d70c fix: insert cause outside wrapping parens in preserve-caught-error (#21062) (Mahin Anowar)
  • 75ec753 fix: handle static template literals in eqeqeq rule (#21058) (Pixel)
  • b717a22 fix: prevent eqeqeq null option from reporting non-equality operators (#21057) (Pixel)
  • e35b05f fix: avoid no-invalid-regexp false positive for shadowed RegExp (#21051) (Pixel)
  • a3172b6 fix: avoid no-control-regex false positive for shadowed RegExp (#21050) (Pixel)
  • d1f637e fix: parenthesize sequence expression operands in no-implicit-coercion (#21045) (spokodev)
  • 8859baf fix: avoid prefer-numeric-literals false positive for shadowed globals (#21047) (한국)
  • a9e5961 fix: use-isnan false positive on shadowed NaN/Number (#20958) (sethamus)
  • 8a240a7 fix: avoid false positives in radix rule for spread arguments (#21044) (Pixel)

Documentation

  • c30d808 docs: Update README (GitHub Actions Bot)
  • 5139800 docs: document ESLint migration codemods in v9 and v10 guides (#20980) (Alex Bit)
  • 04174cb docs: Update README (GitHub Actions Bot)
  • 026e130 docs: update semver policy for bug fixes (#21048) (Milos Djermanovic)
  • 9d42fef docs: Update README (GitHub Actions Bot)
  • b230159 docs: Update README (GitHub Actions Bot)
  • 0129972 docs: correct **/.js glob to **/*.js in config files guide (#21036) (EduardF1)

Chores

  • 9489379 chore: update dependency @​eslint/eslintrc to ^3.3.6 (#21076) (renovate[bot])
  • 81a4774 chore: updates for v9.39.5 release (Jenkins)
  • 9835414 chore: enable $ExpectType annotations in all TypeScript files (#21071) (Francesco Trotta)
  • 72adf6b chore: restrict markdownlint-cli2 updates in renovate (#21067) (lumir)
  • 833ec10 chore: update dependency prettier to v3.9.4 (#21061) (renovate[bot])
  • 7ea106d chore: update ecosystem plugins (#21059) (ESLint Bot)
  • 8fb550e chore: add prettier update commit to .git-blame-ignore-revs (#21056) (lumir)
  • e4e1166 chore: update dependency prettier to v3.9.1 (#21055) (renovate[bot])
  • 0493f53 chore: update prettier to v3.9.0 (#21054) (Pixel)
  • 1056a99 chore: update dependency prettier to v3.8.5 (#21049) (renovate[bot])
  • 4d4155d ci: run ecosystem tests on pull requests (#21027) (sethamus)
  • 993539f chore: update dependency @​eslint/json to ^2.0.1 (#21042) (renovate[bot])
  • 53f8b69 test: add error locations to no-constant-binary-expression (#21039) (lumir)
  • 5ab71d5 refactor: clean up radix rule internals (#21015) (Pixel)
  • a80a9a4 chore: update ecosystem plugins (#21035) (ESLint Bot)
  • 7c9a029 ci: add Node.js 26 to CI (#20847) (lumir)

v10.6.0

Features

  • b1f9106 feat: detect Symbol() and BigInt() in no-constant-binary-expression (#20981) (Taejin Kim)

... (truncated)

Commits
  • fabd99b 10.7.0
  • 37c5e75 Build: changelog update for 10.7.0
  • 9489379 chore: update dependency @​eslint/eslintrc to ^3.3.6 (#21076)
  • 81a4774 chore: updates for v9.39.5 release
  • 3e7bf15 fix: apply ignoreClassesWithImplements to class expressions (#21069)
  • 9835414 chore: enable $ExpectType annotations in all TypeScript files (#21071)
  • cf2a9bf feat: add errorClassNames option to preserve-caught-error rule (#21032)
  • c30d808 docs: Update README
  • f8b873a feat: max-nested-callbacks option for constructor callbacks (#21063)
  • 72adf6b chore: restrict markdownlint-cli2 updates in renovate (#21067)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by eslintbot, a new releaser for eslint since your current version.


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by CodeRabbit

  • Chores
    • Updated the development linting tooling to a newer version.

Removes [tmp](https://github.com/raszi/node-tmp). It's no longer used after updating ancestor dependency [eslint](https://github.com/eslint/eslint). These dependencies need to be updated together.


Removes `tmp`

Updates `eslint` from 6.0.1 to 10.7.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v6.0.1...v10.7.0)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version:
  dependency-type: indirect
- dependency-name: eslint
  dependency-version: 10.7.0
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 22, 2026
@coderabbitai

coderabbitai Bot commented Jul 22, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

The pull request updates the eslint development dependency in package.json from ^6.0.1 to ^10.7.0.

Changes

ESLint dependency update

Layer / File(s) Summary
Update ESLint version
package.json
The devDependencies.eslint version changes from ^6.0.1 to ^10.7.0.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is specific and matches the dependency update, mentioning both eslint and the related tmp cleanup.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/multi-a16433ae43

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

ESLint install failed: dependency version conflict. Check your lock file or package.json.


Comment @coderabbitai help to get the list of available commands.

@gitar-bot

gitar-bot Bot commented Jul 22, 2026

Copy link
Copy Markdown
CI failed: The CI build failed due to an outdated Ruby environment configuration; the project is using a deprecated action and an EOL Ruby version that is no longer available on the runners.

Overview

One failure was identified across all analyzed logs. The build is failing because it relies on a deprecated GitHub Action (actions/setup-ruby@v1) which attempts to install an unsupported, end-of-life version of Ruby (2.6.x).

Failures

Deprecated Ruby Environment Configuration (confidence: high)

  • Type: configuration
  • Affected jobs: 88821066860
  • Related to change: no
  • Root cause: The workflow uses actions/setup-ruby@v1, which is deprecated and cannot locate or install Ruby 2.6.x on modern CI runners.
  • Suggested fix: Replace actions/setup-ruby@v1 with the currently maintained ruby/setup-ruby action and update the Ruby version to a supported release (e.g., 3.2 or 3.3).

Summary

  • Change-related failures: 0. The dependency update triggered the CI, but the failure is due to underlying infrastructure drift.
  • Infrastructure/flaky failures: 1. The CI workflow configuration is outdated and incompatible with the current runner environment.
  • Recommended action: Update the .github/workflows/*.yml files to use the ruby/setup-ruby action and bump the Ruby version to a maintained release.
Code Review 🚫 Blocked 0 resolved / 2 findings

Updates ESLint to 10.7.0 and removes the unused tmp dependency, but the PR is blocked due to breaking changes in the ESLint configuration format and widespread plugin incompatibility.

🚨 Bug: ESLint 10 breaks legacy .eslintrc config and lint script

📄 package.json:7 📄 package.json:9 📄 package.json:39

The repo's lint config lives in .eslintrc (eslintrc format with env and extends: "airbnb"), but ESLint 9 dropped eslintrc as the default and ESLint 10 fully requires flat config (eslint.config.js). After this bump, npm run lint (and the ci/husky hooks that call it) will fail to load the existing config. Migrate to a flat eslint.config.js (e.g. via @eslint/eslintrc's FlatCompat) as part of this upgrade, or the lint step is broken.

⚠️ Bug: eslint-config-airbnb 17 / plugins incompatible with ESLint 10

📄 package.json:39-44

eslint-config-airbnb@^17.1.0 declares a peer dependency on eslint@^5||^6 (and the pinned eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react versions target that era), so pairing it with eslint@^10.7.0 produces peer-dependency conflicts and rule/API mismatches at runtime. Bump the Airbnb config and ESLint plugins to versions that support ESLint 10 alongside this change, rather than upgrading eslint in isolation.

🤖 Prompt for agents
Code Review: Updates ESLint to 10.7.0 and removes the unused `tmp` dependency, but the PR is blocked due to breaking changes in the ESLint configuration format and widespread plugin incompatibility.

1. 🚨 Bug: ESLint 10 breaks legacy .eslintrc config and lint script
   Files: package.json:7, package.json:9, package.json:39

   The repo's lint config lives in `.eslintrc` (eslintrc format with `env` and `extends: "airbnb"`), but ESLint 9 dropped eslintrc as the default and ESLint 10 fully requires flat config (`eslint.config.js`). After this bump, `npm run lint` (and the `ci`/husky hooks that call it) will fail to load the existing config. Migrate to a flat `eslint.config.js` (e.g. via `@eslint/eslintrc`'s FlatCompat) as part of this upgrade, or the lint step is broken.

2. ⚠️ Bug: eslint-config-airbnb 17 / plugins incompatible with ESLint 10
   Files: package.json:39-44

   `eslint-config-airbnb@^17.1.0` declares a peer dependency on `eslint@^5||^6` (and the pinned `eslint-plugin-import`, `eslint-plugin-jsx-a11y`, `eslint-plugin-react` versions target that era), so pairing it with `eslint@^10.7.0` produces peer-dependency conflicts and rule/API mismatches at runtime. Bump the Airbnb config and ESLint plugins to versions that support ESLint 10 alongside this change, rather than upgrading `eslint` in isolation.

Tip

Comment Gitar fix CI or enable auto-apply: gitar auto-apply:on

Options

Auto-apply is off → Gitar will not commit updates to this branch.
Display: compact → Showing less information.

Comment with these commands to change the behavior for this request:

Auto-apply Compact
gitar auto-apply:on         
gitar display:verbose         

Important

Your trial ends in 3 days — upgrade now to keep code review, CI analysis, auto-apply, custom automations, and more.

Was this helpful? React with 👍 / 👎 | Gitar

@socket-security

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedeslint@​6.0.1 ⏵ 10.7.097 +1210010095 +45100

View full report

Comment thread package.json
"@babel/preset-env": "^7.4.5",
"@types/jest": "^24.0.15",
"eslint": "^6.0.1",
"eslint": "^10.7.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚨 Bug: ESLint 10 breaks legacy .eslintrc config and lint script

The repo's lint config lives in .eslintrc (eslintrc format with env and extends: "airbnb"), but ESLint 9 dropped eslintrc as the default and ESLint 10 fully requires flat config (eslint.config.js). After this bump, npm run lint (and the ci/husky hooks that call it) will fail to load the existing config. Migrate to a flat eslint.config.js (e.g. via @eslint/eslintrc's FlatCompat) as part of this upgrade, or the lint step is broken.

Was this helpful? React with 👍 / 👎

Comment thread package.json
"@babel/preset-env": "^7.4.5",
"@types/jest": "^24.0.15",
"eslint": "^6.0.1",
"eslint": "^10.7.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Bug: eslint-config-airbnb 17 / plugins incompatible with ESLint 10

eslint-config-airbnb@^17.1.0 declares a peer dependency on eslint@^5||^6 (and the pinned eslint-plugin-import, eslint-plugin-jsx-a11y, eslint-plugin-react versions target that era), so pairing it with eslint@^10.7.0 produces peer-dependency conflicts and rule/API mismatches at runtime. Bump the Airbnb config and ESLint plugins to versions that support ESLint 10 alongside this change, rather than upgrading eslint in isolation.

Was this helpful? React with 👍 / 👎

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 39: Update the ESLint configuration before retaining the ESLint v10
dependency: migrate the existing .eslintrc settings, including AirBnB and Jest
rules, into an eslint.config.* flat configuration that ESLint 10 loads, and
ensure the existing eslint ./src/* command uses those rules.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: c44611f6-7b0e-471e-966f-97d1ba0d74a3

📥 Commits

Reviewing files that changed from the base of the PR and between ffee966 and 12edc38.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"@babel/preset-env": "^7.4.5",
"@types/jest": "^24.0.15",
"eslint": "^6.0.1",
"eslint": "^10.7.0",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🏁 Script executed:

#!/bin/bash
# Verify that the ESLint v10 migration is complete without executing repository code.
fd -HI 'eslint.config.*|\.eslintrc.*|package-lock.json|npm-shrinkwrap.json|yarn.lock|pnpm-lock.yaml' .
rg -n '"lint"|"eslint"|"airbnb"|"eslint-plugin-jest"|"engines"' package.json .github 2>/dev/null

Repository: big-main/javascript-algorithms

Length of output: 339


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json (relevant lines) ---'
nl -ba package.json | sed -n '1,80p'

echo
echo '--- .eslintrc ---'
nl -ba .eslintrc | sed -n '1,220p'

Repository: big-main/javascript-algorithms

Length of output: 246


🌐 Web query:

ESLint v10 removes eslintrc support migration guide legacy config flat config

💡 Result:

In ESLint v10.0.0, support for the legacy eslintrc configuration format (including.eslintrc files) has been completely removed [1][2]. This major release marks the final transition to the flat configuration format (eslint.config.js) as the only supported way to configure ESLint [2]. Key changes in v10.0.0 include: - The ESLINT_USE_FLAT_CONFIG environment variable is no longer supported and will be ignored [2]. - CLI flags specific to eslintrc (e.g., --no-eslintrc, --env, --ignore-path, --rulesdir) have been removed [2]. - Files such as.eslintrc.* and.eslintignore are no longer honored [2]. - The Linter API no longer supports the eslintrc config type; the configType argument must be set to "flat" [2]. - Deprecated APIs including LegacyESLint, FileEnumerator, and specific Linter methods (e.g., defineRule, defineRules, defineParser) have been removed [2]. To migrate to ESLint v10: 1. Use the official migration tool: ESLint provides an automated migrator to help convert your existing configuration to the flat config format. You can run the configuration migrator on your existing files (e.g.,.eslintrc,.eslintrc.json) to generate an initial eslint.config.js [3]. 2. Utilize Codemods: ESLint offers specialized codemods to assist with the upgrade. The @eslint/v9-to-v10 codemod suite is available to automate many of the necessary changes, including updating API usage and cleaning up deprecated configurations [1]. 3. Consult the Migration Guide: Refer to the official ESLint Migrate to v10.x guide for comprehensive steps to address breaking changes, update your configurations, and resolve API deprecations [1][4].

Citations:


🏁 Script executed:

#!/bin/bash
set -euo pipefail

echo '--- package.json (relevant lines) ---'
sed -n '1,80p' package.json

echo
echo '--- .eslintrc ---'
sed -n '1,220p' .eslintrc

Repository: big-main/javascript-algorithms

Length of output: 1828


Migrate the ESLint config before upgrading to v10. .eslintrc is still the only ESLint config here, but ESLint 10 ignores legacy config files, so eslint ./src/* won’t load the AirBnB/Jest rules unless you add an eslint.config.* flat config or keep ESLint on a legacy-supported version.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 39, Update the ESLint configuration before retaining
the ESLint v10 dependency: migrate the existing .eslintrc settings, including
AirBnB and Jest rules, into an eslint.config.* flat configuration that ESLint 10
loads, and ensure the existing eslint ./src/* command uses those rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants