clean-css-cli
Advanced tools
Comparing version 4.2.0 to 4.2.1
@@ -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 @@ ================== |
@@ -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" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
40265
265
Updatedclean-css@^4.2.1