postcss-merge-longhand
Advanced tools
Comparing version 4.0.0 to 4.0.1
@@ -59,2 +59,6 @@ 'use strict'; | ||
var _canExplode = require('../canExplode'); | ||
var _canExplode2 = _interopRequireDefault(_canExplode); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -143,4 +147,3 @@ | ||
rule.walkDecls(/^border/, decl => { | ||
// Don't explode inherit values as they cannot be merged together | ||
if (decl.value === 'inherit') { | ||
if (!(0, _canExplode2.default)(decl)) { | ||
return; | ||
@@ -147,0 +150,0 @@ } |
@@ -49,2 +49,6 @@ 'use strict'; | ||
var _canExplode = require('../canExplode'); | ||
var _canExplode2 = _interopRequireDefault(_canExplode); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -76,3 +80,3 @@ | ||
rule.walkDecls(prop, decl => { | ||
if (~decl.value.indexOf('inherit')) { | ||
if (!(0, _canExplode2.default)(decl)) { | ||
return; | ||
@@ -79,0 +83,0 @@ } |
@@ -41,2 +41,6 @@ 'use strict'; | ||
var _canExplode = require('../canExplode'); | ||
var _canExplode2 = _interopRequireDefault(_canExplode); | ||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
@@ -72,2 +76,5 @@ | ||
rule.walkDecls('columns', decl => { | ||
if (!(0, _canExplode2.default)(decl)) { | ||
return; | ||
} | ||
if ((0, _stylehacks.detect)(decl)) { | ||
@@ -74,0 +81,0 @@ return; |
{ | ||
"name": "postcss-merge-longhand", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Merge longhand properties into shorthand with PostCSS.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
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
38114
29
818
0