diff --git a/.husky/pre-commit b/.husky/pre-commit index d0a778429a..af5adff9df 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1 +1 @@ -npx lint-staged \ No newline at end of file +lint-staged \ No newline at end of file diff --git a/package-lock.json b/package-lock.json index eaf995fa83..9f32e9101c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,7 +37,7 @@ "eslint-plugin-n": "^16.6.2", "eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-vitest": "^0.5.4", - "husky": "^8.0.3", + "husky": "^9.1.4", "jquery": "^3.7.1", "jsdom": "^24.1.1", "lint-staged": "^15.2.8", @@ -3781,15 +3781,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.1.4", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.1.4.tgz", + "integrity": "sha512-bho94YyReb4JV7LYWRWxZ/xr6TtOTt8cMfmQ39MQYJ7f/YE268s3GdghGwi+y4zAeqewE5zYLvuhV0M0ijsDEA==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.js" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index e5f331976b..5d8f35e8ed 100644 --- a/package.json +++ b/package.json @@ -89,7 +89,7 @@ "lint:es": "eslint --report-unused-disable-directives --ignore-path .gitignore .", "lint:prettier": "npm run format:prettier:raw -- --check", "lint:ts": "tsc --noEmit", - "prepare": "husky install", + "prepare": "husky", "prepublishOnly": "npm run build", "test": "npm run lint && npm run test:vi", "test:vi": "vitest run", @@ -142,7 +142,7 @@ "eslint-plugin-n": "^16.6.2", "eslint-plugin-unicorn": "^55.0.0", "eslint-plugin-vitest": "^0.5.4", - "husky": "^8.0.3", + "husky": "^9.1.4", "jquery": "^3.7.1", "jsdom": "^24.1.1", "lint-staged": "^15.2.8",