Created by: dependabot[bot]
Bumps postcss from 8.2.15 to 8.3.0.
Release notes
Sourced from postcss's releases.
8.3 “Duke Murmur”
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:
- Tidelift with a Spotify-like subscription model supporting all projects from your lock file.
- Direct donations in PostCSS & Autoprefixer Open Collective.
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).
@7rulnikforkedsource-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.
@hudochenkovfrom 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.const document = htmlParser( '<html><style>a{color:black}</style><style>b{z-index:2}</style>' ) document.type //=> 'document' document.nodes.length //=> 2 document.nodes[0].type //=> 'root'This is an experimental feature. Some aspects of this node could change within minor or patch version releases.
Node#assign()Shortcut
... (truncated)
Changelog
Sourced from postcss's changelog.
Change Log
This project adheres to Semantic Versioning.
8.3 “Duke Murmur”
- Added
Node#assign()shortcut (by Jonathan Neal).- Added experimental
Documentnode to AST (by Aleks Hudochenkov).- Moved to faster fork of
source-map(by Valentin Semirulnik).
Commits
-
3b86dcbRelease 8.3 version -
c0fc32dUpdate dependencies -
7b3c872Use codeBefore instead of markupBefore -
e09414aMerge pull request #1582 from hudochenkov/add-document-node-1498 -
8af26abUpdate documentation -
3eb068bFix Parser type -
54e2e52Test custom parser -
49eec3aRemove Root.raws.before -
50e07d1RemoveNode#document() -
69c5d81Remove unneeded parent type - Additional commits viewable in compare view
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)