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

create-node-app

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-node-app - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

17

bin/create-node-app.js

@@ -14,10 +14,11 @@ #!/usr/bin/env node

const cwd = process.cwd()
const semver = require('semver')
if (process.versions.node.split('.')[0] < 8) {
console.error(
chalk.red(`
You are running Node ${process.versions.node}.
create-node-app requires Node 8 or higher.
Please update your version of Node.
`)
// Target the same node version that react-scripts targets
if (!semver.satisfies(process.version, '>=8.10.0')) {
console.log(
chalk.red(
`You are using Node ${process.version}, which is not supported by Create Node App.\n\n` +
`Please update to Node 8.10 or higher.\n`
)
)

@@ -43,3 +44,3 @@ process.exit(1)

async function createApp(appName, verbose) {
async function createApp (appName, verbose) {
checkAppName(program.name(), appName)

@@ -46,0 +47,0 @@ const useYarn = await shouldUseYarn()

@@ -6,3 +6,3 @@ {

},
"version": "1.0.5",
"version": "1.0.6",
"description": "Create Node.js apps by running one command",

@@ -17,2 +17,3 @@ "main": "index.js",

"fs-extra": "^7.0.1",
"semver": "^6.0.0",
"validate-npm-package-name": "^3.0.0"

@@ -19,0 +20,0 @@ },

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