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.1.0 to 1.2.0

11

CHANGELOG.md

@@ -0,1 +1,10 @@

# 1.2.0
* Better support for merging properties without the existance of a shorthand
override.
* Can now 'merge forward' adjacent rules as well as the previous 'merge behind'
behaviour, leading to better compression.
* Selector re-ordering now happens last in the chain of plugins, to help clean
up merged selectors.
# 1.1.0

@@ -5,2 +14,4 @@

have duplicated properties but are named differently.
* Fixes an issue where duplicated keyframes with the same name would cause
an infinite loop.

@@ -7,0 +18,0 @@ # 1.0.2

3

index.js

@@ -30,3 +30,4 @@ 'use strict';

'./lib/functionOptimiser': null,
'postcss-merge-rules': 'merge'
'postcss-merge-rules': 'merge',
'postcss-unique-selectors': null
};

@@ -33,0 +34,0 @@

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

@@ -34,4 +34,4 @@ "main": "index.js",

"postcss-font-family": "^1.1.0",
"postcss-merge-idents": "^1.0.0",
"postcss-merge-rules": "^1.2.2",
"postcss-merge-idents": "^1.0.1",
"postcss-merge-rules": "^1.3.0",
"postcss-minify-font-weight": "^1.0.0",

@@ -43,2 +43,3 @@ "postcss-minify-selectors": "^1.3.1",

"postcss-single-charset": "^0.2.2",
"postcss-unique-selectors": "^1.0.0",
"postcss-zindex": "^1.1.1",

@@ -45,0 +46,0 @@ "read-file-stdin": "^0.2.0",

@@ -152,2 +152,4 @@ # cssnano [![Build Status](https://travis-ci.org/ben-eb/cssnano.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/cssnano.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/cssnano.svg)][deps] [![Gitter](https://badges.gitter.im/Join Chat.svg)](https://gitter.im/ben-eb/cssnano?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

properties.
* [`postcss-merge-idents`]: Merge duplicated `@keyframes` and `@counter-style`
identifiers with different names.
* [`postcss-merge-rules`]: Merge adjacent rules together.

@@ -188,2 +190,3 @@ * [`postcss-minify-font-weight`]: Convert `bold` -> `700` and `normal` -> `400`

[`postcss-font-family`]: https://github.com/ben-eb/postcss-font-family
[`postcss-merge-idents`]: https://github.com/ben-eb/postcss-merge-idents
[`postcss-merge-rules`]: https://github.com/ben-eb/postcss-merge-rules

@@ -190,0 +193,0 @@ [`postcss-minify-font-weight`]: https://github.com/ben-eb/postcss-minify-font-weight

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