Socket
Socket
Sign inDemoInstall

gulp-html2pug

Package Overview
Dependencies
46
Maintainers
1
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0 to 3.0.1

7

lib/index.js

@@ -18,8 +18,5 @@ const through = require('through2');

extname: '.pug'
}); // plugin level function (dealing with files)
});
module.exports = (options = {}) => through.obj(function (file, enc, cb) {
asCallback(vinylToString(file, enc).then(html => html2pug(html, options)).then(convert(file.clone())).then(this.push.bind(this)), cb);
});
module.exports = (options = {}) => through.obj((file, enc, cb) => asCallback(vinylToString(file, enc).then(html => html2pug(html, options)).then(convert(file.clone())), cb));
//# sourceMappingURL=index.js.map
{
"name": "gulp-html2pug",
"version": "3.0.0",
"version": "3.0.1",
"description": "Gulp plugin to convert html files to pug",

@@ -51,3 +51,5 @@ "main": "lib/index.js",

"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"dirty-chai": "^2.0.1",
"env-test": "^1.0.0",

@@ -57,7 +59,9 @@ "eslint": "^6.8.0",

"eslint-plugin-import": "^2.20.2",
"event-stream": "^4.0.1",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"promise-toolbox": "^0.15.0",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"vinyl": "^2.2.0"
}
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc