Skip to content

Commit 216a5ca

Browse files
committed
Update css-loader and style-loader
1 parent ddcd6d8 commit 216a5ca

File tree

2 files changed

+71
-25
lines changed

2 files changed

+71
-25
lines changed

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"babel-loader": "^8.0.0",
3333
"chalk": "^4.0.0",
3434
"clean-webpack-plugin": "^3.0.0",
35-
"css-loader": "^3.5.2",
35+
"css-loader": "^5.0.1",
3636
"css-minimizer-webpack-plugin": "^1.1.5",
3737
"fast-levenshtein": "^2.0.6",
3838
"file-loader": "^6.0.0",
@@ -43,7 +43,7 @@
4343
"pretty-error": "^2.1.1",
4444
"resolve-url-loader": "^3.1.2",
4545
"semver": "^7.3.2",
46-
"style-loader": "^1.1.3",
46+
"style-loader": "^2.0.0",
4747
"terser-webpack-plugin": "^4.2.3",
4848
"tmp": "^0.2.1",
4949
"webpack": "^5",

Diff for: yarn.lock

+69-23
Original file line numberDiff line numberDiff line change
@@ -2107,12 +2107,12 @@ callsites@^3.0.0:
21072107
resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73"
21082108
integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==
21092109

2110-
[email protected], camelcase@^5.0.0, camelcase@^5.3.1:
2110+
[email protected], camelcase@^5.0.0:
21112111
version "5.3.1"
21122112
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-5.3.1.tgz#e3c9b31569e106811df242f715725a1f4c494320"
21132113
integrity sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==
21142114

2115-
camelcase@^6.0.0:
2115+
camelcase@^6.0.0, camelcase@^6.2.0:
21162116
version "6.2.0"
21172117
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.2.0.tgz#924af881c9d525ac9d87f40d964e5cea982a1809"
21182118
integrity sha512-c7wVvbw3f37nuobQNtgsgG9POC9qMbNuMQmTCqZv23b6MIz0fcYpBiOlv9gEN/hdLdnZTDQhg6e9Dq5M1vKvfg==
@@ -2556,24 +2556,23 @@ css-declaration-sorter@^4.0.1:
25562556
postcss "^7.0.1"
25572557
timsort "^0.3.0"
25582558

2559-
css-loader@^3.5.2:
2560-
version "3.6.0"
2561-
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-3.6.0.tgz#2e4b2c7e6e2d27f8c8f28f61bffcd2e6c91ef645"
2562-
integrity sha512-M5lSukoWi1If8dhQAUCvj4H8vUt3vOnwbQBH9DdTm/s4Ym2B/3dPMtYZeJmq7Q3S3Pa+I94DcZ7pc9bP14cWIQ==
2559+
css-loader@^5.0.1:
2560+
version "5.0.1"
2561+
resolved "https://registry.yarnpkg.com/css-loader/-/css-loader-5.0.1.tgz#9e4de0d6636a6266a585bd0900b422c85539d25f"
2562+
integrity sha512-cXc2ti9V234cq7rJzFKhirb2L2iPy8ZjALeVJAozXYz9te3r4eqLSixNAbMDJSgJEQywqXzs8gonxaboeKqwiw==
25632563
dependencies:
2564-
camelcase "^5.3.1"
2564+
camelcase "^6.2.0"
25652565
cssesc "^3.0.0"
2566-
icss-utils "^4.1.1"
2567-
loader-utils "^1.2.3"
2568-
normalize-path "^3.0.0"
2569-
postcss "^7.0.32"
2570-
postcss-modules-extract-imports "^2.0.0"
2571-
postcss-modules-local-by-default "^3.0.2"
2572-
postcss-modules-scope "^2.2.0"
2573-
postcss-modules-values "^3.0.0"
2566+
icss-utils "^5.0.0"
2567+
loader-utils "^2.0.0"
2568+
postcss "^8.1.4"
2569+
postcss-modules-extract-imports "^3.0.0"
2570+
postcss-modules-local-by-default "^4.0.0"
2571+
postcss-modules-scope "^3.0.0"
2572+
postcss-modules-values "^4.0.0"
25742573
postcss-value-parser "^4.1.0"
2575-
schema-utils "^2.7.0"
2576-
semver "^6.3.0"
2574+
schema-utils "^3.0.0"
2575+
semver "^7.3.2"
25772576

25782577
css-minimizer-webpack-plugin@^1.1.5:
25792578
version "1.1.5"
@@ -4284,6 +4283,11 @@ icss-utils@^4.0.0, icss-utils@^4.1.1:
42844283
dependencies:
42854284
postcss "^7.0.14"
42864285

4286+
icss-utils@^5.0.0:
4287+
version "5.1.0"
4288+
resolved "https://registry.yarnpkg.com/icss-utils/-/icss-utils-5.1.0.tgz#c6be6858abd013d768e98366ae47e25d5887b1ae"
4289+
integrity sha512-soFhflCVWLfRNOPU3iv5Z9VUdT44xFRbzjLsEzSr5AQmgqPMTHdU3PMT1Cf1ssx8fLNJDA1juftYl+PUcv3MqA==
4290+
42874291
ignore@^4.0.6:
42884292
version "4.0.6"
42894293
resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc"
@@ -5009,7 +5013,7 @@ [email protected]:
50095013
emojis-list "^2.0.0"
50105014
json5 "^1.0.1"
50115015

5012-
loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.2.3, loader-utils@^1.4.0:
5016+
loader-utils@^1.0.2, loader-utils@^1.1.0, loader-utils@^1.4.0:
50135017
version "1.4.0"
50145018
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.0.tgz#c579b5e34cb34b1a74edc6c1fb36bfa371d5a613"
50155019
integrity sha512-qH0WSMBtn/oHuwjy/NucEgbx5dbxxnxup9s4PVXJUDHZBQY+s0NWA9rJf53RBnQZxfch7euUui7hpoAPvALZdA==
@@ -5419,6 +5423,11 @@ nan@^2.12.1:
54195423
resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.1.tgz#d7be34dfa3105b91494c3147089315eff8874b01"
54205424
integrity sha512-isWHgVjnFjh2x2yuJ/tj3JbwoHu3UC2dX5G/88Cm24yB6YopVgxvBObDY7n5xW6ExmFhJpSEQqFPvq9zaXc8Jw==
54215425

5426+
nanoid@^3.1.20:
5427+
version "3.1.20"
5428+
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.1.20.tgz#badc263c6b1dcf14b71efaa85f6ab4c1d6cfc788"
5429+
integrity sha512-a1cQNyczgKbLX9jwbS/+d7W8fX/RfgYR7lVWwWOGIPNgK2m0MWvrGF6/m4kk6U3QcFMnZf3RIhL0v2Jgh/0Uxw==
5430+
54225431
nanomatch@^1.2.9:
54235432
version "1.2.13"
54245433
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
@@ -6145,6 +6154,11 @@ postcss-modules-extract-imports@^2.0.0:
61456154
dependencies:
61466155
postcss "^7.0.5"
61476156

6157+
postcss-modules-extract-imports@^3.0.0:
6158+
version "3.0.0"
6159+
resolved "https://registry.yarnpkg.com/postcss-modules-extract-imports/-/postcss-modules-extract-imports-3.0.0.tgz#cda1f047c0ae80c97dbe28c3e76a43b88025741d"
6160+
integrity sha512-bdHleFnP3kZ4NYDhuGlVK+CMrQ/pqUm8bx/oGL93K6gVwiclvX5x0n76fYMKuIGKzlABOy13zsvqjb0f92TEXw==
6161+
61486162
postcss-modules-local-by-default@^3.0.2:
61496163
version "3.0.3"
61506164
resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz#bb14e0cc78279d504dbdcbfd7e0ca28993ffbbb0"
@@ -6155,6 +6169,15 @@ postcss-modules-local-by-default@^3.0.2:
61556169
postcss-selector-parser "^6.0.2"
61566170
postcss-value-parser "^4.1.0"
61576171

6172+
postcss-modules-local-by-default@^4.0.0:
6173+
version "4.0.0"
6174+
resolved "https://registry.yarnpkg.com/postcss-modules-local-by-default/-/postcss-modules-local-by-default-4.0.0.tgz#ebbb54fae1598eecfdf691a02b3ff3b390a5a51c"
6175+
integrity sha512-sT7ihtmGSF9yhm6ggikHdV0hlziDTX7oFoXtuVWeDd3hHObNkcHRo9V3yg7vCAY7cONyxJC/XXCmmiHHcvX7bQ==
6176+
dependencies:
6177+
icss-utils "^5.0.0"
6178+
postcss-selector-parser "^6.0.2"
6179+
postcss-value-parser "^4.1.0"
6180+
61586181
postcss-modules-scope@^2.2.0:
61596182
version "2.2.0"
61606183
resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz#385cae013cc7743f5a7d7602d1073a89eaae62ee"
@@ -6163,6 +6186,13 @@ postcss-modules-scope@^2.2.0:
61636186
postcss "^7.0.6"
61646187
postcss-selector-parser "^6.0.0"
61656188

6189+
postcss-modules-scope@^3.0.0:
6190+
version "3.0.0"
6191+
resolved "https://registry.yarnpkg.com/postcss-modules-scope/-/postcss-modules-scope-3.0.0.tgz#9ef3151456d3bbfa120ca44898dfca6f2fa01f06"
6192+
integrity sha512-hncihwFA2yPath8oZ15PZqvWGkWf+XUfQgUGamS4LqoP1anQLOsOJw0vr7J7IwLpoY9fatA2qiGUGmuZL0Iqlg==
6193+
dependencies:
6194+
postcss-selector-parser "^6.0.4"
6195+
61666196
postcss-modules-values@^3.0.0:
61676197
version "3.0.0"
61686198
resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz#5b5000d6ebae29b4255301b4a3a54574423e7f10"
@@ -6171,6 +6201,13 @@ postcss-modules-values@^3.0.0:
61716201
icss-utils "^4.0.0"
61726202
postcss "^7.0.6"
61736203

6204+
postcss-modules-values@^4.0.0:
6205+
version "4.0.0"
6206+
resolved "https://registry.yarnpkg.com/postcss-modules-values/-/postcss-modules-values-4.0.0.tgz#d7c5e7e68c3bb3c9b27cbf48ca0bb3ffb4602c9c"
6207+
integrity sha512-RDxHkAiEGI78gS2ofyvCsu7iycRv7oqw5xMWn9iMoR0N/7mf9D50ecQqUo5BZ9Zh2vH4bCUR/ktCqbB9m8vJjQ==
6208+
dependencies:
6209+
icss-utils "^5.0.0"
6210+
61746211
postcss-modules@^3.2.2:
61756212
version "3.2.2"
61766213
resolved "https://registry.yarnpkg.com/postcss-modules/-/postcss-modules-3.2.2.tgz#ee390de0f9f18e761e1778dfb9be26685c02c51f"
@@ -6371,6 +6408,15 @@ postcss@^7.0.0, postcss@^7.0.1, postcss@^7.0.14, postcss@^7.0.27, postcss@^7.0.3
63716408
source-map "^0.6.1"
63726409
supports-color "^6.1.0"
63736410

6411+
postcss@^8.1.4:
6412+
version "8.2.1"
6413+
resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.2.1.tgz#eabc5557c4558059b9d9e5b15bce7ffa9089c2a8"
6414+
integrity sha512-RhsqOOAQzTgh1UB/IZdca7F9WDb7SUCR2Vnv1x7DbvuuggQIpoDwjK+q0rzoPffhYvWNKX5JSwS4so4K3UC6vA==
6415+
dependencies:
6416+
colorette "^1.2.1"
6417+
nanoid "^3.1.20"
6418+
source-map "^0.6.1"
6419+
63746420
preact-compat@^3.17.0:
63756421
version "3.19.0"
63766422
resolved "https://registry.yarnpkg.com/preact-compat/-/preact-compat-3.19.0.tgz#a71457b6a3bf051690a4411603bc2085aa061c2f"
@@ -7489,13 +7535,13 @@ strip-json-comments@^3.1.0, strip-json-comments@^3.1.1:
74897535
resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-3.1.1.tgz#31f1281b3832630434831c310c01cccda8cbe006"
74907536
integrity sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==
74917537

7492-
style-loader@^1.1.3:
7493-
version "1.3.0"
7494-
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-1.3.0.tgz#828b4a3b3b7e7aa5847ce7bae9e874512114249e"
7495-
integrity sha512-V7TCORko8rs9rIqkSrlMfkqA63DfoGBBJmK1kKGCcSi+BWb4cqz0SRsnp4l6rU5iwOEd0/2ePv68SV22VXon4Q==
7538+
style-loader@^2.0.0:
7539+
version "2.0.0"
7540+
resolved "https://registry.yarnpkg.com/style-loader/-/style-loader-2.0.0.tgz#9669602fd4690740eaaec137799a03addbbc393c"
7541+
integrity sha512-Z0gYUJmzZ6ZdRUqpg1r8GsaFKypE+3xAzuFeMuoHgjc9KZv3wMyCRjQIWEbhoFSq7+7yoHXySDJyyWQaPajeiQ==
74967542
dependencies:
74977543
loader-utils "^2.0.0"
7498-
schema-utils "^2.7.0"
7544+
schema-utils "^3.0.0"
74997545

75007546
stylehacks@^4.0.0:
75017547
version "4.0.3"

0 commit comments

Comments
 (0)