Changelog
5.0.4
Root#source
.\r\n
(by Mohammad Younes).Changelog
5.0.3
url()
parsing.selectors
in Rule
constructor.Root
node.Changelog
5.0.1
safe
option. Move Safe Parser to separate project.Node#toString
does not include before
for root nodes.Root
API.eachInside
, eachDecl
, eachRule
, eachAtRule
and eachComment
in favor of walk
, walkDecls
, walkRules
, walkAtRules
and walkComments
(by Jed Mao).Container#remove
and Node#removeSelf
in favor of Container#removeChild
and Node#remove
(by Ben Briggs).Node#replace
in favor of replaceWith
(by Ben Briggs).Node#raws
object.Node#style
in favor of raw
.CssSyntaxError#generated
in favor of input
.Node#cleanStyles
in favor of cleanRaws
.Root#prevMap
in favor of Root.source.input.map
.syntax
, parser
and stringifier
options for Custom Syntaxes.Node#toString
.Result#content
alias for non-CSS syntaxes.plugin.process(css)
shortcut to every plugin function (by Ben Briggs).Node#warn
shortcut (by Ben Briggs).word
and index
options to errors and warnings (by David Clark).line
, column
properties to Warning
.supports-color
library to detect color support in error output.Rule#selectors
setter detects separators.postcss.stringify
method.url()
parsing.