Releases: csstree/validator
Releases · csstree/validator
1.3.0
1.2.1
1.2.0
- Updated csstree to 1.0.0-alpha21
- Use tolerant mode to parse a CSS. Since now a aingle parse error doesn't prevent from validation of a whole CSS.
1.1.0
- Updated csstree to 1.0.0-alpha20
- Changed validate function to always contain a list of errors (no single error on parse error)
- Added
validateDictionary()
that validate a dictionary, where key is a filename and value is a CSS as string - Changed
validateFile()
,validatePath()
andvalidatePathList()
to handle possible file system exceptions (such errors will be stored as regular errors) - Added second argument for
validatePath()
andvalidatePathList()
to rule which file should be validated. Functions validate files with.css
extension only, when second parameter is not passed. - Fixed minor issues in reporters output