🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

postcss-values-parser

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-values-parser - npm Package Compare versions

Comparing version

to
1.2.2

6

.github/ISSUE_TEMPLATE.md
<!--
Please note: This template is not optional. Please fill in all fields and
questions otherwise the issue may be closed. Please provide actual technical
information about errors, if an error has occured.
Please note: This template is *not* optional. Please fill in all fields and
questions, otherwise *the issue may be closed*. Please provide actual technical
information about errors, if an error has occurred.
-->

@@ -6,0 +6,0 @@

@@ -0,1 +1,4 @@

<!-- This template is *not* optional. If you remove this template or choose
not to complete it, your PR may be closed without review -->
**Which issue #** if any, does this resolve?

@@ -2,0 +5,0 @@

@@ -32,2 +32,4 @@ 'use strict';

// cache needs to be an array for values with more than 1 level of function nesting
this.cache = [];
this.input = input;

@@ -270,3 +272,2 @@ this.options = Object.assign({}, defaults, options);

last.unbalanced = 0; // ok we're ready to add parens now
this.cache = this.current;
this.current = last;

@@ -350,3 +351,3 @@ }

if (this.position >= this.tokens.length - 1) {
if (this.position >= this.tokens.length - 1 && !this.current.unbalanced) {
return;

@@ -361,5 +362,4 @@ }

if (!this.current.unbalanced && this.cache) {
this.current = this.cache;
this.cache = null;
if (!this.current.unbalanced && this.cache.length) {
this.current = this.cache.pop();
}

@@ -459,2 +459,5 @@ }

}
else {
this.cache.push(this.current);
}
}

@@ -461,0 +464,0 @@

{
"name": "postcss-values-parser",
"version": "1.2.1",
"version": "1.2.2",
"description": "A CSS property value parser for use with PostCSS",

@@ -5,0 +5,0 @@ "main": "lib/index.js",