From a1343e05f2fc3e773523cbca9748a231c9fb24f5 Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Mon, 28 Aug 2017 20:07:12 +0300 Subject: [PATCH] 1.1.0 --- HISTORY.md | 9 +++++++++ package.json | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index 0378815..10238df 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -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 diff --git a/package.json b/package.json index 3396f7d..6997f0e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "csstree-validator", - "version": "1.0.8", + "version": "1.1.0", "description": "CSS validator build on csstree", "keywords": [ "css",