sync-disk-cache
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -15,3 +15,3 @@ 'use strict'; | ||
var os = require('os'); | ||
var username = require('username').sync(); | ||
var username = require('child_process').execSync('whoami').toString().trim(); | ||
var tmpdir = path.join(os.tmpdir(), username); | ||
@@ -18,0 +18,0 @@ var mode = { |
{ | ||
"name": "sync-disk-cache", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "sync disk cache", | ||
@@ -32,4 +32,3 @@ "files": [ | ||
"mkdirp": "^0.5.0", | ||
"rimraf": "^2.2.8", | ||
"username": "^2.3.0" | ||
"rimraf": "^2.2.8" | ||
}, | ||
@@ -36,0 +35,0 @@ "devDependencies": { |
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
9436
4
1
- Removedusername@^2.3.0
- Removedcross-spawn-async@2.2.5(transitive)
- Removedexeca@0.4.0(transitive)
- Removedis-stream@1.1.0(transitive)
- Removedisexe@2.0.0(transitive)
- Removedlru-cache@4.1.5(transitive)
- Removedmem@0.1.1(transitive)
- Removednpm-run-path@1.0.0(transitive)
- Removedobject-assign@4.1.1(transitive)
- Removedpath-key@1.0.0(transitive)
- Removedpseudomap@1.0.2(transitive)
- Removedstrip-eof@1.0.0(transitive)
- Removedusername@2.3.0(transitive)
- Removedwhich@1.3.1(transitive)
- Removedyallist@2.1.2(transitive)