Releases: csstree/validator
Releases · csstree/validator
4.0.1
4.0.0
3.0.0 – ESM support, custom reporters for CLI
- Added custom reporters support in CLI, e.g.
csstree-validator --reporter path/to/reporter.js
orcsstree-validator --reporter reporter-package
- Added
Symbol.iterator
forvalidateString()
,validateDictionary()
,validateFile()
,validatePathList()
andvalidatePath()
result value, i.e. it now can be used withfor ... of
for examplefor (const [filename, errors] of result) ...
- Bumped
csstree
to 2.0 - Package
- Changed supported versions of Node.js to
^12.20.0
,^14.13.0
and>=15.0.0
- Converted to ES modules. However, CommonJS is supported as well (dual module)
- Added bundle
dist/csstree-validator.esm.js
as ES module
- Changed supported versions of Node.js to
2.0.1
2.0.0
- Droped support for Nodejs < 8
- Bumped
csstree
to 1.1.1 - CLI exits with code
1
and outputs messages tostderr
when errors (#12) - Added built version for browsers:
dist/csstree-validator.js
(#11) - Added at-rule validation for name, prelude and descriptor
- Added
validateAtrule
,validateAtrulePrelude
,validateAtruleDescriptor
,validateRule
andvalidateDeclaration
methods
1.6.0
1.5.1
- Updated
csstree
to 1.0.0-alpha.34
1.5.0
- Updated
csstree
to 1.0.0-alpha.32
1.4.0
- Updated
csstree
to 1.0.0-alpha.29