Comparing version 1.1.0 to 2.0.0
@@ -0,1 +1,5 @@ | ||
# 2.0.0 | ||
* Update CSSO to 2.0.0 (thanks to @lahmatiy). | ||
# 1.1.0 | ||
@@ -2,0 +6,0 @@ |
@@ -80,11 +80,2 @@ 'use strict'; | ||
// NOTE: it's temporary, since csso will always return an object in future, | ||
// but currenly returns a string when no source map generation set up | ||
if (typeof result === 'string') { | ||
result = { | ||
css: result, | ||
map: null | ||
}; | ||
} | ||
if (result.map) { | ||
@@ -91,0 +82,0 @@ applySourceMap(file, result.map.toJSON()); |
{ | ||
"name": "gulp-csso", | ||
"version": "1.1.0", | ||
"version": "2.0.0", | ||
"description": "Minify CSS with CSSO.", | ||
@@ -26,3 +26,3 @@ "license": "MIT", | ||
"dependencies": { | ||
"csso": "^1.6.3", | ||
"csso": "^2.0.0", | ||
"gulp-util": "^3.0.6", | ||
@@ -29,0 +29,0 @@ "vinyl-sourcemaps-apply": "^0.2.1" |
@@ -92,2 +92,9 @@ # [gulp](https://github.com/gulpjs/gulp)-csso [![Build Status](https://travis-ci.org/ben-eb/gulp-csso.svg?branch=master)](https://travis-ci.org/ben-eb/gulp-csso) [![NPM version](https://badge.fury.io/js/gulp-csso.svg)](http://badge.fury.io/js/gulp-csso) [![Dependency Status](https://gemnasium.com/ben-eb/gulp-csso.svg)](https://gemnasium.com/ben-eb/gulp-csso) | ||
##### usage | ||
Type: `object` | ||
Default: `null` | ||
Usage data for advanced optimisations (read more in the [CSSO documentation](https://github.com/css/csso#usage-data)). | ||
## Contributing | ||
@@ -94,0 +101,0 @@ |
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
107
8465
77
+ Addedcsso@2.3.2(transitive)
- Removedcsso@1.8.2(transitive)
Updatedcsso@^2.0.0