Back to Explore

postcss/postcss-nested

GitHub
2 watchersOpen source

Last release:

PostCSS Nested is a PostCSS plugin that unwraps nested CSS rules to match Sass-like syntax. It helps transform nested selectors into flattened CSS, including support for options like bubbling certain at-rules (such as @media) and unwrapping specific at-rules.

Project status

  • Active maintenance: The repo shows an upstream push on 2026-04-21, but the most recent published updates in the provided history are from 2024-11-01 (7.0.2), suggesting ongoing work but a long period without new published updates.
  • Apparent update cadence: Updates were clustered in Oct to Nov 2024 (7.0.0, 7.0.1, 7.0.2) after a previous update in Jul 2024 (6.2.0), then no further version updates appear in the provided data through 2026-06-09.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • 7.0.2

    Release 7.0.2 only claims one change: fixing a nested selector regression. The code diff shows the fix is implemented by refactoring the internal selector/comment “break out” logic and adding new test coverage around attached comments.

  • 7.0.1

    Release 7.0.1 claims to fix a RegExp-related issue involving nested comments. The code change in index.js adjusts the comment unwrapping logic used during selector/comment relocation, and it adds test coverage for comments containing RegExp-special characters.

  • 7.0.0

    postcss-nested 7.0.0 updates the plugin logic around moving comments when unwrapping nested rules, making the decision process more selective. It also raises the minimum supported Node.js version and modernizes the project tooling and CI.

    Breaking
  • 6.2.0

    Release 6.2.0 adds support for the CSS `@starting-style` feature specifically in bubbling at-rules. This extends how the tool handles newer CSS behavior related to transitions and initial styling.

    Features