Socket
Socket
Sign inDemoInstall

hogan.js

Package Overview
Dependencies
3
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.1 to 3.0.2

.editorconfig

4

component.json
{
"name": "hogan.js"
, "description": "A mustache compiler."
, "version": "3.0.1"
, "version": "3.0.2"
, "keywords": ["mustache", "template"]

@@ -24,5 +24,3 @@ , "main": "lib/hogan.js"

, "ignore" : [
"test"
,"tools"
,"web"
,"wrappers"

@@ -29,0 +27,0 @@ ,".*"

@@ -23,3 +23,5 @@ /*

rCr = /\r/g,
rSlash = /\\/g;
rSlash = /\\/g,
rLineSep = /\u2028/,
rParagraphSep = /\u2029/;

@@ -311,3 +313,5 @@ Hogan.tags = {

.replace(rNewline, '\\n')
.replace(rCr, '\\r');
.replace(rCr, '\\r')
.replace(rLineSep, '\\u2028')
.replace(rParagraphSep, '\\u2029');
}

@@ -314,0 +318,0 @@

@@ -149,3 +149,3 @@ /*

found = findInScope(names[i], val, doModelGet);
if (found != null) {
if (found !== undefined) {
cx = val;

@@ -182,3 +182,3 @@ val = found;

val = findInScope(key, v, doModelGet);
if (val != null) {
if (val !== undefined) {
found = true;

@@ -267,7 +267,7 @@ break;

function findInScope(key, scope, doModelGet) {
var val, checkVal;
var val;
if (scope && typeof scope == 'object') {
if (scope[key] != null) {
if (scope[key] !== undefined) {
val = scope[key];

@@ -274,0 +274,0 @@

{
"name": "hogan.js"
, "description": "A mustache compiler."
, "version": "3.0.1"
, "version": "3.0.2"
, "keywords": ["mustache", "template"]

@@ -6,0 +6,0 @@ , "main": "./lib/hogan.js"

Sorry, the diff of this file is not supported yet

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