Skip to content

build(deps): bump lint-staged to 17.4.1 - #1306

Merged
erickzhao merged 1 commit into
mainfrom
lint-staged-17
Sep 3, 2026
Merged

build(deps): bump lint-staged to 17.4.1#1306
erickzhao merged 1 commit into
mainfrom
lint-staged-17

Conversation

@claude

@claude claude Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Requested by David Sanders · Slack thread

Before: lint-staged ^16.4.0 resolving to 16.4.0, whose dependency tree (commander, listr2, yaml and friends) adds 26 packages to yarn.lock.

After: lint-staged 17.4.1, which has three direct dependencies (picomatch, string-argv, tinyexec; yaml is optional) and no transitive ones. yarn.lock shrinks by 204 lines and 23 packages.

How: version bump plus yarn install with the repo's pinned Yarn 4.10.3. lint-staged 17 declares Node >=22.22.1 and Git >=2.32 while the repo's .nvmrc is 22.12; Yarn doesn't enforce engines and the .husky/pre-commit hook (yarn lint-staged) was verified to run on Node 22.22. The 16→17 changes (yaml made optional, commander replaced by parseArgs, git update-index --again instead of git add) don't affect this repo's package.json config.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH


Generated by Claude Code

lint-staged 17 has three direct dependencies and no transitive ones, trimming yarn.lock by 204 lines / 23 packages.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FYHE9pAHKgNagai4AYyBbH
@claude
claude Bot requested a review from a team as a code owner September 3, 2026 11:07
@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
Updatednpm/​lint-staged@​16.4.0 ⏵ 17.4.1100 +110010096 +1100

View full report

@erickzhao
erickzhao merged commit ca3235f into main Sep 3, 2026
9 checks passed
@erickzhao
erickzhao deleted the lint-staged-17 branch September 3, 2026 23:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants