
Product
Introducing Webhook Events for Alert Changes
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.
@barbuza/duplicate-package-checker-webpack-plugin
Advanced tools
Webpack plugin that warns you when multiple versions of the same package exist in a build.
Webpack plugin that warns you when multiple versions of the same package exist in a build.

It might be possible that a single package gets included multiple times in a Webpack build due to different package versions. This situation may happen without any warning, resulting in extra bloat in your build and may lead to hard-to-find bugs.
This plugin will warn you of such cases to minimize build size and avoid bugs caused by unintended duplicate packages.
Motivation: https://github.com/webpack/webpack/issues/385 and https://github.com/webpack/webpack/issues/646.
npm install duplicate-package-checker-webpack-plugin --save-dev
Add the plugin to your webpack config:
var DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin');
module.exports = {
plugins: [
new DuplicatePackageCheckerPlugin()
]
};
You can also pass an object with configurable options:
new DuplicatePackageCheckerPlugin({
// Also show module that is requiring each duplicate package
verbose: true,
// Ignore these modules
ignore: ["warning", "query-string"]
})
FAQs
Webpack plugin that warns you when multiple versions of the same package exist in a build.
We found that @barbuza/duplicate-package-checker-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.

Product
Add real-time Socket webhook events to your workflows to automatically receive software supply chain alert changes in real time.

Security News
ENISA has become a CVE Program Root, giving the EU a central authority for coordinating vulnerability reporting, disclosure, and cross-border response.

Product
Socket now scans OpenVSX extensions, giving teams early detection of risky behaviors, hidden capabilities, and supply chain threats in developer tools.