Repository navigation
Comparing changes
Open a pull request
base repository: postcss/postcss
base: 8.5.30
head repository: postcss/postcss
compare: 8.5.33
- 19 commits
- 26 files changed
- 13 contributors
Commits on Oct 18, 2026
-
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
Configuration menu - View commit details
-
Copy full SHA for 6abd674 - Browse repository at this point
Copy the full SHA 6abd674View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4ef6d8c - Browse repository at this point
Copy the full SHA 4ef6d8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for d190857 - Browse repository at this point
Copy the full SHA d190857View commit details
Commits on Oct 26, 2026
-
Preserve Promise semantics in result finally() (#2176)
Delegate to Promise.finally() so cleanup callbacks do not replace results or turn processing errors into fulfilled promises. Signed-off-by: Don Yin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b3d8b8 - Browse repository at this point
Copy the full SHA 9b3d8b8View commit details -
Preserve explicit start in Warning#toString() (#2177)
Forward start to node.error() so the formatted warning agrees with its line and column. Cover same-line and multiline positions. Signed-off-by: Don Yin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 095654b - Browse repository at this point
Copy the full SHA 095654bView commit details -
Fix final-word lookup without source offsets (#2178)
Reuse the exclusive end offset already calculated by rangeBy() when searching for a word in nodes from custom syntaxes. A line/column end position is inclusive and otherwise leaves out the last character. Extend the existing missing-offset tests with a word at the node end. Signed-off-by: Don Yin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for eb28619 - Browse repository at this point
Copy the full SHA eb28619View commit details -
Fix
Input#origin()withoutfromor with relativesourceRoot(#2179) Co-authored-by: Wleeaf <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f70f586 - Browse repository at this point
Copy the full SHA f70f586View commit details -
Configuration menu - View commit details
-
Copy full SHA for e367106 - Browse repository at this point
Copy the full SHA e367106View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2455ac8 - Browse repository at this point
Copy the full SHA 2455ac8View commit details
Commits on Oct 30, 2026
-
fix: include undefined in Declaration.important getter type (#2181)
Fixes #2180 Co-authored-by: Instabox <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2faedf9 - Browse repository at this point
Copy the full SHA 2faedf9View commit details
Commits on Nov 2, 2026
-
fix: show source around long lines for errors without range (#2184)
CssSyntaxError#showSourceCode() cuts lines longer than 160 characters to a window around the error position. The window end was computed as Math.max(column + padding, endColumn + padding), but errors thrown without an end position (for example tokenizer errors like "Unclosed string" or parser errors like "Unclosed block" and "Missed semicolon") have undefined endColumn. The computation became NaN and line.slice(subLineStart, NaN) returned an empty string, so the output showed an empty error line with the caret pointing at nothing. Fall back to the error column when endColumn is missing. Signed-off-by: simpleqt <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 17e54b7 - Browse repository at this point
Copy the full SHA 17e54b7View commit details
Commits on Nov 6, 2026
-
fix: tokenize uppercase url() as a url (#2185)
Signed-off-by: Don Yin <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2ab84dd - Browse repository at this point
Copy the full SHA 2ab84ddView commit details
Commits on Nov 7, 2026
-
Fix CRLF line break cleanup before source map annotations (#2187)
* Fix CRLF cleanup before source map annotations * Test annotation cleanup with CRLF and CR line endings * Preserve CSS separators when clearing source map annotations Refactor comment removal logic to preserve line breaks. * Cover selector separators beside adjacent source map comments
Configuration menu - View commit details
-
Copy full SHA for 4740f8a - Browse repository at this point
Copy the full SHA 4740f8aView commit details
Commits on Nov 10, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 812d362 - Browse repository at this point
Copy the full SHA 812d362View commit details
Commits on Nov 12, 2026
-
docs: fix typo in plugin guidelines heading (#2196)
Co-authored-by: ninglinLiu <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 93452db - Browse repository at this point
Copy the full SHA 93452dbView commit details
Commits on Nov 13, 2026
-
fix: tokenize an unquoted url() after a comma (#2195)
* fix: tokenize an unquoted url() after a comma Commas are not word ends, so the token before the bracket in `url(a.png),url(b.png)` is `,url`. The url() check compared the whole token with `url`, never matched, and the bracket fell back to the generic branch, where the `/*` in `url(/b/*.png)` started a comment and threw "Unclosed comment" on valid CSS. Only the part of the token after the last comma is the function name. * fix: require adjacency for a url name after a comma Only the part after the last comma counts as the function name, so `foo,url(b)` keeps working as a url. When whitespace or a comment separates that name from the bracket, the name is no longer a url: `foo,url (b)` is a plain function call and must not swallow an inner closing parenthesis through the url branch. Reported by CodeRabbit on #2195.
Configuration menu - View commit details
-
Copy full SHA for ba705bc - Browse repository at this point
Copy the full SHA ba705bcView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ab74a - Browse repository at this point
Copy the full SHA 46ab74aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ffa3ee - Browse repository at this point
Copy the full SHA 0ffa3eeView commit details -
Configuration menu - View commit details
-
Copy full SHA for b6316e5 - Browse repository at this point
Copy the full SHA b6316e5View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 8.5.30...8.5.33