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 2.1.5 to 2.1.6

21

createReactApp.js

@@ -271,6 +271,17 @@ /**

if (useYarn) {
fs.copySync(
require.resolve('./yarn.lock.cached'),
path.join(root, 'yarn.lock')
);
let yarnUsesDefaultRegistry = true;
try {
yarnUsesDefaultRegistry =
execSync('yarnpkg config get registry')
.toString()
.trim() === 'https://registry.yarnpkg.com';
} catch (e) {
// ignore
}
if (yarnUsesDefaultRegistry) {
fs.copySync(
require.resolve('./yarn.lock.cached'),
path.join(root, 'yarn.lock')
);
}
}

@@ -458,3 +469,3 @@

knownGeneratedFiles.forEach(fileToMatch => {
// This remove all of knownGeneratedFiles.
// This removes all knownGeneratedFiles.
if (file === fileToMatch) {

@@ -461,0 +472,0 @@ console.log(`Deleting generated file... ${chalk.cyan(file)}`);

{
"name": "create-react-app",
"version": "2.1.5",
"version": "2.1.6",
"keywords": [

@@ -5,0 +5,0 @@ "react"

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