🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

cssnano

Package Overview
Dependencies
Maintainers
1
Versions
148
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

to
1.2.1

5

CHANGELOG.md

@@ -0,1 +1,6 @@

# 1.2.1
* Fixed a bug where a CSS function keyword inside its value would throw
an error.
# 1.2.0

@@ -2,0 +7,0 @@

2

lib/util/eachCssFunction.js

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

if (~decl.value.indexOf(type + '(')) {
var locs = indexesOf(decl.value, type);
var locs = indexesOf(decl.value, type + '(');
locs.push(decl.value.length);

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

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

@@ -10,3 +10,4 @@ "main": "index.js",

"scripts": {
"test": "tape tests/*.js | tap-spec"
"test-fixtures": "tape tests/fixtures.js | faucet",
"test": "tape tests/*.js | faucet"
},

@@ -50,3 +51,3 @@ "keywords": [

"decamelize": "^1.0.0",
"tap-spec": "^3.0.0",
"faucet": "0.0.1",
"tape": "^4.0.0"

@@ -53,0 +54,0 @@ },

@@ -164,2 +164,3 @@ # 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)

CSS file.
* [`postcss-unique-selectors`]: Ensure selectors are unique.
* [`postcss-zindex`]: Rebase `z-index` values to save space.

@@ -198,2 +199,3 @@

[`postcss-single-charset`]: https://github.com/hail2u/postcss-single-charset
[`postcss-unique-selectors`]: https://github.com/ben-eb/postcss-unique-selectors
[`postcss-zindex`]: https://github.com/ben-eb/postcss-zindex

@@ -200,0 +202,0 @@