Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gulp-tpl

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gulp-tpl - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

3

index.js

@@ -103,6 +103,7 @@ 'use strict';

var tpl = fs.readFileSync(ejsfile, 'utf8');
data.filename = ejsfile;
file.contents = new Buffer(ejs.render(tpl, data));
}
} catch (err) {
errmsg = "[gulp-tpl.html error: " + dirname + tplname + "] " + err;
errmsg = "[gulp-tpl.html error: " + path.join(dirname,tplname) + "] " + err;
}

@@ -109,0 +110,0 @@ }

{
"name": "gulp-tpl",
"version": "0.1.1",
"version": "0.1.2",
"description": "(handlebars/ejs) + yaml -> html",

@@ -37,3 +37,3 @@ "author": "changkong <changkong012@gmail.com>",

"js-yaml": "~3.0.2",
"ejs": "^1.0.0"
"ejs": "~1.0.0"
},

@@ -40,0 +40,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc