Socket
Socket
Sign inDemoInstall

string-template

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string-template - npm Package Compare versions

Comparing version 0.1.3 to 0.2.0

compile.js

4

index.js

@@ -8,3 +8,3 @@ var nargs = /\{([0-9a-zA-Z]+)\}/g

var args
if (arguments.length === 2 && typeof arguments[1] === "object") {

@@ -35,2 +35,2 @@ args = arguments[1]

})
}
}
{
"name": "string-template",
"version": "0.1.3",
"version": "0.2.0",
"description": "A simple string template function based on named or indexed arguments",

@@ -25,3 +25,5 @@ "keywords": [

},
"dependencies": {},
"dependencies": {
"js-string-escape": "^1.0.0"
},
"devDependencies": {

@@ -28,0 +30,0 @@ "tape": "~1.1.1"

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