From 2bb4e47e398aa7eb9df7249be6ec3b579ef57c40 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 26 Jan 2024 16:06:22 +0800 Subject: [PATCH] chore(deps-dev): bump husky from 8.0.3 to 9.0.5 (#14326) * chore(deps-dev): bump husky from 8.0.3 to 9.0.5 Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.5. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.5) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: fix pnpm install * chore: migrate to husky v9 https://github.com/typicode/husky/releases/tag/v9.0.1 --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .husky/pre-commit | 3 --- package.json | 4 ++-- pnpm-lock.yaml | 10 +++++----- 3 files changed, 7 insertions(+), 10 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index d24fdfc60..2312dc587 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index 33b6daa30..1a3e2c0f1 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "jest:coverage": "cross-env NODE_ENV=test jest --coverage --reporters=default --reporters=jest-junit --runInBand --forceExit --detectOpenHandles", "jest:watch": "cross-env NODE_ENV=test jest --watch", "lint": "eslint --cache .", - "prepare": "node -e \"try { require('husky').install() } catch (e) {if (e.code !== 'MODULE_NOT_FOUND') throw e}\"", + "prepare": "husky || true", "profiling": "NODE_ENV=production node --prof lib/index.js", "start": "node lib/index.js", "test": "npm run format:check && npm run jest:coverage" @@ -193,7 +193,7 @@ "eslint-plugin-unicorn": "50.0.1", "eslint-plugin-yml": "1.12.2", "fs-extra": "11.2.0", - "husky": "8.0.3", + "husky": "9.0.5", "jest": "29.7.0", "jest-junit": "16.0.0", "lint-staged": "15.2.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2ff15ac28..b9d808016 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -332,8 +332,8 @@ devDependencies: specifier: 11.2.0 version: 11.2.0 husky: - specifier: 8.0.3 - version: 8.0.3 + specifier: 9.0.5 + version: 9.0.5 jest: specifier: 29.7.0 version: 29.7.0 @@ -4608,9 +4608,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