+1
-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 @@ |
+1
-1
| { | ||
| "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(); |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 3 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
0
-100%20943
-0.08%