Repository navigation
chore(security): bump next to 16.3.3 and eslint to ^10 - #15
Conversation
Security-requested version bumps: - next: 16.2.6 -> 16.3.3 (pin lockfile version explicitly) - eslint: ^9 -> ^10 (resolves to 10.9.1) eslint-plugin-react@7.37.5 calls context.getFilename() which was removed in ESLint 10. Workaround: pin settings.react.version = '19.2.4' in eslint.config.mjs to skip the auto-detection code path that hits the removed API. Tracked upstream: jsx-eslint/eslint-plugin-react#3977 Co-authored-by: Cursor <cursoragent@cursor.com>
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe PR updates Next.js and ESLint versions. It also pins React 19.2.4 in the ESLint configuration. ChangesFrontend tooling updates
Estimated code review effort: 1 (Trivial) | ~5 minutes Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing. Comment |
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Security dependency bumps
Requested by the security team.
Changes
next16.2.6(lockfile was already16.3.3)16.3.3pinnedeslint^9(9.39.5)^10(10.9.1)ESLint 10 compatibility note
eslint-plugin-react@7.37.5(a transitive dep viaeslint-config-next) callscontext.getFilename()which was removed in ESLint 10. This causes a crash at lint time.Workaround applied in
eslint.config.mjs: pinsettings.react.version = "19.2.4"explicitly. This skipseslint-plugin-react's auto-detection code path that hits the removed API. Linting passes cleanly.Upstream tracking: jsx-eslint/eslint-plugin-react#3977 / vercel/next.js#89764
Once
eslint-plugin-reactships ESLint 10 support, thesettingsoverride can be removed.Made with Cursor
Summary by CodeRabbit