Skip to content

Conversation

@elastic-renovate-prod
Copy link
Contributor

@elastic-renovate-prod elastic-renovate-prod bot commented Dec 6, 2024

This PR contains the following updates:

Package Type Update Change
cssnano devDependencies major ^5.1.12 -> ^7.0.7
cssnano-preset-default devDependencies major ^5.2.12 -> ^7.0.7

Release Notes

cssnano/cssnano (cssnano)

v7.0.7

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.7

v7.0.6: v7.0.6

Compare Source

What's Changed

Full Changelog: https://github.com/cssnano/cssnano/compare/[email protected]@7.0.6

v7.0.5: v7.0.5

Compare Source

Bug Fixes

v7.0.4: v7.0.4

Compare Source

Bug fixes

v7.0.3: v7.0.3

Compare Source

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 @​ota-meshi and @​seiyab for their contributions to this release.

v7.0.2: v7.0.2

Compare Source

Bug Fixes

  • fix invalid output in some cases where selectors contain comments

v7.0.1: v7.0.1

Compare Source

Patch changes

Update postcss-calc dependency to latest version

v7.0.0: v7.0.0

Compare 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.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: v6.1.2

Compare Source

Bug Fixes

  • preserve correct order of gap and column-gap properties

Patch Changes

  • update autoprefixer

v6.1.1: v6.1.1

Compare Source

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: v6.1.0

Compare Source

This release contains a lot of fixes to Browserslist support thanks to @​colinrotherham

Features

  • support Browserslist options in more plugins
  • support overriding autoprefixer options

Additionally, this release includes improved TypeScript types.

v6.0.5: v6.0.5

Compare Source

Bug Fixes

  • correctly minify font declaration in edge cases
  • preserve initial property in -webkit-line-clamp

v6.0.4: v6.0.4

Compare Source

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: v6.0.3

Compare Source

Bug fixes
  • do not sort unknown properties

Other

  • Require latest browserslist and postcss-selector-parser

v6.0.2: v6.0.2

Compare Source

  • 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: v6.0.1

Compare Source

Bug Fixes

v6.0.0: v6.0.0

Compare Source

Major Changes

  • 99d1e6a: postcss-normalize-url: remove normalize-url configuration options
  • 4e272f8: postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14
  • ca9d3f5: Switch minimum supported Node version to 14 for all packages
  • 39a2040: 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: v5.1.15

Compare Source

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: v5.1.14

Compare Source

Bug Fixes

  • fix: update autoprefixer and browserslist
  • fix(postcss-reduce-initial): improve initial properties data

v5.1.13: v5.1.13

Compare Source

Bug Fixes


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod bot added backport:all-open Backport to all branches that could still receive a release release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team labels Dec 6, 2024
@elastic-renovate-prod elastic-renovate-prod bot requested a review from a team December 6, 2024 16:27
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-operations (Team:Operations)

@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-cssnano branch 3 times, most recently from 9a7a9c1 to 34aed83 Compare March 14, 2025 23:20
@elastic-renovate-prod elastic-renovate-prod bot requested review from a team and kibanamachine as code owners April 30, 2025 21:00
Copy link
Member

@azasypkin azasypkin left a 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

@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-cssnano branch from 5563b13 to 37ae33e Compare May 13, 2025 22:39
@elastic-renovate-prod elastic-renovate-prod bot force-pushed the renovate/main-cssnano branch from 37ae33e to 61be60d Compare June 1, 2025 04:43
@Ikuni17
Copy link
Contributor

Ikuni17 commented Jun 4, 2025

buildkite test this

@elastic-renovate-prod
Copy link
Contributor Author

Edited/Blocked Notification

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

⚠️ Warning: custom changes will be lost.

@Ikuni17
Copy link
Contributor

Ikuni17 commented Jun 4, 2025

buildkite test this

@Ikuni17 Ikuni17 enabled auto-merge (squash) June 4, 2025 19:50
@elasticmachine
Copy link
Contributor

elasticmachine commented Jun 4, 2025

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
maps 3.0MB 3.0MB +509.0B
visTypeVega 2.1MB 2.1MB +441.0B
visualizations 373.6KB 373.3KB -294.0B
total +656.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
core 440.0KB 440.0KB -50.0B
kbnUiSharedDeps-css 146.7KB 146.7KB -13.0B
kbnUiSharedDeps-srcJs 4.0MB 3.9MB -2.8KB
total -2.8KB

History

@Ikuni17 Ikuni17 merged commit fca2247 into main Jun 4, 2025
11 checks passed
@Ikuni17 Ikuni17 deleted the renovate/main-cssnano branch June 4, 2025 23:42
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 7.17, 8.17, 8.18, 8.19, 9.0

https://github.com/elastic/kibana/actions/runs/15455005354

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
7.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 7.17:
- Update dependency tslib to ^2.8.1 (main) (#203266)
8.17 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.17:
- Update source-map (main) (#203263)
- Update dependency @types/ejs to ^3.1.5 (main) (#203264)
- Update dependency proxy-from-env to v1.1.0 (main) (#203265)
- Update dependency ignore to v7 (main) (#203286)
- Update dependency sort-package-json to v3 (main) (#203289)
- Update dependency diff to v8 (main) (#220898)
8.18 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.18:
- Update source-map (main) (#203263)
- Update dependency @types/ejs to ^3.1.5 (main) (#203264)
- Update dependency proxy-from-env to v1.1.0 (main) (#203265)
- Update dependency ignore to v7 (main) (#203286)
- Update dependency sort-package-json to v3 (main) (#203289)
- Update dependency diff to v8 (main) (#220898)
8.19 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.19:
- Update dependency ignore to v7 (main) (#203286)
- Update dependency sort-package-json to v3 (main) (#203289)
- [ska][x-pack] relocate security solution tests [5] (#220465)
- [ska][x-pack] relocate platform & solutions tests [6] (#220612)
- [ska][x-pack] relocate platform tests [7] (#220803)
- Update dependency diff to v8 (main) (#220898)
9.0 Backport failed because of merge conflicts

You might need to backport the following PRs to 9.0:
- Update dependency proxy-from-env to v1.1.0 (main) (#203265)
- Update dependency sort-package-json to v3 (main) (#203289)
- Update dependency monaco-editor to ^0.52.2 (main) (#206176)
- Update dependency diff to v8 (main) (#220898)

Manual backport

To create the backport manually run:

node scripts/backport --pr 203272

Questions ?

Please refer to the Backport tool documentation

@kibanamachine
Copy link
Contributor

Friendly reminder: Looks like this PR hasn’t been backported yet.
To create automatically backports add a backport:* label or prevent reminders by adding the backport:skip label.
You can also create backports manually by running node scripts/backport --pr 203272 locally
cc: @kibanamachine

@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Jun 5, 2025
@Ikuni17 Ikuni17 added backport:version Backport to applied version labels v8.19.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. backport:all-open Backport to all branches that could still receive a release labels Jun 6, 2025
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19

https://github.com/elastic/kibana/actions/runs/15498035379

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.19 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 203272

Questions ?

Please refer to the Backport tool documentation

Ikuni17 pushed a commit to Ikuni17/kibana that referenced this pull request Jun 6, 2025
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
@Ikuni17
Copy link
Contributor

Ikuni17 commented Jun 6, 2025

💚 All backports created successfully

Status Branch Result
8.19

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

Ikuni17 added a commit that referenced this pull request Jun 6, 2025
# 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[@&#8203;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
[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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
[@&#8203;ota-meshi](https://github.com/ota-meshi)
and\n[@&#8203;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[@&#8203;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[@&#8203;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
[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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
[@&#8203;ota-meshi](https://github.com/ota-meshi)
and\n[@&#8203;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[@&#8203;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[@&#8203;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
[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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[@&#8203;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
[@&#8203;ota-meshi](https://github.com/ota-meshi)
and\n[@&#8203;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[@&#8203;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>
nickpeihl pushed a commit to nickpeihl/kibana that referenced this pull request Jun 12, 2025
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Operations Kibana-Operations Team v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants