Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency cssnano to v6 #380

Merged
merged 1 commit into from
Dec 27, 2023
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2023

Mend Renovate

This PR contains the following updates:

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

Release Notes

cssnano/cssnano (cssnano)

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

v5.1.12: v5.1.12

Compare Source

Bug Fixes

v5.1.11: v5.1.11

Compare Source

Bug Fixes

  • postcss-ordered-values: preserve constant values (32ab4d9b7d20d)

v5.1.10: v5.1.10

Compare Source

Bug Fixes

v5.1.9: v5.1.9

Compare Source

Bug Fixes

  • postcss-merge-longhand: preserve more color function fallbacks (712993cb4a4e0)

v5.1.8: v5.1.8

Compare Source

Bug Fixes

  • postcss-convert-values: preserve percentage sign on IE 11 (57f060ad21734)

v5.1.7

Compare Source

v5.1.6: v5.1.6

Compare Source

Bug Fixes
  • preserve border color when merging border properties (5f5080a)

v5.1.5

Compare Source

v5.1.4: v5.1.4

Compare Source

Bug Fixes

  • postcss-merge-longhand: preserve custom property case (5428d5fc9)

v5.1.3: v5.1.3

Compare Source

Bug Fixes
  • fix: do not merge declarations containing custom properties when it might create invalid declarations (2c699341)

v5.1.2: v5.1.2

Compare Source

Bug fixes
  • preserve empty custom properties and ensure they work in Chrome (4ed39679)

v5.1.1

Compare Source

v5.1.0: v5.1.0

Compare Source

New Feature

Add TypeScript types

v5.0.17: v5.0.17

Compare Source

Patch Changes

  • Publish untranspiled CommonJS source

v5.0.16: v5.0.16

Compare Source

5.0.16
Patch Changes
  • refactor: replace natural sort with built-in array sort
  • Updated dependencies

v5.0.15: v5.0.15

Compare Source

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

v5.0.14: v5.0.14

Compare Source

Bug fixes

v5.0.13: v5.0.13

Compare Source

Patch Changes

v5.0.12: v5.0.12

Compare Source

Bug fixes

v5.0.11: v5.0.11

Compare Source

Bug fixes

  • c38f14c: postcss-normalize-url: avoid changing parameter encoding

Chore

  • 31d5c07: refactor: drop one-liner dependencies
  • 0717282: postcss-merge-longhand: drop css-color-names dependency

v5.0.10: v5.0.10

Compare Source

Bug fixes

  • postcss-merge-longhand: prevent crash in some situations (#​1222) (83009a)

v5.0.9: v5.0.9

Compare Source

Bug fixes

  • postcss-svgo: normalize SVG with escaped quote characters (#​1200) (4ef5e41)

  • postcss-convert-values: preserve percentage-only properties (#​1212) (8f3453)

  • postcss-minify-gradients: handle 2 color-stop-length in linear gradient (#​1215) (8bb7ba6c)

  • cssnano-preset-advanced: update autoprefixer (#​1213) (f19932)

Chore

  • postcss-colormin: use colord plugin for color minification (#​1207) (3dbaa04)

v5.0.8: v5.0.8

Compare Source

Chore

  • postcss-minify-gradients: remove extra dependencies (#​1181) (50eb53)

v5.0.7: v5.0.7

Compare Source

Bug Fixes

  • cssnano: reduce dependencies by moving from cosmiconfig to lilconfig (#​1168)
    (506a8232)

v5.0.6: v5.0.6

Compare Source

Bug Fixes

postcss-normalize-url: bump normalize-url dependency to 6.0.1 (#​1142)
(b60f54bed)

postcss-ordered-values: preserve columns count (#​1144)
(9acd6a2fe3e)

v5.0.5: v5.0.5

Compare Source

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

Compare Source

Bug fixes

v5.0.3

Compare Source

v5.0.2

Compare Source

v5.0.1

Compare Source

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

Configuration

📅 Schedule: Branch creation - "after 5pm on tuesday" in timezone Europe/Madrid, Automerge - 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 Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner November 14, 2023 22:10
@renovate renovate bot added the dependencies Pull requests that update a dependency file label Nov 14, 2023
@support-empathy
Copy link
Contributor

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from c38de7b to 21985e1 Compare November 16, 2023 14:50
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from 21985e1 to a640b03 Compare November 29, 2023 09:56
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from a640b03 to 796d455 Compare November 29, 2023 11:19
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from 796d455 to 57086c8 Compare December 12, 2023 10:21
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from 57086c8 to 9d6fc32 Compare December 13, 2023 09:56
diegopf
diegopf previously approved these changes Dec 13, 2023
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from 9d6fc32 to a53469d Compare December 13, 2023 12:22
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@renovate renovate bot force-pushed the renovate/cssnano-6.x branch from a53469d to bfd7398 Compare December 14, 2023 17:06
Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

Copy link

Check PR 380 preview 👀

https://x.test.empathy.co/preview/380/index.html

@diegopf diegopf merged commit e507c3e into main Dec 27, 2023
5 checks passed
@diegopf diegopf deleted the renovate/cssnano-6.x branch December 27, 2023 09:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants