Skip to content

Commit

Permalink
Bump husky from 8.0.3 to 9.1.4 (#556)
Browse files Browse the repository at this point in the history
Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.1.4.
<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.4</h2>
<ul>
<li>Improve deprecation notice</li>
</ul>
<h2>v9.1.3</h2>
<ul>
<li>fix: better handle space in <code>PATH</code></li>
</ul>
<h2>v9.1.2</h2>
<p>Show a message instead of automatically removing deprecated code.</p>
<p>This only concerns projects that still have the following code in
their hooks:</p>
<pre lang="diff"><code>- #!/usr/bin/env sh # &lt;- This is deprecated,
remove it
- . &quot;$(dirname -- &quot;$0&quot;)/_/husky.sh&quot; # &lt;- This is
deprecated, remove it
<h1>Rest of your hook code</h1>
<p></code></pre></p>
<p><strong>Hooks with these lines will fail in
<code>v10.0.0</code></strong></p>
<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>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/typicode/husky/commit/fc549e0e5c8723a6d796f6ad26ef6590769f5d82"><code>fc549e0</code></a>
9.1.4</li>
<li><a
href="https://github.com/typicode/husky/commit/9891ace6454b111bccf6d38860f6ce08c4424a5d"><code>9891ace</code></a>
clarify deprecation message</li>
<li><a
href="https://github.com/typicode/husky/commit/712cb004c17b2bdf824ff74de3ec4855c06d72ef"><code>712cb00</code></a>
9.1.3</li>
<li><a
href="https://github.com/typicode/husky/commit/7d296330289b5c6e2feb1940efc3f218b3808e07"><code>7d29633</code></a>
fix: better handle spaces in PATH</li>
<li><a
href="https://github.com/typicode/husky/commit/35fba846c4a9b83f64a95d8a0bde5aa648fdc449"><code>35fba84</code></a>
9.1.2</li>
<li><a
href="https://github.com/typicode/husky/commit/20603175c10e35e58d1eadd20d08a491cfcc5b6a"><code>2060317</code></a>
show message instead of automatically remove deprecated code</li>
<li><a
href="https://github.com/typicode/husky/commit/f6cc4108837863bfbd31a861fdd8422637a492b1"><code>f6cc410</code></a>
Update troubleshoot.md</li>
<li><a
href="https://github.com/typicode/husky/commit/0c71e73246968d5c8bdb895d133b839b6a9cf4b2"><code>0c71e73</code></a>
update package-lock.json</li>
<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>Additional commits viewable in <a
href="https://github.com/typicode/husky/compare/v8.0.3...v9.1.4">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=8.0.3&new-version=9.1.4)](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 30, 2024
1 parent 25a0d64 commit 85222f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.1",
"husky": "^9.1.4",
"lerna": "^8.1.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.8",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11119,12 +11119,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^8.0.1":
version: 8.0.3
resolution: "husky@npm:8.0.3"
"husky@npm:^9.1.4":
version: 9.1.4
resolution: "husky@npm:9.1.4"
bin:
husky: lib/bin.js
checksum: 837bc7e4413e58c1f2946d38fb050f5d7324c6f16b0fd66411ffce5703b294bd21429e8ba58711cd331951ee86ed529c5be4f76805959ff668a337dbfa82a1b0
husky: bin.js
checksum: 7608a6dfac264876a2ff37f2db8520e0f9f0ea2b810a9ca151548327e9eca0b7ed58a63e0a208d20d3f43b191d8f111edcab46c3c8132c95e10ef7bd7115ee9b
languageName: node
linkType: hard

Expand Down Expand Up @@ -16738,7 +16738,7 @@ __metadata:
eslint-plugin-mocha: ^10.1.0
eslint-plugin-n: ^16.0.0
eslint-plugin-prettier: ^4.2.1
husky: ^8.0.1
husky: ^9.1.4
lerna: ^8.1.3
lint-staged: ^13.1.2
prettier: ^2.8.8
Expand Down

0 comments on commit 85222f4

Please sign in to comment.