Socket
Socket
Sign inDemoInstall

express-secure-handlebars

Package Overview
Dependencies
Maintainers
4
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

express-secure-handlebars - npm Package Compare versions

Comparing version 1.1.1 to 1.2.0

4

package.json
{
"name": "express-secure-handlebars",
"version": "1.1.1",
"version": "1.2.0",
"licenses": [

@@ -35,3 +35,3 @@ {

"dependencies": {
"context-parser-handlebars": "^1.0.5",
"context-parser-handlebars": "^2.0.0",
"express-handlebars": "^2.0.0",

@@ -38,0 +38,0 @@ "handlebars": "^3.0.0",

@@ -59,4 +59,6 @@ Express with Secure Handlebars

var app = express();
app.engine('handlebars', exphbs({defaultLayout: 'main'}));
var app = express(),
hbs = exphbs.create({ /* config */ });
app.engine('handlebars', hbs.engine);
app.set('view engine', 'handlebars');

@@ -63,0 +65,0 @@

@@ -18,4 +18,3 @@ /*

var parser = new ContextParserHandlebars({printCharEnable: false});
parser.contextualize(template);
return parser.getOutput();
return parser.analyzeContext(template);
}

@@ -22,0 +21,0 @@ } catch (err) {

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