Skip to content

chore(deps): bump postcss-calc from 11.2.1 to 11.2.3 - #9276

Merged
ovflowd merged 1 commit into
mainfrom
dependabot/npm_and_yarn/postcss-calc-11.2.3
Nov 1, 2026
Merged

ovflowd merged 1 commit into
mainfrom
dependabot/npm_and_yarn/postcss-calc-11.2.3

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps postcss-calc from 11.2.1 to 11.2.3.

Release notes

Sourced from postcss-calc's releases.

11.2.3

What's Changed

Full Changelog: postcss/postcss-calc@v11.2.2...v11.2.3

11.2.2

What's Changed

Bug Fixes

  • transform a division or unit conversion only when the result is exact at the configured precision. For example., calc(100% / 3) stays calc(100% / 3) instead of becoming calc(33.33333%), and calc(1cm + 1px) is no longer converted to 1.02646cm. Use precision: false to transform every division.
  • keep precision significant digits for values below 1, so calc(1px / 150000) is no longer rounded to .00001px
  • min(), max() and clamp() preserve the original unit
  • keep the order of terms and factors around var(), env(), attr() and other substitution functions. For example, with --a: 1px + 2px, var(--a) * 2 means 1px + 2px * 2, so reordering the multiplication would be a bug. var(--a) * 2 is not rewritten to 2 * var(--a), var(--a) / var(--a) is not cancelled, and parentheses are kept (1px - (2 * var(--a))). Unrecognised functions such as anchor-size() are treated the same way, so in 2 * anchor-size(width) * .5, is no longer transformed to anchor-size(width)
  • keep the parentheses of a nested calc() that contains unresolved values, so calc(var(--a) - calc(var(--b) - var(--c))) is no longer rewritten to calc(var(--a) - var(--b) + var(--c))
  • do not flip every sign of a parenthesized sum that starts with a negative term: calc((var(--b) - 7 - 2)) is now calc(-9 + var(--b)) instead of calc(-1 * (9 - var(--b))), which changed the value when --b expands to several tokens

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

Changelog

Sourced from postcss-calc's changelog.

11.2.3 (2026-10-10)

Bug fixes

  • postcss-calc now emits -0 in some cases where it previously emitted calc(-1 * 0), in order to obtain some output size savings when a negative 0 appears

11.2.2 (2026-10-1)

Bug fixes

  • transform a division or unit conversion only when the result is exact at the configured precision. For example, keep calc(100% / 3) as calc(100% / 3) instead of transforming to calc(33.33333%), and no longer convert calc(1cm + 1px) to an approximate 1.02646cm. Use precision: false to transform every division.
  • keep precision significant digits for values below 1, so calc(1px / 150000) is no longer rounded to .00001px
  • preserve the original unit in min(), max() and clamp()
  • keep the order of factors around var(), env(), attr() and other substitution functions. Factors are no longer reordered or cancelled: do not rewrite var(--a) * 2 to 2 * var(--a), do not cancel var(--a) / var(--a) and keep parentheses (1px - (2 * var(--a))). Treat unrecognised functions such as anchor-size() the same way, so 2 * anchor-size(width) * .5 is no longer folded
  • keep the parentheses of a nested calc() that contains unresolved values, so calc(var(--a) - calc(var(--b) - var(--c))) is no longer rewritten to calc(var(--a) - var(--b) + var(--c))
  • do not flip every sign of a parenthesized sum that starts with a negative term: calc((var(--b) - 7 - 2)) now becomes calc(-9 + var(--b)) instead of calc(-1 * (9 - var(--b))), because this last transformation changes the value when --b expands to several tokens
Commits
  • 9c0f059 Publish 11.2.3
  • 57c4aa7 refactor: replace closure with plain loop
  • 2aac1f5 test: refactor scripts
  • b54ac65 chore: add more lint rules
  • ff0ba13 test: reduce duplicated code and split large test files
  • ca3d479 docs: improve README
  • 94847b4 fix: improve negative zero serialization
  • 7eefefc chore: update postcss
  • eb7c9fb chore: update linters
  • e8ce5a6 chore: update pnpm to 12.10.1
  • Additional commits viewable in compare view

@dependabot dependabot Bot added the auto-merge Ready to automatically merge after being open for 48 hours label Nov 1, 2026
@vercel

vercel Bot commented Nov 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 Nov 1, 2026 5:56pm UTC

Request Review

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Nov 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 17:17
@dependabot dependabot Bot added github_actions:pull-request Trigger Pull Request Checks javascript Pull requests that update javascript code labels Nov 1, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner November 1, 2026 17:17
@github-actions github-actions Bot removed the github_actions:pull-request Trigger Pull Request Checks label Nov 1, 2026
@codecov

codecov Bot commented Nov 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.86%. Comparing base (9956cdb) to head (60fd54e).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9276      +/-   ##
==========================================
- Coverage   86.97%   86.86%   -0.12%     
==========================================
  Files          88       88              
  Lines        6356     6356              
  Branches      386      387       +1     
==========================================
- Hits         5528     5521       -7     
- Misses        824      831       +7     
  Partials        4        4              

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

@ovflowd ovflowd added the fast-track Fast Tracking PRs label Nov 1, 2026
@ovflowd
ovflowd enabled auto-merge November 1, 2026 17:24
@ovflowd
ovflowd added this pull request to the merge queue Nov 1, 2026
@github-actions

github-actions Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

📦 Build Size Comparison

Summary

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

@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 1, 2026
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/postcss-calc-11.2.3 branch from c47765b to 41dcbe2 Compare November 1, 2026 17:39
@ovflowd
ovflowd enabled auto-merge November 1, 2026 17:40
@ovflowd
ovflowd added this pull request to the merge queue Nov 1, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Nov 1, 2026
@ovflowd
ovflowd enabled auto-merge November 1, 2026 17:54
Bumps [postcss-calc](https://github.com/postcss/postcss-calc) from 11.2.1 to 11.2.3.
- [Release notes](https://github.com/postcss/postcss-calc/releases)
- [Changelog](https://github.com/postcss/postcss-calc/blob/master/CHANGELOG.md)
- [Commits](postcss/postcss-calc@v11.2.1...v11.2.3)

---
updated-dependencies:
- dependency-name: postcss-calc
  dependency-version: 11.2.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/postcss-calc-11.2.3 branch from 41dcbe2 to 60fd54e Compare November 1, 2026 17:55
@ovflowd
ovflowd added this pull request to the merge queue Nov 1, 2026
Merged via the queue into main with commit 1bc3ed6 Nov 1, 2026
18 of 21 checks passed
@ovflowd
ovflowd deleted the dependabot/npm_and_yarn/postcss-calc-11.2.3 branch November 1, 2026 18:09

This branch was successfully deployed

1 active deployment
Preview — 60fd54ee Deployed Nov 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 fast-track Fast Tracking PRs javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant