Skip to content

Commit 2fbf3af

Browse files
committed
replace deprecated postcss-smart-import with postcss-import
1 parent 45247ff commit 2fbf3af

File tree

3 files changed

+4
-67
lines changed

3 files changed

+4
-67
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,9 @@
157157
"optimize-css-assets-webpack-plugin": "^5.0.1",
158158
"postcss-apply": "0.11.0",
159159
"postcss-cssnext": "3.1.0",
160+
"postcss-import": "^12.0.1",
160161
"postcss-loader": "^3.0.0",
161162
"postcss-responsive-type": "1.0.0",
162-
"postcss-smart-import": "^0.7.6",
163163
"protractor": "~5.4.0",
164164
"protractor-istanbul-plugin": "2.0.0",
165165
"raw-loader": "0.5.1",

postcss.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
plugins: [
3-
require('postcss-smart-import')(),
3+
require('postcss-import')(),
44
require('postcss-cssnext')(),
55
require('postcss-apply')(),
66
require('postcss-responsive-type')()

yarn.lock

Lines changed: 2 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -1602,11 +1602,6 @@ ansi-styles@^3.2.0, ansi-styles@^3.2.1:
16021602
dependencies:
16031603
color-convert "^1.9.0"
16041604

1605-
any-promise@^0.1.0:
1606-
version "0.1.0"
1607-
resolved "https://registry.yarnpkg.com/any-promise/-/any-promise-0.1.0.tgz#830b680aa7e56f33451d4b049f3bd8044498ee27"
1608-
integrity sha1-gwtoCqflbzNFHUsEnzvYBESY7ic=
1609-
16101605
anymatch@^2.0.0:
16111606
version "2.0.0"
16121607
resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb"
@@ -4740,13 +4735,6 @@ globby@^9.0.0:
47404735
pify "^4.0.1"
47414736
slash "^2.0.0"
47424737

4743-
gonzales-pe@^4.0.3:
4744-
version "4.2.4"
4745-
resolved "https://registry.yarnpkg.com/gonzales-pe/-/gonzales-pe-4.2.4.tgz#356ae36a312c46fe0f1026dd6cb539039f8500d2"
4746-
integrity sha512-v0Ts/8IsSbh9n1OJRnSfa7Nlxi4AkXIsWB6vPept8FDbL4bXn3FNuxjYtO/nmBGu7GDkL9MFeGebeSu6l55EPQ==
4747-
dependencies:
4748-
minimist "1.1.x"
4749-
47504738
got@^6.7.1:
47514739
version "6.7.1"
47524740
resolved "https://registry.yarnpkg.com/got/-/got-6.7.1.tgz#240cd05785a9a18e561dc1b44b41c763ef1e8db0"
@@ -6251,7 +6239,7 @@ lodash.uniq@^4.5.0:
62516239
resolved "https://registry.yarnpkg.com/lodash.uniq/-/lodash.uniq-4.5.0.tgz#d0225373aeb652adc1bc82e4945339a842754773"
62526240
integrity sha1-0CJTc662Uq3BvILklFM5qEJ1R3M=
62536241

6254-
lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.4, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.5.0:
6242+
lodash@^4.17.10, lodash@^4.17.11, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.3, lodash@^4.17.5, lodash@^4.3.0, lodash@^4.5.0:
62556243
version "4.17.15"
62566244
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
62576245
integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
@@ -6589,11 +6577,6 @@ minimist@0.0.8:
65896577
resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d"
65906578
integrity sha1-hX/Kv8M5fSYluCKCYuhqp6ARsF0=
65916579

6592-
minimist@1.1.x:
6593-
version "1.1.3"
6594-
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.1.3.tgz#3bedfd91a92d39016fcfaa1c681e8faa1a1efda8"
6595-
integrity sha1-O+39kaktOQFvz6ocaB6Pqhoe/ag=
6596-
65976580
minimist@1.2.0, minimist@^1.2.0:
65986581
version "1.2.0"
65996582
resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284"
@@ -7905,7 +7888,7 @@ postcss-image-set-polyfill@^0.3.5:
79057888
postcss "^6.0.1"
79067889
postcss-media-query-parser "^0.2.3"
79077890

7908-
postcss-import@12.0.1:
7891+
postcss-import@12.0.1, postcss-import@^12.0.1:
79097892
version "12.0.1"
79107893
resolved "https://registry.yarnpkg.com/postcss-import/-/postcss-import-12.0.1.tgz#cf8c7ab0b5ccab5649024536e565f841928b7153"
79117894
integrity sha512-3Gti33dmCjyKBgimqGxL3vcV8w9+bsHwO5UrBawp796+jdardbcFl4RP5w/76BwNL7aGzpKstIfF9I+kdE8pTw==
@@ -8209,21 +8192,6 @@ postcss-responsive-type@1.0.0:
82098192
dependencies:
82108193
postcss "^6.0.6"
82118194

8212-
postcss-sass@^0.2.0:
8213-
version "0.2.0"
8214-
resolved "https://registry.yarnpkg.com/postcss-sass/-/postcss-sass-0.2.0.tgz#e55516441e9526ba4b380a730d3a02e9eaa78c7a"
8215-
integrity sha512-cUmYzkP747fPCQE6d+CH2l1L4VSyIlAzZsok3HPjb5Gzsq3jE+VjpAdGlPsnQ310WKWI42sw+ar0UNN59/f3hg==
8216-
dependencies:
8217-
gonzales-pe "^4.0.3"
8218-
postcss "^6.0.6"
8219-
8220-
postcss-scss@^1.0.2:
8221-
version "1.0.6"
8222-
resolved "https://registry.yarnpkg.com/postcss-scss/-/postcss-scss-1.0.6.tgz#ab903f3bb20161bc177896462293a53d4bff5f7a"
8223-
integrity sha512-4EFYGHcEw+H3E06PT/pQQri06u/1VIIPjeJQaM8skB80vZuXMhp4cSNV5azmdNkontnOID/XYWEvEEELLFB1ww==
8224-
dependencies:
8225-
postcss "^6.0.23"
8226-
82278195
postcss-selector-matches@^3.0.0, postcss-selector-matches@^3.0.1:
82288196
version "3.0.1"
82298197
resolved "https://registry.yarnpkg.com/postcss-selector-matches/-/postcss-selector-matches-3.0.1.tgz#e5634011e13950881861bbdd58c2d0111ffc96ab"
@@ -8267,23 +8235,6 @@ postcss-selector-parser@^6.0.0, postcss-selector-parser@^6.0.2:
82678235
indexes-of "^1.0.1"
82688236
uniq "^1.0.1"
82698237

8270-
postcss-smart-import@^0.7.6:
8271-
version "0.7.6"
8272-
resolved "https://registry.yarnpkg.com/postcss-smart-import/-/postcss-smart-import-0.7.6.tgz#259deb84aa28f138458218ecc0e9a84c61ada6a4"
8273-
integrity sha512-9OpXaQ1uMMHWafUh0RWIpAKa3xxUDC2yyxicUPpGffH33nzbZG4/z+nk5Ocw5gGZ+3qkXV91iDV23Cmxf2Jhew==
8274-
dependencies:
8275-
babel-runtime "^6.26.0"
8276-
lodash "^4.17.4"
8277-
object-assign "^4.1.1"
8278-
postcss "^6.0.14"
8279-
postcss-sass "^0.2.0"
8280-
postcss-scss "^1.0.2"
8281-
postcss-value-parser "^3.3.0"
8282-
promise-each "^2.2.0"
8283-
read-cache "^1.0.0"
8284-
resolve "^1.5.0"
8285-
sugarss "^1.0.1"
8286-
82878238
postcss-svgo@^4.0.2:
82888239
version "4.0.2"
82898240
resolved "https://registry.yarnpkg.com/postcss-svgo/-/postcss-svgo-4.0.2.tgz#17b997bc711b333bab143aaed3b8d3d6e3d38258"
@@ -8382,13 +8333,6 @@ process@^0.11.10:
83828333
resolved "https://registry.yarnpkg.com/process/-/process-0.11.10.tgz#7332300e840161bda3e69a1d1d91a7d4bc16f182"
83838334
integrity sha1-czIwDoQBYb2j5podHZGn1LwW8YI=
83848335

8385-
promise-each@^2.2.0:
8386-
version "2.2.0"
8387-
resolved "https://registry.yarnpkg.com/promise-each/-/promise-each-2.2.0.tgz#3353174eff2694481037e04e01f77aa0fb6d1b60"
8388-
integrity sha1-M1MXTv8mlEgQN+BOAfd6oPttG2A=
8389-
dependencies:
8390-
any-promise "^0.1.0"
8391-
83928336
promise-inflight@^1.0.1:
83938337
version "1.0.1"
83948338
resolved "https://registry.yarnpkg.com/promise-inflight/-/promise-inflight-1.0.1.tgz#98472870bf228132fcbdd868129bad12c3c029e3"
@@ -10011,13 +9955,6 @@ stylus@0.54.5:
100119955
sax "0.5.x"
100129956
source-map "0.1.x"
100139957

10014-
sugarss@^1.0.1:
10015-
version "1.0.1"
10016-
resolved "https://registry.yarnpkg.com/sugarss/-/sugarss-1.0.1.tgz#be826d9003e0f247735f92365dc3fd7f1bae9e44"
10017-
integrity sha512-3qgLZytikQQEVn1/FrhY7B68gPUUGY3R1Q1vTiD5xT+Ti1DP/8iZuwFet9ONs5+bmL8pZoDQ6JrQHVgrNlK6mA==
10018-
dependencies:
10019-
postcss "^6.0.14"
10020-
100219958
supports-color@6.1.0, supports-color@^6.1.0:
100229959
version "6.1.0"
100239960
resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-6.1.0.tgz#0764abc69c63d5ac842dd4867e8d025e880df8f3"

0 commit comments

Comments
 (0)