Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

postcss-merge-longhand

Package Overview
Dependencies
Maintainers
4
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-merge-longhand - npm Package Compare versions

Comparing version 4.0.0 to 4.0.1

dist/lib/canExplode.js

7

dist/lib/decl/borders.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc