fix(deps): bump cssnano to 8.0.10 and refresh CSS baseline - #211
Merged
Conversation
Supersedes Dependabot #207. Bumps cssnano (8.0.5 to 8.0.10) and postcss-discard-comments (8.0.3 to 8.0.4), both output-affecting build deps. The 8.0.6-8.0.10 releases are minifier correctness fixes (merge-rules, merge-longhand, cascade-layer and gradient handling) that change compiled CSS output, so the css-output-hash baseline is refreshed to match.
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.
What this PR does
Supersedes Dependabot #207 (close unmerged once this lands). Bumps cssnano (8.0.5 to 8.0.10) and postcss-discard-comments (8.0.3 to 8.0.4), both output-affecting build dependencies, and refreshes the compiled-CSS baseline hash they move. Dependabot's own PR can't self-update the baseline, so it fails check:css-hash by design; this branch does the bump plus the baseline refresh together.
Type of change
How to review
The cssnano 8.0.6-8.0.10 releases are all minifier correctness fixes -- postcss-merge-rules, postcss-merge-longhand, postcss-discard-empty cascade-layer optimization, and spec-algorithm gradient minification. These change the bytes of the minified CSS (hence the new baseline) without changing how anything renders.
Before requesting review
npm run lint,npm run format, andnpm testpass locally (242 tests)If your change affects how anything renders (styles, tokens, story markup, icons, or fonts):
If your change ships in the package (styles, tokens, or
src/assets/**):Notes for reviewers
The HDS stamp survives minification after the postcss-discard-comments bump (important-comment
/*!syntax still respected) -- checked in all three bundles.