diff --git a/.travis.yml b/.travis.yml index 2eac80c..73d2f7d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,11 +4,9 @@ language: node_js node_js: - "0.10" - - "0.12" - "4" - - "5" - "6" - - "iojs" + - "7" matrix: fast_finish: true diff --git a/CHANGELOG b/CHANGELOG index 34e060e..90d4e3d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,7 @@ +v2.0.0: + date: 2017-02-02 + changes: + - Update clean-css to v4.0.3. v1.0.2: date: 2016-08-31 changes: diff --git a/README.md b/README.md index 3a2aecb..f5a6c72 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# grunt-contrib-cssmin v1.0.2 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-cssmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-cssmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ntgfqc3ppk533m84/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-cssmin/branch/master) +# grunt-contrib-cssmin v2.0.0 [![Build Status: Linux](https://travis-ci.org/gruntjs/grunt-contrib-cssmin.svg?branch=master)](https://travis-ci.org/gruntjs/grunt-contrib-cssmin) [![Build Status: Windows](https://ci.appveyor.com/api/projects/status/ntgfqc3ppk533m84/branch/master?svg=true)](https://ci.appveyor.com/project/gruntjs/grunt-contrib-cssmin/branch/master) > Minify CSS @@ -56,7 +56,7 @@ Enable Source Maps. ```js cssmin: { options: { - shorthandCompacting: false, + mergeIntoShorthands: false, roundingPrecision: -1 }, target: { @@ -86,6 +86,7 @@ cssmin: { ## Release History + * 2017-02-02   v2.0.0   Update clean-css to v4.0.3. * 2016-08-31   v1.0.2   Fix issues for node 6. * 2016-03-16   v1.0.1   Downgrade maxmin to support Node.js 0.10. * 2016-03-04   v1.0.0   Updated docs. Point main to task and removed peerDeps. Update clean-css to v3.4.1. @@ -117,4 +118,4 @@ cssmin: { Task submitted by [Tim Branyen](http://tbranyen.com/) -*This file was generated on Wed Aug 31 2016 23:09:56.* +*This file was generated on Thu Feb 02 2017 22:53:32.* diff --git a/appveyor.yml b/appveyor.yml index 62725fb..c0596b4 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,16 +7,14 @@ environment: matrix: - nodejs_version: "0.10" platform: x86 - - nodejs_version: "0.12" - platform: x86 - nodejs_version: "4" platform: x64 - nodejs_version: "4" platform: x86 - - nodejs_version: "5" - platform: x86 - nodejs_version: "6" platform: x86 + - nodejs_version: "7" + platform: x86 install: - ps: Install-Product node $env:nodejs_version $env:platform diff --git a/docs/cssmin-examples.md b/docs/cssmin-examples.md index 1828dd3..3426cef 100644 --- a/docs/cssmin-examples.md +++ b/docs/cssmin-examples.md @@ -5,7 +5,7 @@ ```js cssmin: { options: { - shorthandCompacting: false, + mergeIntoShorthands: false, roundingPrecision: -1 }, target: { diff --git a/package.json b/package.json index 6374ddd..4e71165 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "grunt-contrib-cssmin", "description": "Minify CSS", - "version": "1.0.2", + "version": "2.0.0", "author": { "name": "Grunt Team", "url": "http://gruntjs.com/" @@ -17,7 +17,7 @@ }, "dependencies": { "chalk": "^1.0.0", - "clean-css": "~3.4.2", + "clean-css": "~4.0.3", "maxmin": "^1.1.0" }, "devDependencies": { diff --git a/test/expected/inline_import.css b/test/expected/inline_import.css index 58be241..e883d16 100755 --- a/test/expected/inline_import.css +++ b/test/expected/inline_import.css @@ -1,2 +1,2 @@ -body{color:#00f;background-color:red}p{color:#0f0;background-color:#f0f} -/*# sourceMappingURL=inline_import.css.map */ +body{color:#00f}body{background-color:red}p{color:#0f0}p{background-color:#f0f} +/*# sourceMappingURL=inline_import.css.map */ \ No newline at end of file