postcss
Advanced tools
Comparing version 8.3.5 to 8.3.6
@@ -555,3 +555,9 @@ 'use strict' | ||
} | ||
throw this.input.error('Missed semicolon', token[2]) | ||
// If the token is a word, e.g. `!important`, `red` or any other valid property's value. | ||
// Then we need to return the colon after that word token. [3] is the "end" colon of that word. | ||
// And because we need it after that one we do +1 to get the next one. | ||
throw this.input.error( | ||
'Missed semicolon', | ||
token[0] === 'word' ? token[3] + 1 : token[2] | ||
) | ||
} | ||
@@ -558,0 +564,0 @@ } |
@@ -9,3 +9,3 @@ 'use strict' | ||
constructor(plugins = []) { | ||
this.version = '8.3.5' | ||
this.version = '8.3.6' | ||
this.plugins = this.normalize(plugins) | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "postcss", | ||
"version": "8.3.5", | ||
"version": "8.3.6", | ||
"description": "Tool for transforming styles with JS plugins", | ||
@@ -5,0 +5,0 @@ "engines": { |
189125
6040