Update dependency cssnano to v5 #50

Merged
samuel-p merged 0 commits from renovate/cssnano-5.x into develop 2021-04-10 23:46:59 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
cssnano devDependencies major 4.1.11 -> 5.0.0

Release Notes

cssnano/cssnano

v5.0.0

Compare Source

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
  • partially fix some isues where cssnano did not combine rules when used together with postcss-nested #​1004
  • fix translate3d() minification #​920
  • fix minification of values starting with e #​589, #​984
  • fix minification of percentage vaalues #​962, #​957
  • fix minification of aspect-ratio #​963
  • fix merging of @supports rules #​974
  • fix sorting of longhand and shorthand properties #​535
  • remove vulnerable dependency and always warn with bad SVG input #​1034

Renovate configuration

📅 Schedule: At any time (no schedule defined).

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

♻️ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [cssnano](https://github.com/cssnano/cssnano) | devDependencies | major | [`4.1.11` -> `5.0.0`](https://renovatebot.com/diffs/npm/cssnano/4.1.11/5.0.0) | --- ### Release Notes <details> <summary>cssnano/cssnano</summary> ### [`v5.0.0`](https://github.com/cssnano/cssnano/releases/cssnano@5.0.0) [Compare Source](https://github.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 [#&#8203;726](https://github.com/cssnano/cssnano/issues/726) - partially fix some isues where cssnano did not combine rules when used together with `postcss-nested` [#&#8203;1004](https://github.com/cssnano/cssnano/issues/1004) - fix `translate3d()` minification [#&#8203;920](https://github.com/cssnano/cssnano/issues/920) - fix minification of values starting with `e` [#&#8203;589](https://github.com/cssnano/cssnano/issues/958), [#&#8203;984](https://github.com/cssnano/cssnano/issues/984) - fix minification of percentage vaalues [#&#8203;962](https://github.com/cssnano/cssnano/issues/962), [#&#8203;957](https://github.com/cssnano/cssnano/issues/957) - fix minification of `aspect-ratio` [#&#8203;963](https://github.com/cssnano/cssnano/issues/963) - fix merging of `@supports` rules [#&#8203;974](https://github.com/cssnano/cssnano/issues/974) - fix sorting of longhand and shorthand properties [#&#8203;535](https://github.com/cssnano/cssnano/issues/535) - remove vulnerable dependency and always warn with bad SVG input [#&#8203;1034](https://github.com/cssnano/cssnano/pull/1034) </details> --- ### Renovate configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻️ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update 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-bot added 1 commit 2021-04-10 13:02:18 +00:00
Update dependency cssnano to v5
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
bfa092965c
samuel-p was assigned by renovate-bot 2021-04-10 13:02:18 +00:00
samuel-p merged commit d9ff7409fd into develop 2021-04-10 23:46:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: samuel-p/sp-magic.de#50
No description provided.