@projectwallace/css-parser 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -154,9 +154,7 @@ class ValueParser {
154
154
  let token_type = this.lexer.token_type;
155
155
  if (token_type === TOKEN_EOF) break;
156
156
  if (this.lexer.token_start >= this.value_end) break;
157
- if (token_type === TOKEN_LEFT_PAREN || token_type === TOKEN_FUNCTION) {
158
- paren_depth++;
159
- } else if (token_type === TOKEN_RIGHT_PAREN) {
157
+ if (token_type === TOKEN_RIGHT_PAREN) {
160
158
  paren_depth--;
161
159
  if (paren_depth === 0) {
162
160
  content_end = this.lexer.token_start;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectwallace/css-parser",
3
- "version": "0.8.2",
3
+ "version": "0.8.3",
4
4
  "description": "High-performance CSS lexer and parser, optimized for CSS inspection and analysis",
5
5
  "author": "Bart Veneman <bat@projectwallace.com>",
6
6
  "license": "MIT",