nodejs / undici

An HTTP/1.1 client, written from scratch for Node.js
https://nodejs.github.io/undici
MIT License
6.08k stars 529 forks source link

build: husky install is deprecated #3339

Closed jazelly closed 3 months ago

jazelly commented 3 months ago

This would solve...

The deprecation warning sent from husky, introduced from husky v9.0.1

The implementation should look like...

Simply remove install as suggested

Additional context

This is what you get currently

npm i

> undici@6.19.1 prepare
> husky install && node ./scripts/platform-shell.js

install command is deprecated

up to date, audited 748 packages in 1s

174 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities
jazelly commented 3 months ago

Completed with #3340