chore(deps): update dependency husky to v9 (#2995)

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
This commit is contained in:
renovate[bot]
2026-05-13 23:57:30 +02:00
committed by GitHub
parent 080c68a778
commit 92c486d312
6 changed files with 15 additions and 38 deletions

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
[ -n "$HUSKY_BYPASS" ] || npx commitlint --edit $1

View File

@@ -1,4 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
npx lint-staged

View File

@@ -1,4 +1,2 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
exec < /dev/tty && npx cz --hook || true

View File

@@ -5,5 +5,6 @@
*/
const isCi = process.env.CI !== undefined;
if (!isCi) {
require('husky').install();
const husky = (await import('husky')).default;
console.log(husky());
}

View File

@@ -23,7 +23,7 @@
"typecheck": "pnpm typecheck:server && pnpm typecheck:client",
"typecheck:server": "tsc --project server/tsconfig.json --noEmit",
"typecheck:client": "tsc --noEmit",
"prepare": "node bin/prepare.js",
"prepare": "node bin/prepare.mjs",
"cypress:open": "cypress open",
"cypress:prepare": "ts-node -r tsconfig-paths/register --files --project server/tsconfig.json server/scripts/prepareTestDb.ts",
"cypress:build": "pnpm build && pnpm cypress:prepare"
@@ -163,7 +163,7 @@
"eslint-plugin-react": "7.37.5",
"eslint-plugin-react-hooks": "7.1.1",
"globals": "^17.5.0",
"husky": "8.0.3",
"husky": "9.1.7",
"jiti": "^2.6.1",
"lint-staged": "16.4.0",
"nodemon": "3.1.14",

38
pnpm-lock.yaml generated
View File

@@ -397,8 +397,8 @@ importers:
specifier: ^17.5.0
version: 17.5.0
husky:
specifier: 8.0.3
version: 8.0.3
specifier: 9.1.7
version: 9.1.7
jiti:
specifier: ^2.6.1
version: 2.6.1
@@ -2507,9 +2507,6 @@ packages:
'@types/estree@1.0.8':
resolution: {integrity: sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==}
'@types/express-serve-static-core@4.19.5':
resolution: {integrity: sha512-y6W03tvrACO72aijJ5uF02FRq5cgDR9lUxddQ8vyF+GvmjJQqbzDcJngEjURc+ZsG31VI3hODNZJ2URj86pzmg==}
'@types/express-serve-static-core@5.1.1':
resolution: {integrity: sha512-v4zIMr/cX7/d2BpAEX3KNKL/JrT1s43s96lLvvdTmza1oEvDudCqK9aF/djc/SWgy8Yh0h30TZx5VpzqFCxk5A==}
@@ -2616,9 +2613,6 @@ packages:
'@types/send@0.17.4':
resolution: {integrity: sha512-x2EM6TJOybec7c52BX0ZspPodMsQUd5L6PRwOunVyVUhXiBSKf3AezDL8Dgvgt5o0UfKNfuA0eMLr2wLT4AiBA==}
'@types/serve-static@1.15.7':
resolution: {integrity: sha512-W8Ym+h8nhuRwaKPaDw34QUkwsGi6Rc4yYqvKFo5rm2FUEhCFbzVWrxXUxuKK8TASjWsysJY0nsmNCGhCOIsrOw==}
'@types/serve-static@2.2.0':
resolution: {integrity: sha512-8mam4H1NHLtu7nmtalF7eyBH14QyOASmcxHhSfEoRyr0nP/YdoesEtU+uSRvMe96TW/HPTtkoKqQLl53N7UXMQ==}
@@ -2737,6 +2731,7 @@ packages:
'@ungap/structured-clone@1.3.0':
resolution: {integrity: sha512-WmoN8qaIAo7WTYWbAZuG8PYEhn5fkz7dZrqTBZ7dtt//lL2Gwms1IcnQ5yHqjDfX8Ft5j4YzDM23f87zBfDe9g==}
deprecated: Potential CWE-502 - Update to 1.3.1 or higher
'@unicode/unicode-17.0.0@1.6.16':
resolution: {integrity: sha512-advq5p36zZ+PDRUpDkWcHHR++R19kx0LYB5iG3bj0KB8mYVKg0ywS996e2bXeXxDb8XdOF7KTivcx7VkYie1pg==}
@@ -4793,9 +4788,9 @@ packages:
humanize-ms@1.2.1:
resolution: {integrity: sha512-Fl70vYtsAFb/C06PTS9dZBo7ihau+Tu/DNCk/OyHhea07S+aeMWpFFkUaXRa8fI+ScZbEI8dfSxwY7gxZ9SAVQ==}
husky@8.0.3:
resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==}
engines: {node: '>=14'}
husky@9.1.7:
resolution: {integrity: sha512-5gs5ytaNjBrh5Ow3zrvdUUY+0VxIuWVL4i9irt6friV+BqdCfmV11CQTWMiBYWHbXhco+J1kHfTOUkePhCDvMA==}
engines: {node: '>=18'}
hasBin: true
i18n-locales@0.0.5:
@@ -7793,10 +7788,12 @@ packages:
uuid@8.3.2:
resolution: {integrity: sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg==}
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
hasBin: true
uuid@9.0.1:
resolution: {integrity: sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA==}
deprecated: uuid@10 and below is no longer supported. For ESM codebases, update to uuid@latest. For CommonJS codebases, use uuid@11 (but be aware this version will likely be deprecated in 2028).
hasBin: true
v8-compile-cache-lib@3.0.1:
@@ -10399,7 +10396,7 @@ snapshots:
'@types/csurf@1.11.5':
dependencies:
'@types/express-serve-static-core': 4.19.5
'@types/express-serve-static-core': 5.1.1
'@types/debug@0.0.31': {}
@@ -10428,13 +10425,6 @@ snapshots:
'@types/estree@1.0.8': {}
'@types/express-serve-static-core@4.19.5':
dependencies:
'@types/node': 22.19.0
'@types/qs': 6.9.15
'@types/range-parser': 1.2.7
'@types/send': 0.17.4
'@types/express-serve-static-core@5.1.1':
dependencies:
'@types/node': 22.19.0
@@ -10545,12 +10535,6 @@ snapshots:
'@types/mime': 1.3.5
'@types/node': 22.19.0
'@types/serve-static@1.15.7':
dependencies:
'@types/http-errors': 2.0.4
'@types/node': 22.19.0
'@types/send': 0.17.4
'@types/serve-static@2.2.0':
dependencies:
'@types/http-errors': 2.0.4
@@ -10578,7 +10562,7 @@ snapshots:
'@types/swagger-ui-express@4.1.8':
dependencies:
'@types/express': 5.0.6
'@types/serve-static': 1.15.7
'@types/serve-static': 2.2.0
'@types/tmp@0.2.6': {}
@@ -13239,7 +13223,7 @@ snapshots:
ms: 2.1.3
optional: true
husky@8.0.3: {}
husky@9.1.7: {}
i18n-locales@0.0.5:
dependencies: