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

interpolate-json

Package Overview
Dependencies
Maintainers
1
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

interpolate-json - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

6

lib/main.js

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

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