Skip to content

Commit 8e4e0a0

Browse files
Upgrade @fullhuman/postcss-purgecss: 2.3.0 → 3.0.0 (major) (#2589)
* Update @fullhuman/postcss-purgecss to version 3.0.0 * Replace whitelist with safelist Co-authored-by: depfu[bot] <23717796+depfu[bot]@users.noreply.github.com> Co-authored-by: Adam Wathan <[email protected]>
1 parent 6927155 commit 8e4e0a0

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

__tests__/purgeUnusedStyles.test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ test(
583583
enabled: true,
584584
options: {
585585
content: [path.resolve(`${__dirname}/fixtures/**/*.html`)],
586-
whitelist: ['md:bg-green-500'],
586+
safelist: ['md:bg-green-500'],
587587
},
588588
},
589589
}),

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"rimraf": "^3.0.0"
5050
},
5151
"dependencies": {
52-
"@fullhuman/postcss-purgecss": "^2.1.2",
52+
"@fullhuman/postcss-purgecss": "^3.0.0",
5353
"autoprefixer": "^9.8.6",
5454
"bytes": "^3.0.0",
5555
"chalk": "^4.1.0",

yarn.lock

+14-14
Original file line numberDiff line numberDiff line change
@@ -992,13 +992,13 @@
992992
minimatch "^3.0.4"
993993
strip-json-comments "^3.1.1"
994994

995-
"@fullhuman/postcss-purgecss@^2.1.2":
996-
version "2.3.0"
997-
resolved "https://registry.yarnpkg.com/@fullhuman/postcss-purgecss/-/postcss-purgecss-2.3.0.tgz#50a954757ec78696615d3e118e3fee2d9291882e"
998-
integrity sha512-qnKm5dIOyPGJ70kPZ5jiz0I9foVOic0j+cOzNDoo8KoCf6HjicIZ99UfO2OmE7vCYSKAAepEwJtNzpiiZAh9xw==
995+
"@fullhuman/postcss-purgecss@^3.0.0":
996+
version "3.0.0"
997+
resolved "https://registry.yarnpkg.com/@fullhuman/postcss-purgecss/-/postcss-purgecss-3.0.0.tgz#e39bf7a7d2a2c664ed151b639785b2efcbca33ff"
998+
integrity sha512-cvuOgMwIVlfgWcUMqg5p33NbGUxLwMrKtDKkm3QRfOo4PRVNR6+y/xd9OyXTVZiB1bIpKNJ0ZObYPWD3DRQDtw==
999999
dependencies:
10001000
postcss "7.0.32"
1001-
purgecss "^2.3.0"
1001+
purgecss "^3.0.0"
10021002

10031003
"@istanbuljs/load-nyc-config@^1.0.0":
10041004
version "1.0.0"
@@ -1917,10 +1917,10 @@ commander@^4.0.1:
19171917
resolved "https://registry.yarnpkg.com/commander/-/commander-4.0.1.tgz#b67622721785993182e807f4883633e6401ba53c"
19181918
integrity sha512-IPF4ouhCP+qdlcmCedhxX4xiGBPyigb8v5NeUp+0LyhwLgxMqyp3S0vl7TAPfS/hiP7FC3caI/PB9lTmP8r1NA==
19191919

1920-
commander@^5.0.0:
1921-
version "5.1.0"
1922-
resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae"
1923-
integrity sha512-P0CysNDQ7rtVw4QIQtm+MRxV66vKFSvlsQvGYXZWR3qFU0jlMKHZZZgw8e+8DSah4UDKMqnknRDQz+xuQXQ/Zg==
1920+
commander@^6.0.0:
1921+
version "6.1.0"
1922+
resolved "https://registry.yarnpkg.com/commander/-/commander-6.1.0.tgz#f8d722b78103141006b66f4c7ba1e97315ba75bc"
1923+
integrity sha512-wl7PNrYWd2y5mp1OK/LhTlv8Ff4kQJQRXXAvF+uU/TPNiVJUxZLRYGj/B0y/lPGAVcSbJqH2Za/cvHmrPMC8mA==
19241924

19251925
commondir@^1.0.1:
19261926
version "1.0.1"
@@ -4603,12 +4603,12 @@ punycode@^2.1.0, punycode@^2.1.1:
46034603
resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec"
46044604
integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A==
46054605

4606-
purgecss@^2.3.0:
4607-
version "2.3.0"
4608-
resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-2.3.0.tgz#5327587abf5795e6541517af8b190a6fb5488bb3"
4609-
integrity sha512-BE5CROfVGsx2XIhxGuZAT7rTH9lLeQx/6M0P7DTXQH4IUc3BBzs9JUzt4yzGf3JrH9enkeq6YJBe9CTtkm1WmQ==
4606+
purgecss@^3.0.0:
4607+
version "3.0.0"
4608+
resolved "https://registry.yarnpkg.com/purgecss/-/purgecss-3.0.0.tgz#039c191871bb999894222a00c4c8b179fccdb043"
4609+
integrity sha512-t3FGCwyX9XWV3ffvnAXTw6Y3Z9kNlcgm14VImNK66xKi5sdqxSA2I0SFYxtmZbAKuIZVckPdazw5iKL/oY/2TA==
46104610
dependencies:
4611-
commander "^5.0.0"
4611+
commander "^6.0.0"
46124612
glob "^7.0.0"
46134613
postcss "7.0.32"
46144614
postcss-selector-parser "^6.0.2"

0 commit comments

Comments
 (0)