Skip to content

Commit

Permalink
Bump husky from 9.0.11 to 9.1.1 (#144)
Browse files Browse the repository at this point in the history
Bumps [husky](https://github.com/typicode/husky) from 9.0.11 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.0.11...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.0.11&new-version=9.1.1)](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 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>

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Jul 23, 2024
1 parent 015e669 commit a5040a9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@types/lodash": "^4.17.7",
"@types/luxon": "^3.4.2",
"@types/node": "^20",
"husky": "^9.0.11",
"husky": "^9.1.1",
"jest": "^29.7.0",
"lint-staged": "^15.2.7",
"nock": "^13.5.4",
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4102,10 +4102,10 @@ humanize-ms@^1.2.1:
dependencies:
ms "^2.0.0"

husky@^9.0.11:
version "9.0.11"
resolved "https://registry.yarnpkg.com/husky/-/husky-9.0.11.tgz#fc91df4c756050de41b3e478b2158b87c1e79af9"
integrity sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==
husky@^9.1.1:
version "9.1.1"
resolved "https://registry.yarnpkg.com/husky/-/husky-9.1.1.tgz#73f8f1b58329f377654293148c1a6458f54ca224"
integrity sha512-fCqlqLXcBnXa/TJXmT93/A36tJsjdJkibQ1MuIiFyCCYUlpYpIaj2mv1w+3KR6Rzu1IC3slFTje5f6DUp2A2rg==

hyperlinker@^1.0.0:
version "1.0.0"
Expand Down

0 comments on commit a5040a9

Please sign in to comment.