wp-webpack-script
wp-webpack-script copied to clipboard
chore(deps): update dependency cssnano to v5
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| cssnano | 4.1.10 -> 5.1.12 |
Release Notes
cssnano/cssnano
v5.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
Bug Fixes
- postcss-ordered-values: preserve constant values (32ab4d9b7d20d)
v5.1.10
Bug Fixes
- postcss-minify-selectors: preserve similar nested selectors (f6c29fb3e75ac26a2635d)
v5.1.9
Bug Fixes
- postcss-merge-longhand: preserve more color function fallbacks (712993cb4a4e0)
v5.1.8
Bug Fixes
- postcss-convert-values: preserve percentage sign on IE 11 (57f060ad21734)
v5.1.7
v5.1.6
Bug Fixes
- preserve border color when merging border properties (5f5080a)
v5.1.5
v5.1.4
Bug Fixes
- postcss-merge-longhand: preserve custom property case (5428d5fc9)
v5.1.3
Bug Fixes
- fix: do not merge declarations containing custom properties when it might create invalid declarations (2c699341)
v5.1.2
Bug fixes
- preserve empty custom properties and ensure they work in Chrome (4ed39679)
v5.1.1
v5.1.0
New Feature
Add TypeScript types
v5.0.17
Patch Changes
- Publish untranspiled CommonJS source
v5.0.16
5.0.16
Patch Changes
- refactor: replace natural sort with built-in array sort
- Updated dependencies
v5.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
v5.0.14
Bug fixes
- fix(cssnano): correctly resolve presets in pnpm monorepo (#1269) (6f9c7477eb)
v5.0.13
Patch Changes
- chore(postcss-normalize-url): reduce dependencies (#1255) (a4267dedcd6)
- fix(postcss-colormin): accept configuration options (#1263) (3b38038007)
- Updated dependencies
v5.0.12
Bug fixes
- fix(postcss-reduce-initial): update initial values data (#1242) (c6e9f00b785)
v5.0.11
Bug fixes
c38f14c: postcss-normalize-url: avoid changing parameter encoding
Chore
31d5c07: refactor: drop one-liner dependencies0717282: postcss-merge-longhand: drop css-color-names dependency
v5.0.10
Bug fixes
v5.0.9
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
v5.0.8
Chore
v5.0.7
Bug Fixes
v5.0.6
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
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
Bug fixes
- postcss-colormin: Strict color parsing (#1122) (32771da)
- postcss-colormin: fix ERR_PACKAGE_PATH_NOT_EXPORTED (#1110) (8a31ca38796)
v5.0.3
v5.0.2
Bug Fixes
- postcss-merge-longhand: mergeLonghand should not apply to CSS variables (#1057) (8aa64c7), closes #1051
v5.0.1
v5.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()withcssnano().process()(notice the()aftercssnano) -
pass cssnano options to
cssnano()instead ofprocess()
cssnano(cssnanoOptions).process(postcssOptions)
Bug fixes
- fix improperly discarding
@font-facedeclarations #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
@supportsrules #974 - fix sorting of longhand and shorthand properties #535
- remove vulnerable dependency and always warn with bad SVG input #1034
v4.1.11
4.1.11
Bug Fixes
- fix CVE-2021-28092
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 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.