From ff6cb743fba2bc11722b55e6b666052ee096083f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 15 Feb 2024 11:23:31 +0000 Subject: [PATCH 1/2] chore(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 | 18 +++++++++--------- package.json | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 710797d0f..5e8402b62 100644 --- a/package-lock.json +++ b/package-lock.json @@ -55,7 +55,7 @@ "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^27.1.5", "http-server": "14.1.1", - "husky": "^8.0.1", + "husky": "^9.0.11", "jest": "29.7.0", "jest-puppeteer": "10.0.1", "lint-staged": "^15.0.2", @@ -6547,15 +6547,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" @@ -17530,9 +17530,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.11", + "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.11.tgz", + "integrity": "sha512-AB6lFlbwwyIqMdHYhwPe+kjOC3Oc5P3nThEoW/AaO2BX3vJDjWPFxYLxokUZOo6RNX20He3AaT8sESs9NJcmEw==", "dev": true }, "iconv-lite": { diff --git a/package.json b/package.json index 79d8395e6..ea4998650 100644 --- a/package.json +++ b/package.json @@ -100,7 +100,7 @@ "eslint-plugin-import": "^2.29.0", "eslint-plugin-jest": "^27.1.5", "http-server": "14.1.1", - "husky": "^8.0.1", + "husky": "^9.0.11", "jest": "29.7.0", "jest-puppeteer": "10.0.1", "lint-staged": "^15.0.2", From 9b1bbf3532dbcf28fa4c873bd0af72209a0684fa Mon Sep 17 00:00:00 2001 From: Claas Augner Date: Wed, 28 Feb 2024 18:24:12 +0100 Subject: [PATCH 2/2] chore(husky): migrate from v8 to v9 --- .husky/pre-commit | 3 --- package.json | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af21989..2312dc587 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 ea4998650..9ea4c51c5 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "jest": "cross-env JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs NODE_OPTIONS=--experimental-vm-modules jest", "perf": "bundlesize", "webpack": "webpack", - "prepare": "husky install", + "prepare": "husky", "clean": "rm lib/*.js lib/*.js.map editor/**/*.js editor/**/*.js.map" }, "jest": {