From 5b6e00b7deef4183368e6e1b262539889987b6f3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 09:27:29 +0000 Subject: [PATCH 1/2] Bump husky from 9.0.11 to 9.1.4 in the tools group Bumps the tools group with 1 update: [husky](https://github.com/typicode/husky). Updates `husky` from 9.0.11 to 9.1.4 - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v9.0.11...v9.1.4) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-minor dependency-group: tools ... Signed-off-by: dependabot[bot] --- package-lock.json | 10 +++++----- package.json | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package-lock.json b/package-lock.json index d1bdebaa..a51ef033 100644 --- a/package-lock.json +++ b/package-lock.json @@ -33,7 +33,7 @@ "cssnano-preset-default": "^6.0.3", "devtools": "^8.39.1", "dotenv": "^16.4.5", - "husky": "^9.0.11", + "husky": "^9.1.4", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", "karma-mocha": "^2.0.1", @@ -10176,12 +10176,12 @@ } }, "node_modules/husky": { - "version": "9.0.11", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", - "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", + "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": "bin.mjs" + "husky": "bin.js" }, "engines": { "node": ">=18" diff --git a/package.json b/package.json index 50c10467..16378849 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "cssnano-preset-default": "^6.0.3", "devtools": "^8.39.1", "dotenv": "^16.4.5", - "husky": "^9.0.11", + "husky": "^9.1.4", "karma": "^6.4.4", "karma-chrome-launcher": "^3.2.0", "karma-mocha": "^2.0.1", From cbfaedbfdff0c39f55759fc3c201fe9b60d7f3e9 Mon Sep 17 00:00:00 2001 From: Owen Jones Date: Thu, 8 Aug 2024 17:15:15 +0100 Subject: [PATCH 2/2] Remove unnecessary lines from husky pre-commit hook No longer necessary as of husky 9.1.2 --- .husky/pre-commit | 3 --- 1 file changed, 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 34551d74..e2bc3b31 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npm run build && node scripts/check-staged.mjs