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

chore(deps): update dependency husky to v9.1.2 #1485

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 25, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
husky 9.0.11 -> 9.1.2 age adoption passing confidence

Release Notes

typicode/husky (husky)

v9.1.2

Compare Source

v9.1.1

Compare Source

v9.1.0

Compare Source

Super saiyan god dog! It's over 9.0.0!

There's a bug with this release which prevents the deprecation notice to appear and requires to remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" (which are deprecated by the way). I'll publish a new version to fix that. Sorry about any inconvenience.

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

  • Remove #!/usr/bin/env sh and . "$(dirname -- "$0")/_/husky.sh" from your hooks
  • Move your code from ~/.huskyrc to .config/husky/init.sh

Support for these will be removed in v10, notices have been added.

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 😉


Configuration

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

🚦 Automerge: Enabled.

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 renovate bot added the dependencies Pull requests that update a dependency file label Jul 25, 2024
Copy link
Contributor

@benchmarks/node-fetch results (noConsumeBody)

   ✓ active_handles.................: avg=138.338555 min=103      med=139     max=202      p(90)=162     p(95)=170    
     data_received..................: 25 MB  816 kB/s
     data_sent......................: 16 MB  528 kB/s
     http_req_blocked...............: avg=5.79µs     min=651ns    med=1.47µs  max=11.23ms  p(90)=2.03µs  p(95)=2.4µs  
     http_req_connecting............: avg=3.73µs     min=0s       med=0s      max=11.18ms  p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=18.67ms    min=284.11µs med=18.25ms max=194.19ms p(90)=24.67ms p(95)=27.02ms
       { expected_response:true }...: avg=18.67ms    min=284.11µs med=18.25ms max=194.19ms p(90)=24.67ms p(95)=27.02ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 159998
     http_req_receiving.............: avg=37.37µs    min=8.29µs   med=24.25µs max=24.2ms   p(90)=39.79µs p(95)=48.58µs
     http_req_sending...............: avg=12.11µs    min=3.02µs   med=7.02µs  max=19.6ms   p(90)=10.51µs p(95)=16.47µs
     http_req_tls_handshaking.......: avg=0s         min=0s       med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=18.62ms    min=249.56µs med=18.21ms max=193.22ms p(90)=24.62ms p(95)=26.94ms
     http_reqs......................: 159998 5332.361492/s
     iteration_duration.............: avg=37.47ms    min=8.77ms   med=36.44ms max=235.86ms p(90)=42.15ms p(95)=47.55ms
     iterations.....................: 79984  2665.680831/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

@benchmarks/node-fetch results (consumeBody)

   ✓ active_handles.................: avg=137.962314 min=52      med=136     max=201      p(90)=164     p(95)=170    
     data_received..................: 22 MB  747 kB/s
     data_sent......................: 14 MB  479 kB/s
     http_req_blocked...............: avg=3.69µs     min=601ns   med=1.49µs  max=16.2ms   p(90)=2.09µs  p(95)=2.45µs 
     http_req_connecting............: avg=1.56µs     min=0s      med=0s      max=5.65ms   p(90)=0s      p(95)=0s     
     http_req_duration..............: avg=20.4ms     min=3.58ms  med=19.88ms max=814.26ms p(90)=26.51ms p(95)=28.16ms
       { expected_response:true }...: avg=20.4ms     min=3.58ms  med=19.88ms max=814.26ms p(90)=26.51ms p(95)=28.16ms
     http_req_failed................: 0.00%  ✓ 0           ✗ 146474
     http_req_receiving.............: avg=40.66µs    min=10.08µs med=27µs    max=22.64ms  p(90)=41.88µs p(95)=50.26µs
     http_req_sending...............: avg=12.12µs    min=3.51µs  med=7.56µs  max=18.21ms  p(90)=10.69µs p(95)=15.22µs
     http_req_tls_handshaking.......: avg=0s         min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s     
     http_req_waiting...............: avg=20.35ms    min=3.54ms  med=19.83ms max=814.16ms p(90)=26.46ms p(95)=28.07ms
     http_reqs......................: 146474 4881.477237/s
     iteration_duration.............: avg=40.93ms    min=13.56ms med=39.63ms max=837.71ms p(90)=45.78ms p(95)=50.98ms
     iterations.....................: 73210  2439.838801/s
     vus............................: 100    min=100       max=100 
     vus_max........................: 100    min=100       max=100 

Copy link
Contributor

@benchmarks/server results (ponyfill)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 294536      ✗ 0     
     data_received..................: 29 MB   967 kB/s
     data_sent......................: 12 MB   393 kB/s
     http_req_blocked...............: avg=1.43µs   min=891ns    med=1.23µs   max=286.37µs p(90)=1.95µs   p(95)=2.12µs  
     http_req_connecting............: avg=0ns      min=0s       med=0s       max=103.71µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=141.74µs min=94.99µs  med=135.84µs max=7.8ms    p(90)=157.68µs p(95)=164.33µs
       { expected_response:true }...: avg=141.74µs min=94.99µs  med=135.84µs max=7.8ms    p(90)=157.68µs p(95)=164.33µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 147268
     http_req_receiving.............: avg=24.61µs  min=12.43µs  med=23.45µs  max=2.52ms   p(90)=30.48µs  p(95)=32.58µs 
     http_req_sending...............: avg=6.31µs   min=4.12µs   med=5.58µs   max=720.69µs p(90)=8.14µs   p(95)=8.79µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=110.81µs min=68.6µs   med=104.58µs max=7.66ms   p(90)=123.2µs  p(95)=128.49µs
     http_reqs......................: 147268  4908.688338/s
     iteration_duration.............: avg=199.25µs min=139.74µs med=192.62µs max=8.24ms   p(90)=217.26µs p(95)=226.04µs
     iterations.....................: 147268  4908.688338/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

Copy link
Contributor

@benchmarks/server results (native)

     ✓ no-errors
     ✓ expected-result

   ✓ checks.........................: 100.00% ✓ 230362      ✗ 0     
     data_received..................: 23 MB   772 kB/s
     data_sent......................: 9.2 MB  307 kB/s
     http_req_blocked...............: avg=1.38µs   min=902ns    med=1.2µs    max=284.03µs p(90)=1.86µs   p(95)=2.01µs  
     http_req_connecting............: avg=1ns      min=0s       med=0s       max=127.25µs p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=199.16µs min=152.85µs med=187.36µs max=17.62ms  p(90)=212.7µs  p(95)=222.04µs
       { expected_response:true }...: avg=199.16µs min=152.85µs med=187.36µs max=17.62ms  p(90)=212.7µs  p(95)=222.04µs
     http_req_failed................: 0.00%   ✓ 0           ✗ 115181
     http_req_receiving.............: avg=24.94µs  min=13.44µs  med=23.44µs  max=754.55µs p(90)=30.35µs  p(95)=32.48µs 
     http_req_sending...............: avg=6.15µs   min=4.05µs   med=5.34µs   max=296.05µs p(90)=8.07µs   p(95)=8.52µs  
     http_req_tls_handshaking.......: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=168.07µs min=125.82µs med=155.99µs max=17.54ms  p(90)=178.24µs p(95)=186.84µs
     http_reqs......................: 115181  3839.219253/s
     iteration_duration.............: avg=256.08µs min=203.3µs  med=243.34µs max=17.75ms  p(90)=272.24µs p(95)=284.05µs
     iterations.....................: 115181  3839.219253/s
     vus............................: 1       min=1         max=1   
     vus_max........................: 1       min=1         max=1   

@renovate renovate bot merged commit cdb7eec into master Jul 25, 2024
22 checks passed
@renovate renovate bot deleted the renovate/husky-9.x branch July 25, 2024 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants