Skip to content

Update dependency postcss-calc to v11 - #957

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/postcss-calc-11.x
Open

Update dependency postcss-calc to v11#957
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/postcss-calc-11.x

Conversation

@renovate

@renovate renovate Bot commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
postcss-calc 10.1.111.0.2 age confidence

Release Notes

postcss/postcss-calc (postcss-calc)

v11.0.2

Compare Source

Performance improvements
  • Improve performance when processing calculations with many additions or multiplications.

v11.0.1

Compare Source

Bug Fixes

v11.0.0

Compare 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: (UTC)

  • Branch creation
    • On day 15 and 29 of the month (* * 15,29 * *)
  • 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, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/postcss-calc-11.x branch from 86f40ad to 885ce49 Compare August 30, 2026 20:54
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant