Skip to content

Commit

Permalink
Update dependency husky to v8 (#88)
Browse files Browse the repository at this point in the history
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [husky](https://typicode.github.io/husky) ([source](https://togithub.com/typicode/husky)) | [`^7.0.4` -> `^8.0.0`](https://renovatebot.com/diffs/npm/husky/7.0.4/8.0.1) | [![age](https://badges.renovateapi.com/packages/npm/husky/8.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/husky/8.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/husky/8.0.1/compatibility-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/husky/8.0.1/confidence-slim/7.0.4)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

<details>
<summary>typicode/husky</summary>

### [`v8.0.1`](https://togithub.com/typicode/husky/releases/v8.0.1)

[Compare Source](https://togithub.com/typicode/husky/compare/v8.0.0...v8.0.1)

-   fix: use POSIX equality operator

### [`v8.0.0`](https://togithub.com/typicode/husky/releases/v8.0.0)

[Compare Source](https://togithub.com/typicode/husky/compare/v7.0.4...v8.0.0)

#### What's Changed

##### Feats

-   feat: add `husky -` prefix to logged global error messages by [@&#8203;joshbalfour](https://togithub.com/joshbalfour) in [https://github.com/typicode/husky/pull/1092](https://togithub.com/typicode/husky/pull/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 [@&#8203;skhaz](https://togithub.com/skhaz) in [https://github.com/typicode/husky/pull/1051](https://togithub.com/typicode/husky/pull/1051)
-   fix: actually set 'husky_skip_init' as readonly in `./husky.sh` by [@&#8203;hyperupcall](https://togithub.com/hyperupcall) in [https://github.com/typicode/husky/pull/1104](https://togithub.com/typicode/husky/pull/1104)
-   fix: force `basename`/`dirname` to treat `$0` as an argument by [@&#8203;mataha](https://togithub.com/mataha) in [https://github.com/typicode/husky/pull/1132](https://togithub.com/typicode/husky/pull/1132)
-   fix: remove `git.io` links by [@&#8203;renbaoshuo](https://togithub.com/renbaoshuo) in [https://github.com/typicode/husky/pull/1136](https://togithub.com/typicode/husky/pull/1136)

##### Docs

-   docs: fix uninstall via npm by [@&#8203;pddpd](https://togithub.com/pddpd) in [https://github.com/typicode/husky/pull/1033](https://togithub.com/typicode/husky/pull/1033)
-   docs: add dog emoji as favicon by [@&#8203;jamiehaywood](https://togithub.com/jamiehaywood) in [https://github.com/typicode/husky/pull/1095](https://togithub.com/typicode/husky/pull/1095)
-   docs: replace deprecated `npx --no-install` option with `npx --no` by [@&#8203;sibiraj-s](https://togithub.com/sibiraj-s) in [https://github.com/typicode/husky/pull/1070](https://togithub.com/typicode/husky/pull/1070)
-   docs: add `pnpm` installation by [@&#8203;MohamadKh75](https://togithub.com/MohamadKh75) in [https://github.com/typicode/husky/pull/1139](https://togithub.com/typicode/husky/pull/1139)

##### Chore

-   chore: update workflows by [@&#8203;tiziodcaio](https://togithub.com/tiziodcaio) in [https://github.com/typicode/husky/pull/1125](https://togithub.com/typicode/husky/pull/1125)

</details>

---

### Configuration

📅 **Schedule**: "before 3am on Friday" (UTC).

🚦 **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, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/mheob/vscode-snippets).
  • Loading branch information
renovate[bot] authored May 14, 2022
1 parent ff7831c commit 39bb2da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-unicorn": "^42.0.0",
"husky": "^7.0.4",
"husky": "^8.0.0",
"lint-staged": "^12.4.1",
"prettier": "^2.6.2",
"prettier-plugin-jsdoc": "^0.3.38",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1740,12 +1740,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^7.0.4":
version: 7.0.4
resolution: "husky@npm:7.0.4"
"husky@npm:^8.0.0":
version: 8.0.1
resolution: "husky@npm:8.0.1"
bin:
husky: lib/bin.js
checksum: c6ec4af63da2c9522da8674a20ad9b48362cc92704896cc8a58c6a2a39d797feb2b806f93fbd83a6d653fbdceb2c3b6e0b602c6b2e8565206ffc2882ef7db9e9
checksum: 943a73a13d0201318fd30e83d299bb81d866bd245b69e6277804c3b462638dc1921694cb94c2b8c920a4a187060f7d6058d3365152865406352e934c5fff70dc
languageName: node
linkType: hard

Expand Down Expand Up @@ -3998,7 +3998,7 @@ __metadata:
eslint-config-prettier: ^8.5.0
eslint-plugin-prettier: ^4.0.0
eslint-plugin-unicorn: ^42.0.0
husky: ^7.0.4
husky: ^8.0.0
lint-staged: ^12.4.1
prettier: ^2.6.2
prettier-plugin-jsdoc: ^0.3.38
Expand Down

0 comments on commit 39bb2da

Please sign in to comment.