Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

feat(loader): upgrade purgecss to version 3 #62

Merged
merged 1 commit into from
Apr 27, 2023

Conversation

dogpatch626
Copy link
Member

BREAKING CHANGE: various whitelist options replaced with safelist

Description

Upgrade purgecss to version 3.

Motivation and Context

Fixes #54

Release notes for purgecss 3, which describe the change from whitelist to safelist:
https://github.com/FullHuman/purgecss/releases/tag/v3.0.0

I didn't go higher than v3 because of additional breaking changes.

How Has This Been Tested?

Updated unit tests to pass.

Types of Changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation (adding or updating documentation)
  • Dependency update

Checklist:

  • My change requires a change to the documentation and I have updated the documentation accordingly.
  • My changes are in sync with the code style of this project.
  • There aren't any other open Pull Requests for the same issue/update.
  • These changes should be applied to a maintenance branch.
  • I have added the Apache 2.0 license header to any new files created.

What is the Impact to Developers Using Purgecss-Loader?

This resolves a security issue. Developers will need to update their configurations.

BREAKING CHANGE: various whitelist options replaced with safelist
@dogpatch626 dogpatch626 requested review from a team as code owners April 27, 2023 16:12
@dogpatch626 dogpatch626 changed the base branch from main to feat/upgrade-purgecss April 27, 2023 16:12
@dogpatch626 dogpatch626 merged commit c4073e7 into feat/upgrade-purgecss Apr 27, 2023
2 checks passed
@dogpatch626 dogpatch626 deleted the upgrade-to-purgecss-3 branch April 27, 2023 16:20
dogpatch626 added a commit that referenced this pull request May 1, 2023
* feat(loader): upgrade purgecss to version 3 (#62)

BREAKING CHANGE: various whitelist options replaced with safelist

Co-authored-by: Scott McIntyre <scott.mcintyre@aexp.com>

* chore(update-eslint): upgrade eslint related deps and update test format

* feat(purgecss): upgrade to purgecss4

* feat(purgecss): add to gitignore

* feat(purgecss): fix gitignore

---------

Co-authored-by: Scott McIntyre <scott.mcintyre@aexp.com>
oneamexbot added a commit that referenced this pull request May 1, 2023
# [4.0.0](v3.0.0...v4.0.0) (2023-05-01)

* Feat/upgrade purgecss to version 4 (#63) ([2a847fa](2a847fa)), closes [#63](#63) [#62](#62)

### BREAKING CHANGES

* various whitelist options replaced with safelist

Co-authored-by: Scott McIntyre <scott.mcintyre@aexp.com>

* chore(update-eslint): upgrade eslint related deps and update test format

* feat(purgecss): upgrade to purgecss4

* feat(purgecss): add to gitignore

* feat(purgecss): fix gitignore
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dependency on vulnerable version of postcss
2 participants