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

hmpo-template-mixins

Package Overview
Dependencies
Maintainers
3
Versions
81
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hmpo-template-mixins - npm Package Compare versions

Comparing version 7.2.0 to 7.2.1

5

lib/lambdas.js

@@ -112,3 +112,6 @@ 'use strict';

_.each(lambdas, (lambda, name) => {
res.locals[name] = typeof lambda === 'function' ? () => lambda : lambda;
res.locals[name] = typeof lambda !== 'function' ? lambda : () => function (txt) {
let ctx = Object.assign({}, res.locals, this);
return lambda.call(ctx, txt);
};
});

@@ -115,0 +118,0 @@ };

2

package.json
{
"name": "hmpo-template-mixins",
"version": "7.2.0",
"version": "7.2.1",
"description": "A middleware that exposes a series of Mustache mixins on res.locals to ease usage of forms, translations, and some general needs.",

@@ -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