Skip to content

Commit 7f8f620

Browse files
authored
refactor: upgrade chalk (#482)
The new version slightly changed configuration and dropped old node support. https://github.com/chalk/chalk/releases/tag/v3.0.0 https://github.com/chalk/chalk/releases/tag/v4.0.0
1 parent b2c0cd5 commit 7f8f620

File tree

2 files changed

+7
-47
lines changed

2 files changed

+7
-47
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
},
6262
"dependencies": {
6363
"@babel/code-frame": "^7.8.3",
64-
"chalk": "^2.4.1",
64+
"chalk": "^4.1.0",
6565
"cosmiconfig": "^6.0.0",
6666
"deepmerge": "^4.2.2",
6767
"fs-extra": "^9.0.0",

yarn.lock

Lines changed: 6 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -2247,10 +2247,10 @@ chalk@^3.0.0:
22472247
ansi-styles "^4.1.0"
22482248
supports-color "^7.1.0"
22492249

2250-
chalk@^4.0.0:
2251-
version "4.0.0"
2252-
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.0.0.tgz#6e98081ed2d17faab615eb52ac66ec1fe6209e72"
2253-
integrity sha512-N9oWFcegS0sFr9oh1oz2d7Npos6vNoWW9HvtCg5N1KRFpUhaAhvTv5Y58g880fZaEYSNm3qDz8SU1UrGvp+n7A==
2250+
chalk@^4.0.0, chalk@^4.1.0:
2251+
version "4.1.0"
2252+
resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.0.tgz#4e14870a618d9e2edd97dd8345fd9d9dc315646a"
2253+
integrity sha512-qwx12AxXe2Q5xQ43Ac//I6v5aXTipYrSESdOgzrN+9XjgEpyjpKuvSGaN4qE93f7TQTlerQQ8S+EQ0EyDoVL1A==
22542254
dependencies:
22552255
ansi-styles "^4.1.0"
22562256
supports-color "^7.1.0"
@@ -2913,7 +2913,7 @@ debug@^3.1.0, debug@^3.2.6:
29132913
dependencies:
29142914
ms "^2.1.1"
29152915

2916-
debuglog@*, debuglog@^1.0.1:
2916+
debuglog@^1.0.1:
29172917
version "1.0.1"
29182918
resolved "https://registry.yarnpkg.com/debuglog/-/debuglog-1.0.1.tgz#aa24ffb9ac3df9a2351837cfb2d279360cd78492"
29192919
integrity sha1-qiT/uaw9+aI1GDfPstJ5NgzXhJI=
@@ -4383,7 +4383,7 @@ import-local@^3.0.2:
43834383
pkg-dir "^4.2.0"
43844384
resolve-cwd "^3.0.0"
43854385

4386-
imurmurhash@*, imurmurhash@^0.1.4:
4386+
imurmurhash@^0.1.4:
43874387
version "0.1.4"
43884388
resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea"
43894389
integrity sha1-khi5srkoojixPcT7a21XbyMUU+o=
@@ -5691,11 +5691,6 @@ lockfile@^1.0.4:
56915691
dependencies:
56925692
signal-exit "^3.0.2"
56935693

5694-
lodash._baseindexof@*:
5695-
version "3.1.0"
5696-
resolved "https://registry.yarnpkg.com/lodash._baseindexof/-/lodash._baseindexof-3.1.0.tgz#fe52b53a1c6761e42618d654e4a25789ed61822c"
5697-
integrity sha1-/lK1OhxnYeQmGNZU5KJXie1hgiw=
5698-
56995694
lodash._baseuniq@~4.6.0:
57005695
version "4.6.0"
57015696
resolved "https://registry.yarnpkg.com/lodash._baseuniq/-/lodash._baseuniq-4.6.0.tgz#0ebb44e456814af7905c6212fa2c9b2d51b841e8"
@@ -5704,33 +5699,11 @@ lodash._baseuniq@~4.6.0:
57045699
lodash._createset "~4.0.0"
57055700
lodash._root "~3.0.0"
57065701

5707-
lodash._bindcallback@*:
5708-
version "3.0.1"
5709-
resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e"
5710-
integrity sha1-5THCdkTPi1epnhftlbNcdIeJOS4=
5711-
5712-
lodash._cacheindexof@*:
5713-
version "3.0.2"
5714-
resolved "https://registry.yarnpkg.com/lodash._cacheindexof/-/lodash._cacheindexof-3.0.2.tgz#3dc69ac82498d2ee5e3ce56091bafd2adc7bde92"
5715-
integrity sha1-PcaayCSY0u5ePOVgkbr9Ktx73pI=
5716-
5717-
lodash._createcache@*:
5718-
version "3.1.2"
5719-
resolved "https://registry.yarnpkg.com/lodash._createcache/-/lodash._createcache-3.1.2.tgz#56d6a064017625e79ebca6b8018e17440bdcf093"
5720-
integrity sha1-VtagZAF2JeeevKa4AY4XRAvc8JM=
5721-
dependencies:
5722-
lodash._getnative "^3.0.0"
5723-
57245702
lodash._createset@~4.0.0:
57255703
version "4.0.3"
57265704
resolved "https://registry.yarnpkg.com/lodash._createset/-/lodash._createset-4.0.3.tgz#0f4659fbb09d75194fa9e2b88a6644d363c9fe26"
57275705
integrity sha1-D0ZZ+7CddRlPqeK4imZE02PJ/iY=
57285706

5729-
lodash._getnative@*, lodash._getnative@^3.0.0:
5730-
version "3.9.1"
5731-
resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5"
5732-
integrity sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U=
5733-
57345707
lodash._reinterpolate@^3.0.0:
57355708
version "3.0.0"
57365709
resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d"
@@ -5775,11 +5748,6 @@ [email protected]:
57755748
version "4.1.2"
57765749
resolved "https://registry.yarnpkg.com/lodash.memoize/-/lodash.memoize-4.1.2.tgz#bcc6c49a42a2840ed997f323eada5ecd182e0bfe"
57775750

5778-
lodash.restparam@*:
5779-
version "3.6.1"
5780-
resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805"
5781-
integrity sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU=
5782-
57835751
lodash.sortby@^4.7.0:
57845752
version "4.7.0"
57855753
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
@@ -6616,7 +6584,6 @@ npm@^6.10.3:
66166584
cmd-shim "^3.0.3"
66176585
columnify "~1.5.4"
66186586
config-chain "^1.1.12"
6619-
debuglog "*"
66206587
detect-indent "~5.0.0"
66216588
detect-newline "^2.1.0"
66226589
dezalgo "~1.0.3"
@@ -6631,7 +6598,6 @@ npm@^6.10.3:
66316598
has-unicode "~2.0.1"
66326599
hosted-git-info "^2.8.8"
66336600
iferr "^1.0.2"
6634-
imurmurhash "*"
66356601
infer-owner "^1.0.4"
66366602
inflight "~1.0.6"
66376603
inherits "^2.0.4"
@@ -6650,14 +6616,8 @@ npm@^6.10.3:
66506616
libnpx "^10.2.2"
66516617
lock-verify "^2.1.0"
66526618
lockfile "^1.0.4"
6653-
lodash._baseindexof "*"
66546619
lodash._baseuniq "~4.6.0"
6655-
lodash._bindcallback "*"
6656-
lodash._cacheindexof "*"
6657-
lodash._createcache "*"
6658-
lodash._getnative "*"
66596620
lodash.clonedeep "~4.5.0"
6660-
lodash.restparam "*"
66616621
lodash.union "~4.6.0"
66626622
lodash.uniq "~4.5.0"
66636623
lodash.without "~4.4.0"

0 commit comments

Comments
 (0)