![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
npm-prestige
Advanced tools
Check and report duplicate -> dependencies@2.0.1
dependencies -> duplicate@1.0.3
inside your installed npm modules
npm -g i npm-prestige
or
yarn global add npm-prestige
npm-prestige
When building large js applications, you sometimes end up with large trees of dependencies. When different dependencies depend on different versions of the same package your final program/bundle will end up with both versions inside. Depending on your application, these extra packages may have negative performance implications (for example if you're developing js for a web application, it will increase the final bundle size the user needs to download over the wire).
Sometimes it gets worse, as npm and yarn won't always dedupe all versions of a package with the same version (if there's another version of the package already installed higher up in the dependency tree) This can lead to the exact same version of a package installed many many times. Note that browserify and some other tools match and dedupe based on the code signature for different dependencies and don't have this problem
Updating your dependencies to all use the same semver range of packages can reduce the final bundle size of your packages.
npm-prestige reports all duplicate dependencies that it finds installed. It uses npm ls
under the hood, and only reports un-deduped packages.
Since npm-prestige
uses npm under the hood, it has a hidden dependency on the version of npm you've globally installed.
It works fine with all versions of npm that I've tested (4.1.0
and up), but prints nicer output with >4.6.0
.
Please submit an issue if it doesn't work with a specific version of npm
FAQs
Finds and summarizes duplicate npm dependencies
We found that npm-prestige 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
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.