From b5c5a7f56c27e138f229576d363ffbae58a330bd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 29 Jan 2024 15:23:39 +0530 Subject: [PATCH] chore(deps-dev): bump husky from 8.0.3 to 9.0.6 (#297) * chore(deps-dev): bump husky from 8.0.3 to 9.0.6 Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.6. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.6) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * chore: migrate Husky scripts --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Owen Voke --- .husky/pre-commit | 3 --- package-lock.json | 18 +++++++++--------- package.json | 4 ++-- 3 files changed, 11 insertions(+), 14 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 20d0d06..3867a0f 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npm run lint diff --git a/package-lock.json b/package-lock.json index e5a7daa..cfa1306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -19,7 +19,7 @@ "concurrently": "^8.0.1", "eslint": "^8.0.0", "eslint-plugin-jest": "^27.0.4", - "husky": "^8.0.2", + "husky": "^9.0.6", "jest": "^29.1.2", "jison": "^0.4.18", "onchange": "^7.1.0" @@ -2949,15 +2949,15 @@ } }, "node_modules/husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz", + "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" @@ -7301,9 +7301,9 @@ "dev": true }, "husky": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", - "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz", + "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==", "dev": true }, "ignore": { diff --git a/package.json b/package.json index 0d2200d..9465255 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,7 @@ "scripts": { "jison": "jison tldr.yy tldr.l -o lib/tldr-parser.js", "lint": "eslint lib specs", - "prepare": "husky install", + "prepare": "husky", "test": "jest specs", "watch": "concurrently 'npm run watch:jison' 'npm run watch:specs'", "watch:jison": "onchange '*.l' '*.yy' -- npm run jison", @@ -41,7 +41,7 @@ "concurrently": "^8.0.1", "eslint": "^8.0.0", "eslint-plugin-jest": "^27.0.4", - "husky": "^8.0.2", + "husky": "^9.0.6", "jest": "^29.1.2", "jison": "^0.4.18", "onchange": "^7.1.0"