
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
dependency-tree-webpack-plugin
Advanced tools
This webpack plugin can export the dependencies of your project as JSON files.
First, you need install it in your project.
npm i dependency-tree-webpack-plugin -D
Second, Add webpack plug to your project.
const DependencyTreePlugin = require('dependency-tree-webpack-plugin').default;
...
plugins:[
...,
new DependencyTreePlugin(),
]
}
Then, just run it, a dependency-tree file will appear in your root directory. The content of this file will look like this.

You need install the VSCode extension webpack tree, And load the json file, and it will generate a tree view in the sidebar, like this.

You can take the initiative to load the JSON file, or the VSCode extension will automatically search the / folder, build folder, .Vscode folder in the directory to find this file dependency-tree.json.

This tree is made up of project dependencies, and you can clearly understand the structure of the project. you can jump quickly between these files.
FAQs
get dependency tree from webpack.
The npm package dependency-tree-webpack-plugin receives a total of 81 weekly downloads. As such, dependency-tree-webpack-plugin popularity was classified as not popular.
We found that dependency-tree-webpack-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.