🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

gulp-useref

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-useref - npm Package Compare versions

Comparing version
3.1.3
to
3.1.4
+2
-2
index.js
'use strict';
var path = require('path'),
gutil = require('gulp-util'),
PluginError = require('plugin-error'),
es = require('event-stream'),

@@ -164,3 +164,3 @@ through = require('through2'),

if (file.isStream()) {
return cb(new gutil.PluginError('gulp-useref', 'Streaming not supported'));
return cb(new PluginError('gulp-useref', 'Streaming not supported'));
}

@@ -167,0 +167,0 @@

'use strict';
var gutil = require('gulp-util');
var PluginError = require('plugin-error');

@@ -12,4 +12,4 @@ module.exports = function (file, data) {

} catch (err) {
self.emit('error', new gutil.PluginError('gulp-useref', err));
self.emit('error', new PluginError('gulp-useref', err));
}
};
{
"name": "gulp-useref",
"version": "3.1.3",
"version": "3.1.4",
"description": "Parse build blocks in HTML files to replace references to non-optimized scripts or stylesheets.",

@@ -14,7 +14,7 @@ "main": "index.js",

"gulp-if": "^2.0.0",
"gulp-util": "^3.0.1",
"is-relative-url": "1.0.0",
"plugin-error": "^0.1.2",
"through2": "^2.0.1",
"useref": "^1.2.0",
"vinyl-fs": "^2.2.1"
"vinyl-fs": "^3.0.0"
},

@@ -30,3 +30,4 @@ "devDependencies": {

"nyc": "^11.3.0",
"should": "*"
"should": "*",
"vinyl": "^2.1.0"
},

@@ -33,0 +34,0 @@ "engines": {