Socket
Socket
Sign inDemoInstall

clean-css-cli

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clean-css-cli - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

6

History.md

@@ -0,1 +1,7 @@

[4.2.1 / 2018-08-07](https://github.com/jakubpawlowicz/clean-css-cli/compare/v4.2.0...v4.2.1)
==================
* Bumps clean-css dependency to 4.2.1.
* Derives line break before source map comment from `breakWith` option.
[4.2.0 / 2018-08-02](https://github.com/jakubpawlowicz/clean-css-cli/compare/4.1...v4.2.0)

@@ -2,0 +8,0 @@ ==================

4

index.js

@@ -9,3 +9,3 @@ var fs = require('fs');

var COMPATIBILITY_PATTERN = /([\w\.]+)=(\w+)/g;
var lineBreak = require('os').EOL;
var systemLineBreak = require('os').EOL;

@@ -222,2 +222,3 @@ function cli(process, beforeMinifyCallback) {

var mapFilename;
var lineBreak;

@@ -251,2 +252,3 @@ if (debugMode) {

mapFilename = path.basename(options.output) + '.map';
lineBreak = cleanCss.options.format ? cleanCss.options.format.breakWith : systemLineBreak;
output(process, options, minified.styles + lineBreak + '/*# sourceMappingURL=' + mapFilename + ' */');

@@ -253,0 +255,0 @@ outputMap(options, minified.sourceMap, mapFilename);

{
"name": "clean-css-cli",
"version": "4.2.0",
"version": "4.2.1",
"description": "A command-line interface to clean-css CSS optimization library",

@@ -36,3 +36,3 @@ "scripts": {

"dependencies": {
"clean-css": "^4.2.0",
"clean-css": "^4.2.1",
"commander": "2.x",

@@ -39,0 +39,0 @@ "glob": "7.x"

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