Socket
Socket
Sign inDemoInstall

gulp-clean-css

Package Overview
Dependencies
Maintainers
2
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 2.1.1 to 2.1.2

9

CHANGELOG.md

@@ -1,5 +0,10 @@

# 2.1.0 (12/07/2016)
# 2.1.2 (12/07/2016)
- bug fix => https://github.com/scniro/gulp-clean-css/issues/17#issuecomment-265446330
- bug fix => https://github.com/scniro/gulp-clean-css/issues/8
- test gulp-sass friendliness per #18
# 2.1.1 (12/07/2016)
- bug fix => https://github.com/scniro/gulp-clean-css/issues/17
# 2.1.0 (12/06/2016)

@@ -6,0 +11,0 @@

@@ -7,2 +7,3 @@ const applySourceMap = require('vinyl-sourcemaps-apply');

const through = require('through2');
const concat = require('gulp-concat');

@@ -34,8 +35,8 @@ module.exports = function gulpCleanCSS(options, callback) {

if (file.path) {
cssFile = {};
cssFile[file.path] = {styles: style};
}
//if (file.path) {
// cssFile = {};
// cssFile[file.path] = {styles: style};
//}
new CleanCSS(fileOptions).minify(cssFile || style, function (errors, css) {
new CleanCSS(fileOptions).minify(style, function (errors, css) {

@@ -42,0 +43,0 @@ if (errors)

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

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

@@ -49,2 +49,3 @@ "license": "MIT",

"gulp-rename": "^1.2.2",
"gulp-sass": "^2.3.2",
"gulp-sourcemaps": "^1.9.1",

@@ -51,0 +52,0 @@ "mocha": "^3.2.0",

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