Skip to content

Commit

Permalink
1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Aug 28, 2017
1 parent 1a48907 commit a1343e0
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
## 1.1.0 (August 28, 2017)

- Updated csstree to [1.0.0-alpha20](https://github.com/csstree/csstree/releases/tag/v1.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()` and `validatePathList()` to handle possible file system exceptions (such errors will be stored as regular errors)
- Added second argument for `validatePath()` and `validatePathList()` 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

## 1.0.8 (January 19, 2017)

- Added `loc` to mismatch errors when possible
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "csstree-validator",
"version": "1.0.8",
"version": "1.1.0",
"description": "CSS validator build on csstree",
"keywords": [
"css",
Expand Down

0 comments on commit a1343e0

Please sign in to comment.