Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump husky from 8.0.3 to 9.1.4 (#556)
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 # <- This is deprecated, remove it - . "$(dirname -- "$0")/_/husky.sh" # <- 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