Skip to content

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

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

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

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jul 24, 2024

This PR contains the following updates:

Package Change Age Confidence
husky 9.0.119.1.7 age confidence

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


Configuration

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

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, 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
Copy link
Contributor Author

renovate bot commented Jul 24, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: http-proxy-middleware/yarn.lock
error SyntaxError: Invalid value type 3464:0 in /tmp/renovate/repos/github/dlminvestments/node-js-server/http-proxy-middleware/yarn.lock
    at Parser.unexpected (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:64026:11)
    at Parser.parse (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:64154:16)
    at parse (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:64231:21)
    at module.exports.exports.default (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:63793:96)
    at Lockfile.<anonymous> (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:3068:63)
    at Generator.next (<anonymous>)
    at step (/opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:310:30)
    at /opt/containerbase/tools/yarn-slim/1.22.22/24.14.0/node_modules/yarn/lib/cli.js:321:13

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Jul 24, 2024

Deploying node-js-server with  Cloudflare Pages  Cloudflare Pages

Latest commit: ed13e3d
Status: ✅  Deploy successful!
Preview URL: https://5e71b501.node-js-server.pages.dev
Branch Preview URL: https://renovate-husky-9-x.node-js-server.pages.dev

View logs

@renovate renovate bot force-pushed the renovate/husky-9.x branch from 8d1fede to b378529 Compare July 25, 2024 15:06
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.1 chore(deps): update dependency husky to v9.1.2 Jul 25, 2024
@renovate renovate bot force-pushed the renovate/husky-9.x branch from b378529 to d8b9612 Compare July 26, 2024 18:49
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.2 chore(deps): update dependency husky to v9.1.3 Jul 26, 2024
@renovate renovate bot force-pushed the renovate/husky-9.x branch from d8b9612 to 3900957 Compare July 29, 2024 17:12
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.3 chore(deps): update dependency husky to v9.1.4 Jul 29, 2024
@renovate renovate bot force-pushed the renovate/husky-9.x branch from 3900957 to db9bfe6 Compare August 20, 2024 14:19
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.4 chore(deps): update dependency husky to v9.1.5 Aug 20, 2024
@renovate renovate bot force-pushed the renovate/husky-9.x branch from db9bfe6 to 78cfb06 Compare September 12, 2024 00:11
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.5 chore(deps): update dependency husky to v9.1.6 Sep 12, 2024
@renovate renovate bot force-pushed the renovate/husky-9.x branch from 78cfb06 to ed13e3d Compare November 18, 2024 15:58
@renovate renovate bot changed the title chore(deps): update dependency husky to v9.1.6 chore(deps): update dependency husky to v9.1.7 Nov 18, 2024
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