Skip to content

chore(deps): bump postcss-calc from 10.1.1 to 11.2.1 - #9195

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/postcss-calc-11.2.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/postcss-calc-11.2.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026

Copy link
Copy Markdown
Contributor

Bumps postcss-calc from 10.1.1 to 11.2.1.

Release notes

Sourced from postcss-calc's releases.

11.2.1

What's Changed

Bug fixes

  • do not emit invalid minus unary operator (the browser discards values like calc(-(-12px))
  • improve rounding so it is more spec-compliant in edge cases
  • preserve invalid declarations with unary minus, instead of converting them to valid declarations

Full Changelog: postcss/postcss-calc@v11.2.0...v11.2.1

11.2.0

What's Changed

Features

  • postcss-calc now offers two modes. By default, it tries to follow the spec as closely as possible by not unwrapping calc() value. This allows the browser to transform negative and floating point values, especially in cases where only integers are allowed in the CSS property. If you want to remove the calc() function when it wraps a single value, use unwrapSingleValue: true. This allows you to get rid of calc() and replace it with a single number wherever that is possible.

Bug fixes

  • postcss-calc performs rounding in a way that's hopefully closer to the specification
  • fix cases where the sign() function was not computed correctly

Migration

The published unwrapSingleNegativeNumber option remains available as a deprecated alias for unwrapSingleValue.

Full Changelog: postcss/postcss-calc@v11.1.2...v11.2.0

11.1.2

What's Changed

Full Changelog: postcss/postcss-calc@v11.1.1...v11.1.2

v11.1.1

What's Changed

Full Changelog: postcss/postcss-calc@v11.1.0...v11.1.1

11.1.0

What's Changed

... (truncated)

Changelog

Sourced from postcss-calc's changelog.

11.2.1 (2026-09-20)

Bug fixes

  • do not emit invalid minus unary operator (the browser discards values like calc(-(-12px))
  • improve rounding so it is more spec-compliant in edge cases
  • preserve invalid declarations with unary minus, instead of converting them to valid declarations

11.2.0 (2026-09-17)

Features

  • postcss-calc now offers two modes. By default, it tries to follow the spec as closely as possible by not unwrapping calc() value. This allows the browser to transform negative and floating point values, especially in cases where only integers are allowed in the CSS property. If you want to remove the calc() function when it wraps a single value, use unwrapSingleValue: true. This allows you to get rid of calc() and replace it with a single number wherever that is possible.

Bug fixes

  • postcss-calc performs rounding in a way that's hopefully closer to the specification
  • fix cases where the sign() function was not computed correctly

Migration

The published unwrapSingleNegativeNumber option remains available as a deprecated alias for unwrapSingleValue.

11.1.2 (2026-09-11)

Bug fixes

  • Preserve original escapes and pass through malformed CSS input safely
  • Pass through unknown CSS functions

11.1.1 (2026-09-07)

Bug fixes

  • Preserve calc() in a declaration when a property value reduces to a negative scalar

11.1.0 (2026-09-07)

Features

  • Add dedicated standalone reducer entry point postcss-calc/reduce (reduceCalc)
  • Simplify clamp() with none keyword per CSS Values 4 §10.5.3

Performance improvements

  • Improve performance by skipping parsing for values without calculation functions

Bug fixes

... (truncated)

Commits
  • 7e8ad45 fix: improve unit handling in percentages and atan2 function
  • f61982a Publish postcss-calc 11.2.1
  • 6902952 test: try to get benchmarks to run under 5 minutes
  • b4b9ff7 fix: handle unary prefix - as invalid in more cases
  • 34d4e0b refactor: clean up handling of negative 0
  • ec5cdcd refactor: remove old internal compatiblity shim
  • 1436690 fix: improve rounding algorithm
  • 96ae15d chore: update development deps
  • d2264e3 fix: update CSS tokenizer
  • 9fca7d6 fix: improve unit resolution when simplifyin calc sums
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for postcss-calc since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [postcss-calc](https://github.com/postcss/postcss-calc) from 10.1.1 to 11.2.1.
- [Release notes](https://github.com/postcss/postcss-calc/releases)
- [Changelog](https://github.com/postcss/postcss-calc/blob/master/CHANGELOG.md)
- [Commits](postcss/postcss-calc@v10.1.1...v11.2.1)

---
updated-dependencies:
- dependency-name: postcss-calc
  dependency-version: 11.2.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added auto-merge Ready to automatically merge after being open for 48 hours dependencies Pull requests that update a dependency file github_actions:pull-request Trigger Pull Request Checks javascript Pull requests that update javascript code labels Oct 1, 2026
@vercel

vercel Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nodejs-org Ready Ready Preview Oct 1, 2026 5:26pm UTC

Request Review

@dependabot
dependabot Bot requested review from a team as code owners October 1, 2026 17:25
@dependabot dependabot Bot added github_actions:pull-request Trigger Pull Request Checks dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code auto-merge Ready to automatically merge after being open for 48 hours labels Oct 1, 2026
@github-actions github-actions Bot removed the github_actions:pull-request Trigger Pull Request Checks label Oct 1, 2026
@codecov

codecov Bot commented Oct 1, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.07%. Comparing base (4ffcf03) to head (6704027).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9195      +/-   ##
==========================================
+ Coverage   86.06%   86.07%   +0.01%     
==========================================
  Files          86       86              
  Lines        6041     6041              
  Branches      358      357       -1     
==========================================
+ Hits         5199     5200       +1     
+ Misses        838      837       -1     
  Partials        4        4              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

📦 Build Size Comparison

Summary

Metric Value
Old Total First Load JS 7.10 MB
New Total First Load JS 7.10 MB
Delta 0 B (0.00%)

This branch was successfully deployed

1 active deployment
Preview — 67040274 Deployed Oct 1, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

auto-merge Ready to automatically merge after being open for 48 hours dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant