chore(deps): update dependency purgecss to v8#59
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
84546aa to
91dc320
Compare
91dc320 to
3ea7c6f
Compare
3ea7c6f to
fe3c235
Compare
fe3c235 to
d36200d
Compare
d36200d to
3924ad6
Compare
3924ad6 to
6007783
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.3.0β8.0.0Release Notes
FullHuman/purgecss (purgecss)
v8.0.0Compare Source
BREAKING CHANGES
Features
Bug fixes
Changes (commits since v7.0.2)
v7.0.2Compare Source
Bug Fixes
Features
BREAKING CHANGES
Other
Full Changelog: FullHuman/purgecss@v6.0.0...v7.0.2
v6.0.0Compare Source
Bug Fixes
Features
v5.0.0Compare Source
Bug Fixes
Features
BREAKING CHANGES
v4.1.3Compare Source
v4.1.2Compare Source
v4.1.1Compare Source
v4.1.0Compare Source
Bug Fixes
Features
v4.0.3Compare Source
Features
v4.0.2Compare Source
v4.0.1Compare Source
Bug Fixes
Features
v4.0.0Compare Source
Bug Fixes
Features
BREAKING CHANGES
Drop PostCSS 7 support, use @βfullhuman/postcss-purgecss 3.0 with PostCSS 7.
v3.1.3Compare Source
Changes
Bug Fixes
v3.1.0Compare Source
v3.0.0Compare Source
3.0.0
Simplifying whitelist option
Whitelist started as a simple option named
whitelistbut grew up with the different use-cases and needs that appear with time. Another option calledwhitelistPatternsappeared, thenwhitelistPatternsChildren,Β β¦It is now more complex and complicated, and somewhat difficult to remember how to use it with different options.
To summarize the changes, the whitelist options are now grouped in one option called safelist. And the most used options can be defined in one array.
Two forms are available. The simple form is:
In this form, safelist is an array that can take a string or a regex.
The complex form is:
In this form, safelist is an object taking optional properties:
standard is the same as the simple form and replaces
whitelistand whitelistPatternsdeep replaces whitelistPatternsChildren
greedy is a new option coming from #β424
keyframes can be used to add keyframes to the safelist, when using keyframes: true (#β418)
variables can be used to add CSS variables to the safelist, when using variables: true
New Option: Blocklist
Blocklist will block the CSS selectors from appearing in the final output CSS. The selectors will be removed even when they are seen as used by PurgeCSS.
Even if
nav-linksandusedClassare found in your content files (HTML, Javascript), they will be removed.CLI
PurgeCSS is using commander.js for its CLI. The recent version of commander.js introduced the possibility of making an option variadic. This means when specifying multiple option arguments, the parsed option value will be an array.
A few options are now taking advantage of this new feature: content, css, and the newly introduced option safelist and blocklist. It is no longer necessary to separate the list items with a comma.
From changelog:
v2.3.0v2.2.0Compare Source
v2.1.2Compare Source
v2.1.0Compare Source
v2.0.6Compare Source
v2.0.5: v2.0Compare Source
Changes:
variablesoption to remove unused CSS variablesv2.0.3Compare Source
v2.0.2Compare Source
v1.4.2Compare Source
v1.4.1Compare Source
v1.4.0Compare Source
Features
Configuration
π Schedule: (UTC)
π¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.
β» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
π Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.