From: Jérôme Benoit Date: Thu, 25 Jan 2024 15:19:44 +0000 (+0100) Subject: build(deps-dev): apply updates X-Git-Tag: v1.2.33~30 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=12e7a07d3136d1f5e49d89afd1139972b620635f;p=e-mobility-charging-stations-simulator.git build(deps-dev): apply updates Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index aac18b41..3a67370f 100644 --- a/package.json +++ b/package.json @@ -144,7 +144,7 @@ "eslint-plugin-tsdoc": "^0.2.17", "expect": "^29.7.0", "glob": "^10.3.10", - "husky": "^8.0.3", + "husky": "^9.0.5", "lint-staged": "^15.2.0", "prettier": "^3.2.4", "release-it": "^17.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index e23920f1..9bfee663 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -163,8 +163,8 @@ devDependencies: specifier: ^10.3.10 version: 10.3.10 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 @@ -5076,9 +5076,9 @@ packages: ms: 2.1.3 optional: 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.js b/prepare.js index b31baa23..2e8db999 100644 --- a/prepare.js +++ b/prepare.js @@ -4,5 +4,5 @@ const isCIEnvironment = env.CI != null const isCFEnvironment = env.VCAP_APPLICATION != null if (isCFEnvironment === false && isCIEnvironment === false) { // eslint-disable-next-line n/no-unpublished-import - import('husky').then(({ install }) => install()) + import('husky').then(husky => husky.default()) }