[Snyk] Upgrade husky from 7.0.4 to 9.1.1 #425
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Snyk has created this PR to upgrade husky from 7.0.4 to 9.1.1.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
The recommended version is 17 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: husky
-
9.1.1 - 2024-07-18
- Workaround for some hooks implementation on Windows
- If you're having code in
-
9.1.0 - 2024-07-17
-
9.0.11 - 2024-02-13
- chore: update
- fix:
-
9.0.10 - 2024-02-01
- fix: rename index.d.ts to index.d.mts by @ mrkjdy in #1379
-
9.0.9 - 2024-02-01
- refactor: rename files by @ typicode in #1378
-
9.0.8 - 2024-02-01
- docs: update index.md by @ khaledYS in #1369
- Fix tab detection on install command by @ glensc in #1376
- refactor: reduce file size by @ typicode in #1377
-
9.0.7 - 2024-01-29
- fix: typo and source
- docs: fix example by @ typicode in #1363
-
9.0.6 - 2024-01-25
- docs: add favicon by @ rakleed in #1354
- chore: apply editorconfig to code only by @ typicode in #1355
- docs: update install script to mjs and fix CI checks by @ starnayuta in #1357
- Fix unbound variable by @ typicode in #1359
-
9.0.5 - 2024-01-25
- docs: update path to startup files by @ ManuelRauber in #1350
- fix: init error by @ typicode in #1353
-
9.0.4 - 2024-01-25
- fix: init create dir before by @ typicode in #1348
- refactor: simplify by @ typicode in #1349
- fix: init not working on pnpm #1334 by @ rozbo in #1347
-
9.0.3 - 2024-01-25
-
9.0.2 - 2024-01-25
-
9.0.1 - 2024-01-25
-
8.0.3 - 2023-01-03
-
8.0.2 - 2022-11-08
-
8.0.1 - 2022-05-09
-
8.0.0 - 2022-05-08
-
7.0.4 - 2021-10-21
from husky GitHub release notesSuper saiyan
goddog! It's over 9.0.0!What's new
You can now run package commands directly, no need for
npxor equivalents.It makes writing hooks more intuitive and is also slightly 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.
For more advanced use cases, see lint-staged.
Fixes
bunx husky initcommandDeprecations
#!/usr/bin/env shand. "$(dirname -- "$0")/_/husky.sh"are deprecated.huskycommand will automatically remove them, no action required.~/.huskyrcplease move it to.config/husky/init.shSupport 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=0to.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 😉
No content.
package-lock.jsonby @ btea in #1383export HUSKY=0in init (fixes #1393) by @ typicode in #1395~/.huskyrccorrectly (compatibility with v8)Important
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information: