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

postcss-merge-rules

Package Overview
Dependencies
Maintainers
2
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 2.0.0 to 2.0.1

4

CHANGELOG.md

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

# 2.0.1
* Fixed a crash when `rule.nodes` was not defined.
# 2.0.0

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

2

dist/index.js

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

var getDecls = function getDecls(rule) {
return rule.nodes.map(String);
return rule.nodes ? rule.nodes.map(String) : [];
};

@@ -67,0 +67,0 @@ var joinSelectors = function joinSelectors() {

{
"name": "postcss-merge-rules",
"version": "2.0.0",
"version": "2.0.1",
"description": "Merge CSS rules 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