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

gulp-clean-css

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-clean-css - npm Package Compare versions

Comparing version 3.9.0 to 3.9.1

2

index.js

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

const path = require('path');
const PluginError = require('gulp-util').PluginError;
const PluginError = require('plugin-error');
const through = require('through2');

@@ -9,0 +9,0 @@

@@ -5,3 +5,3 @@ {

"homepage": "https://github.com/scniro/gulp-clean-css#readme",
"version": "3.9.0",
"version": "3.9.1",
"author": "scniro",

@@ -34,3 +34,4 @@ "license": "MIT",

"clean-css": "4.1.9",
"gulp-util": "3.0.8",
"fancy-log": "1.3.2",
"plugin-error": "0.1.2",
"through2": "2.0.3",

@@ -42,5 +43,4 @@ "vinyl-sourcemaps-apply": "0.2.1"

"chai-string": "1.4.0",
"coveralls": "2.13.1",
"del": "3.0.0",
"express": "4.15.4",
"coveralls": "3.0.0",
"express": "4.16.2",
"gulp": "3.9.1",

@@ -52,6 +52,6 @@ "gulp-concat": "2.6.1",

"gulp-sass": "3.1.0",
"gulp-sourcemaps": "2.6.1",
"mocha": "3.5.3",
"gulp-sourcemaps": "2.6.2",
"mocha": "4.0.1",
"vinyl": "2.1.0",
"vinyl-buffer": "1.0.0",
"vinyl-buffer": "1.0.1",
"vinyl-fs-fake": "1.1.0"

@@ -58,0 +58,0 @@ },

@@ -53,5 +53,5 @@ # gulp-clean-css

return gulp.src('styles/*.css')
.pipe(cleanCSS({debug: true}, function(details) {
console.log(details.name + ': ' + details.stats.originalSize);
console.log(details.name + ': ' + details.stats.minifiedSize);
.pipe(cleanCSS({debug: true}, (details) => {
console.log(`${details.name}: ${details.stats.originalSize}`);
console.log(`${details.name}: ${details.stats.minifiedSize}`);
}))

@@ -58,0 +58,0 @@ .pipe(gulp.dest('dist'));

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