chore(deps): bump simple-git and lint-staged#141
Conversation
Removes [simple-git](https://github.com/steveukx/git-js/tree/HEAD/simple-git). It's no longer used after updating ancestor dependency [lint-staged](https://github.com/lint-staged/lint-staged). These dependencies need to be updated together. Removes `simple-git` Updates `lint-staged` from 8.2.1 to 17.0.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@v8.2.1...v17.0.2) --- updated-dependencies: - dependency-name: simple-git dependency-version: dependency-type: indirect - dependency-name: lint-staged dependency-version: 17.0.2 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default mode and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 155b28c. Configure here.
| "jsdoc": "^3.6.10", | ||
| "karma": "^4.1.0", | ||
| "lint-staged": "^8.2.1", | ||
| "lint-staged": "^17.0.2", |
There was a problem hiding this comment.
Outdated lint-staged config with git add breaks partially-staged files
High Severity
Bumping lint-staged from v8 to v17 without updating the lint-staged config block (lines 105–113) breaks the pre-commit workflow. Since v10, lint-staged automatically re-stages task modifications, making the explicit "git add" steps obsolete. Keeping "git add" in the config with v17 causes it to run as a regular task, which will incorrectly stage all changes in partially-staged files — defeating lint-staged's stash-based isolation of unstaged changes.
Additional Locations (1)
Reviewed by Cursor Bugbot for commit 155b28c. Configure here.


Removes simple-git. It's no longer used after updating ancestor dependency lint-staged. These dependencies need to be updated together.
Removes
simple-gitUpdates
lint-stagedfrom 8.2.1 to 17.0.2Release notes
Sourced from lint-staged's releases.
... (truncated)
Changelog
Sourced from lint-staged's changelog.
... (truncated)
Commits
0a3b253Merge pull request #1780 from lint-staged/changeset-release/main36cae27chore(changeset): releaseff03baaMerge pull request #1779 from lint-staged/immutable-release88670caci: force Changesets action to sign Git tag7f4596bMerge pull request #1777 from lint-staged/changeset-release/main697c9aechore(changeset): release7ed4125Merge pull request #1778 from lint-staged/fix-changesetsbf400feci: publish to npm in same Changesets workflow so that a personal token isn't...0c2e6e5Merge pull request #1776 from lint-staged/fix-changesets4a5664bci: use personal access token with semantic-release so that it can trigger pu...Maintainer changes
This version was pushed to npm by GitHub Actions, a new releaser for lint-staged since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.