Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f2d547d

Browse files
committed
Revert husky back to v4
1 parent 2691fea commit f2d547d

File tree

3 files changed

+71
-9
lines changed

3 files changed

+71
-9
lines changed

.husky/.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
_
1+
_

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"eslint-plugin-prettier": "3.3.1",
6666
"eslint-plugin-react": "7.22.0",
6767
"eslint-plugin-react-hooks": "4.2.0",
68-
"husky": ">=5.1.1",
68+
"husky": "=4",
6969
"lint-staged": ">=10.5.4",
7070
"npm-run-all": "4.1.5",
7171
"postcss": "8.2.6",
@@ -79,10 +79,10 @@
7979
}
8080
},
8181
"lint-staged": {
82-
"*.+(js|ts|tsx)": [
82+
"*.{js,ts,tsx}": [
8383
"yarn run lint"
8484
],
85-
"*.+(js|json|ts|tsx)": [
85+
"*.{js,json,ts,tsx}": [
8686
"yarn run format"
8787
]
8888
}

yarn.lock

Lines changed: 67 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,11 @@ commondir@^1.0.1:
14451445
resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b"
14461446
integrity sha1-3dgA2gxmEnOTzKWVDqloo6rxJTs=
14471447

1448+
compare-versions@^3.6.0:
1449+
version "3.6.0"
1450+
resolved "https://registry.yarnpkg.com/compare-versions/-/compare-versions-3.6.0.tgz#1a5689913685e5a87637b8d3ffca75514ec41d62"
1451+
integrity sha512-W6Af2Iw1z4CB7q4uU4hv646dW9GQuBM+YpC0UvUCWSD8w90SJjp+ujJuXaEMtAXBtSqGfMPuFOVn4/+FlaqfBA==
1452+
14481453
14491454
version "0.0.1"
14501455
resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b"
@@ -2494,6 +2499,21 @@ find-up@^4.0.0, find-up@^4.1.0:
24942499
locate-path "^5.0.0"
24952500
path-exists "^4.0.0"
24962501

2502+
find-up@^5.0.0:
2503+
version "5.0.0"
2504+
resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc"
2505+
integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==
2506+
dependencies:
2507+
locate-path "^6.0.0"
2508+
path-exists "^4.0.0"
2509+
2510+
find-versions@^4.0.0:
2511+
version "4.0.0"
2512+
resolved "https://registry.yarnpkg.com/find-versions/-/find-versions-4.0.0.tgz#3c57e573bf97769b8cb8df16934b627915da4965"
2513+
integrity sha512-wgpWy002tA+wgmO27buH/9KzyEOQnKsG/R0yrcjPT9BOFm0zRBVQbZ95nRGXWMywS8YR5knRbpohio0bcJABxQ==
2514+
dependencies:
2515+
semver-regex "^3.1.2"
2516+
24972517
flat-cache@^3.0.4:
24982518
version "3.0.4"
24992519
resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11"
@@ -2837,10 +2857,21 @@ human-signals@^1.1.1:
28372857
resolved "https://registry.yarnpkg.com/human-signals/-/human-signals-1.1.1.tgz#c5b1cd14f50aeae09ab6c59fe63ba3395fe4dfa3"
28382858
integrity sha512-SEQu7vl8KjNL2eoGBLF3+wAjpsNfA9XMlXAYj/3EdaNfAlxKthD1xjEQfGOUhllCGGJVNY34bRr6lPINhNjyZw==
28392859

2840-
husky@>=5.1.1:
2841-
version "5.1.1"
2842-
resolved "https://registry.yarnpkg.com/husky/-/husky-5.1.1.tgz#8678953fd8deb86f387cbf1ad50bb2f7f96e83f2"
2843-
integrity sha512-80LZ736V0Nr4/st0c2COYaMbEQhHNmAbLMN8J/kLk7/mo0QdUkUGNDjv/7jVkhug377Wh8wfbWyaVXEJ/h2B/Q==
2860+
husky@=4:
2861+
version "4.3.8"
2862+
resolved "https://registry.yarnpkg.com/husky/-/husky-4.3.8.tgz#31144060be963fd6850e5cc8f019a1dfe194296d"
2863+
integrity sha512-LCqqsB0PzJQ/AlCgfrfzRe3e3+NvmefAdKQhRYpxS4u6clblBoDdzzvHi8fmxKRzvMxPY/1WZWzomPZww0Anow==
2864+
dependencies:
2865+
chalk "^4.0.0"
2866+
ci-info "^2.0.0"
2867+
compare-versions "^3.6.0"
2868+
cosmiconfig "^7.0.0"
2869+
find-versions "^4.0.0"
2870+
opencollective-postinstall "^2.0.2"
2871+
pkg-dir "^5.0.0"
2872+
please-upgrade-node "^3.2.0"
2873+
slash "^3.0.0"
2874+
which-pm-runs "^1.0.0"
28442875

28452876
28462877
version "0.4.24"
@@ -3523,6 +3554,13 @@ locate-path@^5.0.0:
35233554
dependencies:
35243555
p-locate "^4.1.0"
35253556

3557+
locate-path@^6.0.0:
3558+
version "6.0.0"
3559+
resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286"
3560+
integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==
3561+
dependencies:
3562+
p-locate "^5.0.0"
3563+
35263564
lodash.assignin@^4.0.9:
35273565
version "4.2.0"
35283566
resolved "https://registry.yarnpkg.com/lodash.assignin/-/lodash.assignin-4.2.0.tgz#ba8df5fb841eb0a3e8044232b0e263a8dc6a28a2"
@@ -4218,6 +4256,11 @@ onetime@^5.1.0:
42184256
dependencies:
42194257
mimic-fn "^2.1.0"
42204258

4259+
opencollective-postinstall@^2.0.2:
4260+
version "2.0.3"
4261+
resolved "https://registry.yarnpkg.com/opencollective-postinstall/-/opencollective-postinstall-2.0.3.tgz#7a0fff978f6dbfa4d006238fbac98ed4198c3259"
4262+
integrity sha512-8AV/sCtuzUeTo8gQK5qDZzARrulB3egtLzFgteqB2tcT4Mw7B8Kt7JcDHmltjz6FOAHsvTevk70gZEbhM4ZS9Q==
4263+
42214264
optionator@^0.9.1:
42224265
version "0.9.1"
42234266
resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.9.1.tgz#4f236a6373dae0566a6d43e1326674f50c291499"
@@ -4240,7 +4283,7 @@ os-browserify@^0.3.0:
42404283
resolved "https://registry.yarnpkg.com/over/-/over-0.0.5.tgz#f29852e70fd7e25f360e013a8ec44c82aedb5708"
42414284
integrity sha1-8phS5w/X4l82DgE6jsRMgq7bVwg=
42424285

4243-
4286+
[email protected], p-limit@^3.0.2:
42444287
version "3.1.0"
42454288
resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b"
42464289
integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==
@@ -4275,6 +4318,13 @@ p-locate@^4.1.0:
42754318
dependencies:
42764319
p-limit "^2.2.0"
42774320

4321+
p-locate@^5.0.0:
4322+
version "5.0.0"
4323+
resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834"
4324+
integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==
4325+
dependencies:
4326+
p-limit "^3.0.2"
4327+
42784328
p-map@^4.0.0:
42794329
version "4.0.0"
42804330
resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b"
@@ -4488,6 +4538,13 @@ pkg-dir@^4.1.0:
44884538
dependencies:
44894539
find-up "^4.0.0"
44904540

4541+
pkg-dir@^5.0.0:
4542+
version "5.0.0"
4543+
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-5.0.0.tgz#a02d6aebe6ba133a928f74aec20bafdfe6b8e760"
4544+
integrity sha512-NPE8TDbzl/3YQYY7CSS228s3g2ollTFnc+Qi3tqmqJp9Vg2ovUpixcJEo2HJScN2Ez+kEaal6y70c0ehqJBJeA==
4545+
dependencies:
4546+
find-up "^5.0.0"
4547+
44914548
44924549
version "1.3.6"
44934550
resolved "https://registry.yarnpkg.com/platform/-/platform-1.3.6.tgz#48b4ce983164b209c2d45a107adb31f473a6e7a7"
@@ -5110,6 +5167,11 @@ semver-compare@^1.0.0:
51105167
resolved "https://registry.yarnpkg.com/semver-compare/-/semver-compare-1.0.0.tgz#0dee216a1c941ab37e9efb1788f6afc5ff5537fc"
51115168
integrity sha1-De4hahyUGrN+nvsXiPavxf9VN/w=
51125169

5170+
semver-regex@^3.1.2:
5171+
version "3.1.2"
5172+
resolved "https://registry.yarnpkg.com/semver-regex/-/semver-regex-3.1.2.tgz#34b4c0d361eef262e07199dbef316d0f2ab11807"
5173+
integrity sha512-bXWyL6EAKOJa81XG1OZ/Yyuq+oT0b2YLlxx7c+mrdYPaPbnj6WgVULXhinMIeZGufuUBu/eVRqXEhiv4imfwxA==
5174+
51135175
"semver@2 || 3 || 4 || 5", semver@^5.1.0, semver@^5.4.1, semver@^5.5.0, semver@^5.6.0:
51145176
version "5.7.1"
51155177
resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7"

0 commit comments

Comments
 (0)