chore(deps)(deps): bump lint-staged from 16.4.0 to 17.0.4#139
Conversation
LabelsThe following labels could not be found: Please fix the above issues or remove invalid values from |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughAtualização do package.json: dependência ChangesAtualização de Dependência
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
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 143: O package.json atual atualizou "lint-staged" para 17.x, que requer
Node >= 22.22.1 e Git >= 2.32.0 enquanto o projeto ainda declara "node":
">=20.0.0", fazendo falhar hooks/CI; reverta a dependência "lint-staged" para a
faixa compatível com Node 20 (por exemplo "lint-staged": "16.x") no package.json
e/ou atualize a chave "engines" para refletir o requisito mínimo real se for
aceitável elevar suporte a Node, garantindo também que
documentação/CI/pre-commit apontem a versão mínima de Git se necessário.
🪄 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: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro
Run ID: be42e03a-bd1f-4b09-b6ce-25dae31ae867
⛔ Files ignored due to path filters (1)
package-lock.jsonis excluded by!**/package-lock.json,!**/package-lock.json
📒 Files selected for processing (1)
package.json
| "jspdf": "4.2.1", | ||
| "jspdf-autotable": "5.0.7", | ||
| "lint-staged": "^16.4.0", | ||
| "lint-staged": "^17.0.4", |
There was a problem hiding this comment.
🧩 Analysis chain
🌐 Web query:
lint-staged 17.0 Node.js version requirements breaking changes
💡 Result:
For lint-staged 17.0.0, the Node.js version requirements breaking change is: Node.js v20 is no longer supported, and the oldest supported version is Node.js 22.22.1 (active v22 LTS at the time of the release). [1][2] What to do (breaking impact): - If your pre-commit/CI runs lint-staged with Node.js 20, upgrade the runtime to at least Node.js 22.22.1 (or newer, e.g., v24/v25). [2][1] Additional related breaking/support changes in the same v17.0.0 release: - lint-staged now requires/validates Git version >= 2.32.0; if you use an older Git, you must upgrade before running lint-staged. [1][3] Evidence: lint-staged’s v17 migration notes explicitly state the Node.js v20 removal and the new minimum (22.22.1), and the v17.0.0 release notes repeat that Node.js v20 is no longer supported. [2][1]
Citations:
- 1: lint-staged@17.0.0 lint-staged/lint-staged#1745
- 2: https://github.com/lint-staged/lint-staged/blob/HEAD/MIGRATION.md
- 3: https://github.com/lint-staged/lint-staged/releases
🏁 Script executed:
cat package.json | grep -A 5 "lint-staged\|engines"Repository: adm01-debug/Promo_Gifts
Length of output: 452
lint-staged@17 quebra com Node 20 declarado em engines
Esse bump exige Node >= 22.22.1, mas o projeto ainda declara "node": ">=20.0.0". Pre-commit hooks e CI vão falhar na execução.
Além disso, lint-staged@17 também passou a exigir Git >= 2.32.0.
💡 Ajuste necessário
"engines": {
- "node": ">=20.0.0",
+ "node": ">=22.22.1",
"npm": ">=10.0.0"
}Se o projeto ainda precisa suportar Node 20, recue lint-staged para 16.x.
🤖 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 143, O package.json atual atualizou "lint-staged" para
17.x, que requer Node >= 22.22.1 e Git >= 2.32.0 enquanto o projeto ainda
declara "node": ">=20.0.0", fazendo falhar hooks/CI; reverta a dependência
"lint-staged" para a faixa compatível com Node 20 (por exemplo "lint-staged":
"16.x") no package.json e/ou atualize a chave "engines" para refletir o
requisito mínimo real se for aceitável elevar suporte a Node, garantindo também
que documentação/CI/pre-commit apontem a versão mínima de Git se necessário.
|
@dependabot rebase |
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 to 17.0.4. - [Release notes](https://github.com/lint-staged/lint-staged/releases) - [Changelog](https://github.com/lint-staged/lint-staged/blob/main/CHANGELOG.md) - [Commits](lint-staged/lint-staged@v16.4.0...v17.0.4) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 17.0.4 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
31a6049 to
6c9fc56
Compare
Tarefa 7 do redeploy. Triagei 7 PRs dependabot abertas há semanas. Resultado: - 4 mergeadas: #138, #139, #144, #145 (devtools + CI actions, baixo risco) - 3 fechadas: #140, #141, #142 (runtime majors com breaking changes) - 1 issue criada: #155 (tracking dos 3 majors pendentes) Critério: triagem por RISCO REAL (devtools vs runtime), não por minor/major. Decisões persistidas em docs/redeploy/REDEPLOY-T7-DEPENDABOT.md: - Lista completa das 7 PRs com decisão e razão - Critérios de triagem reutilizáveis - Achados sobre falsos-positivos (CDN 522 do esm.sh) - Recomendação de dependabot.yml para reduzir ruído futuro - Status atualizado do plano de redeploy Closes part of #155 (T7 do plano) Co-authored-by: Joaquim (via Claude Code redeploy T2) <joaquim@atomicabr.com.br> Co-authored-by: Claude <noreply@anthropic.com>
Bumps lint-staged from 16.4.0 to 17.0.4.
Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
2862964Merge pull request #1789 from lint-staged/changeset-release/mainc9ecd54chore(changeset): releasecc6b51aMerge pull request #1788 from lint-staged/fix-update-index-againf95c1f8fix: update both default index.lock and non-standard lock when latter existsf44ee68Merge pull request #1786 from lint-staged/update-repo-urla61cf18build(deps): update dependenciesea00037docs: disable Changesets "thanks"ab7c26cdocs: update repo URL to point inlint-staged/lint-stageda36ec1eMerge pull request #1783 from lint-staged/changeset-release/main03ce2a9chore(changeset): releaseSummary by CodeRabbit
Chores
lint-stagedpara a versão mais recente.