+4
-3
@@ -51,3 +51,4 @@ var util = require('util') | ||
| var args = Array.prototype.slice.call(arguments, 1) | ||
| , date = new Date().toISOString().replace('T', ' ').replace('Z', ''); | ||
| , date = new Date().toISOString().replace('T', ' ').replace('Z', '') | ||
| , self = this; | ||
| msg = util.format.apply(util, args); | ||
@@ -66,3 +67,3 @@ if (!disable_colours) { | ||
| ); | ||
| log.write(msg); | ||
| self.write(msg); | ||
| }); | ||
@@ -91,3 +92,3 @@ }; | ||
| var args = [type].concat(Array.prototype.slice.call(arguments)); | ||
| log.output.apply(this, args); | ||
| this.output.apply(this, args); | ||
| }; | ||
@@ -94,0 +95,0 @@ }); |
+1
-1
| { | ||
| "name": "sslog", | ||
| "version": "0.1.2", | ||
| "version": "0.1.3", | ||
| "description": "A simple logger", | ||
@@ -5,0 +5,0 @@ "main": "log.js", |
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 5 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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 5 instances in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
5184
0.43%92
1.1%