Research
Security News
Kill Switch Hidden in npm Packages Typosquatting Chalk and Chokidar
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
webpack-bundle-stats-plugin
Advanced tools
Webpack-bundle-stats-plugin is a Webpack plugin that exports internal details about Webpack's bundle compilation process. Webpack has its own mechanism for exporting compilation stats, but it doesn't contain the full breadth of data available at compilation time. The goal of this plugin is to make all that data accessible in a form that can be consumed by other tools.
new BundleStatsPlugin(options)
The options
object supports the following properties:
outputFile
(string
): File path to which write the output JSON (optional)onComplete
((stats: BundleStats) => void
): Callback to call with the BundleStats
object (optional)FAQs
Export internal bundling details from Webpack
The npm package webpack-bundle-stats-plugin receives a total of 5 weekly downloads. As such, webpack-bundle-stats-plugin popularity was classified as not popular.
We found that webpack-bundle-stats-plugin demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket researchers found several malicious npm packages typosquatting Chalk and Chokidar, targeting Node.js developers with kill switches and data theft.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.