From 3f3978e7e8f52d4b24e2f43b327d3076f373f2da Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Apr 2024 00:33:21 +0000 Subject: [PATCH 1/2] build(deps-dev): bump husky from 8.0.3 to 9.0.11 Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.11. - [Release notes](https://github.com/typicode/husky/releases) - [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.11) --- updated-dependencies: - dependency-name: husky dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- package-lock.json | 12 ++++++------ package.json | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package-lock.json b/package-lock.json index ac067e1..eacd4d1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -26,7 +26,7 @@ "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "globals": "^15.0.0", - "husky": "^8.0.3", + "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.0.2", "prettier": "^3.0.3", @@ -7453,15 +7453,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.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true, "bin": { - "husky": "lib/bin.js" + "husky": "bin.mjs" }, "engines": { - "node": ">=14" + "node": ">=18" }, "funding": { "url": "https://github.com/sponsors/typicode" diff --git a/package.json b/package.json index 8f33674..eec77c8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,7 @@ "eslint": "^8.51.0", "eslint-config-prettier": "^9.0.0", "globals": "^15.0.0", - "husky": "^8.0.3", + "husky": "^9.0.11", "jest": "^29.7.0", "lint-staged": "^15.0.2", "prettier": "^3.0.3", From 32ce0825184bd50ef9bebdb125a6dcd29bb69b18 Mon Sep 17 00:00:00 2001 From: Nargonath Date: Tue, 9 Apr 2024 22:03:21 +0200 Subject: [PATCH 2/2] build(deps-dev): update husky config to v9 format --- .husky/commit-msg | 3 --- .husky/pre-commit | 3 --- package.json | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.husky/commit-msg b/.husky/commit-msg index c160a77..0398b7a 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,4 +1 @@ -#!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" - npx --no -- commitlint --edit ${1} diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af219..2312dc5 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1 @@ -#!/bin/sh -. "$(dirname "$0")/_/husky.sh" - npx lint-staged diff --git a/package.json b/package.json index eec77c8..edfc224 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "lint": "eslint 'lib/**/*.ts'", "test": "jest", "test:dev": "jest --watch", - "prepare": "husky install" + "prepare": "husky" }, "repository": { "type": "git",