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

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.0.2 to 2.0.3

5

CHANGELOG.md

@@ -0,1 +1,6 @@

## 2.0.3 (03/01/2016)
- Include `name` and `path` in the clean callback
- Improved testing and README docs
## 2.0.2 (02/23/2016)

@@ -2,0 +7,0 @@

4

index.js

@@ -72,3 +72,5 @@ var applySourceMap = require('vinyl-sourcemaps-apply');

'errors': css.errors,
'warnings': css.warnings
'warnings': css.warnings,
'path': file.path,
'name': file.path.split(file.base)[1]
}

@@ -75,0 +77,0 @@

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

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

@@ -42,5 +42,10 @@ "license": "MIT",

"chai": "^3.5.0",
"del": "^2.2.0",
"gulp": "^3.9.1",
"gulp-concat": "^2.6.0",
"gulp-mocha": "^2.2.0",
"gulp-rename": "^1.2.2",
"gulp-sourcemaps": "^1.6.0",
"mocha": "^2.4.5",
"npm": "^3.7.5",
"vinyl": "^1.1.1",

@@ -47,0 +52,0 @@ "vinyl-buffer": "^1.0.0"

@@ -42,3 +42,3 @@ # gulp-clean-css

Useful for returning details from the underlying `minify()` call. An example use case include logging `stats` of the minified file.
Useful for returning details from the underlying [`minify()`](https://github.com/jakubpawlowicz/clean-css#using-api) call. An example use case could include logging `stats` of the minified file. In addition to the default object, `gulp-clean-css` provides the file `name` and `path` for further analysis.

@@ -52,4 +52,4 @@ ```javascript

.pipe(cleanCSS({debug: true}, function(details) {
console.log(details.stats.originalSize);
console.log(details.stats.minifiedSize);
console.log(details.name + ': ' + details.stats.originalSize);
console.log(details.name + ': ' + details.stats.minifiedSize);
}))

@@ -56,0 +56,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