gulp-inline-css
Advanced tools
Comparing version
'use strict'; | ||
var gutil = require('gulp-util'), | ||
var PluginError = require('plugin-error'), | ||
through = require('through2'), | ||
@@ -24,3 +24,3 @@ inlineCss = require('inline-css'); | ||
if (file.isStream()) { | ||
cb(new gutil.PluginError('gulp-inline-css', 'Streaming not supported')); | ||
cb(new PluginError('gulp-inline-css', 'Streaming not supported')); | ||
return; | ||
@@ -39,3 +39,3 @@ } | ||
if (err) { | ||
self.emit('error', new gutil.PluginError('gulp-inline-css', err)); | ||
self.emit('error', new PluginError('gulp-inline-css', err)); | ||
} | ||
@@ -42,0 +42,0 @@ }); |
{ | ||
"name": "gulp-inline-css", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"description": "Inline linked css in an html file. Useful for emails.", | ||
@@ -10,4 +10,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"gulp-util": "^3.0.0", | ||
"inline-css": "^2.2.1", | ||
"plugin-error": "^0.1.2", | ||
"through2": "^2.0.3" | ||
@@ -23,3 +23,4 @@ }, | ||
"nyc": "^11.3.0", | ||
"should": "*" | ||
"should": "*", | ||
"vinyl": "^2.1.0" | ||
}, | ||
@@ -26,0 +27,0 @@ "engines": { |
8027
0.29%9
12.5%+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
+ Added
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed