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

create-react-native-library

Package Overview
Dependencies
Maintainers
0
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-native-library - npm Package Compare versions

Comparing version 0.38.2 to 0.38.3

27

lib/index.js

@@ -319,15 +319,18 @@ "use strict";

}
}, {
type: 'select',
name: 'example',
message: 'What type of example app do you want to create?',
choices: (_, values) => {
return EXAMPLE_CHOICES.filter(choice => {
if (values.type) {
return values.type === 'library' ? choice.value === 'expo' : choice.value !== 'expo';
}
return true;
});
}
}];
if (!local) {
questions.push({
type: 'select',
name: 'example',
message: 'What type of example app do you want to create?',
choices: (_, values) => {
return EXAMPLE_CHOICES.filter(choice => {
if (values.type) {
return values.type === 'library' ? choice.value === 'expo' : choice.value !== 'expo';
}
return true;
});
}
});
}
const validate = answers => {

@@ -334,0 +337,0 @@ for (const [key, value] of Object.entries(answers)) {

{
"name": "create-react-native-library",
"version": "0.38.2",
"version": "0.38.3",
"description": "CLI to scaffold React Native libraries",

@@ -68,3 +68,3 @@ "keywords": [

},
"gitHead": "5052841763c6b50ea474f272480dc86c3f466138"
"gitHead": "af4dbda7cf9b703ecc7a78703c8c43d388a89acd"
}

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