Skip to content

Bump postcss-sort-media-queries from 5.2.0 to 6.3.3#4395

Merged
pull-merger[bot] merged 1 commit intomasterfrom
dependabot/npm_and_yarn/postcss-sort-media-queries-6.3.3
Mar 30, 2026
Merged

Bump postcss-sort-media-queries from 5.2.0 to 6.3.3#4395
pull-merger[bot] merged 1 commit intomasterfrom
dependabot/npm_and_yarn/postcss-sort-media-queries-6.3.3

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

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

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

Release notes

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

v6.3.3

Update dependencies:

  1. @​vitest/coverage-v8 4.0.18 to 4.1.0
  2. esbuild 0.27.3 to 0.27.4
  3. eslint 10.0.3 to 10.1.0
  4. vitest 4.0.18 to 4.1.0
  5. sort-css-media-queries from 3.0.1 to 3.0.3

v6.3.2

Full Changelog: yunusga/postcss-sort-media-queries@v6.2.2...v6.3.2

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.

[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 dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Mar 30, 2026
Bumps [postcss-sort-media-queries](https://github.com/yunusga/postcss-sort-media-queries) from 5.2.0 to 6.3.3.
- [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.3.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/postcss-sort-media-queries-6.3.3 branch from c328cca to e15ad2f Compare March 30, 2026 19:55
@pull-merger pull-merger bot merged commit 5a215ab into master Mar 30, 2026
4 checks passed
@pull-merger pull-merger bot deleted the dependabot/npm_and_yarn/postcss-sort-media-queries-6.3.3 branch March 30, 2026 19:59
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.

1 participant