Repository navigation
build(deps): bump next to 16.4.6, typescript to 6.0.3, and add security overrides - #106
Conversation
…rity overrides Upgrades next & eslint-config-next to 16.4.6, typescript to 6.0.3. Adds overrides for minimatch >=11.0.1 and postcss-selector-parser >=6.1.5. Fixes Dependabot alerts (#104 and vulnerabilities). Passes build, lint, and pnpm audit with 0 vulnerabilities.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
🔴 Claude BugBot Analysis
Found 1 potential bug in this PR.
medium: 1
The Next.js 16.4.6 patch bump looks fine. The TypeScript 6 major bump contradicts an explicit AGENTS.md rule. The minimatch >=11 override is a further risk for ESLint plugins built against minimatch 3.
| @@ -11,13 +11,13 @@ | |||
| "lint:fix": "eslint . --fix" | |||
There was a problem hiding this comment.
🟡 MEDIUM: TypeScript bumped to 6.x, which AGENTS.md says not to do
AGENTS.md, under Dependency tooling (Next.js), says: "TypeScript: stay on 5.9.x (Next.js requires ≥5.1; typescript-eslint does not support TypeScript 7 yet)" and "do not merge Dependabot majors that the Next.js / typescript-eslint stack does not support yet". This change moves typescript from ~5.9.3 to ^6.0.3, which is a major bump. The ^ range also drops the previous ~ pin on 5.9.x. Either revert to ~5.9.3, or update AGENTS.md in the same change after checking the Next.js and typescript-eslint docs and running lint and build. A related risk is the new override minimatch: >=11.0.1. It forces ESLint, eslint-plugin-import, eslint-plugin-react and @eslint/eslintrc, which were built against minimatch 3.x, onto minimatch 11. That is an API-incompatible major, so pnpm run lint may break.
⚠️ Could not locate exact line in the diff. The bug is atpackage.json:29.
Additional Locations
package.json:57— Override forces minimatch >=11.0.1 for packages that depend on minimatch 3.x
Bumps next/eslint-config-next to 16.4.6 and typescript to 6.0.3, and adds pnpm overrides for minimatch (>=11.0.1) and postcss-selector-parser (>=6.1.5). Replaces Dependabot PR #104 and resolves all security alerts. Verified 0 vulnerabilities and clean build/lint.