Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-minify-css

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-minify-css - npm Package Compare versions

Comparing version 0.3.10 to 0.3.11

10

index.js

@@ -66,3 +66,4 @@ var path = require('path'),

if(file.isStream()) {
file.contents = file.contents.pipe(new BufferStreams(minifyCSSTransform(opt, file)));
file.contents = file.contents.pipe(new BufferStreams(minifyCSSTransform(opt, file)))
.on('error', this.emit.bind(this, 'error'));
done(null, file);

@@ -78,3 +79,8 @@ return;

var newContents = minify(opt, file, file.contents);
try {
var newContents = minify(opt, file, file.contents);
} catch (err) {
this.emit('error', new gutil.PluginError('minify-css', err, { fileName: file.path } ));
return done(null, file);
}

@@ -81,0 +87,0 @@ // Restore original "relativeTo" value

2

package.json
{
"name": "gulp-minify-css",
"description": "Minify css with clean-css.",
"version": "0.3.10",
"version": "0.3.11",
"repository": "https://github.com/jonathanepollack/gulp-minify-css.git",

@@ -6,0 +6,0 @@ "homepage": "https://github.com/jonathanepollack/gulp-minify-css",

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