Socket
Socket
Sign inDemoInstall

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 4.0.0 to 4.1.0

6

index.js

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

if (file.isNull()) {
return cb(null, file);
}
if (file.isStream()) {

@@ -25,3 +28,3 @@ this.emit('error', new PluginError('gulp-clean-css', 'Streaming not supported!'));

const content = {
[file.path]: {styles: file.contents.toString()}
[file.path]: {styles: file.contents ? file.contents.toString() : ''}
};

@@ -33,2 +36,3 @@ if (!_options.rebaseTo && _options.rebase !== false) {

new CleanCSS(_options).minify(content, (errors, css) => {
if (errors) {

@@ -35,0 +39,0 @@ return cb(errors.join(' '));

16

package.json

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

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

@@ -47,3 +47,3 @@ "license": "MIT",

"plugin-error": "1.0.1",
"through2": "3.0.0",
"through2": "3.0.1",
"vinyl-sourcemaps-apply": "0.2.1"

@@ -54,12 +54,12 @@ },

"chai-string": "1.5.0",
"coveralls": "3.0.2",
"coveralls": "3.0.3",
"express": "4.16.4",
"fancy-log": "1.3.2",
"gulp": "4.0.0",
"fancy-log": "1.3.3",
"gulp": "4.0.1",
"gulp-concat": "2.6.1",
"gulp-rename": "1.4.0",
"gulp-sass": "4.0.2",
"gulp-sourcemaps": "2.6.4",
"mocha": "5.2.0",
"nyc": "13.1.0",
"gulp-sourcemaps": "2.6.5",
"mocha": "6.1.4",
"nyc": "14.0.0",
"vinyl": "2.2.0"

@@ -66,0 +66,0 @@ },

@@ -79,2 +79,2 @@ # gulp-clean-css

[MIT](./LICENSE) © 2018 [scniro](https://github.com/scniro)
[MIT](./LICENSE) © 2019 [scniro](https://github.com/scniro)

Sorry, the diff of this file is not supported yet

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