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

postcss-merge-rules

Package Overview
Dependencies
Maintainers
8
Versions
78
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-merge-rules - npm Package Compare versions

Comparing version 6.0.0 to 6.0.1

2

package.json
{
"name": "postcss-merge-rules",
"version": "6.0.0",
"version": "6.0.1",
"description": "Merge CSS rules with PostCSS.",

@@ -5,0 +5,0 @@ "types": "types/index.d.ts",

@@ -87,2 +87,5 @@ 'use strict';

}
if (ruleA.some(isRuleOrAtRule) || ruleB.some(isRuleOrAtRule)) {
return false;
}
return parent && (selectors.every(noVendor) || sameVendor(a, b));

@@ -93,2 +96,9 @@ }

* @param {import('postcss').ChildNode} node
* @return {boolean}
*/
function isRuleOrAtRule(node) {
return node.type === 'rule' || node.type === 'atrule';
}
/**
* @param {import('postcss').ChildNode} node
* @return {node is import('postcss').Declaration}

@@ -95,0 +105,0 @@ */

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