Socket
Socket
Sign inDemoInstall

grunt-contrib-cssmin

Package Overview
Dependencies
165
Maintainers
7
Versions
28
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.12.0 to 0.12.1

2

package.json
{
"name": "grunt-contrib-cssmin",
"description": "Minify CSS",
"version": "0.12.0",
"version": "0.12.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Grunt Team",

@@ -1,2 +0,2 @@

# grunt-contrib-cssmin v0.12.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-cssmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-cssmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ntgfqc3ppk533m84/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-cssmin/branch/master)
# grunt-contrib-cssmin v0.12.1 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-cssmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-cssmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ntgfqc3ppk533m84/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-cssmin/branch/master)

@@ -114,2 +114,2 @@ > Minify CSS

*This file was generated on Mon Feb 09 2015 16:36:00.*
*This file was generated on Mon Feb 09 2015 22:15:44.*

@@ -20,16 +20,15 @@ 'use strict';

grunt.registerMultiTask('cssmin', 'Minify CSS', function () {
var options = this.options({
report: 'min',
sourceMap: false
});
this.files.forEach(function (file) {
var options = this.options({
report: 'min',
sourceMap: false
});
this.files.forEach(function (file) {
var availableFiles = getAvailableFiles(file.src);
var compiled = '';
options.target = file.dest;
try {
compiled = new CleanCSS({
sourceMap: options.sourceMap,
target: file.dest
}).minify(availableFiles);
compiled = new CleanCSS(options).minify(availableFiles);
} catch (err) {

@@ -54,4 +53,4 @@ grunt.log.error(err);

grunt.verbose.writeln('File ' + chalk.cyan(file.dest) + ' created ' + chalk.dim(maxmin(unCompiledCssString, compiledCssString, options.report === 'gzip')));
});
}, this);
});
};
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc