Socket
Socket
Sign inDemoInstall

pug-code-gen

Package Overview
Dependencies
20
Maintainers
2
Versions
19
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.2 to 2.0.3

5

index.js

@@ -61,2 +61,7 @@ 'use strict';

}
if (this.pp && !/^\s+$/.test(this.pp)) {
throw new Error(
'The pretty parameter should either be a boolean or whitespace only string'
);
}
this.debug = false !== options.compileDebug;

@@ -63,0 +68,0 @@ this.indents = 0;

5

package.json
{
"name": "pug-code-gen",
"version": "2.0.2",
"version": "2.0.3",
"description": "Default code-generator for pug. It generates HTML via a JavaScript template function.",

@@ -26,4 +26,3 @@ "keywords": [

"author": "Forbes Lindesay",
"license": "MIT",
"gitHead": "1bdf628a70fda7a0d840c52f3abce54b1c6b0130"
"license": "MIT"
}
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