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 experimentalDocument
node 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).
@7rulnik
forkedsource-map
0.6 tosource-map-js
and back-ported performance improvements from 0.7. In 8.3 we switched fromsource-map
to thissource-map-js
fork.You map see 4x performance improvements in parsing map from processing step before PostCSS (for instance, Sass).
Document
NodesThanks 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
Document
node type to PostCSS AST to keep multipleRoot
nodes 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
Document
node to AST (by Aleks Hudochenkov).- Moved to faster fork of
source-map
(by Valentin Semirulnik).
Commits
-
3b86dcb
Release 8.3 version -
c0fc32d
Update dependencies -
7b3c872
Use codeBefore instead of markupBefore -
e09414a
Merge pull request #1582 from hudochenkov/add-document-node-1498 -
8af26ab
Update documentation -
3eb068b
Fix Parser type -
54e2e52
Test custom parser -
49eec3a
Remove Root.raws.before -
50e07d1
RemoveNode#document()
-
69c5d81
Remove 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 rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major version
will 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 version
will 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 dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)