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

bogart-handlebars

Package Overview
Dependencies
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bogart-handlebars - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

8

lib/bogart_handlebars.js

@@ -52,2 +52,4 @@ var _ = require('underscore');

return function (view, locals, opts) {
opts = opts || {};
if (!_.isFunction(view)) {

@@ -58,12 +60,12 @@ throw new Error('respond(view, locals, opts) expected view to be a function, '+typeof(view));

//
var body = view(locals);
return {
return _.extend({
status: 200,
body: body,
'content-type': 'text/html',
headers: {
"content-length": Buffer.byteLength(body)
}
};
}, opts);
};

@@ -70,0 +72,0 @@ });

{
"name": "bogart-handlebars",
"version": "0.10.5",
"version": "0.10.6",
"description": "Handlebars tools for Bogart",

@@ -5,0 +5,0 @@ "main": "index.js",

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