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

string.format

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

string.format - npm Package Compare versions

Comparing version 1.2.0 to 1.2.1

2

index.js

@@ -12,3 +12,3 @@ /* jslint node: true */

var replaced = string;
replaced = replaced.replace(/\·\{(.*)\}\·/gmi,function(match,capture,index,all){
replaced = replaced.replace(/\·\{(.*?)\}\·/gmi,function(match,capture,index,all){
var replace;

@@ -15,0 +15,0 @@ try {

{
"name": "string.format",
"description": "String prototype method -> 'Hello {name}!'.format({name:'Homer'});",
"version": "1.2.0",
"version": "1.2.1",
"author": {

@@ -6,0 +6,0 @@ "name": "Bifuer",

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