ardatan / feTS

🗹 TypeScript HTTP Framework focusing on e2e type-safety, easy setup, performance & great developer experience
https://the-guild.dev/openapi/fets
MIT License
630 stars 29 forks source link

chore(deps): update dependency husky to v9.1.3 #1740

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 3 months ago

Mend Renovate

This PR contains the following updates:

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

Release Notes

typicode/husky (husky) ### [`v9.1.3`](https://togithub.com/typicode/husky/releases/tag/v9.1.3) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.2...v9.1.3) - fix: better handle space in `PATH` ### [`v9.1.2`](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.1...v9.1.2) ### [`v9.1.1`](https://togithub.com/typicode/husky/compare/v9.1.0...2968998755465f69069f297b5bb603e26d6b1772) [Compare Source](https://togithub.com/typicode/husky/compare/v9.1.0...v9.1.1) ### [`v9.1.0`](https://togithub.com/typicode/husky/releases/tag/v9.1.0) [Compare Source](https://togithub.com/typicode/husky/compare/v9.0.11...v9.1.0)

*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 🐺⚡️ ```diff ### .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. ```shell ### .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](https://togithub.com/lint-staged/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](https://togithub.com/sponsors/typicode). **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.



This PR was generated by Mend Renovate. View the repository job log.

github-actions[bot] commented 3 months ago
### 💻 Website Preview The latest changes are available as preview in: [https://e2fc088a.fets.pages.dev](https://e2fc088a.fets.pages.dev)
github-actions[bot] commented 3 months ago

✅ Benchmark Results

     ✓ no_errors{server:node-http,mode:no-schema}
     ✓ expected_result{server:node-http,mode:no-schema}
     ✓ no_errors{server:node-http,mode:json-schema}
     ✓ expected_result{server:node-http,mode:json-schema}
     ✓ no_errors{server:uWebSockets,mode:no-schema}
     ✓ expected_result{server:uWebSockets,mode:no-schema}
     ✓ no_errors{server:uWebSockets,mode:json-schema}
     ✓ expected_result{server:uWebSockets,mode:json-schema}

     checks......................................: 100.00% ✓ 876436      ✗ 0     
     data_received...............................: 80 MB   664 kB/s
     data_sent...................................: 56 MB   464 kB/s
     http_req_blocked............................: avg=1.56µs   min=871ns    med=1.53µs   max=370.3µs  p(90)=1.99µs   p(95)=2.17µs  
     http_req_connecting.........................: avg=1ns      min=0s       med=0s       max=313.75µs p(90)=0s       p(95)=0s      
     http_req_duration...........................: avg=194.93µs min=136.98µs med=182.85µs max=13.82ms  p(90)=206.05µs p(95)=214.02µs
       { expected_response:true }................: avg=194.93µs min=136.98µs med=182.85µs max=13.82ms  p(90)=206.05µs p(95)=214.02µs
     ✓ { server:node-http,mode:json-schema }.....: avg=200.06µs min=147.43µs med=188.39µs max=7.2ms    p(90)=211.07µs p(95)=218.18µs
     ✓ { server:node-http,mode:no-schema }.......: avg=193.8µs  min=139.11µs med=178.91µs max=10.89ms  p(90)=201.92µs p(95)=210.75µs
     ✓ { server:uWebSockets,mode:json-schema }...: avg=194.31µs min=143.1µs  med=184.83µs max=8.58ms   p(90)=206.03µs p(95)=212.27µs
     ✓ { server:uWebSockets,mode:no-schema }.....: avg=191.63µs min=136.98µs med=178.43µs max=13.82ms  p(90)=201.87µs p(95)=211.42µs
     http_req_failed.............................: 0.00%   ✓ 0           ✗ 438218
     http_req_receiving..........................: avg=23.23µs  min=12.06µs  med=22.77µs  max=2.36ms   p(90)=28.16µs  p(95)=29.99µs 
     http_req_sending............................: avg=8.93µs   min=5.26µs   med=9µs      max=5.73ms   p(90)=11.85µs  p(95)=13.12µs 
     http_req_tls_handshaking....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting............................: avg=162.75µs min=112.56µs med=150.57µs max=13.68ms  p(90)=172.23µs p(95)=179.2µs 
     http_reqs...................................: 438218  3651.782371/s
     iteration_duration..........................: avg=269.11µs min=196.74µs med=255.91µs max=14.04ms  p(90)=281.88µs p(95)=293.24µs
     iterations..................................: 438218  3651.782371/s
     vus.........................................: 1       min=1         max=1   
     vus_max.....................................: 2       min=2         max=2