Socket
Socket
Sign inDemoInstall

gulp-pug

Package Overview
Dependencies
132
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.2.0 to 3.3.0

4

index.js

@@ -8,2 +8,3 @@ 'use strict';

var PluginError = require('gulp-util').PluginError;
var log = require('gulp-util').log;

@@ -30,2 +31,5 @@ module.exports = function gulpPug(options) {

var contents = String(file.contents);
if (opts.verbose === true) {
log('compiling file', file.path);
}
if (opts.client) {

@@ -32,0 +36,0 @@ compiled = pug.compileClient(contents, opts);

2

package.json
{
"name": "gulp-pug",
"version": "3.2.0",
"version": "3.3.0",
"description": "Gulp plugin for compiling Pug templates",

@@ -5,0 +5,0 @@ "keywords": [

@@ -23,3 +23,4 @@ # gulp-pug [![Build Status][status-img]][status] ![Dependencies][deps] ![Downloads][downloads]

- `opts.pug`: A custom instance of Pug for `gulp-pug` to use.
- `opts.verbose`: display name of file from stream that is being compiled.
To change `opts.filename` use [`gulp-rename`][gulp-rename] before `gulp-pug`.

@@ -26,0 +27,0 @@

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