parse
and parse1
to be a string.Support for escape sequences according to specifications (#97).
Now follows https://www.w3.org/TR/selectors-3/#lex for parsing and https://w3c.github.io/csswg-drafts/cssom/#common-serializing-idioms for serializing.
Possibly breaking changes:
"
character were serialized as single-quoted previously, now all strings serialized as double-quoted, per spec suggestion.rollup-plugin-cleanup
to condition published files.moo
and nearley
with my leac and peberminta packages. Now parseley
with all dependencies are TypeScript, dual CommonJS/ES module packages;denoify
.sort()
to normalize()
in order to better reflect what it does;compareArrays()
with compareSpecificity()
and compareSelectors()
- more sensible API;Added sort()
and compareArrays()
functions.
Initial release.
Aiming at Node.js version 10 and up.