Skip to content

build(deps): bump postcss-sort-media-queries from 5.2.0 to 6.2.2#1695

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

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

Conversation

@dependabot
Copy link
Contributor

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

Bumps postcss-sort-media-queries from 5.2.0 to 6.2.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.

Change Log

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Commits
  • bd75656 6.2.2
  • f7e7891 chore: Add/Update Thanks section
  • a7d1541 6.2.1
  • dfe12a1 chore(dx): Build CJS before testing
  • 08fc36a Merge pull request #65 from yunusga/pr64
  • 97150d4 feat: fix sorting of nested media queries
  • 249fd4a chore: Update package-lock.json
  • 0c6899e chore(refactor): Update node modules import
  • 940f18a chore: Update homepage URL in package.json
  • ef77f5d Spread atRule.nodes in forEach loop
  • Additional commits viewable in compare view
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.2.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](yunusga/postcss-sort-media-queries@v5.2.0...v6.2.2)

---
updated-dependencies:
- dependency-name: postcss-sort-media-queries
  dependency-version: 6.2.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 13, 2026
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 16, 2026

Superseded by #1698.

@dependabot dependabot bot closed this Mar 16, 2026
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/master/postcss-sort-media-queries-6.2.2 branch March 16, 2026 15:43
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