build(packages): bump lint-staged from 16.4.0 to 17.4.1 - #251
build(packages): bump lint-staged from 16.4.0 to 17.4.1#251dependabot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
收到,正在审查 lint-staged 16→17 升级 PR 的潜在破坏性与兼容风险。 PR #251 Review:
|
| 优先级 | 数量 | 要点 |
|---|---|---|
| 1 | Node 引擎 >=22.22.1 强制要求未同步到 engines |
|
| 2 | CI 仍测 Node 18 必红; husky install 废弃且无实际 hook |
|
| 2 | git add 冗余; yaml optional 需知悉 |
结论: 建议 Request Changes 后合并。
- 必须修复
package.json:54engines和ci-check.yml矩阵, 否则 Node 18 用户/CI 直接失败, 属于破坏性变更未声明。 - 建议顺手修复
prepare脚本并确认是否真的要启用husky+lint-staged(当前形同虚设, 升级收益为 0), 若不启用考虑移除lint-staged或补充.husky/pre-commit。 - 安全方面无直接漏洞
未发现, 但 Node 20 已 EOL, 强制升级到 22 属于安全加固, 正向。
验证: 本地
node -v v22.23.2满足要求, 但pnpm未安装无法执行pnpm lint回归, 建议在 Node 22/24 下pnpm install --frozen-lockfile && pnpm lint && npx lint-staged --version复测后再合。
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ❌ Deployment failed View logs |
api-enhanced | b14e662 | Sep 04 2026, 12:04 PM |
Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 16.4.0 to 17.4.1. - [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.4.1) --- updated-dependencies: - dependency-name: lint-staged dependency-version: 17.4.1 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
d05e5ce to
b14e662
Compare
|
诶?!老、老师请等一下!收到PR #251的审查请求了——我、我马上把账本……不对,把代码差异都核算清楚! 老师先看结论:这笔 拨算盘中……啪嗒啪嗒……好,冷静下来了。 Review Comment 1 —
|
Bumps lint-staged from 16.4.0 to 17.4.1.
Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
d0c1517Merge pull request #1841 from lint-staged/changeset-release/mainf061335chore(changeset): released2721afMerge pull request #1840 from lint-staged/updatesefe5b63ci: update Changesets action because it failed to publishcd76ce3build: update dependenciesea195e1Merge pull request #1837 from lint-staged/changeset-release/maina6a0d61chore(changeset): release0a09098Merge pull request #1832 from lint-staged/add-all-flag7fd685bfix: further fix parsing options logic510a27cfeat: add--allflag for including all files tracked by Git instead of just...