postcss-selector-parser
Advanced tools
Changelog
2.1.0
Changelog
2.0.0
This release contains the following breaking changes:
eachInside
iterators to walk
. For example, eachTag
is now
walkTags
, and eachInside
is now walk
.Node#removeSelf()
to Node#remove()
.Container#remove()
to Container#removeChild()
.Node#raw
to Node#raws
(thanks to @davidtheclark).&
as the nesting selector, rather than a tag selector.#{foo}
) as an
id selector (thanks to @davidtheclark).and;
[data-attr="foo=bar"]
) (thanks to @montmanu).quoted
and raw.unquoted
properties to attribute nodes
(thanks to @davidtheclark).Changelog
1.3.3
)
and ]
tokens when they had no opening pairs.
Now postcss-selector-parser will throw when it encounters these lone tokens.Changelog
1.3.0
String
, to fix a crash on selectors such as
foo:bar("test")
.Changelog
1.2.0
Node#sourceIndex
method (thanks to @davidtheclark).Changelog
1.1.4
>
combinator. The module will
now no longer throw if a selector has a leading/trailing combinator node.