Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Snyk] Upgrade husky from 6.0.0 to 8.0.3 #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

lholmquist
Copy link
Member

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to upgrade husky from 6.0.0 to 8.0.3.

ℹ️ 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.


Warning: This is a major version upgrade, and may be a breaking change.

  • The recommended version is 9 versions ahead of your current version.
  • The recommended version was released a month ago, on 2023-01-03.
Release notes
Package name: husky
  • 8.0.3 - 2023-01-03
    • fix: add git not installed message #1208
  • 8.0.2 - 2022-11-08
    • docs: remove deprecated npm set-script
  • 8.0.1 - 2022-05-09
    • fix: use POSIX equality operator
  • 8.0.0 - 2022-05-08

    What's Changed

    Feats

    • feat: add husky - prefix to logged global error messages by @ joshbalfour in #1092
    • feat: show PATH when command not found to improve debuggability
    • feat: drop Node 12 support
    • feat: skip install if $HUSKY=0

    Fixes

    • fix: hook script use /usr/bin/env sh instead of direct path of sh by @ skhaz in #1051
    • fix: actually set 'husky_skip_init' as readonly in ./husky.sh by @ hyperupcall in #1104
    • fix: force basename/dirname to treat $0 as an argument by @ mataha in #1132
    • fix: remove git.io links by @ renbaoshuo in #1136

    Docs

    Chore

  • 7.0.4 - 2021-10-21

    No changes. Husky v7.0.3 was reverted, this version is the same as v7.0.2.

  • 7.0.3 - 2021-10-21

    7.0.3

  • 7.0.2 - 2021-08-25

    Fix pre-commit hook in WebStorm (#1023)

  • 7.0.1 - 2021-07-06
    • Fix gracefully fail if Git command is not found #1003 (same as in v6)
  • 7.0.0 - 2021-07-01
    • Improve .husky/ directory structure. .husky/.gitignore is now unnecessary and can be removed.
    • Improve error output (shorter)
    • Update husky-init CLI
    • Update husky-4-to-7 CLI
    • Drop Node 10 support

    Please help me develop and release OSS projects ❤️ on GitHub Sponsors or Open Collective. Thank you for your support!

  • 6.0.0 - 2021-03-29

    After being in early access for Open Source projects and Sponsors for a limited time, I'm happy to announce that husky 6 is MIT again and can be freely used in commercial projects! 🎉

    Many thanks to the Open Source projects and Companies which have switched to/sponsored the new husky during this period!

    OSS is my full-time job, please consider sponsoring the development of husky on GitHub sponsors or Open Collective. Thank you!

    Breaking change

    • husky init has been moved to its own package (npx husky-init)

    Added

    • Programmatically use husky: require('husky')
    • TypeScript definitions

    Migrating from husky 4

    Husky 6 contains breaking changes. If you're coming from v4, npm install husky@6 won't be enough.

    Recommended: see husky-4-to-6 CLI to automatically migrate your config. There's also a dedicated section in the docs.

    If you're curious why config has changed, you may be interested in reading:
    https://blog.typicode.com/husky-git-hooks-javascript-config/

    Also Husky 6 follows official npm and Yarn best practices regarding autoinstall. It's recommended to use prepare script instead (see usage in docs).

from husky GitHub release notes
Commit messages
Package name: husky
  • 3c0e08d 8.0.3
  • 1ed3f9a fix: change message
  • 500d450 fix: add git not installed error message (#1208)
  • 2945907 chore(deps): bump minimatch from 3.0.4 to 3.1.2 (#1229)
  • 9f6dac4 chore: remove stale bot
  • f6c2c06 chore: update package-lock.json
  • f862dc2 chore: update devDependencies
  • 9efb720 8.0.2
  • 573de60 docs: remove deprecated npm set-script
  • 3db28d4 chore: increase daysUntilStale
  • 51aeba5 chore: update devDependencies
  • 9e6073d docs(readme): fix minor command typo (#1197)
  • 840c416 docs: add double-hyphen flag between npx and the command to run (#1164)
  • b6e4c92 docs: update deprecated npm command
  • 47e96ec docs: README update (#1154)
  • e4e4575 chore: npx option --no-install replaced with --no -- due to deprecation (#1149)
  • c4207f2 8.0.1
  • 90a69a2 fix: use POSIX equality operator
  • eff7a08 docs: v8 update
  • f5b5c33 chore: update version
  • 3e0e15c feat: show PATH if command not found
  • 356714b test: command not found message
  • 21bc342 feat: skip install if $HUSKY=0
  • e9351c0 docs: add pnpm installation (#1139)

Compare


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:

🧐 View latest project report

🛠 Adjust upgrade PR settings

🔕 Ignore this dependency or unsubscribe from future upgrade PRs

@coveralls
Copy link

coveralls commented Feb 1, 2023

Coverage Status

coverage: 100.0%. remained the same
when pulling d25cf2b on snyk-upgrade-13b8759fd35fc9f7d40b21ca37bb5183
into ceb141d on main.

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.

3 participants