posthtml-ast-is-empty
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -7,3 +7,3 @@ # Change Log | ||
## 2.0.0 - 2016-12-25 | ||
## [2.0.0] - 2016-12-25 | ||
### Changed | ||
@@ -10,0 +10,0 @@ - Slight API change. Now, when a strange thing (function, null, undefined) is encountered anywhere in the input, including somewhere nested deeply within array/object tree, **library doesn't throw** anymore, but returns **null**. This is to make it more developer-friendly. Null will be completely acceptable value in the IF statements and you can freely use this library on those strange cases. |
{ | ||
"name": "posthtml-ast-is-empty", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"description": "Find out, is nested array/object/string tree is empty", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
13062