postcss
Advanced tools
Comparing version 4.1.15 to 4.1.16
@@ -0,1 +1,4 @@ | ||
## 4.1.16 | ||
* Fix errors without stack trace. | ||
## 4.1.15 | ||
@@ -2,0 +5,0 @@ * Allow asynchronous plugins to change processor plugins list (by Ben Briggs). |
@@ -363,3 +363,3 @@ 'use strict'; | ||
if (typeof nodes.value === 'undefined') { | ||
throw 'value field is missed in node creation'; | ||
throw new Error('Value field is missed in node creation'); | ||
} | ||
@@ -376,3 +376,3 @@ nodes = [new _declaration2['default'](nodes)]; | ||
} else { | ||
throw 'Unknown node type in node creation'; | ||
throw new Error('Unknown node type in node creation'); | ||
} | ||
@@ -379,0 +379,0 @@ } |
@@ -164,3 +164,3 @@ 'use strict'; | ||
if (this.processing) { | ||
throw 'Use process(css).then(cb) to work with async plugins'; | ||
throw new Error('Use process(css).then(cb) to work with async plugins'); | ||
} | ||
@@ -186,3 +186,3 @@ | ||
if (isPromise(promise)) { | ||
throw 'Use process(css).then(cb) to work with async plugins'; | ||
throw new Error('Use process(css).then(cb) to work with async plugins'); | ||
} | ||
@@ -189,0 +189,0 @@ } |
{ | ||
"name": "postcss", | ||
"version": "4.1.15", | ||
"version": "4.1.16", | ||
"description": "Tool for transforming CSS with JS plugins", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
137389