Skip to content
This repository has been archived by the owner on Jul 22, 2022. It is now read-only.

Update dependency cssnano to v5 #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 10, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cssnano ^4.1.4 -> ^5.0.0 age adoption passing confidence

Release Notes

cssnano/cssnano

v5.1.12

Compare Source

Bug Fixes

v5.1.11

Compare Source

Bug Fixes

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

v5.1.10

Compare Source

v5.1.9

Compare Source

v5.1.8

Compare Source

v5.1.7

Compare Source

v5.1.6

Compare Source

v5.1.5

Compare Source

v5.1.4

Compare Source

v5.1.3

Compare Source

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

Compare Source

New Feature

Add TypeScript types

v5.0.17

Compare Source

Patch Changes

  • Publish untranspiled CommonJS source

v5.0.16

Compare Source

5.0.16

Patch Changes

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

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

    • cssnano-preset-default@5.1.10

v5.0.14

Compare Source

Bug fixes

v5.0.13

Compare Source

Patch Changes
  • chore(postcss-normalize-url): reduce dependencies (#​1255) (a4267dedcd6)
  • fix(postcss-colormin): accept configuration options (#​1263) (3b38038007)
  • Updated dependencies
    • cssnano-preset-default@5.1.9

v5.0.12

Compare Source

Bug fixes

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

Compare Source

Bug fixes

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

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

Compare Source

Chore

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

v5.0.7

Compare Source

Bug Fixes

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

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

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

Compare Source

Bug fixes

v5.0.3

Compare Source

v5.0.2

Compare Source

Bug Fixes

v5.0.1

Compare Source

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

v4.1.11

Compare Source

4.1.11

Bug Fixes

v4.1.10

Compare Source

4.1.10
Bug Fixes
  • stylehacks does not throw error on [attr] selector

v4.1.9

Compare Source

4.1.9
Performance Improvements
  • postcss-colormin: increase performance
  • postcss-discard-comments: increase performance
  • postcss-merge-rules increase performance
  • postcss-minify-params increase performance
  • postcss-minify-selectors: increase performance
  • postcss-normalize-display-values: increase performance
  • postcss-normalize-positions: increase performance
  • postcss-normalize-repeat-style: increase performance
  • postcss-normalize-string: increase performance
  • postcss-normalize-timing-functions: increase performance
  • postcss-normalize-whitespace: increase performance
  • postcss-ordered-values: increase performance
  • postcss-reduce-transforms: increase performance
  • postcss-svgo: increase performance
Bug Fixes
  • postcss-merge-longhand handle uppercase properties and values
  • postcss-minify-gradients handle uppercase properties and values
  • postcss-minify-params do break @page rules
  • postcss-reduce-idents handle uppercase at-rules
  • postcss-reduce-initial now uses repeat as initial value for mask-repeat
  • postcss-reduce-initial handle uppercase value when you convert to initial
  • stylehacks handle uppercase properties and values

v4.1.8

Compare Source

4.1.8
Performance Improvements
  • initial loading time (require('cssnano')).
Bug Fixes
  • postcss-merge-longhand correctly merging border properties with custom properties.

v4.1.7

Compare Source

4.1.7
Bug Fixes
  • republish cssnano due broken release.

v4.1.6

Compare Source

4.1.6
Bug Fixes
  • postcss-merge-longhand doesn't throw error when merge a border property.

v4.1.5

Compare Source

4.1.5
Bug Fixes
  • cssnano now allow to toggling of plugins in presets using boolean configuration option.
  • postcss-merge-longhand doesn't merge properties with unset.
  • postcss-merge-longhand correctly merge borders with custom properties.
  • postcss-merge-longhand doesn't merge redundant values if declarations are of different importance.
Other changes
  • postcss-calc updated to 7.0.0 version.

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled due to failing status checks.

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.


  • If you want to rebase/retry this PR, click this checkbox.

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

@renovate renovate bot requested a review from gauntface as a code owner April 10, 2021 13:11
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 4 times, most recently from 35f59de to e869cd6 Compare April 15, 2021 21:08
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 4 times, most recently from a52b183 to bebf442 Compare April 21, 2021 13:58
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 5 times, most recently from 9257202 to 9008809 Compare May 4, 2021 16:37
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 3 times, most recently from dc6b382 to cc88e78 Compare May 8, 2021 01:32
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 2 times, most recently from 17960c3 to d7e958a Compare May 15, 2021 07:44
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 10 times, most recently from 7449463 to 9235207 Compare May 27, 2021 13:24
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 6 times, most recently from a2875c4 to e305d5b Compare June 17, 2022 18:38
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 7 times, most recently from 740c592 to 2536ed5 Compare June 25, 2022 16:40
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 7 times, most recently from 593babf to 1089e4d Compare July 6, 2022 14:56
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 6 times, most recently from ba16d25 to eed3ad7 Compare July 14, 2022 00:27
@renovate renovate bot force-pushed the renovate/cssnano-5.x branch 2 times, most recently from d10135a to dc1b633 Compare July 16, 2022 02:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants