grunt-contrib-cssmin
Advanced tools
Comparing version 0.6.2 to 0.7.0
@@ -5,3 +5,3 @@ # Options | ||
Type: `String` | ||
Type: `String` | ||
Default: `null` | ||
@@ -13,3 +13,3 @@ | ||
Type: `String` `Number` | ||
Type: `String` `Number` | ||
Default: `'*'` | ||
@@ -20,3 +20,3 @@ | ||
## report | ||
Choices: `false`, `'min'`, `'gzip'` | ||
Choices: `false`, `'min'`, `'gzip'` | ||
Default: `false` | ||
@@ -33,2 +33,2 @@ | ||
Gzipped: 20084 bytes. | ||
``` | ||
``` |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2012 Tim Branyen, contributors | ||
* Copyright (c) 2013 Tim Branyen, contributors | ||
* Licensed under the MIT license. | ||
@@ -8,0 +8,0 @@ */ |
{ | ||
"name": "grunt-contrib-cssmin", | ||
"description": "Compress CSS files.", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"homepage": "https://github.com/gruntjs/grunt-contrib-cssmin", | ||
@@ -23,3 +23,2 @@ "author": { | ||
], | ||
"main": "Gruntfile.js", | ||
"engines": { | ||
@@ -32,14 +31,14 @@ "node": ">= 0.8.0" | ||
"dependencies": { | ||
"clean-css": "~1.1.1", | ||
"clean-css": "~2.0.0", | ||
"grunt-lib-contrib": "~0.6.0" | ||
}, | ||
"devDependencies": { | ||
"grunt-contrib-jshint": "~0.2.0", | ||
"grunt-contrib-nodeunit": "~0.1.2", | ||
"grunt-contrib-clean": "~0.4.0", | ||
"grunt-contrib-internal": "~0.4.2", | ||
"grunt": "~0.4.0" | ||
"grunt-contrib-jshint": "~0.6.4", | ||
"grunt-contrib-nodeunit": "~0.2.1", | ||
"grunt-contrib-clean": "~0.5.0", | ||
"grunt-contrib-internal": "~0.4.6", | ||
"grunt": "~0.4.1" | ||
}, | ||
"peerDependencies": { | ||
"grunt": "~0.4.0" | ||
"grunt": "~0.4.1" | ||
}, | ||
@@ -46,0 +45,0 @@ "keywords": [ |
@@ -1,2 +0,2 @@ | ||
# grunt-contrib-cssmin [![Build Status](https://secure.travis-ci.org/gruntjs/grunt-contrib-cssmin.png?branch=master)](http://travis-ci.org/gruntjs/grunt-contrib-cssmin) | ||
# grunt-contrib-cssmin v0.6.2 [![Build Status](https://travis-ci.org/gruntjs/grunt-contrib-cssmin.png?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-cssmin) | ||
@@ -36,3 +36,3 @@ > Compress CSS files. | ||
Type: `String` | ||
Type: `String` | ||
Default: `null` | ||
@@ -44,3 +44,3 @@ | ||
Type: `String` `Number` | ||
Type: `String` `Number` | ||
Default: `'*'` | ||
@@ -51,3 +51,3 @@ | ||
#### report | ||
Choices: `false`, `'min'`, `'gzip'` | ||
Choices: `false`, `'min'`, `'gzip'` | ||
Default: `false` | ||
@@ -65,2 +65,3 @@ | ||
``` | ||
### Usage Examples | ||
@@ -110,2 +111,3 @@ | ||
* 2013-09-14 v0.6.2 Support relative URLs via clean-css ~1.1.1. | ||
* 2013-05-25 v0.6.1 Support import in-lining vis clean-css ~1.0.4. | ||
@@ -128,2 +130,2 @@ * 2013-04-05 v0.6.0 Update clean-css dependency to ~1.0.0 | ||
*This file was generated on Sat May 25 2013 18:52:13.* | ||
*This file was generated on Sat Oct 05 2013 19:35:29.* |
@@ -5,3 +5,3 @@ /* | ||
* | ||
* Copyright (c) 2012 Tim Branyen, contributors | ||
* Copyright (c) 2013 Tim Branyen, contributors | ||
* Licensed under the MIT license. | ||
@@ -15,2 +15,3 @@ */ | ||
var path = require('path'); | ||
var CleanCSS = require('clean-css'); | ||
@@ -57,3 +58,3 @@ grunt.registerMultiTask('cssmin', 'Minify CSS files', function() { | ||
try { | ||
return require('clean-css').process(source, options); | ||
return new CleanCSS(options).minify(source) | ||
} catch (e) { | ||
@@ -60,0 +61,0 @@ grunt.log.error(e); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
16526
29
200
126
0
+ Addedclean-css@2.0.8(transitive)
- Removedclean-css@1.1.7(transitive)
Updatedclean-css@~2.0.0