![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.
new-version
Advanced tools
A package helps you to test if you lock version the right way.
Have you ever in a situation when one of your dependencies get updated, then it breaks your application. Then you try to lock version of that dependency. But it's hard to verify if your method of locking version is correct. new-version
helps you by regularly update to a new version (currently: weekly), so you can verify if you do it the right way.
You can use node api or cli to check the current and newest version of package
Add this to your package.json
"scripts": {
"new-version": "new-version"
},
then execute
npm run new-version
or simply
./node_modules/.bin/new-version
import NewVersion from 'new-version'
NewVersion.log();
Current version: 0.0.1
Newest version: 0.0.2
You can verify if your locking mechanism is configured correctly by including this script in index.js
// index.js
import NewVersion from 'new-version'
async function checkVersion() {
const currentVersion = NewVersion.getCurrentVersion();
const newestVersion = await NewVersion.getNewestVersion();
if (currentVersion === newestVersion) {
console.warn('You are installing newest package. Ignore if you just install this package within a week. Otherwise, you may want to check if you are locking version correctly')
}
}
checkVersion();
getCurrentVersion
Return current installed version of new-version
getNewestVersion
Return newest version of new-version
. This is an async function
log
Friendly log current version and newest version of new-version
FAQs
A package which is frequently updated to a new version
We found that new-version 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.