From: Jérôme Benoit Date: Thu, 25 Jan 2024 15:46:03 +0000 (+0100) Subject: build(deps-dev): apply updates X-Git-Tag: v3.1.20~33 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=33948df0468188eaa28fde0fb0f58b915986c88b;p=poolifier.git build(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 816e8ff6..198295a8 100644 --- a/package.json +++ b/package.json @@ -128,7 +128,7 @@ "eslint-plugin-spellcheck": "^0.0.20", "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", - "husky": "^8.0.3", + "husky": "^9.0.5", "lint-staged": "^15.2.0", "microtime": "^3.1.1", "mocha": "^10.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 977beae4..012d2dd2 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -84,8 +84,8 @@ devDependencies: specifier: ^29.7.0 version: 29.7.0 husky: - specifier: ^8.0.3 - version: 8.0.3 + specifier: ^9.0.5 + version: 9.0.5 lint-staged: specifier: ^15.2.0 version: 15.2.0 @@ -3152,9 +3152,9 @@ packages: hasBin: true dev: true - /husky@8.0.3: - resolution: {integrity: sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==} - engines: {node: '>=14'} + /husky@9.0.5: + resolution: {integrity: sha512-/EX48XLor4FczjgdJjwK4qMETrJxJqF4rkgo+NUeK8b2F4TV6s5QxAuG2JZfxm4b9WnrgBGS7bA/JK+H5CKg+A==} + engines: {node: '>=18'} hasBin: true dev: true diff --git a/prepare.mjs b/prepare.mjs index 1fcba999..9973a442 100644 --- a/prepare.mjs +++ b/prepare.mjs @@ -2,5 +2,5 @@ import { env } from 'node:process' const isCIEnvironment = env.CI != null if (isCIEnvironment === false) { - import('husky').then(({ install }) => install()).catch(console.error) + import('husky').then(husky => husky.default()).catch(console.error) }