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 3.2.0 to 3.3.0

12

index.js

@@ -29,10 +29,8 @@ 'use strict';

if (options.rebaseTo) {
let style = {
[file.path]: {
styles: file.contents ? file.contents.toString() : ''
}
};
let relative = path.resolve(file.path, options.rebaseTo);
options.rebaseTo = path.relative(relative, file.path)
}
let style = file.contents ? file.contents.toString() : '';
new CleanCSS(options).minify(style, function (errors, css) {

@@ -39,0 +37,0 @@

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

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

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

"dependencies": {
"clean-css": "4.1.1",
"clean-css": "4.1.2",
"gulp-util": "3.0.8",

@@ -52,3 +52,3 @@ "through2": "2.0.3",

"gulp-sourcemaps": "2.6.0",
"mocha": "3.3.0",
"mocha": "3.4.1",
"vinyl": "2.0.2",

@@ -55,0 +55,0 @@ "vinyl-buffer": "1.0.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