@trayio/threadneedle
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -25,3 +25,3 @@ var Mustache = require('mustache'); | ||
// and return the real value. | ||
if (template.match(/^{{([^{}]+)}}|{{{([^{}]+)}}}$/g)) { | ||
if (template.match(/^({{([^{}]+)}}|{{{([^{}]+)}}})$/g)) { | ||
var key = _.trim(template.match(/(?!{)([^{}]+)(?=})/g)[0]); | ||
@@ -28,0 +28,0 @@ if (!_.isUndefined(params[key]) && params[key] !== '') |
{ | ||
"name": "@trayio/threadneedle", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "A framework for simplifying working with HTTP-based APIs.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
103713