Socket
Socket
Sign inDemoInstall

gulp-html2pug

Package Overview
Dependencies
47
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.3 to 4.0.0

8

lib/index.js

@@ -22,5 +22,11 @@ const through = require('through2');

const transform = options => nodeify((file, enc) => vinylToString(file, enc).then(html => html2pug(html, options)).then(convert(file)));
const transform = options => nodeify((file, enc) => {
var _options, _html2pug;
return vinylToString(file, enc).then((_html2pug = html2pug, _options = options, function html2pug(_argPlaceholder) {
return _html2pug(_argPlaceholder, _options);
})).then(convert(file));
});
module.exports = (options = {}) => through.obj(transform(options));
//# sourceMappingURL=index.js.map

46

package.json
{
"name": "gulp-html2pug",
"version": "3.0.3",
"version": "4.0.0",
"description": "Gulp plugin to convert html files to pug",

@@ -9,7 +9,5 @@ "main": "lib/index.js",

"lint": "eslint 'src/*.js' 'test/*.js'",
"pretest": "npm run lint",
"test": "mocha",
"cover": "nyc npm test",
"coveralls": "npm run cover && nyc report --reporter=text-lcov | coveralls",
"prepare": "npm run build && npm test"
"prepare": "npm run build"
},

@@ -39,28 +37,30 @@ "files": [

"plugin-error": "^1.0.1",
"promise-toolbox": "^0.15.1",
"through2": "^3.0.1",
"vinyl-contents-tostring": "^3.0.0"
"promise-toolbox": "^0.20.0",
"through2": "^4.0.2",
"vinyl-contents-tostring": "^4.0.0"
},
"devDependencies": {
"@babel/cli": "^7.8.4",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-throw-expressions": "^7.8.3",
"@babel/register": "^7.9.0",
"@babel/cli": "^7.16.0",
"@babel/core": "^7.16.0",
"@babel/eslint-parser": "^7.16.0",
"@babel/plugin-proposal-partial-application": "^7.16.0",
"@babel/plugin-proposal-throw-expressions": "^7.16.0",
"@babel/register": "^7.16.0",
"@istanbuljs/nyc-config-babel": "^3.0.0",
"babel-eslint": "^10.1.0",
"babel-plugin-istanbul": "^6.0.0",
"chai": "^4.2.0",
"babel-plugin-istanbul": "^6.1.1",
"chai": "^4.3.4",
"chai-as-promised": "^7.1.1",
"coveralls": "^3.1.0",
"dirty-chai": "^2.0.1",
"env-test": "^1.0.0",
"eslint": "^6.8.0",
"eslint-config-airbnb-base": "^14.1.0",
"eslint-plugin-import": "^2.20.2",
"mocha": "^7.1.2",
"nyc": "^15.0.1",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"vinyl": "^2.2.0"
"eslint": "^7.32.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-mocha": "^9.0.0",
"eslint-plugin-node": "^11.1.0",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"sinon": "^11.1.2",
"sinon-chai": "^3.7.0",
"vinyl": "^2.2.1"
}
}

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