create-react-app
Advanced tools
Comparing version 4.0.3 to 5.0.0-next.31
@@ -239,3 +239,8 @@ /** | ||
function createApp(name, verbose, version, template, useNpm, usePnp) { | ||
const unsupportedNodeVersion = !semver.satisfies(process.version, '>=10'); | ||
const unsupportedNodeVersion = !semver.satisfies( | ||
// Coerce strings with metadata (i.e. `15.0.0-nightly`). | ||
semver.coerce(process.version), | ||
'>=14' | ||
); | ||
if (unsupportedNodeVersion) { | ||
@@ -245,3 +250,3 @@ console.log( | ||
`You are using Node ${process.version} so the project will be bootstrapped with an old unsupported version of tools.\n\n` + | ||
`Please update to Node 10 or higher for a better, fully supported experience.\n` | ||
`Please update to Node 14 or higher for a better, fully supported experience.\n` | ||
) | ||
@@ -392,2 +397,3 @@ ); | ||
'install', | ||
'--no-audit', // https://github.com/facebook/create-react-app/issues/11174 | ||
'--save', | ||
@@ -527,3 +533,3 @@ '--save-exact', | ||
`\nNote: the project was bootstrapped with an old unsupported version of tools.\n` + | ||
`Please update to Node >=10 and npm >=6 to get supported tools in new projects.\n` | ||
`Please update to Node >=14 and npm >=6 to get supported tools in new projects.\n` | ||
) | ||
@@ -530,0 +536,0 @@ ); |
@@ -43,3 +43,3 @@ #!/usr/bin/env node | ||
if (major < 10) { | ||
if (major < 14) { | ||
console.error( | ||
@@ -49,3 +49,3 @@ 'You are running Node ' + | ||
'.\n' + | ||
'Create React App requires Node 10 or higher. \n' + | ||
'Create React App requires Node 14 or higher. \n' + | ||
'Please update your version of Node.' | ||
@@ -52,0 +52,0 @@ ); |
{ | ||
"name": "create-react-app", | ||
"version": "4.0.3", | ||
"version": "5.0.0-next.31+749a76d2", | ||
"keywords": [ | ||
@@ -15,3 +15,3 @@ "react" | ||
"engines": { | ||
"node": ">=10" | ||
"node": ">=14" | ||
}, | ||
@@ -49,3 +49,3 @@ "bugs": { | ||
}, | ||
"gitHead": "f92c37a6e6636ed1650ffd976c6881f59b1be803" | ||
"gitHead": "749a76d291d6b07681d0941eeb23112c6970d3c4" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1125
455909
2
4