Comparing version 1.0.0 to 1.0.1
@@ -58,3 +58,3 @@ /** | ||
File.prototype.writeFile = function() { | ||
fs.writeFile.apply(fs, this.prepareArgs(arguments, ['', {}, function(err) {throw Error(err)}])); | ||
fs.writeFile.apply(fs, this.prepareArgs(arguments, [{}, function(err) {throw Error(err)}])); | ||
}; | ||
@@ -61,0 +61,0 @@ |
{ | ||
"name": "temporary", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "The lord of tmp.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -49,3 +49,3 @@ /** | ||
var tmp = new Tempfile; | ||
tmp.writeFile('test.txt', {}, function() {}); | ||
tmp.writeFile({}, function() {}); | ||
fs.writeFile.getCall(0).args[0].should.eql(tmp.path); | ||
@@ -52,0 +52,0 @@ fs.writeFile.restore(); |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
0
20943