interpolate-json
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -61,4 +61,3 @@ const extend = require('extend'); | ||
} | ||
options = extend({}, defaultOptions, options); | ||
return getInterpolated(obj, getParamRegex(options), values); | ||
break; | ||
default: | ||
@@ -70,2 +69,5 @@ traceNThrow( | ||
} | ||
if (options.prefix && !options.suffix) options.suffix = ''; | ||
options = extend({}, defaultOptions, options); | ||
return getInterpolated(obj, getParamRegex(options), values); | ||
}, | ||
@@ -72,0 +74,0 @@ debug: () => { |
{ | ||
"name": "interpolate-json", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Interpolate a Javascript (Node.js V8) Object or string with json - Advanced", | ||
@@ -19,2 +19,4 @@ "main": "index.js", | ||
"javascript-interpolation", | ||
"json-interpolation", | ||
"string-interpolation", | ||
"node", | ||
@@ -21,0 +23,0 @@ "nodejs" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5663
107