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

cssnano

Package Overview
Dependencies
Maintainers
1
Versions
147
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssnano - npm Package Compare versions

Comparing version 1.4.2 to 1.4.3

4

CHANGELOG.md

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

# 1.4.3
* Fixes incorrect minification of `background:none` to `background:0 0`.
# 1.4.2

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

3

lib/core.js

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

declaration.value = declaration.value.replace(/\s*(\/)\s*/, '$1');
if (declaration.prop === 'background') {
declaration.value = declaration.value.replace('none', '0 0');
}
if (~[

@@ -32,0 +29,0 @@ 'outline',

{
"name": "cssnano",
"version": "1.4.2",
"version": "1.4.3",
"description": "A modular minifier, built on top of the PostCSS ecosystem.",

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