Socket
Socket
Sign inDemoInstall

postcss-merge-rules

Package Overview
Dependencies
Maintainers
1
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 1.2.1 to 1.2.2

4

CHANGELOG.md

@@ -0,1 +1,5 @@

# 1.2.2
* Fixed an issue where the plugin crashed if node.parent was undefined.
# 1.2.1

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

2

index.js

@@ -46,3 +46,3 @@ 'use strict';

// If an at rule, ensure that the parameters are the same
if (ruleA.parent.type !== 'root' && ruleB.parent.type !== 'root') {
if (hasParent && ruleA.parent.type !== 'root' && ruleB.parent.type !== 'root') {
sameType = sameType && ruleA.parent.params === ruleB.parent.params;

@@ -49,0 +49,0 @@ }

{
"name": "postcss-merge-rules",
"version": "1.2.1",
"version": "1.2.2",
"description": "Merge CSS rules with PostCSS.",

@@ -5,0 +5,0 @@ "main": "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