@sourcebug/dpdm
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "@sourcebug/dpdm", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"private": false, | ||
@@ -27,3 +27,10 @@ "description": "Analyze circular dependencies in your JavaScript/TypeScript projects.", | ||
"src/", | ||
"target/release/dpdm" | ||
"target/release/dpdm", | ||
"scripts/dpdm.js", | ||
"target/aarch64-apple-darwin/release/dpdm", | ||
"target/x86_64-apple-darwin/release/dpdm", | ||
"target/aarch64-unknown-linux-gnu/release/dpdm", | ||
"target/x86_64-unknown-linux-gnu/release/dpdm", | ||
"target/x86_64-pc-windows-gnu/release/dpdm", | ||
"target/aarch64-pc-windows-gnu/release/dpdm" | ||
], | ||
@@ -51,3 +58,4 @@ "bin": { | ||
"test": "echo 'Pass'", | ||
"demo": "tsx ./src/bin/dpdm.ts ./example/index.js" | ||
"demo": "tsx ./src/bin/dpdm.ts ./example/index.js", | ||
"postinstall": "node scripts/dpdm.js" | ||
}, | ||
@@ -96,3 +104,7 @@ "repository": { | ||
"endOfLine": "lf" | ||
} | ||
}, | ||
"os": [ | ||
"darwin", | ||
"linux" | ||
] | ||
} |
@@ -167,4 +167,2 @@ #!/usr/bin/env node | ||
console.log('current: ', current); | ||
const options: ParseOptions = { | ||
@@ -181,7 +179,6 @@ context, | ||
}; | ||
console.log('options: ', options , files); | ||
parseDependencyTree(files, options) | ||
.then(async (tree) => { | ||
// write tree to file | ||
fs.writeFile('tree-ts.json', JSON.stringify(tree, null, 2)); | ||
console.log('tree: ', tree); | ||
if (isEmpty(tree)) { | ||
@@ -188,0 +185,0 @@ throw new Error(`No entry files were matched.`); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
25969520
64
2745
1
4