Browse Source

build(deps-dev): bump husky from 8.0.3 to 9.0.7 (#12175)

* build(deps-dev): bump husky from 8.0.3 to 9.0.7

Bumps [husky](https://github.com/typicode/husky) from 8.0.3 to 9.0.7.
- [Release notes](https://github.com/typicode/husky/releases)
- [Commits](https://github.com/typicode/husky/compare/v8.0.3...v9.0.7)

---
updated-dependencies:
- dependency-name: husky
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* build(deps-dev): bump husky from 8.0.3 to 9.0.7

Upgrade husky following the upgrade guide: https://github.com/typicode/husky/releases/tag/v9.0.1

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Sebastiaan Speck <shem.speck@gmail.com>
dependabot[bot] 1 year ago
parent
commit
576070dd0c
3 changed files with 11 additions and 14 deletions
  1. 0 3
      .husky/pre-commit
  2. 9 9
      package-lock.json
  3. 2 2
      package.json

+ 0 - 3
.husky/pre-commit

@@ -1,4 +1 @@
-#!/bin/sh
-. "$(dirname "$0")/_/husky.sh"
-
 npm test

+ 9 - 9
package-lock.json

@@ -12,7 +12,7 @@
         "tldr-lint": "^0.0.13"
       },
       "devDependencies": {
-        "husky": "^8.0.3"
+        "husky": "^9.0.7"
       }
     },
     "node_modules/@isaacs/cliui": {
@@ -194,15 +194,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.7",
+      "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
+      "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
       "dev": true,
       "bin": {
-        "husky": "lib/bin.js"
+        "husky": "bin.js"
       },
       "engines": {
-        "node": ">=14"
+        "node": ">=18"
       },
       "funding": {
         "url": "https://github.com/sponsors/typicode"
@@ -806,9 +806,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.7",
+      "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.7.tgz",
+      "integrity": "sha512-vWdusw+y12DUEeoZqW1kplOFqk3tedGV8qlga8/SF6a3lOiWLqGZZQvfWvY0fQYdfiRi/u1DFNpudTSV9l1aCg==",
       "dev": true
     },
     "ignore": {

+ 2 - 2
package.json

@@ -11,14 +11,14 @@
     "tldr-lint": "^0.0.13"
   },
   "devDependencies": {
-    "husky": "^8.0.3"
+    "husky": "^9.0.7"
   },
   "scripts": {
     "lint-markdown": "markdownlint pages*/**/*.md",
     "lint-tldr-pages": "tldr-lint ./pages",
     "test": "bash scripts/test.sh",
     "build-index": "node ./scripts/build-index.js > index.json",
-    "prepare": "husky install"
+    "prepare": "husky"
   },
   "private": true
 }