1.9 KiB
1.9 KiB
Changelog
Version 0.12.1
- Runtime check for input of
parse
andparse1
to be a string.
Version 0.12.0
-
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:
- parsed strings (attribute values) retained escape sequences previously, now they are unescaped;
- strings with
"
character were serialized as single-quoted previously, now all strings serialized as double-quoted, per spec suggestion.
Version 0.11.0
- Targeting Node.js version 14 and ES2020;
- Now should be discoverable with denoify.
Version 0.10.0
- Bump dependencies - fix "./core module cannot be found" issue.
Version 0.9.1
- Fix namespace parsing;
- Remove terser, use only
rollup-plugin-cleanup
to condition published files.
Version 0.9.0
- Replaced
moo
andnearley
with my leac and peberminta packages. Nowparseley
with all dependencies are TypeScript, dual CommonJS/ES module packages; - Package is marked as free of side effects and tersed;
- Deno version is provided, with the help of
denoify
.
Version 0.8.0
- Drop Node.js version 10 support. 12.22.x is required;
- Fix typos in type definitions.
Version 0.7.0
- Switched to TypeScript;
- Added type definitions for AST;
- Hybrid package (ESM, CommonJS);
- Renamed
sort()
tonormalize()
in order to better reflect what it does; - Replaced
compareArrays()
withcompareSpecificity()
andcompareSelectors()
- more sensible API; - Generated documentation.
Version 0.6.0
Added sort()
and compareArrays()
functions.
Version 0.5.0
Initial release.
Aiming at Node.js version 10 and up.