algolia / docsearch

:blue_book: The easiest way to add search to your documentation.
https://docsearch.algolia.com
MIT License
3.87k stars 374 forks source link

chore(deps): update dependency cssnano to v7 #2244

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cssnano 4.1.10 -> 7.0.4 age adoption passing confidence

Release Notes

cssnano/cssnano (cssnano) ### [`v7.0.4`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%407.0.4): v7.0.4 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@7.0.3...cssnano@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://togithub.com/cssnano/cssnano/pull/1645) ### [`v7.0.3`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%407.0.3): v7.0.3 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@7.0.2...cssnano@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 [@​ota-meshi](https://togithub.com/ota-meshi) and [@​seiyab](https://togithub.com/seiyab) for their contributions to this release. ### [`v7.0.2`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%407.0.2): v7.0.2 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@7.0.1...cssnano@7.0.2) ##### Bug Fixes - fix invalid output in some cases where selectors contain comments ### [`v7.0.1`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%407.0.1): v7.0.1 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@7.0.0...cssnano@7.0.1) #### Patch changes Update postcss-calc dependency to latest version ### [`v7.0.0`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%407.0.0): v7.0.0 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.1.2...cssnano@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://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.1.2): v6.1.2 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.1.1...cssnano@6.1.2) #### Bug Fixes - preserve correct order of `gap` and `column-gap` properties #### Patch Changes - update autoprefixer ### [`v6.1.1`](https://togithub.com/cssnano/cssnano/compare/cssnano@6.1.0...cssnano@6.1.1) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.1.0...cssnano@6.1.1) ### [`v6.1.0`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.1.0): v6.1.0 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.5...cssnano@6.1.0) This release contains a lot of fixes to Browserslist support thanks to [@​colinrotherham](https://togithub.com/colinrotherham) #### Features - support Browserslist options in more plugins - support overriding autoprefixer options Additionally, this release includes improved TypeScript types. ### [`v6.0.5`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.5): v6.0.5 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.4...cssnano@6.0.5) #### Bug Fixes - correctly minify `font` declaration in edge cases - preserve `initial` property in `-webkit-line-clamp` ### [`v6.0.4`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.4): v6.0.4 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.3...cssnano@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://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.3): v6.0.3 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.2...cssnano@6.0.3) ##### Bug fixes - do not sort unknown properties #### Other - Require latest browserslist and postcss-selector-parser ### [`v6.0.2`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.2): v6.0.2 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.1...cssnano@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://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.1): v6.0.1 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@6.0.0...cssnano@6.0.1) #### Bug Fixes - fix(postcss-merge-rules): do not merge nested rules (https://github.com/cssnano/cssnano/commit/eb9a9a18132d360cb8639f0ca6be4d24401bcde9) - fix(postcss-reduce-idents): minify grid line names correctly (https://github.com/cssnano/cssnano/commit/2af6687e63978a7b0a08f97d095aa9e6b593eb4f) ### [`v6.0.0`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%406.0.0): v6.0.0 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.15...cssnano@6.0.0) #### Major Changes - [`99d1e6a`](https://togithub.com/cssnano/cssnano/commit/99d1e6ab): postcss-normalize-url: remove normalize-url configuration options - [`4e272f8`](https://togithub.com/cssnano/cssnano/commit/4e272f88): postcss-svgo: Upgrade dependency svgo to v3 and increase the minimum supported node version to v14 - [`ca9d3f5`](https://togithub.com/cssnano/cssnano/commit/ca9d3f55): Switch minimum supported Node version to 14 for all packages - [`39a2040`](https://togithub.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://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.15): v5.1.15 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.14...cssnano@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://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.14): v5.1.14 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.13...cssnano@5.1.14) #### Bug Fixes - fix: update autoprefixer and browserslist - fix(postcss-reduce-initial): improve initial properties data ### [`v5.1.13`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.13): v5.1.13 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.12...cssnano@5.1.13) #### Bug Fixes - fix TypeScript type of `cssnano()` return value (https://github.com/cssnano/cssnano/commit/b92dbe3ab1db16141dc6296cd350f3fdf5c2defe) ### [`v5.1.12`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.12): v5.1.12 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.11...cssnano@5.1.12) #### Bug Fixes - fix: preserve hyphenated property case (https://github.com/cssnano/cssnano/commit/120a88899376a29c8756234fdc648c519921f515) - fix: ensure sorting properties does not break the output (https://github.com/cssnano/cssnano/commit/0a3a1331e29f3d1009d2a938181ffa4b34ab5b32) - fix: recognize 'constant' as a function (https://github.com/cssnano/cssnano/commit/858a8b77c951f3698b14e834f38128b176438edc) ### [`v5.1.11`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.11): v5.1.11 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.10...cssnano@5.1.11) #### Bug Fixes - postcss-ordered-values: preserve constant values ([32ab4d9b7d20d](https://togithub.com/cssnano/cssnano/commit/32ab4d9b7d20d9dbebed3b7f348b20bf732c52a4)) ### [`v5.1.10`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.10): v5.1.10 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.9...cssnano@5.1.10) #### Bug Fixes - postcss-minify-selectors: preserve similar nested selectors ([f6c29fb3e75ac26a2635d](https://togithub.com/cssnano/cssnano/commit/f6c29fb3e75ac26a2635d52b24bc5edfa2447f8e)) ### [`v5.1.9`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.9): v5.1.9 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.8...cssnano@5.1.9) #### Bug Fixes - postcss-merge-longhand: preserve more color function fallbacks ([712993cb4a4e0](https://togithub.com/cssnano/cssnano/commit/712993cb4a4e0af6bcf83dd4529b6e825193c367)) ### [`v5.1.8`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.8): v5.1.8 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.7...cssnano@5.1.8) #### Bug Fixes - postcss-convert-values: preserve percentage sign on IE 11 ([57f060ad21734](https://togithub.com/cssnano/cssnano/commit/57f060ad21734460549bc5986309528f34d3d36e)) ### [`v5.1.7`](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.6...cssnano@5.1.7) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.6...cssnano@5.1.7) ### [`v5.1.6`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.6): v5.1.6 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.5...cssnano@5.1.6) ##### Bug Fixes - preserve border color when merging border properties ([5f5080a](https://togithub.com/cssnano/cssnano/commit/5f5080a80bbffcd6adab3f2c3bc0846f1c455dae)) ### [`v5.1.5`](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.4...cssnano@5.1.5) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.4...cssnano@5.1.5) ### [`v5.1.4`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.4): v5.1.4 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.3...cssnano@5.1.4) #### Bug Fixes - postcss-merge-longhand: preserve custom property case ([5428d5fc9](https://togithub.com/cssnano/cssnano/commit/5428d5fc9518f0a4808d0bdd8a6d5f6eaa90c3cf)) ### [`v5.1.3`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.3): v5.1.3 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.2...cssnano@5.1.3) ##### Bug Fixes - fix: do not merge declarations containing custom properties when it might create invalid declarations ([2c699341](https://togithub.com/cssnano/cssnano/commit/2c699341efb42d148f2df9a81211c60191d2265e)) ### [`v5.1.2`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.2): v5.1.2 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.1...cssnano@5.1.2) ##### Bug fixes - preserve empty custom properties and ensure they work in Chrome ([4ed39679](https://togithub.com/cssnano/cssnano/commit/4ed396795a88d8b06953b9abb2656f686402821c)) ### [`v5.1.1`](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.0...cssnano@5.1.1) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.1.0...cssnano@5.1.1) ### [`v5.1.0`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.1.0): v5.1.0 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.17...cssnano@5.1.0) ##### New Feature Add TypeScript types ### [`v5.0.17`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.17): v5.0.17 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.16...cssnano@5.0.17) #### Patch Changes - Publish untranspiled CommonJS source ### [`v5.0.16`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.16): v5.0.16 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.15...cssnano@5.0.16) ##### 5.0.16 ##### Patch Changes - refactor: replace natural sort with built-in array sort - Updated dependencies ### [`v5.0.15`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.15): v5.0.15 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.14...cssnano@5.0.15) #### Patch Changes - refactor: remove getMatch function from cssnano-utils The getMatch function allows nested arrays to emulate a map. It is better to replace this function with a regular Map(). It's unlikely this function is used outside of cssnano as it requires a very specific nested array struture. - fix: update postcss-calc to 8.2 Remove a crash when postcss-calc cannot parse the value - Updated dependencies - cssnano-preset-default@5.1.10 ### [`v5.0.14`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.14): v5.0.14 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.13...cssnano@5.0.14) #### Bug fixes - fix(cssnano): correctly resolve presets in pnpm monorepo ([#​1269](https://togithub.com/cssnano/cssnano/pull/1269)) ([6f9c7477eb](https://togithub.com/cssnano/cssnano/commit/6f9c7477eb3eb191d3a7454071908a17dac90fa3)) ### [`v5.0.13`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.13): v5.0.13 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.12...cssnano@5.0.13) #### Patch Changes - chore(postcss-normalize-url): reduce dependencies ([#​1255](https://togithub.com/cssnano/cssnano/pull/1255)) ([a4267dedcd6](https://togithub.com/cssnano/cssnano/commit/a4267dedcd6d41ece45a0dfc5a73ea4b9e4ae028)) - fix(postcss-colormin): accept configuration options ([#​1263](https://togithub.com/cssnano/cssnano/pull/1263)) ([3b38038007](https://togithub.com/cssnano/cssnano/commit/3b38038007bfd8761d84a9e35f0191b56e5b50d7)) - Updated dependencies - cssnano-preset-default@5.1.9 ### [`v5.0.12`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.12): v5.0.12 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.11...cssnano@5.0.12) #### Bug fixes - fix(postcss-reduce-initial): update initial values data ([#​1242](https://togithub.com/cssnano/cssnano/pull/1242)) ([c6e9f00b785](https://togithub.com/cssnano/cssnano/commit/c6e9f00b785d85df0d92a110ec95a14fd98adcc9)) ### [`v5.0.11`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.11): v5.0.11 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.10...cssnano@5.0.11) #### Bug fixes - [`c38f14c`](https://togithub.com/cssnano/cssnano/commit/c38f14c3ce3d0): **postcss-normalize-url**: avoid changing parameter encoding #### Chore - [`31d5c07`](https://togithub.com/cssnano/cssnano/commit/31d5c07dc07a4): refactor: drop one-liner dependencies - [`0717282`](https://togithub.com/cssnano/cssnano/commit/07172825ffbb4f4): **postcss-merge-longhand**: drop css-color-names dependency ### [`v5.0.10`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.10): v5.0.10 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.9...cssnano@5.0.10) #### Bug fixes - **postcss-merge-longhand:** prevent crash in some situations ([#​1222](https://togithub.com/cssnano/cssnano/pull/1222)) ([83009a](https://togithub.com/cssnano/cssnano/commit/83009a04e7200c80d4dfc478881eb1b231d2548f)) ### [`v5.0.9`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.9): v5.0.9 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.8...cssnano@5.0.9) #### Bug fixes - **postcss-svgo:** normalize SVG with escaped quote characters ([#​1200](https://togithub.com/cssnano/cssnano/pull/1200)) ([4ef5e41](https://togithub.com/cssnano/cssnano/commit/4ef5e41a6c61a23094001da82a76321ca746b22f)) - **postcss-convert-values:** preserve percentage-only properties ([#​1212](https://togithub.com/cssnano/cssnano/pull/1212)) ([8f3453](https://togithub.com/cssnano/cssnano/commit/8f345385b210cf85e9d591382d387f76ca4b0f64)) - **postcss-minify-gradients:** handle 2 color-stop-length in linear gradient ([#​1215](https://togithub.com/cssnano/cssnano/pull/1215)) ([8bb7ba6c](https://togithub.com/cssnano/cssnano/commit/8bb7ba6c1733fd12122589169d847b1a1212a6b5)) - **cssnano-preset-advanced:** update autoprefixer ([#​1213](https://togithub.com/cssnano/cssnano/pull/1213)) ([f19932](https://togithub.com/cssnano/cssnano/commit/f199323a8368546d9632112d381419930106e384)) #### Chore - **postcss-colormin:** use colord plugin for color minification ([#​1207](https://togithub.com/cssnano/cssnano/pull/1207)) ([3dbaa04](https://togithub.com/cssnano/cssnano/commit/3dbaa04addfa2f18375262377e172b03819dc2c0)) ### [`v5.0.8`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.8): v5.0.8 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.7...cssnano@5.0.8) #### Chore - **postcss-minify-gradients:** remove extra dependencies ([#​1181](https://togithub.com/cssnano/cssnano/pull/1181)) ([50eb53](https://togithub.com/cssnano/cssnano/commit/50eb53e63b6eaae598ae4e51d02255ec8dcc9c8f)) ### [`v5.0.7`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.7): v5.0.7 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.6...cssnano@5.0.7) #### Bug Fixes - **cssnano**: reduce dependencies by moving from cosmiconfig to lilconfig ([#​1168](https://togithub.com/cssnano/cssnano/issues/1168)) ([506a8232](https://togithub.com/cssnano/cssnano/commit/506a823284191a41752939276f50dbdf75cc8e79)) ### [`v5.0.6`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.6): v5.0.6 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.5...cssnano@5.0.6) #### Bug Fixes **postcss-normalize-url**: bump normalize-url dependency to 6.0.1 ([#​1142](https://togithub.com/cssnano/cssnano/issues/1142)) ([b60f54bed](https://togithub.com/cssnano/cssnano/commit/b60f54bedafe3781ff58f0888ab45ff5c56aee09)) **postcss-ordered-values**: preserve columns count ([#​1144](https://togithub.com/cssnano/cssnano/issues/1144)) ([9acd6a2fe3e](https://togithub.com/cssnano/cssnano/commit/9acd6a2fe3e188a5f29fef91cf406495fa74a877)) ### [`v5.0.5`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.5): v5.0.5 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.4...cssnano@5.0.5) #### Bug fixes - Preserve alpha channel in color minification - Check overlaps more exhaustively when merging rules - Do not crash when the input CSS contains relative URLs ### [`v5.0.4`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.4): v5.0.4 [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.3...cssnano@5.0.4) #### Bug fixes - **postcss-colormin:** Strict color parsing ([#​1122](https://togithub.com/cssnano/cssnano/issues/1122)) ([32771da](https://togithub.com/cssnano/cssnano/commit/32771da46ee94f07a6907ec47701189f90ad2ec0)) - **postcss-colormin:** fix ERR_PACKAGE_PATH_NOT_EXPORTED ([#​1110](https://togithub.com/cssnano/cssnano/issues/1110)) ([8a31ca38796](https://togithub.com/cssnano/cssnano/commit/8a31ca38796e12e6fe52620cf8a545cb058fe295)) ### [`v5.0.3`](https://togithub.com/cssnano/cssnano/compare/postcss-discard-comments@5.0.2...postcss-discard-comments@5.0.3) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.2...cssnano@5.0.3) ### [`v5.0.2`](https://togithub.com/cssnano/cssnano/compare/postcss-discard-comments@5.0.1...postcss-discard-comments@5.0.2) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.1...cssnano@5.0.2) ### [`v5.0.1`](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.1) [Compare Source](https://togithub.com/cssnano/cssnano/compare/cssnano@5.0.0...cssnano@5.0.1) ### [`v5.0.0`](https://togithub.com/cssnano/cssnano/releases/tag/cssnano%405.0.0): v5.0.0 [Compare Source](https://togithub.com/cssnano/cssnano/compare/v4.1.11...cssnano@5.0.0) #### Major changes - requires Node >= 10.13 - PostCSS 8 API, so cssnano 5 does not emit warnings when running under PostCSS 8 - updated to SVGO 2, fixing many SVG minification bugs - updated css-value-parser and css-selector-parser, fixing many bugs ##### Upgrade notes If you use the cssnano JavaScript API, you need to change your code: - Replace `cssnano.process()` with `cssnano().process()` (notice the `()` after `cssnano`) - pass cssnano options to `cssnano()` instead of `process()` cssnano(cssnanoOptions).process(postcssOptions) #### Bug fixes - fix improperly discarding `@font-face` declarations [#​726](https://togithub.com/cssnano/cssnano/issues/726) - partially fix some isues where cssnano did not combine rules when used together with `postcss-nested` [#​1004](https://togithub.com/cssnano/cssnano/issues/1004) - fix `translate3d()` minification [#​920](https://togithub.com/cssnano/cssnano/issues/920) - fix minification of values starting with `e` [#​589](https://togithub.com/cssnano/cssnano/issues/958), [#​984](https://togithub.com/cssnano/cssnano/issues/984) - fix minification of percentage vaalues [#​962](https://togithub.com/cssnano/cssnano/issues/962), [#​957](https://togithub.com/cssnano/cssnano/issues/957) - fix minification of `aspect-ratio` [#​963](https://togithub.com/cssnano/cssnano/issues/963) - fix merging of `@supports` rules [#​974](https://togithub.com/cssnano/cssnano/issues/974) - fix sorting of longhand and shorthand properties [#​535](https://togithub.com/cssnano/cssnano/issues/535) - remove vulnerable dependency and always warn with bad SVG input [#​1034](https://togithub.com/cssnano/cssnano/pull/1034) ### [`v4.1.11`](https://togithub.com/cssnano/cssnano/releases/tag/v4.1.11) [Compare Source](https://togithub.com/cssnano/cssnano/compare/v4.1.10...v4.1.11) ### 4.1.11 #### Bug Fixes - fix [CVE-2021-28092](https://nvd.nist.gov/vuln/detail/CVE-2021-28092)

Configuration

📅 Schedule: Branch creation - "after 4pm on friday,before 9am on monday,every weekend" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



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