Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @fullhuman/postcss-purgecss to v4 - autoclosed #8

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@fullhuman/postcss-purgecss (source) ^2.3.0 -> ^4.1.3 age adoption passing confidence

Release Notes

FullHuman/purgecss

v4.1.3

Compare Source

v4.1.2

Compare Source

v4.1.1

Compare Source

v4.1.0

Compare Source

Bug Fixes
Features

v4.0.3

Compare Source

Features
  • add dynamic attributes option (9b0fdc3), closes #​588
  • add skippedContentGlobs option to webpack and gulp plugin (e3dce1a)

v4.0.2

Compare Source

v4.0.1

Compare Source

Bug Fixes
  • attribute selector with spaces being removed (418dc7e), closes #​392
  • webpack plugin option blocklist types (5b029c2)
Features

v4.0.0

Compare Source

Bug Fixes
  • test: webpack test type error (c41ad27)
Features
BREAKING CHANGES

v3.1.3

Compare Source

Changes
  • postcss-purgecss remove postcss 8 as peer dependency
  • purgecss-webpack-plugin fix backward compatibility with webpack 4
  • PurgeCSS Update to PostCSS 8
  • postcss-purgecss Add compatibility with PostCSS 8
  • purgecss-webpack-plugin Fix deprecation warning with Webpack 5
Bug Fixes

v3.1.0

Compare Source

v3.0.0

Compare Source

3.0.0

Simplifying whitelist option

Whitelist started as a simple option named whitelist but grew up with the different use-cases and needs that appear with time. Another option called whitelistPatterns appeared, then whitelistPatternsChildren, …
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:

safelist: ['invisibleClass', /^nav-/]

In this form, safelist is an array that can take a string or a regex.

The complex form is:

safelist: {
 standard: ['invisibleClass', /^nav-/],
 deep: [],
 greedy: [],
 keyframes: [],
 variables: []
}

In this form, safelist is an object taking optional properties:
standard is the same as the simple form and replaces whitelist and whitelistPatterns
deep replaces whitelistPatternsChildren
greedy is a new option coming from https://github.com/FullHuman/purgecss/pull/424
keyframes can be used to add keyframes to the safelist, when using keyframes: true (https://github.com/FullHuman/purgecss/issues/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.

blocklist: ['usedClass', /^nav-/]

Even if nav-links and usedClass are 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:
  • CLI: add blocklist option (3961afb)
  • add blocklist option (04223f7)
  • add safelist option, replace whitelist
  • add safelist keyframes and css variables (dc59d30), closes #​418 #​439

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 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.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 91d59cf to 516279e Compare February 10, 2021 01:21
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch 2 times, most recently from c8357d4 to 3f587e5 Compare February 21, 2021 13:26
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch 2 times, most recently from a14c936 to 3089db8 Compare March 21, 2021 00:03
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 3089db8 to a2e14a0 Compare October 20, 2021 10:59
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch 3 times, most recently from 021b850 to 54ba0b7 Compare November 29, 2021 21:28
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 54ba0b7 to 5307d11 Compare December 15, 2021 00:14
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 5307d11 to 8de0d02 Compare March 11, 2022 19:35
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 8de0d02 to a2b8150 Compare April 5, 2022 12:51
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from a2b8150 to 1796afe Compare May 9, 2022 18:59
@renovate renovate bot force-pushed the renovate/fullhuman-postcss-purgecss-4.x branch from 1796afe to 9dff24f Compare September 9, 2022 23:43
@renovate renovate bot changed the title fix(deps): update dependency @fullhuman/postcss-purgecss to v4 fix(deps): update dependency @fullhuman/postcss-purgecss to v4 - autoclosed Sep 13, 2022
@renovate renovate bot closed this Sep 13, 2022
@renovate renovate bot deleted the renovate/fullhuman-postcss-purgecss-4.x branch September 13, 2022 21:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants