Update dependency postcss to v8.4.31 [SECURITY]#961
Merged
Conversation
45d06e5 to
cebc14d
Compare
cebc14d to
fe02fba
Compare
57a9243 to
bd0c8ce
Compare
bd0c8ce to
c10b249
Compare
9877420 to
6d31bb6
Compare
6d31bb6 to
82af290
Compare
82af290 to
899e1fa
Compare
899e1fa to
9c50d79
Compare
9f98f09 to
e80cdea
Compare
db15466 to
920ffd8
Compare
920ffd8 to
998df5f
Compare
3db32db to
b957398
Compare
b957398 to
0a2ad3f
Compare
0a2ad3f to
87a6fc1
Compare
87a6fc1 to
d3fe03d
Compare
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
nirajsanghvi
pushed a commit
to nirajsanghvi/casper_niraj
that referenced
this pull request
Mar 14, 2026
#2) * Updated date formatting ref DES-937 - updated the format to DD MMM YYYY which is the preferred format in Ghost * v5.8.1 * 2025 Co-authored-by: Hannah Wolfe github.erisds@gmail.com * Added support for additional social links (TryGhost#991) ref https://linear.app/ghost/issue/PLG-413/add-helpers-to-official-themes * Added support for all of the new social links in Ghost * Added icon classes to social icons so that we can display an icon for each link * Switched to using the new social_url helper for all social links as it is cleaner * Replaced Twitter with X logo so it's up to date * Update dependency gscan to v4.48.0 (TryGhost#980) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Updated `caniuse-lite` browser list (#22907) (TryGhost#992) - Running the yarn test command was logging a bunch of warnings because our browser list hadn't been updated in 6 months ``` Browserslist: browsers data (caniuse-lite) is 6 months old. Please run: npx update-browserslist-db@latest Why you should do it regularly: https://github.com/browserslist/update-db#readme ``` - This commit fixes the warnings by updating the browsers list by running `npx update-browserslist-db@latest` in the root of the repo, and committing the result. * Revert "Updated `caniuse-lite` browser list (#22907) (TryGhost#992)" - This reverts commit e151531. - This change results in further changes when running gulp build that will need verifying separately * v5.9.0 * Update dependency gscan to v4.49.1 * Fixed line height issue for sub and sup elements * Update dependency gscan to v5 (TryGhost#999) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency postcss to v8.4.31 [SECURITY] (TryGhost#961) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update CSS preprocessors (TryGhost#885) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency inquirer to v8.2.7 (TryGhost#905) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency pump to v3.0.3 (TryGhost#983) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency gulp to v5 (TryGhost#977) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update CSS preprocessors (TryGhost#932) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency gulp-postcss to v10 (TryGhost#973) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency gulp-zip to v6 (TryGhost#964) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency inquirer to v13 (TryGhost#1008) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Lock file maintenance (TryGhost#814) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency inquirer to v13.2.0 (TryGhost#1012) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Lock file maintenance (TryGhost#1013) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Lock file maintenance (TryGhost#1014) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * 2026 Co-authored-by: Hannah Wolfe <github.erisds@gmail.com> * Update dependency gscan to v5.2.4 (TryGhost#1015) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency inquirer to v13.2.1 (TryGhost#1016) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency inquirer to v13.2.2 (TryGhost#1017) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update dependency autoprefixer to v10.4.24 (TryGhost#1019) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Lock file maintenance (TryGhost#1020) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> * Update README.md * Add translations section to README (TryGhost#1026) Added section on translations and contribution guidelines. * Update translation contribution guidelines (TryGhost#1027) Fixed error (wrong repo name - removed) * 🌐 Enable theme translations for Casper (TryGhost#1028) ref #23361 * add locale files (TryGhost#1030) * Updated gulpfile and dependencies for building i18n files (TryGhost#1029) ref TryGhost@63162e8 The above commit pushed the locales slightly ahead of this. Running the gulp file generates the locale files. * Update theme asset builds (TryGhost#1031) * update asset builds * Ship v5.10.0 - now with translations enabled! (TryGhost#1032) * fix Casper's postship (TryGhost#1033) * Initial plan --------- Co-authored-by: Sodbileg Gansukh <sodbileg.gansukh@gmail.com> Co-authored-by: John O'Nolan <john@onolan.org> Co-authored-by: Sanne de Vries <65487235+sanne-san@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hannah Wolfe <github.erisds@gmail.com> Co-authored-by: Cathy Sarisky <42299862+cathysarisky@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
8.2.13→8.4.31GitHub Vulnerability Alerts
CVE-2021-23368
The npm package
postcssfrom 7.0.0 and before versions 7.0.36 and 8.2.10 is vulnerable to Regular Expression Denial of Service (ReDoS) during source map parsing.CVE-2021-23382
The package postcss versions before 7.0.36 or between 8.0.0 and 8.2.13 are vulnerable to Regular Expression Denial of Service (ReDoS) via getAnnotationURL() and loadAnnotation() in lib/previous-map.js. The vulnerable regexes are caused mainly by the sub-pattern
PoC
CVE-2023-44270
An issue was discovered in PostCSS before 8.4.31. It affects linters using PostCSS to parse external Cascading Style Sheets (CSS). There may be
\rdiscrepancies, as demonstrated by@font-face{ font:(\r/*);}in a rule.This vulnerability affects linters using PostCSS to parse external untrusted CSS. An attacker can prepare CSS in such a way that it will contains parts parsed by PostCSS as a CSS comment. After processing by PostCSS, it will be included in the PostCSS output in CSS nodes (rules, properties) despite being originally included in a comment.
Release Notes
postcss/postcss (postcss)
v8.4.31Compare Source
\rparsing to fix CVE-2023-44270.v8.4.30Compare Source
v8.4.29Compare Source
Node#source.offset(by Ido Rosenthal).v8.4.28Compare Source
Root.source.endfor better source map (by Romain Menke).Result.roottypes whenprocess()has no parser.v8.4.27Compare Source
Containerclone methods types.v8.4.26Compare Source
v8.4.25Compare Source
v8.4.24Compare Source
Plugintypes.v8.4.23Compare Source
v8.4.22Compare Source
node16(by Remco Haszing).v8.4.21Compare Source
Input#errortypes (by Aleks Hudochenkov).v8.4.20Compare Source
@layer.v8.4.19Compare Source
v8.4.18Compare Source
absolute: truewith emptysourceContent(by Rene Haas).v8.4.17Compare Source
Node.before()unexpected behavior (by Romain Menke).v8.4.16Compare Source
RootAST migration.v8.4.15Compare Source
v8.4.14Compare Source
v8.4.13Compare Source
append()error after using.parent(by Jordan Pittman).v8.4.12Compare Source
package.fundingto have same value between all PostCSS packages.v8.4.11Compare Source
Declaration#raws.valuetype.v8.4.10Compare Source
package.fundingURL format.v8.4.9Compare Source
package.funding(by Álvaro Mondéjar).v8.4.8Compare Source
v8.4.7Compare Source
Node#warn()type (by Masafumi Koba).,.v8.4.6Compare Source
.rootaccess for plugin-less case.v8.4.5Compare Source
rawstypes to make object extendable (by James Garbutt).v8.4.4Compare Source
source.offset(by @romainmenke).v8.4.3Compare Source
CssSyntaxErrortypes (by @romainmenke).v8.4.2Compare Source
Node#source.offset(by Ido Rosenthal).v8.4.1Compare Source
v8.4.0: 8.4 “President Camio”Compare Source
PostCSS 8.4 brought ranges for warnings and errors, smaller
node_modulessize, lazy parsing to avoidPostCSS does nothingwarning, and TypeScript fixes.Thanks to Sponsors
This release was possible thanks to our community.
If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:
Rages for Errors and Warnings
@adalinesimonian, the author of amazing Stylelint extension for VS Code, added ranges to errors and warnings.
It will improve DX in the IDE extension.
Lazy Parsing
Previously, we found that many tools run PostCSS even if the developer didn’t pass any PostCSS plugins. Parsing is the most expensive step in CSS processing. It led to a waste of resources without any reason.
We tried to resolve the problem by adding a
PostCSS does nothingwarning. But it didn’t force tool authors to be more careful with user’s resources.If PostCSS sees that tool call it without passing plugins (or changing parser/stringifier), PostCSS will not parse CSS (until toll will call
Result#root). In 8.4, @bogdan0083 (with the help of @WilhelmYakunin) tries to solve the problem in another way. It allows us to save resources and remove thePostCSS does nothingwarning.Install Size Reduction
With ≈60M weekly downloads, PostCSS has responsibility for the world’s resource spending.
Together with @7rulnik we reduced
source-map-jssize. It is transitive dependency of PostCSS.In 8.4, we moved to a fixed version of
source-map-js, which reduced thepostcsssize in yournode_modulesfrom ≈1 MB to 0.3 MB. With the huge popularity of PostCSS, it will free a lot of resources on our CIs.Migration from Jest to
uvu@kimoofey refactored all tests from the popular Jest framework to small and fast
uvu.It will not affect end-users. However, it reduced our
node_modulessize by 33 MB and made tests twice faster (yarn install & yarn unit: 24 → 13 seconds).TypeScript Fixes
Processortypes.Stringifiertypes (by @43081j).RootandDocumentin result values (by @43081j).Node#walkRules()types (by @hudochenkov).Other Changes
v8.3.11Compare Source
v8.3.10Compare Source
Maximum call stackissue of some source maps (by Yeting Li).v8.3.9Compare Source
nanocolorstopicocolors.v8.3.8Compare Source
nanocolors.v8.3.7Compare Source
colorettetonanocolors.package.json(by Christian Oliff).v8.3.6Compare Source
missed semicolonerror (by @Gusted).v8.3.5Compare Source
v8.3.4Compare Source
v8.3.3Compare Source
postcssdependency duplication in custom parsers.v8.3.2Compare Source
v8.3.1Compare Source
v8.3.0: 8.3 “Duke Murmur”Compare Source
PostCSS 8.3 improved source map parsing performance, added
Node#assign()shortcut, and experimentalDocumentnode to AST.Thanks to Sponsors
This release was possible thanks to our community.
If your company wants to support the sustainability of front-end infrastructure or wants to give some love to PostCSS, you can join our supporters by:
Source Map Performance
Because PostCSS needs synchronous API, we can’t move from the old `source-map 0.6 to 0.7 (many other open-source projects too).
@7rulnik forked
source-map0.6 tosource-map-jsand back-ported performance improvements from 0.7. In 8.3 we switched fromsource-mapto thissource-map-jsfork.You map see 4x performance improvements in parsing map from processing step before PostCSS (for instance, Sass).
DocumentNodesThanks to @gucong3000, PostCSS already parse CSS from HTML and JS files (CSS-in-JS templates and objects).
But his plugin need big updates. @hudochenkov from stylelint team decided to create new parsers for styles inside CSS-in-JS, HTML, and Markdown.
He suggested adding new
Documentnode type to PostCSS AST to keep multipleRootnodes inside and JS/HTML/Markdown code blocks between these style blocks.This is an experimental feature. Some aspects of this node could change within minor or patch version releases.
Node#assign()ShortcutThe creator of famous
postcss-preset-envand many other PostCSS tools, @jonathantneal suggested a nice shortcut to change multiple properties in the node:v8.2.15Compare Source
listtype definitions (by @n19htz).v8.2.14Compare Source
source-mapfrom client-side bundle (by Barak Igal).Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.