New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hmpo-template-mixins

Package Overview
Dependencies
Maintainers
4
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 4.4.0-rev1 to 4.4.0-rev2

8

lib/template-mixins.js

@@ -85,6 +85,2 @@ 'use strict';

var t = function (key) {
return translate(sharedTranslationsKey + key);
};
var hoganRender = function (text, ctx) {

@@ -96,2 +92,6 @@ if (!text) { return ''; }

var t = function (key) {
return hoganRender(translate(sharedTranslationsKey + key), this);
};
// Like t() but returns null on failed translations

@@ -98,0 +98,0 @@ var conditionalTranslate = function (key) {

{
"name": "hmpo-template-mixins",
"version": "4.4.0-rev1",
"version": "4.4.0-rev2",
"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",

Sorry, the diff of this file is too big to display

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