-
Notifications
You must be signed in to change notification settings - Fork 8.5k
Update cssnano to v7 (main) #203272
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
Update cssnano to v7 (main) #203272
Conversation
|
Pinging @elastic/kibana-operations (Team:Operations) |
09bfbf9 to
be646d5
Compare
be646d5 to
a00d32e
Compare
a00d32e to
573ee99
Compare
9a7a9c1 to
34aed83
Compare
34aed83 to
5563b13
Compare
azasypkin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving to unblock. Deferring review to owning team @elastic/kibana-operations
5563b13 to
37ae33e
Compare
37ae33e to
61be60d
Compare
|
buildkite test this |
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
|
buildkite test this |
💛 Build succeeded, but was flaky
Failed CI Steps
Metrics [docs]Async chunks
Page load bundle
History
|
|
Starting backport for target branches: 7.17, 8.17, 8.18, 8.19, 9.0 https://github.com/elastic/kibana/actions/runs/15455005354 |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15498035379 |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cssnano](https://github.com/cssnano/cssnano) | devDependencies | major | [`^5.1.12` -> `^7.0.7`](https://renovatebot.com/diffs/npm/cssnano/5.1.12/7.0.7) | | [cssnano-preset-default](https://github.com/cssnano/cssnano) | devDependencies | major | [`^5.2.12` -> `^7.0.7`](https://renovatebot.com/diffs/npm/cssnano-preset-default/5.2.12/7.0.7) | --- ### Release Notes <details> <summary>cssnano/cssnano (cssnano)</summary> ### [`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7) [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7) #### What's Changed - fix: update browserslist by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1675](https://github.com/cssnano/cssnano/pull/1675) - fix: update postcss peer dependency to version without vulnerabilities by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1676](https://github.com/cssnano/cssnano/pull/1676) - fix: update TypeScript declarations by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1685](https://github.com/cssnano/cssnano/pull/1685) - perf: load default preset in startup by [@&elastic#8203;43081j](https://github.com/43081j) in [https://github.com/cssnano/cssnano/pull/1691](https://github.com/cssnano/cssnano/pull/1691) - Add support for selector order preservation to postcss-minify-selectors by [@&elastic#8203;ezzak](https://github.com/ezzak) in [https://github.com/cssnano/cssnano/pull/1688](https://github.com/cssnano/cssnano/pull/1688) - fix(postcss-convert-values): preserve percent sign in percentage values in at-rules with double quotes by [@&elastic#8203;aramikuto](https://github.com/aramikuto) in [https://github.com/cssnano/cssnano/pull/1695](https://github.com/cssnano/cssnano/pull/1695) **Full Changelog**: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7 ### [`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6): v7.0.6 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6) #### What's Changed - Update postcss-calc and selector-parser by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1663](https://github.com/cssnano/cssnano/pull/1663) - fix(postcss-convert-values): convert `0ms` to `0s` by [@&elastic#8203;btea](https://github.com/btea) in [https://github.com/cssnano/cssnano/pull/1665](https://github.com/cssnano/cssnano/pull/1665) **Full Changelog**: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6 ### [`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5): v7.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.5) #### Bug Fixes - Fix layer rule deduping [https://github.com/cssnano/cssnano/pull/1656](https://github.com/cssnano/cssnano/pull/1656) ### [`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4): v7.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.4) #### Bug fixes - fix(postcss-convert-values): preserve percent sign in border-image-width in [https://github.com/cssnano/cssnano/pull/1645](https://github.com/cssnano/cssnano/pull/1645) ### [`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3): v7.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3) #### Bug Fixes - cssnano-preset-default: preserve SVG viewbox and title by default - postcss-convert-values: preserve percent sign in arguments of color functions when needed - postcss-ordered-values: preserve correct order in animation property - postcss-minify-selectors: preserve quotes when escaping selector is required - postcss-discard-comments: do not remove strings that only look like comments in selectors Thanks to [@&elastic#8203;ota-meshi](https://github.com/ota-meshi) and [@&elastic#8203;seiyab](https://github.com/seiyab) for their contributions to this release. ### [`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2): v7.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.2) #### Bug Fixes - fix invalid output in some cases where selectors contain comments ### [`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1): v7.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.1) #### Patch changes Update postcss-calc dependency to latest version ### [`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0): v7.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.0) #### Breaking changes This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the `package.json` `engines` field has been updated. The code should otherwise be identical to the previous 6.1.2 release. Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more. ### [`v6.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2): v6.1.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.2) #### Bug Fixes - preserve correct order of `gap` and `column-gap` properties #### Patch Changes - update autoprefixer ### [`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1): v6.1.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.1) ### Patch changes - update selector parser - in the minify font plugin, you can pass a function to determine whether a css variable is one of font, font-family, and font-weight to determine whether the variable needs to remove quotes. ### [`v6.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0): v6.1.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.0) This release contains a lot of fixes to Browserslist support thanks to [@&elastic#8203;colinrotherham](https://github.com/colinrotherham) #### Features - support Browserslist options in more plugins - support overriding autoprefixer options Additionally, this release includes improved TypeScript types. ### [`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5): v6.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.5) #### Bug Fixes - correctly minify `font` declaration in edge cases - preserve `initial` property in `-webkit-line-clamp` ### [`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4): v6.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.4) ##### Bug Fixes - preserve empty `@layer` declarations - avoid crashing when encountering `@layer` without any braces afterwards - update to latest lilconfig dependency to avoid vulnerability ### [`v6.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3): v6.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.3) ##### Bug fixes - do not sort unknown properties #### Other - Require latest browserslist and postcss-selector-parser ### [`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2): v6.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.2) - fix: update cssnano peer dependency to 8.4.31 to avoid security issue - fix: update postcss-calc to 9.0.1 to solve disappearing expressions inside two brackets - deps(postcss-svgo): update SVGO to 3.0.5 and update doc - chore: update css-declaration-sorter - fix(postcss-minify-selectors): prevent mangling of timeline range names - fix(postcss-convert-values): keep percent unit in `@Property` - chore(cssnano): update lilconfig to 3.0.0 ### [`v6.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1): v6.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.1) #### Bug Fixes - fix(postcss-merge-rules): do not merge nested rules (cssnano/cssnano@eb9a9a1) - fix(postcss-reduce-idents): minify grid line names correctly (cssnano/cssnano@2af6687) ### [`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0): v6.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.0) #### Major Changes - [`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab): postcss-normalize-url: remove normalize-url configuration options - [`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88): postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14 - [`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55): Switch minimum supported Node version to 14 for all packages - [`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405): feat!(cssnano): remove undocumented YAML config support #### Migration instructions - If you're not happy with the defaults for the normalize-url transform, turn it off completely. Options were removed as most would change the meaning of the URL, which is unexpcted in the case of CSS minification. - In the unlikely event you're using YAML to configure cssnano, move the cssnano configuration inside the PostCSS config or use a configuration file in CommonJS or JSON format. ### [`v5.1.15`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.15): v5.1.15 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.15) #### Bug Fixes - fix(postcsss-reduce-initial): fix mask-repeat conversion - fix(postcss-colormin): don't minify colors in src declarations - fix(postcss-merge-rules): do not merge conflicting flex and border properties ### [`v5.1.14`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.14): v5.1.14 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.14) #### Bug Fixes - fix: update autoprefixer and browserslist - fix(postcss-reduce-initial): improve initial properties data ### [`v5.1.13`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.13): v5.1.13 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.13) #### Bug Fixes - fix TypeScript type of `cssnano()` return value (cssnano/cssnano@b92dbe3) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19--> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Brad White <[email protected]> (cherry picked from commit fca2247) # Conflicts: # yarn.lock
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.19`: - [Update cssnano to v7 (main) (#203272)](#203272) <!--- Backport version: 10.0.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"elastic-renovate-prod[bot]","email":"174716857+elastic-renovate-prod[bot]@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-06-04T23:42:38Z","message":"Update cssnano to v7 (main) (#203272)\n\nThis PR contains the following updates:\n\n| Package | Type | Update | Change |\n|---|---|---|---|\n| [cssnano](https://github.com/cssnano/cssnano) |\ndevDependencies | major | [`^5.1.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano/5.1.12/7.0.7) |\n| [cssnano-preset-default](https://github.com/cssnano/cssnano)\n| devDependencies | major | [`^5.2.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano-preset-default/5.2.12/7.0.7)\n|\n\n---\n\n### Release Notes\n\n<details>\n<summary>cssnano/cssnano (cssnano)</summary>\n\n###\n[`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7)\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7)\n\n#### What's Changed\n\n- fix: update browserslist by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1675](https://github.com/cssnano/cssnano/pull/1675)\n- fix: update postcss peer dependency to version without vulnerabilities\nby [@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1676](https://github.com/cssnano/cssnano/pull/1676)\n- fix: update TypeScript declarations by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1685](https://github.com/cssnano/cssnano/pull/1685)\n- perf: load default preset in startup by\n[@​43081j](https://github.com/43081j) in\n[https://github.com/cssnano/cssnano/pull/1691](https://github.com/cssnano/cssnano/pull/1691)\n- Add support for selector order preservation to\npostcss-minify-selectors by\n[@​ezzak](https://github.com/ezzak) in\n[https://github.com/cssnano/cssnano/pull/1688](https://github.com/cssnano/cssnano/pull/1688)\n- fix(postcss-convert-values): preserve percent sign in percentage\nvalues in at-rules with double quotes by\n[@​aramikuto](https://github.com/aramikuto) in\n[https://github.com/cssnano/cssnano/pull/1695](https://github.com/cssnano/cssnano/pull/1695)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.7\n\n###\n[`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6):\nv7.0.6\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6)\n\n#### What's Changed\n\n- Update postcss-calc and selector-parser by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1663](https://github.com/cssnano/cssnano/pull/1663)\n- fix(postcss-convert-values): convert `0ms` to `0s` by\n[@​btea](https://github.com/btea) in\n[https://github.com/cssnano/cssnano/pull/1665](https://github.com/cssnano/cssnano/pull/1665)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.6\n\n###\n[`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5):\nv7.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.5)\n\n#### Bug Fixes\n\n- Fix layer rule deduping\n[https://github.com/cssnano/cssnano/pull/1656](https://github.com/cssnano/cssnano/pull/1656)\n\n###\n[`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4):\nv7.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.4)\n\n#### Bug fixes\n\n- fix(postcss-convert-values): preserve percent sign in\nborder-image-width in\n[https://github.com/cssnano/cssnano/pull/1645](https://github.com/cssnano/cssnano/pull/1645)\n\n###\n[`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3):\nv7.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3)\n\n#### Bug Fixes\n\n- cssnano-preset-default: preserve SVG viewbox and title by default\n- postcss-convert-values: preserve percent sign in arguments of color\nfunctions when needed\n- postcss-ordered-values: preserve correct order in animation property\n- postcss-minify-selectors: preserve quotes when escaping selector is\nrequired\n- postcss-discard-comments: do not remove strings that only look like\ncomments in selectors\n\nThanks to [@​ota-meshi](https://github.com/ota-meshi) and\n[@​seiyab](https://github.com/seiyab) for their\ncontributions to this release.\n\n###\n[`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2):\nv7.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.2)\n\n#### Bug Fixes\n\n- fix invalid output in some cases where selectors contain comments\n\n###\n[`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1):\nv7.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.1)\n\n#### Patch changes\n\nUpdate postcss-calc dependency to latest version\n\n###\n[`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0):\nv7.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.0)\n\n#### Breaking changes\n\nThis release drops official support for unmaintained long term support\nNode.js releases 14 and 16. It also drops support for non-long term\nsupport releases 19 and 21 and add support for Node.js 22. Only the\n`package.json` `engines` field has been updated. The code should\notherwise be identical to the previous 6.1.2 release.\n\nEnsuring support for older Node.js had become difficult as the GitHub\nactions runners are not available for the latest MacOS and recent pnpm\nalso could not run on CI any more.\n\n###\n[`v6.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2):\nv6.1.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.2)\n\n#### Bug Fixes\n\n- preserve correct order of `gap` and `column-gap` properties\n\n#### Patch Changes\n\n- update autoprefixer\n\n###\n[`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1):\nv6.1.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.1)\n\n### Patch changes\n\n- update selector parser\n- in the minify font plugin, you can pass a function to determine\nwhether a css variable is one of font, font-family, and font-weight to\ndetermine whether the variable needs to remove quotes.\n\n###\n[`v6.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0):\nv6.1.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.0)\n\nThis release contains a lot of fixes to Browserslist support thanks to\n[@​colinrotherham](https://github.com/colinrotherham)\n\n#### Features\n\n- support Browserslist options in more plugins\n- support overriding autoprefixer options\n\nAdditionally, this release includes improved TypeScript types.\n\n###\n[`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5):\nv6.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.5)\n\n#### Bug Fixes\n\n- correctly minify `font` declaration in edge cases\n- preserve `initial` property in `-webkit-line-clamp`\n\n###\n[`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4):\nv6.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.4)\n\n##### Bug Fixes\n\n- preserve empty `@layer` declarations\n- avoid crashing when encountering `@layer` without any braces\nafterwards\n- update to latest lilconfig dependency to avoid vulnerability\n\n###\n[`v6.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3):\nv6.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.3)\n\n##### Bug fixes\n\n- do not sort unknown properties\n\n#### Other\n\n- Require latest browserslist and postcss-selector-parser\n\n###\n[`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2):\nv6.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.2)\n\n- fix: update cssnano peer dependency to 8.4.31 to avoid security issue\n- fix: update postcss-calc to 9.0.1 to solve disappearing expressions\ninside two brackets\n- deps(postcss-svgo): update SVGO to 3.0.5 and update doc\n- chore: update css-declaration-sorter\n- fix(postcss-minify-selectors): prevent mangling of timeline range\nnames\n- fix(postcss-convert-values): keep percent unit in `@Property`\n- chore(cssnano): update lilconfig to 3.0.0\n\n###\n[`v6.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1):\nv6.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.1)\n\n#### Bug Fixes\n\n- fix(postcss-merge-rules): do not merge nested rules\n(https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9)\n- fix(postcss-reduce-idents): minify grid line names correctly\n(https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f)\n\n###\n[`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0):\nv6.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.0)\n\n#### Major Changes\n\n-\n[`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab):\npostcss-normalize-url: remove normalize-url configuration options\n-\n[`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88):\npostcss-svgo: Upgrade dependency svgo to v3 and increase the minimum\nsupported node version to v14\n-\n[`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55):\nSwitch minimum supported Node version to 14 for all packages\n-\n[`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405):\nfeat!(cssnano): remove undocumented YAML config support\n\n#### Migration instructions\n\n- If you're not happy with the defaults for the normalize-url transform,\nturn it off completely. Options were removed as most would change the\nmeaning of the URL, which is unexpcted in the case of CSS minification.\n- In the unlikely event you're using YAML to configure cssnano, move the\ncssnano configuration inside the PostCSS config or use a configuration\nfile in CommonJS or JSON format.\n\n###\n[`v5.1.15`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.15):\nv5.1.15\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.15)\n\n#### Bug Fixes\n\n- fix(postcsss-reduce-initial): fix mask-repeat conversion\n- fix(postcss-colormin): don't minify colors in src declarations\n- fix(postcss-merge-rules): do not merge conflicting flex and border\nproperties\n\n###\n[`v5.1.14`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.14):\nv5.1.14\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.14)\n\n#### Bug Fixes\n\n- fix: update autoprefixer and browserslist\n- fix(postcss-reduce-initial): improve initial properties data\n\n###\n[`v5.1.13`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.13):\nv5.1.13\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.13)\n\n#### Bug Fixes\n\n- fix TypeScript type of `cssnano()` return value\n(https://github.com/cssnano/cssnano/commit/b92dbe3ab1db16141dc6296cd350f3fdf5c2defe)\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ] If you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has been generated by [Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by: Brad White <[email protected]>","sha":"fca224701f6033c61c1f171572e07bfccb0a7c88","branchLabelMapping":{"^v9.1.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Team:Operations","release_note:skip","backport:version","v9.1.0","v8.19.0"],"title":"Update cssnano to v7 (main)","number":203272,"url":"https://github.com/elastic/kibana/pull/203272","mergeCommit":{"message":"Update cssnano to v7 (main) (#203272)\n\nThis PR contains the following updates:\n\n| Package | Type | Update | Change |\n|---|---|---|---|\n| [cssnano](https://github.com/cssnano/cssnano) |\ndevDependencies | major | [`^5.1.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano/5.1.12/7.0.7) |\n| [cssnano-preset-default](https://github.com/cssnano/cssnano)\n| devDependencies | major | [`^5.2.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano-preset-default/5.2.12/7.0.7)\n|\n\n---\n\n### Release Notes\n\n<details>\n<summary>cssnano/cssnano (cssnano)</summary>\n\n###\n[`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7)\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7)\n\n#### What's Changed\n\n- fix: update browserslist by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1675](https://github.com/cssnano/cssnano/pull/1675)\n- fix: update postcss peer dependency to version without vulnerabilities\nby [@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1676](https://github.com/cssnano/cssnano/pull/1676)\n- fix: update TypeScript declarations by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1685](https://github.com/cssnano/cssnano/pull/1685)\n- perf: load default preset in startup by\n[@​43081j](https://github.com/43081j) in\n[https://github.com/cssnano/cssnano/pull/1691](https://github.com/cssnano/cssnano/pull/1691)\n- Add support for selector order preservation to\npostcss-minify-selectors by\n[@​ezzak](https://github.com/ezzak) in\n[https://github.com/cssnano/cssnano/pull/1688](https://github.com/cssnano/cssnano/pull/1688)\n- fix(postcss-convert-values): preserve percent sign in percentage\nvalues in at-rules with double quotes by\n[@​aramikuto](https://github.com/aramikuto) in\n[https://github.com/cssnano/cssnano/pull/1695](https://github.com/cssnano/cssnano/pull/1695)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.7\n\n###\n[`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6):\nv7.0.6\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6)\n\n#### What's Changed\n\n- Update postcss-calc and selector-parser by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1663](https://github.com/cssnano/cssnano/pull/1663)\n- fix(postcss-convert-values): convert `0ms` to `0s` by\n[@​btea](https://github.com/btea) in\n[https://github.com/cssnano/cssnano/pull/1665](https://github.com/cssnano/cssnano/pull/1665)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.6\n\n###\n[`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5):\nv7.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.5)\n\n#### Bug Fixes\n\n- Fix layer rule deduping\n[https://github.com/cssnano/cssnano/pull/1656](https://github.com/cssnano/cssnano/pull/1656)\n\n###\n[`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4):\nv7.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.4)\n\n#### Bug fixes\n\n- fix(postcss-convert-values): preserve percent sign in\nborder-image-width in\n[https://github.com/cssnano/cssnano/pull/1645](https://github.com/cssnano/cssnano/pull/1645)\n\n###\n[`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3):\nv7.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3)\n\n#### Bug Fixes\n\n- cssnano-preset-default: preserve SVG viewbox and title by default\n- postcss-convert-values: preserve percent sign in arguments of color\nfunctions when needed\n- postcss-ordered-values: preserve correct order in animation property\n- postcss-minify-selectors: preserve quotes when escaping selector is\nrequired\n- postcss-discard-comments: do not remove strings that only look like\ncomments in selectors\n\nThanks to [@​ota-meshi](https://github.com/ota-meshi) and\n[@​seiyab](https://github.com/seiyab) for their\ncontributions to this release.\n\n###\n[`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2):\nv7.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.2)\n\n#### Bug Fixes\n\n- fix invalid output in some cases where selectors contain comments\n\n###\n[`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1):\nv7.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.1)\n\n#### Patch changes\n\nUpdate postcss-calc dependency to latest version\n\n###\n[`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0):\nv7.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.0)\n\n#### Breaking changes\n\nThis release drops official support for unmaintained long term support\nNode.js releases 14 and 16. It also drops support for non-long term\nsupport releases 19 and 21 and add support for Node.js 22. Only the\n`package.json` `engines` field has been updated. The code should\notherwise be identical to the previous 6.1.2 release.\n\nEnsuring support for older Node.js had become difficult as the GitHub\nactions runners are not available for the latest MacOS and recent pnpm\nalso could not run on CI any more.\n\n###\n[`v6.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2):\nv6.1.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.2)\n\n#### Bug Fixes\n\n- preserve correct order of `gap` and `column-gap` properties\n\n#### Patch Changes\n\n- update autoprefixer\n\n###\n[`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1):\nv6.1.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.1)\n\n### Patch changes\n\n- update selector parser\n- in the minify font plugin, you can pass a function to determine\nwhether a css variable is one of font, font-family, and font-weight to\ndetermine whether the variable needs to remove quotes.\n\n###\n[`v6.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0):\nv6.1.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.0)\n\nThis release contains a lot of fixes to Browserslist support thanks to\n[@​colinrotherham](https://github.com/colinrotherham)\n\n#### Features\n\n- support Browserslist options in more plugins\n- support overriding autoprefixer options\n\nAdditionally, this release includes improved TypeScript types.\n\n###\n[`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5):\nv6.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.5)\n\n#### Bug Fixes\n\n- correctly minify `font` declaration in edge cases\n- preserve `initial` property in `-webkit-line-clamp`\n\n###\n[`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4):\nv6.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.4)\n\n##### Bug Fixes\n\n- preserve empty `@layer` declarations\n- avoid crashing when encountering `@layer` without any braces\nafterwards\n- update to latest lilconfig dependency to avoid vulnerability\n\n###\n[`v6.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3):\nv6.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.3)\n\n##### Bug fixes\n\n- do not sort unknown properties\n\n#### Other\n\n- Require latest browserslist and postcss-selector-parser\n\n###\n[`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2):\nv6.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.2)\n\n- fix: update cssnano peer dependency to 8.4.31 to avoid security issue\n- fix: update postcss-calc to 9.0.1 to solve disappearing expressions\ninside two brackets\n- deps(postcss-svgo): update SVGO to 3.0.5 and update doc\n- chore: update css-declaration-sorter\n- fix(postcss-minify-selectors): prevent mangling of timeline range\nnames\n- fix(postcss-convert-values): keep percent unit in `@Property`\n- chore(cssnano): update lilconfig to 3.0.0\n\n###\n[`v6.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1):\nv6.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.1)\n\n#### Bug Fixes\n\n- fix(postcss-merge-rules): do not merge nested rules\n(https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9)\n- fix(postcss-reduce-idents): minify grid line names correctly\n(https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f)\n\n###\n[`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0):\nv6.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.0)\n\n#### Major Changes\n\n-\n[`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab):\npostcss-normalize-url: remove normalize-url configuration options\n-\n[`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88):\npostcss-svgo: Upgrade dependency svgo to v3 and increase the minimum\nsupported node version to v14\n-\n[`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55):\nSwitch minimum supported Node version to 14 for all packages\n-\n[`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405):\nfeat!(cssnano): remove undocumented YAML config support\n\n#### Migration instructions\n\n- If you're not happy with the defaults for the normalize-url transform,\nturn it off completely. Options were removed as most would change the\nmeaning of the URL, which is unexpcted in the case of CSS minification.\n- In the unlikely event you're using YAML to configure cssnano, move the\ncssnano configuration inside the PostCSS config or use a configuration\nfile in CommonJS or JSON format.\n\n###\n[`v5.1.15`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.15):\nv5.1.15\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.15)\n\n#### Bug Fixes\n\n- fix(postcsss-reduce-initial): fix mask-repeat conversion\n- fix(postcss-colormin): don't minify colors in src declarations\n- fix(postcss-merge-rules): do not merge conflicting flex and border\nproperties\n\n###\n[`v5.1.14`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.14):\nv5.1.14\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.14)\n\n#### Bug Fixes\n\n- fix: update autoprefixer and browserslist\n- fix(postcss-reduce-initial): improve initial properties data\n\n###\n[`v5.1.13`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.13):\nv5.1.13\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.13)\n\n#### Bug Fixes\n\n- fix TypeScript type of `cssnano()` return value\n(https://github.com/cssnano/cssnano/commit/b92dbe3ab1db16141dc6296cd350f3fdf5c2defe)\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ] If you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has been generated by [Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by: Brad White <[email protected]>","sha":"fca224701f6033c61c1f171572e07bfccb0a7c88"}},"sourceBranch":"main","suggestedTargetBranches":["8.19"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/203272","number":203272,"mergeCommit":{"message":"Update cssnano to v7 (main) (#203272)\n\nThis PR contains the following updates:\n\n| Package | Type | Update | Change |\n|---|---|---|---|\n| [cssnano](https://github.com/cssnano/cssnano) |\ndevDependencies | major | [`^5.1.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano/5.1.12/7.0.7) |\n| [cssnano-preset-default](https://github.com/cssnano/cssnano)\n| devDependencies | major | [`^5.2.12` ->\n`^7.0.7`](https://renovatebot.com/diffs/npm/cssnano-preset-default/5.2.12/7.0.7)\n|\n\n---\n\n### Release Notes\n\n<details>\n<summary>cssnano/cssnano (cssnano)</summary>\n\n###\n[`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7)\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7)\n\n#### What's Changed\n\n- fix: update browserslist by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1675](https://github.com/cssnano/cssnano/pull/1675)\n- fix: update postcss peer dependency to version without vulnerabilities\nby [@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1676](https://github.com/cssnano/cssnano/pull/1676)\n- fix: update TypeScript declarations by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1685](https://github.com/cssnano/cssnano/pull/1685)\n- perf: load default preset in startup by\n[@​43081j](https://github.com/43081j) in\n[https://github.com/cssnano/cssnano/pull/1691](https://github.com/cssnano/cssnano/pull/1691)\n- Add support for selector order preservation to\npostcss-minify-selectors by\n[@​ezzak](https://github.com/ezzak) in\n[https://github.com/cssnano/cssnano/pull/1688](https://github.com/cssnano/cssnano/pull/1688)\n- fix(postcss-convert-values): preserve percent sign in percentage\nvalues in at-rules with double quotes by\n[@​aramikuto](https://github.com/aramikuto) in\n[https://github.com/cssnano/cssnano/pull/1695](https://github.com/cssnano/cssnano/pull/1695)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.7\n\n###\n[`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6):\nv7.0.6\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6)\n\n#### What's Changed\n\n- Update postcss-calc and selector-parser by\n[@​ludofischer](https://github.com/ludofischer) in\n[https://github.com/cssnano/cssnano/pull/1663](https://github.com/cssnano/cssnano/pull/1663)\n- fix(postcss-convert-values): convert `0ms` to `0s` by\n[@​btea](https://github.com/btea) in\n[https://github.com/cssnano/cssnano/pull/1665](https://github.com/cssnano/cssnano/pull/1665)\n\n**Full Changelog**:\nhttps://github.com/cssnano/cssnano/compare/[email protected]@7.0.6\n\n###\n[`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5):\nv7.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.5)\n\n#### Bug Fixes\n\n- Fix layer rule deduping\n[https://github.com/cssnano/cssnano/pull/1656](https://github.com/cssnano/cssnano/pull/1656)\n\n###\n[`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4):\nv7.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.4)\n\n#### Bug fixes\n\n- fix(postcss-convert-values): preserve percent sign in\nborder-image-width in\n[https://github.com/cssnano/cssnano/pull/1645](https://github.com/cssnano/cssnano/pull/1645)\n\n###\n[`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3):\nv7.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3)\n\n#### Bug Fixes\n\n- cssnano-preset-default: preserve SVG viewbox and title by default\n- postcss-convert-values: preserve percent sign in arguments of color\nfunctions when needed\n- postcss-ordered-values: preserve correct order in animation property\n- postcss-minify-selectors: preserve quotes when escaping selector is\nrequired\n- postcss-discard-comments: do not remove strings that only look like\ncomments in selectors\n\nThanks to [@​ota-meshi](https://github.com/ota-meshi) and\n[@​seiyab](https://github.com/seiyab) for their\ncontributions to this release.\n\n###\n[`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2):\nv7.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.2)\n\n#### Bug Fixes\n\n- fix invalid output in some cases where selectors contain comments\n\n###\n[`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1):\nv7.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.1)\n\n#### Patch changes\n\nUpdate postcss-calc dependency to latest version\n\n###\n[`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0):\nv7.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.0)\n\n#### Breaking changes\n\nThis release drops official support for unmaintained long term support\nNode.js releases 14 and 16. It also drops support for non-long term\nsupport releases 19 and 21 and add support for Node.js 22. Only the\n`package.json` `engines` field has been updated. The code should\notherwise be identical to the previous 6.1.2 release.\n\nEnsuring support for older Node.js had become difficult as the GitHub\nactions runners are not available for the latest MacOS and recent pnpm\nalso could not run on CI any more.\n\n###\n[`v6.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2):\nv6.1.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.2)\n\n#### Bug Fixes\n\n- preserve correct order of `gap` and `column-gap` properties\n\n#### Patch Changes\n\n- update autoprefixer\n\n###\n[`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1):\nv6.1.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.1)\n\n### Patch changes\n\n- update selector parser\n- in the minify font plugin, you can pass a function to determine\nwhether a css variable is one of font, font-family, and font-weight to\ndetermine whether the variable needs to remove quotes.\n\n###\n[`v6.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0):\nv6.1.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.0)\n\nThis release contains a lot of fixes to Browserslist support thanks to\n[@​colinrotherham](https://github.com/colinrotherham)\n\n#### Features\n\n- support Browserslist options in more plugins\n- support overriding autoprefixer options\n\nAdditionally, this release includes improved TypeScript types.\n\n###\n[`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5):\nv6.0.5\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.5)\n\n#### Bug Fixes\n\n- correctly minify `font` declaration in edge cases\n- preserve `initial` property in `-webkit-line-clamp`\n\n###\n[`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4):\nv6.0.4\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.4)\n\n##### Bug Fixes\n\n- preserve empty `@layer` declarations\n- avoid crashing when encountering `@layer` without any braces\nafterwards\n- update to latest lilconfig dependency to avoid vulnerability\n\n###\n[`v6.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3):\nv6.0.3\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.3)\n\n##### Bug fixes\n\n- do not sort unknown properties\n\n#### Other\n\n- Require latest browserslist and postcss-selector-parser\n\n###\n[`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2):\nv6.0.2\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.2)\n\n- fix: update cssnano peer dependency to 8.4.31 to avoid security issue\n- fix: update postcss-calc to 9.0.1 to solve disappearing expressions\ninside two brackets\n- deps(postcss-svgo): update SVGO to 3.0.5 and update doc\n- chore: update css-declaration-sorter\n- fix(postcss-minify-selectors): prevent mangling of timeline range\nnames\n- fix(postcss-convert-values): keep percent unit in `@Property`\n- chore(cssnano): update lilconfig to 3.0.0\n\n###\n[`v6.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1):\nv6.0.1\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.1)\n\n#### Bug Fixes\n\n- fix(postcss-merge-rules): do not merge nested rules\n(https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9)\n- fix(postcss-reduce-idents): minify grid line names correctly\n(https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f)\n\n###\n[`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0):\nv6.0.0\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.0)\n\n#### Major Changes\n\n-\n[`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab):\npostcss-normalize-url: remove normalize-url configuration options\n-\n[`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88):\npostcss-svgo: Upgrade dependency svgo to v3 and increase the minimum\nsupported node version to v14\n-\n[`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55):\nSwitch minimum supported Node version to 14 for all packages\n-\n[`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405):\nfeat!(cssnano): remove undocumented YAML config support\n\n#### Migration instructions\n\n- If you're not happy with the defaults for the normalize-url transform,\nturn it off completely. Options were removed as most would change the\nmeaning of the URL, which is unexpcted in the case of CSS minification.\n- In the unlikely event you're using YAML to configure cssnano, move the\ncssnano configuration inside the PostCSS config or use a configuration\nfile in CommonJS or JSON format.\n\n###\n[`v5.1.15`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.15):\nv5.1.15\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.15)\n\n#### Bug Fixes\n\n- fix(postcsss-reduce-initial): fix mask-repeat conversion\n- fix(postcss-colormin): don't minify colors in src declarations\n- fix(postcss-merge-rules): do not merge conflicting flex and border\nproperties\n\n###\n[`v5.1.14`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.14):\nv5.1.14\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.14)\n\n#### Bug Fixes\n\n- fix: update autoprefixer and browserslist\n- fix(postcss-reduce-initial): improve initial properties data\n\n###\n[`v5.1.13`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.13):\nv5.1.13\n\n[Compare\nSource](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.13)\n\n#### Bug Fixes\n\n- fix TypeScript type of `cssnano()` return value\n(https://github.com/cssnano/cssnano/commit/b92dbe3ab1db16141dc6296cd350f3fdf5c2defe)\n\n</details>\n\n---\n\n### Configuration\n\n📅 **Schedule**: Branch creation - At any time (no schedule defined),\nAutomerge - At any time (no schedule defined).\n\n🚦 **Automerge**: Disabled by config. Please merge this manually once you\nare satisfied.\n\n♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the\nrebase/retry checkbox.\n\n🔕 **Ignore**: Close this PR and you won't be reminded about these\nupdates again.\n\n---\n\n- [ ] If you want to rebase/retry this PR, check\nthis box\n\n---\n\nThis PR has been generated by [Renovate\nBot](https://github.com/renovatebot/renovate).\n\n\n\n---------\n\nCo-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>\nCo-authored-by: Brad White <[email protected]>","sha":"fca224701f6033c61c1f171572e07bfccb0a7c88"}},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cssnano](https://github.com/cssnano/cssnano) | devDependencies | major | [`^5.1.12` -> `^7.0.7`](https://renovatebot.com/diffs/npm/cssnano/5.1.12/7.0.7) | | [cssnano-preset-default](https://github.com/cssnano/cssnano) | devDependencies | major | [`^5.2.12` -> `^7.0.7`](https://renovatebot.com/diffs/npm/cssnano-preset-default/5.2.12/7.0.7) | --- ### Release Notes <details> <summary>cssnano/cssnano (cssnano)</summary> ### [`v7.0.7`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.7) [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7) #### What's Changed - fix: update browserslist by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1675](https://github.com/cssnano/cssnano/pull/1675) - fix: update postcss peer dependency to version without vulnerabilities by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1676](https://github.com/cssnano/cssnano/pull/1676) - fix: update TypeScript declarations by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1685](https://github.com/cssnano/cssnano/pull/1685) - perf: load default preset in startup by [@&elastic#8203;43081j](https://github.com/43081j) in [https://github.com/cssnano/cssnano/pull/1691](https://github.com/cssnano/cssnano/pull/1691) - Add support for selector order preservation to postcss-minify-selectors by [@&elastic#8203;ezzak](https://github.com/ezzak) in [https://github.com/cssnano/cssnano/pull/1688](https://github.com/cssnano/cssnano/pull/1688) - fix(postcss-convert-values): preserve percent sign in percentage values in at-rules with double quotes by [@&elastic#8203;aramikuto](https://github.com/aramikuto) in [https://github.com/cssnano/cssnano/pull/1695](https://github.com/cssnano/cssnano/pull/1695) **Full Changelog**: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7 ### [`v7.0.6`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.6): v7.0.6 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6) #### What's Changed - Update postcss-calc and selector-parser by [@&elastic#8203;ludofischer](https://github.com/ludofischer) in [https://github.com/cssnano/cssnano/pull/1663](https://github.com/cssnano/cssnano/pull/1663) - fix(postcss-convert-values): convert `0ms` to `0s` by [@&elastic#8203;btea](https://github.com/btea) in [https://github.com/cssnano/cssnano/pull/1665](https://github.com/cssnano/cssnano/pull/1665) **Full Changelog**: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6 ### [`v7.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.5): v7.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.5) #### Bug Fixes - Fix layer rule deduping [https://github.com/cssnano/cssnano/pull/1656](https://github.com/cssnano/cssnano/pull/1656) ### [`v7.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.4): v7.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.4) #### Bug fixes - fix(postcss-convert-values): preserve percent sign in border-image-width in [https://github.com/cssnano/cssnano/pull/1645](https://github.com/cssnano/cssnano/pull/1645) ### [`v7.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.3): v7.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.3) #### Bug Fixes - cssnano-preset-default: preserve SVG viewbox and title by default - postcss-convert-values: preserve percent sign in arguments of color functions when needed - postcss-ordered-values: preserve correct order in animation property - postcss-minify-selectors: preserve quotes when escaping selector is required - postcss-discard-comments: do not remove strings that only look like comments in selectors Thanks to [@&elastic#8203;ota-meshi](https://github.com/ota-meshi) and [@&elastic#8203;seiyab](https://github.com/seiyab) for their contributions to this release. ### [`v7.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.2): v7.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.2) #### Bug Fixes - fix invalid output in some cases where selectors contain comments ### [`v7.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.1): v7.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.1) #### Patch changes Update postcss-calc dependency to latest version ### [`v7.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%407.0.0): v7.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@7.0.0) #### Breaking changes This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the `package.json` `engines` field has been updated. The code should otherwise be identical to the previous 6.1.2 release. Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more. ### [`v6.1.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.2): v6.1.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.2) #### Bug Fixes - preserve correct order of `gap` and `column-gap` properties #### Patch Changes - update autoprefixer ### [`v6.1.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.1): v6.1.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.1) ### Patch changes - update selector parser - in the minify font plugin, you can pass a function to determine whether a css variable is one of font, font-family, and font-weight to determine whether the variable needs to remove quotes. ### [`v6.1.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.1.0): v6.1.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.1.0) This release contains a lot of fixes to Browserslist support thanks to [@&elastic#8203;colinrotherham](https://github.com/colinrotherham) #### Features - support Browserslist options in more plugins - support overriding autoprefixer options Additionally, this release includes improved TypeScript types. ### [`v6.0.5`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.5): v6.0.5 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.5) #### Bug Fixes - correctly minify `font` declaration in edge cases - preserve `initial` property in `-webkit-line-clamp` ### [`v6.0.4`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.4): v6.0.4 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.4) ##### Bug Fixes - preserve empty `@layer` declarations - avoid crashing when encountering `@layer` without any braces afterwards - update to latest lilconfig dependency to avoid vulnerability ### [`v6.0.3`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.3): v6.0.3 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.3) ##### Bug fixes - do not sort unknown properties #### Other - Require latest browserslist and postcss-selector-parser ### [`v6.0.2`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.2): v6.0.2 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.2) - fix: update cssnano peer dependency to 8.4.31 to avoid security issue - fix: update postcss-calc to 9.0.1 to solve disappearing expressions inside two brackets - deps(postcss-svgo): update SVGO to 3.0.5 and update doc - chore: update css-declaration-sorter - fix(postcss-minify-selectors): prevent mangling of timeline range names - fix(postcss-convert-values): keep percent unit in `@Property` - chore(cssnano): update lilconfig to 3.0.0 ### [`v6.0.1`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.1): v6.0.1 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.1) #### Bug Fixes - fix(postcss-merge-rules): do not merge nested rules (cssnano/cssnano@eb9a9a1) - fix(postcss-reduce-idents): minify grid line names correctly (cssnano/cssnano@2af6687) ### [`v6.0.0`](https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0): v6.0.0 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@6.0.0) #### Major Changes - [`99d1e6a`](https://github.com/cssnano/cssnano/commit/99d1e6ab): postcss-normalize-url: remove normalize-url configuration options - [`4e272f8`](https://github.com/cssnano/cssnano/commit/4e272f88): postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14 - [`ca9d3f5`](https://github.com/cssnano/cssnano/commit/ca9d3f55): Switch minimum supported Node version to 14 for all packages - [`39a2040`](https://github.com/cssnano/cssnano/commit/39a20405): feat!(cssnano): remove undocumented YAML config support #### Migration instructions - If you're not happy with the defaults for the normalize-url transform, turn it off completely. Options were removed as most would change the meaning of the URL, which is unexpcted in the case of CSS minification. - In the unlikely event you're using YAML to configure cssnano, move the cssnano configuration inside the PostCSS config or use a configuration file in CommonJS or JSON format. ### [`v5.1.15`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.15): v5.1.15 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.15) #### Bug Fixes - fix(postcsss-reduce-initial): fix mask-repeat conversion - fix(postcss-colormin): don't minify colors in src declarations - fix(postcss-merge-rules): do not merge conflicting flex and border properties ### [`v5.1.14`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.14): v5.1.14 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.14) #### Bug Fixes - fix: update autoprefixer and browserslist - fix(postcss-reduce-initial): improve initial properties data ### [`v5.1.13`](https://github.com/cssnano/cssnano/releases/tag/cssnano%405.1.13): v5.1.13 [Compare Source](https://github.com/cssnano/cssnano/compare/[email protected]@5.1.13) #### Bug Fixes - fix TypeScript type of `cssnano()` return value (cssnano/cssnano@b92dbe3) </details> --- ### 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40MjUuMSIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJUZWFtOk9wZXJhdGlvbnMiLCJiYWNrcG9ydDphbGwtb3BlbiIsInJlbGVhc2Vfbm90ZTpza2lwIl19--> --------- Co-authored-by: elastic-renovate-prod[bot] <174716857+elastic-renovate-prod[bot]@users.noreply.github.com> Co-authored-by: Brad White <[email protected]>
This PR contains the following updates:
^5.1.12->^7.0.7^5.2.12->^7.0.7Release Notes
cssnano/cssnano (cssnano)
v7.0.7Compare Source
What's Changed
Full Changelog: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7
v7.0.6: v7.0.6Compare Source
What's Changed
0msto0sby @btea in https://github.com/cssnano/cssnano/pull/1665Full Changelog: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6
v7.0.5: v7.0.5Compare Source
Bug Fixes
v7.0.4: v7.0.4Compare Source
Bug fixes
v7.0.3: v7.0.3Compare Source
Bug Fixes
Thanks to @ota-meshi and @seiyab for their contributions to this release.
v7.0.2: v7.0.2Compare Source
Bug Fixes
v7.0.1: v7.0.1Compare Source
Patch changes
Update postcss-calc dependency to latest version
v7.0.0: v7.0.0Compare Source
Breaking changes
This release drops official support for unmaintained long term support Node.js releases 14 and 16. It also drops support for non-long term support releases 19 and 21 and add support for Node.js 22. Only the
package.jsonenginesfield has been updated. The code should otherwise be identical to the previous 6.1.2 release.Ensuring support for older Node.js had become difficult as the GitHub actions runners are not available for the latest MacOS and recent pnpm also could not run on CI any more.
v6.1.2: v6.1.2Compare Source
Bug Fixes
gapandcolumn-gappropertiesPatch Changes
v6.1.1: v6.1.1Compare Source
Patch changes
v6.1.0: v6.1.0Compare Source
This release contains a lot of fixes to Browserslist support thanks to @colinrotherham
Features
Additionally, this release includes improved TypeScript types.
v6.0.5: v6.0.5Compare Source
Bug Fixes
fontdeclaration in edge casesinitialproperty in-webkit-line-clampv6.0.4: v6.0.4Compare Source
Bug Fixes
@layerdeclarations@layerwithout any braces afterwardsv6.0.3: v6.0.3Compare Source
Bug fixes
Other
v6.0.2: v6.0.2Compare Source
@Propertyv6.0.1: v6.0.1Compare Source
Bug Fixes
v6.0.0: v6.0.0Compare Source
Major Changes
99d1e6a: postcss-normalize-url: remove normalize-url configuration options4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14ca9d3f5: Switch minimum supported Node version to 14 for all packages39a2040: feat!(cssnano): remove undocumented YAML config supportMigration instructions
v5.1.15: v5.1.15Compare Source
Bug Fixes
v5.1.14: v5.1.14Compare Source
Bug Fixes
v5.1.13: v5.1.13Compare Source
Bug Fixes
cssnano()return value (cssnano/cssnano@b92dbe3)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 these updates again.
This PR has been generated by Renovate Bot.