Update dependency postcss-calc to v11 - #3534
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This PR contains the following updates:
10.1.1→11.0.0Release Notes
postcss/postcss-calc (postcss-calc)
v11.0.0Compare Source
Breaking changes
Require Node.js ^22.22.3, ^24.15, or >=26.0.
Publish an ESM package with an explicit exports entry point. CommonJS require('postcss-calc') remains
supported on the supported Node.js versions.
Remove the preserve option. Transformations now always update declarations, enabled media-query
parameters, and enabled selectors in place.
Features
Rewrite the calculation engine around a CSS-aware tokenizer, Pratt parser, canonical AST, simplifier,
and serializer.
Add simplification support for modern CSS math functions, including abs(), sign(), mod(), rem(),
round(), trigonometric functions, pow(), sqrt(), hypot(), log(), and exp().
Improve public TypeScript declarations, including the exported PostCssCalcOptions type.
Bug fixes
Preserve correct grouping when simplifying subtractions involving custom properties and other opaque
expressions.
Improve numerical precision and rounding, including signed-zero and exact-multiple mod()/rem()
behavior.
Fix handling of identifier-like negative tokens and selector calculations.
Maintain left-to-right evaluation order when folding product terms.
Configuration
📅 Schedule: (in timezone Europe/Sofia)
* * * * 0,6)🚦 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 was generated by Mend Renovate. View the repository job log.