Socket
Socket
Sign inDemoInstall

hogan-middleware

Package Overview
Dependencies
5
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

2

package.json
{
"name": "hogan-middleware",
"version": "0.2.1",
"version": "0.2.2",
"description": "Middleware component to use Hogan.js mustache templates as views in an Express server",

@@ -5,0 +5,0 @@ "author": "Steve King <steve@mydev.co>",

@@ -48,3 +48,3 @@

TemplateEngine.__express = function(templatePath, templateData, next) {
var templateName = Path.basename(templatePath, Path.extname(templatePath));
var templateName = stripFileExtension(Path.relative(templateData.settings.views, templatePath));
var templates = TemplateEngine._getTemplates(templateData.settings.views);

@@ -51,0 +51,0 @@ var output = null, error = null;

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