postcss-value-parser
Advanced tools
Comparing version 1.4.2 to 2.0.0
@@ -0,0 +0,0 @@ var tokenize = require('./tokenize'); |
@@ -46,6 +46,6 @@ 'use strict'; | ||
} while (code === space || | ||
code === newline || | ||
code === tab || | ||
code === cr || | ||
code === feed); | ||
code === newline || | ||
code === tab || | ||
code === cr || | ||
code === feed); | ||
if (last && last.type === 'div') { | ||
@@ -117,25 +117,2 @@ last.after = value.slice(pos, next); | ||
case backslash: | ||
next = pos; | ||
escape = true; | ||
while (value.charCodeAt(next + 1) === backslash) { | ||
next += 1; | ||
escape = !escape; | ||
} | ||
code = value.charCodeAt(next + 1); | ||
if (escape && code !== slash && | ||
code !== space && | ||
code !== newline && | ||
code !== tab && | ||
code !== cr && | ||
code !== feed) { | ||
next += 1; | ||
} | ||
tokens.push({ | ||
type: 'word', | ||
value: value.slice(pos, next + 1) | ||
}); | ||
pos = next; | ||
break; | ||
default: | ||
@@ -151,3 +128,2 @@ next = pos; | ||
code !== doubleQuote && | ||
code !== backslash && | ||
code !== slash && | ||
@@ -154,0 +130,0 @@ code !== newline && |
@@ -0,0 +0,0 @@ module.exports = function (nodes) { |
{ | ||
"name": "postcss-value-parser", | ||
"version": "1.4.2", | ||
"version": "2.0.0", | ||
"description": "Transforms css values and at-rule params into the tree", | ||
@@ -5,0 +5,0 @@ "main": "lib/parser.js", |
@@ -0,0 +0,0 @@ [![Travis CI](https://travis-ci.org/TrySound/postcss-value-parser.svg)](https://travis-ci.org/TrySound/postcss-value-parser) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
13162
274