diff --git a/.husky/pre-commit b/.husky/pre-commit index 155c6be0b..652c6368c 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,6 +1,3 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - echo action source code is being reformatted and recompiled npm run format npm run build diff --git a/package-lock.json b/package-lock.json index f52b96b47..0c2993459 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,7 +25,7 @@ "devDependencies": { "@types/node": "20.11.5", "@vercel/ncc": "0.38.1", - "husky": "8.0.3", + "husky": "9.0.6", "markdown-link-check": "3.11.1", "prettier": "3.2.4" } @@ -998,15 +998,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" @@ -2319,9 +2319,9 @@ } }, "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 }, "iconv-lite": { diff --git a/package.json b/package.json index 025a9d556..1219d68da 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "format": "prettier --write index.js src/ping.js", "check:markdown": "find *.md docs/*.md -print0 | xargs -0 -n1 markdown-link-check -c md-linkcheck.json", "update:cypress": "./scripts/update-cypress-latest.sh", - "prepare": "husky install" + "prepare": "husky" }, "repository": { "type": "git", @@ -48,7 +48,7 @@ "devDependencies": { "@types/node": "20.11.5", "@vercel/ncc": "0.38.1", - "husky": "8.0.3", + "husky": "9.0.6", "markdown-link-check": "3.11.1", "prettier": "3.2.4" },