Skip to content

build(deps): bump postcss-sort-media-queries from 5.2.0 to 6.3.2#1698

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/master/postcss-sort-media-queries-6.3.2
Open

build(deps): bump postcss-sort-media-queries from 5.2.0 to 6.3.2#1698
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/npm_and_yarn/master/postcss-sort-media-queries-6.3.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 16, 2026

Bumps postcss-sort-media-queries from 5.2.0 to 6.3.2.

Release notes

Sourced from postcss-sort-media-queries's releases.

6.2.2

Fixed

Nodes are silently dropped when merging duplicate media queries

When multiple @​media rules share the same query params, the plugin merges them into a single rule. In v6, this merge iterates atRule.nodes with forEach while simultaneously calling append() on each node which moves the node out of atRule.nodes, shrinking the live array mid-iteration.

The result is that every other node is skipped and silently dropped from the output. For a media query with 4 rules, only 2 survive.

Wrong sorting of nested media queries and rules inside

Incorrect sorting of nested media queries and incorrect handling of rules that move media queries to the end of their parent.

Meta

Add thanks section + DX for tests

v6.0.0 nested queries and ESM support

Closes: #36, #56

Added support for nested media queries and ESM

Changelog

Sourced from postcss-sort-media-queries's changelog.

[6.3.2] 2026-03-13

  • Add nested media queries support
  • Remove onlyTopLevel (no problem with nested queries)
  • Add ESM and CJS support without breaking changes
Commits
Install script changes

This version adds prepare script that runs during installation. Review the package contents before updating.


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-sort-media-queries](https://github.com/yunusga/postcss-sort-media-queries) from 5.2.0 to 6.3.2.
- [Release notes](https://github.com/yunusga/postcss-sort-media-queries/releases)
- [Changelog](https://github.com/yunusga/postcss-sort-media-queries/blob/main/CHANGELOG.md)
- [Commits](https://github.com/yunusga/postcss-sort-media-queries/commits)

---
updated-dependencies:
- dependency-name: postcss-sort-media-queries
  dependency-version: 6.3.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Mar 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

0 participants