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
2
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.34.1 to 0.34.2

24

lib/index.js

@@ -61,8 +61,7 @@ "use strict";

};
const CPP_VIEW_FILES = {
// view_legacy does NOT need component registration
view_mixed: _path.default.resolve(__dirname, '../templates/cpp-view-mixed'),
view_new: _path.default.resolve(__dirname, '../templates/cpp-view-new')
};
const LANGUAGE_CHOICES = [{
title: 'Kotlin & Objective-C',
value: 'kotlin-objc',
types: ['module-legacy', 'module-new', 'module-mixed', 'view-mixed', 'view-new', 'view-legacy']
}, {
title: 'Java & Objective-C',

@@ -72,5 +71,5 @@ value: 'java-objc',

}, {
title: 'Kotlin & Objective-C',
value: 'kotlin-objc',
types: ['module-legacy', 'module-new', 'module-mixed', 'view-mixed', 'view-new', 'view-legacy']
title: 'Kotlin & Swift',
value: 'kotlin-swift',
types: ['module-legacy', 'view-legacy']
}, {

@@ -81,6 +80,2 @@ title: 'Java & Swift',

}, {
title: 'Kotlin & Swift',
value: 'kotlin-swift',
types: ['module-legacy', 'view-legacy']
}, {
title: 'C++ for Android & iOS',

@@ -529,7 +524,2 @@ value: 'cpp',

}
if (moduleType === 'view') {
if (arch === 'new' || arch === 'mixed') {
await copyDir(CPP_VIEW_FILES[`${moduleType}_${arch}`], folder);
}
}
}

@@ -536,0 +526,0 @@ if (example !== 'none') {

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

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

},
"gitHead": "1d82fb23700516ca8c2d5864c6df90f9ae3e3c11"
"gitHead": "b0316a643a9a01544c2ad1acc3c511a786653005"
}

Sorry, the diff of this file is not supported yet

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