Skip to content

Commit

Permalink
Bump husky from 9.1.0 to 9.1.1 (#437)
Browse files Browse the repository at this point in the history
Bumps [husky](https://github.com/typicode/husky) from 9.1.0 to 9.1.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/typicode/husky/releases">husky's releases</a>.</em></p>
<blockquote>
<h2>v9.1.1</h2>
<!-- raw HTML omitted -->
<p><em>Super saiyan <del>god</del> dog! It's over 9.0.0!</em></p>
<h1>What's new</h1>
<p>You can now run package commands directly, no need for <code>npx</code> or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️</p>
<pre lang="diff"><code># .husky/pre-commit
- npx jest
+ jest # ~0.2s faster
</code></pre>
<p>A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.</p>
<pre lang="shell"><code># .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again
</code></pre>
<p>For more advanced use cases, see <a href="https://github.com/lint-staged/lint-staged">lint-staged</a>.</p>
<h1>Fixes</h1>
<ul>
<li><code>bunx husky init</code> command</li>
<li>Workaround for some hooks implementation on Windows</li>
</ul>
<h1>Deprecations</h1>
<ul>
<li><code>#!/usr/bin/env sh</code> and <code>. &quot;$(dirname -- &quot;$0&quot;)/_/husky.sh&quot;</code> are deprecated. <strong><code>husky</code> command will automatically remove them, no action required.</strong></li>
<li>If you're having code in <code>~/.huskyrc</code> please move it to <code>.config/husky/init.sh</code></li>
</ul>
<p>Support for these will be removed in v10.</p>
<h1>Friendly reminder</h1>
<p>If Git hooks don't fit your workflow, you can disable Husky globally. Just add <code>export HUSKY=0</code> to <code>.config/husky/init.sh</code>.</p>
<p>I've seen some confusion about this on X, so just a heads-up!</p>
<h1>Sponsoring</h1>
<p>Husky is downloaded over 45M times per month and used by ~1.5M projects. If your company wants to sponsor, you can do so here: <a href="https://github.com/sponsors/typicode">GitHub Sponsors</a>.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/typicode/husky/commit/2968998755465f69069f297b5bb603e26d6b1772"><code>2968998</code></a> 9.1.1</li>
<li><a href="https://github.com/typicode/husky/commit/902749b18f5ac6c592497eb1890b87930f5c250e"><code>902749b</code></a> docs</li>
<li><a href="https://github.com/typicode/husky/commit/a25c6ce39eff6e9f00b6b3f41aaaff898b732958"><code>a25c6ce</code></a> update vitepress</li>
<li><a href="https://github.com/typicode/husky/commit/bbfe8e39299af6dfd1106a4a047472fad7b4fa72"><code>bbfe8e3</code></a> Merge branch 'ccerrillo-fix-windows-path'</li>
<li><a href="https://github.com/typicode/husky/commit/eb54845768e9d38cd81a98204511de665e8dda6b"><code>eb54845</code></a> automatically rm deprecated code</li>
<li><a href="https://github.com/typicode/husky/commit/e8badd722600316abdc0826be2db84a43ce2d4e1"><code>e8badd7</code></a> Small typo fix (<a href="https://redirect.github.com/typicode/husky/issues/1471">#1471</a>)</li>
<li><a href="https://github.com/typicode/husky/commit/a24ccbcd6e0421ef3c0f5ff03ff8358901d49382"><code>a24ccbc</code></a> 9.1.0</li>
<li><a href="https://github.com/typicode/husky/commit/9085a9deec49b7a9eb6dc4fbf5fa382d9b7c852a"><code>9085a9d</code></a> v9.1.0 (<a href="https://redirect.github.com/typicode/husky/issues/1467">#1467</a>)</li>
<li><a href="https://github.com/typicode/husky/commit/b9f5889511712846f0e6178124e6dc6334adc758"><code>b9f5889</code></a> automatically rm deprecated code</li>
<li><a href="https://github.com/typicode/husky/commit/71e5dcbbd925f4b8d32bc02f8a008ccb9ccd63f3"><code>71e5dcb</code></a> Small typo fix (<a href="https://redirect.github.com/typicode/husky/issues/1471">#1471</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/typicode/husky/compare/v9.1.0...v9.1.1">compare view</a></li>
</ul>
</details>
<br />


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

You can trigger a rebase of this PR 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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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>
  • Loading branch information
dependabot[bot] authored Jul 19, 2024
1 parent 5822e17 commit c3d2462
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"@types/lodash": "^4.17.7",
"@types/node": "^20.14.11",
"eslint": "^8.57.0",
"husky": "^9.1.0",
"husky": "^9.1.1",
"jest": "^29.7.0",
"jest-junit": "^16.0.0",
"license-checker-rseidelsohn": "^4.3.0",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ __metadata:
"@types/node": "npm:^20.14.11"
eslint: "npm:^8.57.0"
hast-util-sanitize: "npm:^5.0.1"
husky: "npm:^9.1.0"
husky: "npm:^9.1.1"
jest: "npm:^29.7.0"
jest-junit: "npm:^16.0.0"
license-checker-rseidelsohn: "npm:^4.3.0"
Expand Down Expand Up @@ -3425,12 +3425,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^9.1.0":
version: 9.1.0
resolution: "husky@npm:9.1.0"
"husky@npm:^9.1.1":
version: 9.1.1
resolution: "husky@npm:9.1.1"
bin:
husky: bin.js
checksum: 2d2d202cbad1fdd32112270391d04006b52232b0ab8314176b7352c58727725275d783bbc76d79b2868aa658d90e0164479ca241e09c3e445dd1dc1d11ce4bcc
checksum: 56394f5a08201badece23a8599bd76fe8c41e4510a956022fe54897645900c5c5a96a740ffb0604e99e808dffc3714bae982f1cbda4a069082cc713414f17ad3
languageName: node
linkType: hard

Expand Down

0 comments on commit c3d2462

Please sign in to comment.