Socket
Socket
Sign inDemoInstall

gulp-dom

Package Overview
Dependencies
3
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.5 to 0.7.0

8

lib/dom.js

@@ -14,3 +14,3 @@ /* jshint node: true, strict: true */

module.exports = function (mutator, serialize) {
module.exports = function (mutator) {
var stream = through2.obj(function(file, enc, callback) {

@@ -26,6 +26,2 @@

if(serialize === undefined) {
serialize = true;
}
if (file.isBuffer()) {

@@ -42,3 +38,3 @@

file.contents = new Buffer(serialize ? jsdom.serializeDocument(mutated) : mutated);
file.contents = new Buffer(typeof mutated === 'string' ? mutated : jsdom.serializeDocument(mutated));
callback(null, file);

@@ -45,0 +41,0 @@

{
"name": "gulp-dom",
"version": "0.6.5",
"version": "0.7.0",
"description": "Gulp plugin for generic DOM manipulation",

@@ -27,16 +27,16 @@ "main": "lib/dom.js",

"devDependencies": {
"jshint": "latest",
"mocha": "latest",
"request": "latest",
"dom-whitespace": "latest",
"vinyl-source-stream": "latest",
"vinyl-buffer": "latest",
"chai": "latest",
"gulp": "latest"
"jshint": "2.8.0",
"mocha": "2.3.3",
"request": "2.65.0",
"dom-whitespace": "0.1.2",
"vinyl-source-stream": "1.1.0",
"vinyl-buffer": "1.0.0",
"chai": "3.3.0",
"gulp": "3.9.0"
},
"dependencies": {
"jsdom": "6.5.x",
"gulp-util" : "3.0.x",
"through2" : "2.x"
"jsdom": "7.0.0",
"gulp-util": "3.0.6",
"through2": "2.0.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc