postcss-value-parser
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -62,11 +62,14 @@ 'use strict'; | ||
case slash: | ||
if(last.type === 'space') { | ||
last = tokens.pop(); | ||
if (last) { | ||
if (last.type === 'space') { | ||
last = tokens.pop(); | ||
} | ||
tokens.push({ | ||
type: 'div', | ||
value: String.fromCharCode(code), | ||
before: last.type === 'space' ? last.value : '', | ||
after: '' | ||
}); | ||
} | ||
tokens.push({ | ||
type: 'div', | ||
value: String.fromCharCode(code), | ||
before: last.type === 'space' ? last.value : '', | ||
after: '' | ||
}); | ||
break; | ||
@@ -73,0 +76,0 @@ |
@@ -0,0 +0,0 @@ var minus = '-'.charCodeAt(0); |
{ | ||
"name": "postcss-value-parser", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Transforms css values into the tree", | ||
@@ -5,0 +5,0 @@ "main": "lib/parser.js", |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
13007
282
1