Skip to content

chore(deps-dev): bump lint-staged from 17.6.1 to 17.6.2 - #329

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/lint-staged-17.6.2
Open

dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/lint-staged-17.6.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor

Bumps lint-staged from 17.6.1 to 17.6.2.

Release notes

Sourced from lint-staged's releases.

v17.6.2

Patch Changes

  • #1871 9663745 - Version v17.6.0 introduced automatic staging of all tracked files edited by tasks, even if the files were not originally staged. This version adjusts the behavior so that when using a pathspec like git commit file.js (implying --only), the staging is limited to those files. The default behavior when running git commit is unchanged.

  • #1871 7a96baf - Similar to the above, when using --fail-on-changes and a pathspec like git commit file.js (implying --only), the commit will fail only if those files were changed. The default behavior when running git commit is unchanged, and the commit will fail on any changes to tracked files.

Changelog

Sourced from lint-staged's changelog.

17.6.2

Patch Changes

  • #1871 9663745 - Version v17.6.0 introduced automatic staging of all tracked files edited by tasks, even if the files were not originally staged. This version adjusts the behavior so that when using a pathspec like git commit file.js (implying --only), the staging is limited to those files. The default behavior when running git commit is unchanged.

  • #1871 7a96baf - Similar to the above, when using --fail-on-changes and a pathspec like git commit file.js (implying --only), the commit will fail only if those files were changed. The default behavior when running git commit is unchanged, and the commit will fail on any changes to tracked files.

Commits
  • 993b499 Merge pull request #1872 from lint-staged/changeset-release/main
  • dfa749b chore(changeset): release
  • 567d651 Merge pull request #1871 from lint-staged/fix-only-staged
  • e1a880c test: use vitest "threads" on Bun for compatibility issue
  • 6bdcb7f build(deps): update dependencies
  • 7a96baf fix: limit --fail-on-changes to pathspec
  • 9663745 fix: committing with pathspec limits staged changes
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lint-staged](https://github.com/lint-staged/lint-staged) from 17.6.1 to 17.6.2.
- [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@v17.6.1...v17.6.2)

---
updated-dependencies:
- dependency-name: lint-staged
  dependency-version: 17.6.2
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner November 27, 2026 09:43
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 27, 2026
@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
Updatedlint-staged@​17.6.1 ⏵ 17.6.2100 +110010096 +6100

View full report

@socket-security

Copy link
Copy Markdown

Warning

MetaMask internal reviewing guidelines:

  • Do not ignore-all
  • Each alert has instructions on how to review if you don't know what it means. If lost, ask your Security Liaison or the supply-chain group
  • Copy-paste ignore lines for specific packages or a group of one kind with a note on what research you did to deem it safe.
    @SocketSecurity ignore npm/PACKAGE@VERSION
Priority Alert  (click "▶" to expand/collapse) Action
Low priority
Potential code anomaly (AI signal): npm lint-staged is 61.0% likely to have a medium risk anomaly

Notes: This is a process termination utility with no overt malware or stealth features in the shown code. However, it performs high-impact OS actions using caller-controlled pid. On Windows, interpolating pid into a shell command executed via child_process.exec can lead to command injection/unintended arguments if pid is not strictly numeric. On Unix-like systems, using negative PID to target a process group can cause broad termination (DoS) if pid is wrong or attacker-controlled. Errors are silently swallowed, reducing observability of misuse.

Confidence: 0.61

Severity: 0.52

From: package-lock.json → npm/lint-staged@17.6.2

ℹ Read more on: This package | This alert | What is an AI-detected potential code anomaly?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: An AI system found a low-risk anomaly in this package. It may still be fine to use, but you should check that it is safe before proceeding.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/lint-staged@17.6.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn

View full report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants