This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as yargs from 'yargs'; | |
import { createProjectGraphAsync } from '@nrwl/workspace/src/core/project-graph'; | |
async function main() { | |
const graph = await createProjectGraphAsync(); | |
const libToFind = yargs.argv._[0]; | |
console.log(`These projects depend on ${libToFind}`); | |
Object.values(graph.dependencies).forEach((deps) => { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Scan all jars in folder recursivley for log4j vuln | |
*/ | |
component { | |
property name="progressableDownloader" inject="ProgressableDownloader"; | |
property name="progressBar" inject="ProgressBar"; | |
/** | |
* @scanPath absolute or relative path to folder to look for jars | |
*/ |