Skip to content

chore(deps): update dependency husky to v9.1.7 (master)#197

Open
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/master-husky-9.x
Open

chore(deps): update dependency husky to v9.1.7 (master)#197
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/master-husky-9.x

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 25, 2024

This PR contains the following updates:

Package Type Update Change OpenSSF
husky devDependencies minor 9.0.19.1.7 OpenSSF Scorecard

Release Notes

typicode/husky (husky)

v9.1.7

Compare Source

What's Changed

New Contributors

Full Changelog: typicode/husky@v9.1.6...v9.1.7

v9.1.6

Compare Source

What's Changed

New Contributors

Full Changelog: typicode/husky@v9.1.5...v9.1.6

v9.1.5

Compare Source

What's Changed

New Contributors

Full Changelog: typicode/husky@v9.1.4...v9.1.5

v9.1.4

Compare Source

  • Improve deprecation notice

v9.1.3

Compare Source

  • fix: better handle space in PATH

v9.1.2

Compare Source

Show a message instead of automatically removing deprecated code.

This only concerns projects that still have the following code in their hooks:

- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh"  # <- This is deprecated, remove it

### Rest of your hook code

Hooks with these lines will fail in v10.0.0

v9.1.1

Compare Source

Super saiyan god dog! It's over 9.0.0!

What's new

You can now run package commands directly, no need for npx or equivalents.
It makes writing hooks more intuitive and is also slightly faster 🐺⚡️

### .husky/pre-commit
- npx jest
+ jest # ~0.2s faster

A new recipe has been added to the docs. Lint staged files without external dependencies (inspired by Prettier docs). Feel free to modify it.

### .husky/pre-commit
prettier $(git diff --cached --name-only --diff-filter=ACMR | sed 's| |\\ |g') --write --ignore-unknown
git update-index --again

For more advanced use cases, see lint-staged.

Fixes

  • bunx husky init command
  • Workaround for some hooks implementation on Windows

Deprecations

  • #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" are deprecated. husky command will automatically remove them, no action required.
  • If you're having code in ~/.huskyrc please move it to .config/husky/init.sh

Support for these will be removed in v10.

Friendly reminder

If Git hooks don't fit your workflow, you can disable Husky globally. Just add export HUSKY=0 to .config/husky/init.sh.

I've seen some confusion about this on X, so just a heads-up!

Sponsoring

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: GitHub Sponsors.

Have a nice summer ☀️ I'm open to new opportunities/consulting so feel free to drop me a message 😉

v9.1.0

Compare Source

v9.0.11

Compare Source

v9.0.10

Compare Source

v9.0.9

Compare Source

v9.0.8

Compare Source

v9.0.7

Compare Source

  • fix: typo and source ~/.huskyrc correctly (compatibility with v8)
  • docs: fix example by @​typicode in #​1363

v9.0.6

Compare Source

v9.0.5

Compare Source

v9.0.4

Compare Source

v9.0.3

Compare Source

v9.0.2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.2 (master) chore(deps): update dependency husky to v9.0.5 (master) Jan 25, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 15d2de2 to f60abba Compare January 25, 2024 15:56
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.5 (master) chore(deps): update dependency husky to v9.0.6 (master) Jan 26, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from f60abba to d4052ff Compare January 26, 2024 01:46
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.6 (master) chore(deps): update dependency husky to v9.0.7 (master) Jan 29, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 58a00cf to 25cfbfc Compare February 1, 2024 16:41
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.7 (master) chore(deps): update dependency husky to v9.0.9 (master) Feb 1, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 25cfbfc to e036f37 Compare February 1, 2024 19:51
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.9 (master) chore(deps): update dependency husky to v9.0.10 (master) Feb 1, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 7c17c8d to a43125a Compare February 14, 2024 00:17
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.0.10 (master) chore(deps): update dependency husky to v9.0.11 (master) Feb 14, 2024
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from a43125a to 457c645 Compare February 21, 2024 06:47
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 4ec6071 to 8779a6f Compare March 27, 2024 01:36
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 4 times, most recently from 2611b95 to 4410c70 Compare April 29, 2024 03:23
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 78ac805 to 9c71bce Compare May 9, 2024 01:43
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 4 times, most recently from ba3046c to 81e7b85 Compare May 17, 2024 18:59
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 81e7b85 to a98cdb0 Compare May 27, 2024 04:25
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 379c224 to 56a7883 Compare July 28, 2025 07:30
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 60ab173 to 402036c Compare August 11, 2025 05:07
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 3 times, most recently from 72c9875 to 1a14147 Compare August 18, 2025 06:04
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from d22fcfb to 7ee5d63 Compare September 8, 2025 04:27
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 7ee5d63 to 61dc1b9 Compare September 15, 2025 04:40
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 8742d49 to 5c69be7 Compare September 29, 2025 05:58
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 5c69be7 to 6c3a5ce Compare October 6, 2025 05:03
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 57120b4 to c2ac2b0 Compare October 14, 2025 10:06
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 5dacfd4 to 0193c01 Compare October 29, 2025 01:51
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 8218b50 to 9e0abb8 Compare November 17, 2025 04:38
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 9e0abb8 to d136b4f Compare November 18, 2025 08:57
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from d2c43a8 to 907072b Compare December 3, 2025 06:52
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 907072b to fc5acf3 Compare December 22, 2025 22:29
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from fc5acf3 to 0af46d1 Compare December 31, 2025 19:55
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 833865f to df0ae47 Compare January 19, 2026 04:47
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch 2 times, most recently from 65bb0c5 to 553eb70 Compare January 26, 2026 04:38
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 553eb70 to 82e3502 Compare February 2, 2026 05:16
@renovate renovate bot force-pushed the renovate/master-husky-9.x branch from 82e3502 to 67a7b88 Compare February 9, 2026 06:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants