Gathering detailed insights and metrics for @barbuza/duplicate-package-checker-webpack-plugin
Gathering detailed insights and metrics for @barbuza/duplicate-package-checker-webpack-plugin
Gathering detailed insights and metrics for @barbuza/duplicate-package-checker-webpack-plugin
Gathering detailed insights and metrics for @barbuza/duplicate-package-checker-webpack-plugin
🕵️ Webpack plugin that warns you when a build contains multiple versions of the same package
npm install @barbuza/duplicate-package-checker-webpack-plugin
Typescript
Module System
Node Version
NPM Version
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
708 Stars
41 Commits
31 Forks
5 Watchers
26 Branches
5 Contributors
Updated on Jan 13, 2025
Latest Version
1.2.4
Package Id
@barbuza/duplicate-package-checker-webpack-plugin@1.2.4
Size
26.24 kB
NPM Version
4.2.0
Node Version
7.9.0
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
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.
1npm install duplicate-package-checker-webpack-plugin --save-dev
Add the plugin to your webpack config:
1var DuplicatePackageCheckerPlugin = require('duplicate-package-checker-webpack-plugin'); 2 3module.exports = { 4 plugins: [ 5 new DuplicatePackageCheckerPlugin() 6 ] 7};
You can also pass an object with configurable options:
1new DuplicatePackageCheckerPlugin({
2 // Also show module that is requiring each duplicate package
3 verbose: true,
4 // Ignore these modules
5 ignore: ["warning", "query-string"]
6})
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
91 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More