Skip to content

Commit 10dc65a

Browse files
author
anh.pham
committed
build(devs-dep): upgrade deps
1 parent 215e1b8 commit 10dc65a

File tree

3 files changed

+36
-19
lines changed

3 files changed

+36
-19
lines changed

.husky/_/husky.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
if [ -z "$husky_skip_init" ]; then
33
debug () {
44
if [ "$HUSKY_DEBUG" = "1" ]; then
55
echo "husky (debug) - $1"
66
fi
77
}
88

9-
readonly hook_name="$(basename "$0")"
9+
readonly hook_name="$(basename -- "$0")"
1010
debug "starting $hook_name..."
1111

1212
if [ "$HUSKY" = "0" ]; then
@@ -19,13 +19,18 @@ if [ -z "$husky_skip_init" ]; then
1919
. ~/.huskyrc
2020
fi
2121

22-
export readonly husky_skip_init=1
22+
readonly husky_skip_init=1
23+
export husky_skip_init
2324
sh -e "$0" "$@"
2425
exitCode="$?"
2526

2627
if [ $exitCode != 0 ]; then
2728
echo "husky - $hook_name hook exited with code $exitCode (error)"
2829
fi
2930

31+
if [ $exitCode = 127 ]; then
32+
echo "husky - command not found in PATH=$PATH"
33+
fi
34+
3035
exit $exitCode
3136
fi

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
"@types/jest": "^27.4.1",
7878
"@types/node": "^16.11.33",
7979
"@types/semver": "^7.3.9",
80-
"@typescript-eslint/eslint-plugin": "^5.22.0",
81-
"@typescript-eslint/parser": "^5.22.0",
80+
"@typescript-eslint/eslint-plugin": "^5.23.0",
81+
"@typescript-eslint/parser": "^5.23.0",
8282
"chalk": "^4.1.2",
8383
"conventional-changelog-cli": "^2.2.2",
8484
"cross-env": "^7.0.3",

yarn.lock

Lines changed: 26 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2018,22 +2018,22 @@
20182018
dependencies:
20192019
"@types/yargs-parser" "*"
20202020

2021-
"@typescript-eslint/eslint-plugin@^5.22.0":
2022-
version "5.22.0"
2023-
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.22.0.tgz#7b52a0de2e664044f28b36419210aea4ab619e2a"
2024-
integrity sha512-YCiy5PUzpAeOPGQ7VSGDEY2NeYUV1B0swde2e0HzokRsHBYjSdF6DZ51OuRZxVPHx0032lXGLvOMls91D8FXlg==
2021+
"@typescript-eslint/eslint-plugin@^5.23.0":
2022+
version "5.23.0"
2023+
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.23.0.tgz#bc4cbcf91fbbcc2e47e534774781b82ae25cc3d8"
2024+
integrity sha512-hEcSmG4XodSLiAp1uxv/OQSGsDY6QN3TcRU32gANp+19wGE1QQZLRS8/GV58VRUoXhnkuJ3ZxNQ3T6Z6zM59DA==
20252025
dependencies:
2026-
"@typescript-eslint/scope-manager" "5.22.0"
2027-
"@typescript-eslint/type-utils" "5.22.0"
2028-
"@typescript-eslint/utils" "5.22.0"
2026+
"@typescript-eslint/scope-manager" "5.23.0"
2027+
"@typescript-eslint/type-utils" "5.23.0"
2028+
"@typescript-eslint/utils" "5.23.0"
20292029
debug "^4.3.2"
20302030
functional-red-black-tree "^1.0.1"
20312031
ignore "^5.1.8"
20322032
regexpp "^3.2.0"
20332033
semver "^7.3.5"
20342034
tsutils "^3.21.0"
20352035

2036-
"@typescript-eslint/parser@^5.22.0":
2036+
"@typescript-eslint/parser@^5.23.0":
20372037
version "5.23.0"
20382038
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.23.0.tgz#443778e1afc9a8ff180f91b5e260ac3bec5e2de1"
20392039
integrity sha512-V06cYUkqcGqpFjb8ttVgzNF53tgbB/KoQT/iB++DOIExKmzI9vBJKjZKt/6FuV9c+zrDsvJKbJ2DOCYwX91cbw==
@@ -2059,12 +2059,12 @@
20592059
"@typescript-eslint/types" "5.23.0"
20602060
"@typescript-eslint/visitor-keys" "5.23.0"
20612061

2062-
"@typescript-eslint/type-utils@5.22.0":
2063-
version "5.22.0"
2064-
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.22.0.tgz#0c0e93b34210e334fbe1bcb7250c470f4a537c19"
2065-
integrity sha512-iqfLZIsZhK2OEJ4cQ01xOq3NaCuG5FQRKyHicA3xhZxMgaxQazLUHbH/B2k9y5i7l3+o+B5ND9Mf1AWETeMISA==
2062+
"@typescript-eslint/type-utils@5.23.0":
2063+
version "5.23.0"
2064+
resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.23.0.tgz#f852252f2fc27620d5bb279d8fed2a13d2e3685e"
2065+
integrity sha512-iuI05JsJl/SUnOTXA9f4oI+/4qS/Zcgk+s2ir+lRmXI+80D8GaGwoUqs4p+X+4AxDolPpEpVUdlEH4ADxFy4gw==
20662066
dependencies:
2067-
"@typescript-eslint/utils" "5.22.0"
2067+
"@typescript-eslint/utils" "5.23.0"
20682068
debug "^4.3.2"
20692069
tsutils "^3.21.0"
20702070

@@ -2104,7 +2104,19 @@
21042104
semver "^7.3.5"
21052105
tsutils "^3.21.0"
21062106

2107-
"@typescript-eslint/[email protected]", "@typescript-eslint/utils@^5.10.0":
2107+
"@typescript-eslint/[email protected]":
2108+
version "5.23.0"
2109+
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.23.0.tgz#4691c3d1b414da2c53d8943310df36ab1c50648a"
2110+
integrity sha512-dbgaKN21drqpkbbedGMNPCtRPZo1IOUr5EI9Jrrh99r5UW5Q0dz46RKXeSBoPV+56R6dFKpbrdhgUNSJsDDRZA==
2111+
dependencies:
2112+
"@types/json-schema" "^7.0.9"
2113+
"@typescript-eslint/scope-manager" "5.23.0"
2114+
"@typescript-eslint/types" "5.23.0"
2115+
"@typescript-eslint/typescript-estree" "5.23.0"
2116+
eslint-scope "^5.1.1"
2117+
eslint-utils "^3.0.0"
2118+
2119+
"@typescript-eslint/utils@^5.10.0":
21082120
version "5.22.0"
21092121
resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.22.0.tgz#1f2c4897e2cf7e44443c848a13c60407861babd8"
21102122
integrity sha512-HodsGb037iobrWSUMS7QH6Hl1kppikjA1ELiJlNSTYf/UdMEwzgj0WIp+lBNb6WZ3zTwb0tEz51j0Wee3iJ3wQ==

0 commit comments

Comments
 (0)