@sourcebug/dpdm
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "@sourcebug/dpdm", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"private": false, | ||
@@ -102,7 +102,3 @@ "description": "Analyze circular dependencies in your JavaScript/TypeScript projects.", | ||
"endOfLine": "lf" | ||
}, | ||
"os": [ | ||
"darwin", | ||
"linux" | ||
] | ||
} | ||
} |
@@ -0,1 +1,2 @@ | ||
const fs = require('fs'); | ||
const path = require('path'); | ||
@@ -22,3 +23,6 @@ const os = require('os'); | ||
const targetDir = path.join(__dirname, '../target', 'release'); | ||
const targetFile = path.join(targetDir, 'dpdm'); | ||
const targetFile = path.join( | ||
targetDir, | ||
platform === 'win32' ? 'dpdm.exe' : 'dpdm', | ||
); | ||
@@ -25,0 +29,0 @@ if (!fs.existsSync(targetDir)) { |
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
25969548
2749
17