Comparing version 0.1.2 to 0.1.3
@@ -244,4 +244,5 @@ /** | ||
var vsprintf = function(fmt, argv) { | ||
argv.unshift(fmt); | ||
return sprintf.apply(null, argv); | ||
var argvClone = argv.slice(); | ||
argvClone.unshift(fmt); | ||
return sprintf.apply(null, argvClone); | ||
}; | ||
@@ -248,0 +249,0 @@ |
{ | ||
"name": "sprintf", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node" : ">=0.2.4" |
@@ -7,4 +7,6 @@ # sprintf() for node | ||
Since that library is now itself a node.js module, you should check that out: [alexei/sprintf.js](https://github.com/alexei/sprintf.js) | ||
However there are some additions as well which have not been backported to alexei/sprintf.js yet. | ||
There is also a [built-in util.format](http://nodejs.org/api/util.html#util_util_format_format). | ||
## Install | ||
@@ -14,2 +16,3 @@ | ||
## How to | ||
@@ -16,0 +19,0 @@ |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
10428
235
24
0