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

stringformat

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stringformat - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

2

index.js

@@ -22,3 +22,3 @@ (function(g) {

res = []
if (braces_in.length == braces_out.length && braces_out.length > 1)
if (braces_in.length > 1 && braces_out.length > 1)
return match.slice(1, match.length - 1)

@@ -25,0 +25,0 @@

@@ -9,4 +9,4 @@ {

"main" : "index.js",
"version" : "0.0.1",
"version" : "0.0.2",
"devDependencies": {"mocha": "*"}
}
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