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 1.0.0 to 1.0.1

6

index.js

@@ -8,3 +8,5 @@ 'use strict';

module.exports = function() {
module.exports = function(opt) {
if (!opt) opt = {};

@@ -26,3 +28,3 @@ function minify(file, encoding, callback) {

try {
mangled = new CleanCSS().minify(String(file.contents));
mangled = new CleanCSS(opt).minify(String(file.contents));
file.contents = new Buffer(mangled);

@@ -29,0 +31,0 @@ this.push(file);

{
"name": "gulp-clean-css",
"version": "1.0.0",
"version": "1.0.1",
"description": "Minify files with CleanCSS",

@@ -21,3 +21,3 @@ "author": "Radosław Mejer <radmen@gmail.com>",

"engines": {
"node": ">= 0.9"
"node": ">= 0.10"
},

@@ -24,0 +24,0 @@ "keywords": [

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