From: Jérôme Benoit Date: Thu, 25 Jan 2024 15:37:36 +0000 (+0100) Subject: build(deps-dev): apply updates X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=2c4f08b4cb4cfb961a5d2cb8eca0681080d0c3d5;p=benchmarks-js.git build(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 680e145..7b2ec04 100644 --- a/package.json +++ b/package.json @@ -80,7 +80,7 @@ "eslint-plugin-jsdoc": "^48.0.3", "eslint-plugin-n": "^16.6.2", "eslint-plugin-promise": "^6.1.1", - "husky": "^8.0.3", + "husky": "^9.0.5", "lint-staged": "^15.2.0", "prettier": "^3.2.4", "standard": "^17.1.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 987ad31..f6df5e9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,8 +65,8 @@ devDependencies: specifier: ^6.1.1 version: 6.1.1(eslint@8.56.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 @@ -1821,9 +1821,9 @@ packages: engines: {node: '>=16.17.0'} 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 d6441fb..a86b8c7 100644 --- a/prepare.mjs +++ b/prepare.mjs @@ -4,8 +4,8 @@ const isCIEnvironment = env.CI != null if (isCIEnvironment === false) { // eslint-disable-next-line n/no-unpublished-import import('husky') - .then(({ install }) => { - return install() + .then(husky => { + return husky.default() }) .catch(console.error) }