SIGN IN SIGN UP

chore(deps-dev): bump lefthook from 2.1.6 to 2.1.9 (#157)

Bumps [lefthook](https://github.com/evilmartians/lefthook) from 2.1.6 to 2.1.9.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/evilmartians/lefthook/releases">lefthook's releases</a>.</em></p>
<blockquote>
<h2>v2.1.9</h2>
<h2>Changelog</h2>
<ul>
<li>1d35cbabe1ebaf2a5ed4d2186caa0402de6448e2 chore: add pretty gradient (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1432">#1432</a>)</li>
<li>22be6c50e1412c748f3c6b60e9c61cd056dc693b deps: May 2026 (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1415">#1415</a>)</li>
<li>1bae568f03dfb88af9185031fa44e9fee285e917 fix: update hooks path after resetting (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1431">#1431</a>)</li>
</ul>
<h2>v2.1.8</h2>
<h2>Changelog</h2>
<ul>
<li>488a5f99a5a496e5837f757f8ce3e6c6d1415792 fix: do not warn if local hooks path is equal to default hooks path (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1421">#1421</a>)</li>
</ul>
<h2>v2.1.7</h2>
<h2>Changelog</h2>
<ul>
<li>f415a9d3fce1d4f6af62622cf96c72e04ecf7bd3 chore: go mod tidy</li>
<li>cf4ab9ea4580f5aeb0d4b61d4dd169533e5bb0c9 fix: always restore unstaged changes (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1416">#1416</a>)</li>
<li>4c0e000d6fe9f35f42efefb9263b0b4cb5dfbd49 fix: apply stage_fixed only if it is safe (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1418">#1418</a>)</li>
<li>76aa843ef5ceb6970f61cd2ff28d16dd2ec82272 fix: linter, sacrifice optimization for readability</li>
<li>9d53c36ed9a26d3bf66e341a9650a0ecac9b6a37 fix: separate fallback push branch from pathspecs (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1396">#1396</a>)</li>
<li>22c9f773cf93b59005bd244c5b00caab2947a755 fix: try to always restore unstaged changes (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1417">#1417</a>)</li>
<li>37d83986d8e6d6bf6792f57e22e7cbb1a9e28064 fix: use contrast colors (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1420">#1420</a>)</li>
<li>eb1064d0b8c6248627960bea1abf6891db5a21b1 refactor: add new logger without a global state (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1385">#1385</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/evilmartians/lefthook/blob/master/CHANGELOG.md">lefthook's changelog</a>.</em></p>
<blockquote>
<h2>2.1.9 (2026-05-29)</h2>
<ul>
<li>fix: update hooks path after resetting (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1431">#1431</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>deps: May 2026 (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1415">#1415</a>) by <a href=""><code>@​mrexox</code></a></li>
</ul>
<h2>2.1.8 (2026-05-19)</h2>
<ul>
<li>fix: do not warn if local hooks path is equal to default hooks path (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1421">#1421</a>) by <a href=""><code>@​mrexox</code></a></li>
</ul>
<h2>2.1.7 (2026-05-19)</h2>
<ul>
<li>fix: use contrast colors (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1420">#1420</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>fix: apply stage_fixed only if it is safe (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1418">#1418</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>fix: try to always restore unstaged changes (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1417">#1417</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>fix: always restore unstaged changes (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1416">#1416</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>refactor: add new logger without a global state (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1385">#1385</a>) by <a href=""><code>@​mrexox</code></a></li>
<li>fix: linter, sacrifice optimization for readability by <a href=""><code>@​mrexox</code></a></li>
<li>fix: separate fallback push branch from pathspecs (<a href="https://redirect.github.com/evilmartians/lefthook/pull/1396">#1396</a>) by <a href=""><code>@​lawrence3699</code></a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/evilmartians/lefthook/commit/75f99ff325a731c296b572292dd1c855cd970b93"><code>75f99ff</code></a> 2.1.9: fix install with --reset-hooks-path</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/1d35cbabe1ebaf2a5ed4d2186caa0402de6448e2"><code>1d35cba</code></a> chore: add pretty gradient (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1432">#1432</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/1bae568f03dfb88af9185031fa44e9fee285e917"><code>1bae568</code></a> fix: update hooks path after resetting (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1431">#1431</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/22be6c50e1412c748f3c6b60e9c61cd056dc693b"><code>22be6c5</code></a> deps: May 2026 (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1415">#1415</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/9e75b2138b4d31b156d3256c2b0617851377aaf2"><code>9e75b21</code></a> 2.1.8: reduce warning for core.hooksPath if it matches the default</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/488a5f99a5a496e5837f757f8ce3e6c6d1415792"><code>488a5f9</code></a> fix: do not warn if local hooks path is equal to default hooks path (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1421">#1421</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/b5c8310e174489a3705dbbe240eea035058a9128"><code>b5c8310</code></a> 2.1.7: restore unstaged changes when possible</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/37d83986d8e6d6bf6792f57e22e7cbb1a9e28064"><code>37d8398</code></a> fix: use contrast colors (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1420">#1420</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/4c0e000d6fe9f35f42efefb9263b0b4cb5dfbd49"><code>4c0e000</code></a> fix: apply stage_fixed only if it is safe (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1418">#1418</a>)</li>
<li><a href="https://github.com/evilmartians/lefthook/commit/22c9f773cf93b59005bd244c5b00caab2947a755"><code>22c9f77</code></a> fix: try to always restore unstaged changes (<a href="https://redirect.github.com/evilmartians/lefthook/issues/1417">#1417</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/evilmartians/lefthook/compare/v2.1.6...v2.1.9">compare view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=lefthook&package-manager=bun&previous-version=2.1.6&new-version=2.1.9)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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)


</details>
D
dependabot[bot] committed
d3e4ed91227e7b08c12aa23753bfa81bc088fdbb
Parent: eafdcc1
Committed by GitHub <noreply@github.com> on 6/12/2026, 10:58:20 PM