Comparing version 4.0.0 to 4.0.1
@@ -0,1 +1,5 @@ | ||
# 4.0.1 (November 14, 2019) | ||
* Fix error handling | ||
# 4.0.0 (November 14, 2019) | ||
@@ -2,0 +6,0 @@ |
@@ -7,2 +7,3 @@ 'use strict'; | ||
const applySourceMap = require('vinyl-sourcemaps-apply'); | ||
const PLUGIN_NAME = 'gulp-csso'; | ||
@@ -18,3 +19,3 @@ module.exports = function (options) { | ||
if (file.isStream()) { | ||
return cb(new PluginError('gulp-csso', 'Streaming not supported')); | ||
this.emit('error', new PluginError(PLUGIN_NAME, 'Streaming not supported')); | ||
} | ||
@@ -49,3 +50,3 @@ | ||
} catch(error) { | ||
cb(new PluginError('gulp-csso', error)); | ||
this.emit('error', new PluginError(PLUGIN_NAME, error)); | ||
} | ||
@@ -52,0 +53,0 @@ }; |
{ | ||
"name": "gulp-csso", | ||
"version": "4.0.0", | ||
"version": "4.0.1", | ||
"description": "Minify CSS with CSSO.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
7857
43