Socket
Socket
Sign inDemoInstall

decentstringformatter

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

decentstringformatter - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

README.md

2

bower.json

@@ -8,3 +8,3 @@ {

],
"description": "Decent String Formatter for Javascript\"",
"description": "Decent String Formatter for Javascript",
"main": "src/dsf.js",

@@ -11,0 +11,0 @@ "moduleType": [

{
"name": "decentstringformatter",
"version": "0.0.1",
"version": "0.0.2",
"description": "Decent String Formatter for Javascript",

@@ -5,0 +5,0 @@ "main": "src/dsf.js",

@@ -119,4 +119,4 @@ (function(){

var token_counter = 0;
for (var _tk in tokens) {
var cur_token = token_type(tokens[_tk]);
for (var i = 0; i < tokens.length; i++) {
var cur_token = token_type(tokens[i]);
if (cur_token.type === 'token-positional') {

@@ -132,3 +132,3 @@ var rpl_value = positional_arguments[cur_token.value];

if (rpl_value === undefined) {
throw new Error("Unmatched argument " + tokens[_tk]);
throw new Error("Unmatched argument " + tokens[i]);
}

@@ -135,0 +135,0 @@ rebuild_string.push(rpl_value);

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