postcss-ordered-values
Advanced tools
Comparing version
@@ -0,1 +1,5 @@ | ||
# 2.2.1 | ||
* Now will not re-order values that contain any `var()` definitions. | ||
# 2.2.0 | ||
@@ -2,0 +6,0 @@ |
@@ -33,3 +33,3 @@ 'use strict'; | ||
border.walk(function (node) { | ||
if (node.type === 'comment') { | ||
if (node.type === 'comment' || node.type === 'function' && node.value === 'var') { | ||
abort = true; | ||
@@ -36,0 +36,0 @@ return false; |
@@ -47,3 +47,3 @@ 'use strict'; | ||
arg.forEach(function (node) { | ||
if (node.type === 'comment') { | ||
if (node.type === 'comment' || node.type === 'function' && node.value === 'var') { | ||
abort = true; | ||
@@ -50,0 +50,0 @@ return; |
@@ -29,3 +29,3 @@ 'use strict'; | ||
flexFlow.walk(function (node) { | ||
if (node.type === 'comment') { | ||
if (node.type === 'comment' || node.type === 'function' && node.value === 'var') { | ||
abort = true; | ||
@@ -32,0 +32,0 @@ return; |
@@ -50,3 +50,3 @@ 'use strict'; | ||
arg.forEach(function (node) { | ||
if (node.type === 'comment') { | ||
if (node.type === 'comment' || node.type === 'function' && node.value === 'var') { | ||
abort = true; | ||
@@ -53,0 +53,0 @@ return; |
{ | ||
"name": "postcss-ordered-values", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "Ensure values are ordered consistently in your CSS.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -50,2 +50,3 @@ # [postcss][postcss]-ordered-values [][ci] [][npm] [][deps] | ||
* `flex-flow` | ||
* `transition`, `-webkit-transition` | ||
@@ -52,0 +53,0 @@ ## Usage |
16862
1.97%70
1.45%