New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

create-react-app

Package Overview
Dependencies
Maintainers
6
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-app - npm Package Compare versions

Comparing version 4.0.3 to 5.0.0-next.31

12

createReactApp.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc