Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: postcss/postcss
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8.5.30
Choose a base ref
...
head repository: postcss/postcss
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 8.5.31
Choose a head ref
  • 3 commits
  • 7 files changed
  • 2 contributors

Commits on Oct 18, 2026

  1. Call the builder with every node when the output is escaped (#2175)

    * Call the builder with every node when the output is escaped
    
    Since 8.5.29 the stringifier of ours buffers the output from the first `<` on and, where it escaped anything, hands the builder all of it as a single piece — of the root's own, marked with `start` since 8.5.30. A builder is documented to be called with every node's string and node instance, and ours is how a custom syntax gets to know which part of the output belongs to which node, so the escaping took that away from every builder that is given a stylesheet holding `<style`, `</style` or `<!--`.
    
    The escaping is what the buffer is for, so the text cannot be escaped piece by piece. It can be cut back into the pieces it was built from: escaping only ever replaces a `<` with the three characters longer `\3c `, so the escaped text holds every part in the order the chunks were buffered in, each around its own nodes. Doing that restores the builder calls, and the source map of the escaping stays as precise as it is now, since each piece is mapped where its node stands rather than the whole output standing at the root.
    
    * fixup! Call the builder with every node when the output is escaped
    firefoxic authored Oct 18, 2026
    Configuration menu
    Copy the full SHA
    6abd674 View commit details
    Browse the repository at this point in the history
  2. Update dependencies

    ai committed Oct 18, 2026
    Configuration menu
    Copy the full SHA
    4ef6d8c View commit details
    Browse the repository at this point in the history
  3. Release 8.5.31 version

    ai committed Oct 18, 2026
    Configuration menu
    Copy the full SHA
    d190857 View commit details
    Browse the repository at this point in the history
Loading