Comparing version
@@ -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 @@ |
@@ -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 [][ci] [][npm] [][deps] [](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 @@ |
26883
1.11%208
0.97%