Socket
Socket
Sign inDemoInstall

@react-native-community/cli-config

Package Overview
Dependencies
Maintainers
30
Versions
120
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-config - npm Package Compare versions

Comparing version 11.0.0-alpha.2 to 11.0.0

README.md

17

build/loadConfig.js

@@ -52,2 +52,3 @@ "use strict";

},
reactNativeVersion: 'unknown',
dependencies: userConfig.dependencies,

@@ -71,2 +72,18 @@ commands: userConfig.commands,

};
// Try our best to figure out what version of React Native we're running. This is
// currently being used to get our deeplinks working, so it's only worried with
// the major and minor version.
try {
let semver = _cliTools().version.current(initialConfig.reactNativePath);
if (semver) {
// Retain only these version, since they correspond with our documentation.
initialConfig.reactNativeVersion = `${semver.major}.${semver.minor}`;
}
} catch (e) {
// If we don't seem to be in a well formed project, give up quietly.
if (!(e instanceof _cliTools().UnknownProjectError)) {
throw e;
}
}
const finalConfig = Array.from(new Set([...Object.keys(userConfig.dependencies), ...(0, _findDependencies.default)(projectRoot)])).reduce((acc, dependencyName) => {

@@ -73,0 +90,0 @@ const localDependencyRoot = userConfig.dependencies[dependencyName] && userConfig.dependencies[dependencyName].root;

2

build/merge.d.ts

@@ -5,3 +5,3 @@ /**

*/
export default function merge<X, Y>(x: X, y: Y): unknown;
export default function merge<X, Y>(x: Partial<X>, y: Partial<Y>): X & Y;
//# sourceMappingURL=merge.d.ts.map

@@ -136,3 +136,4 @@ "use strict";

.object({
sourceDir: _joi().default.string()
sourceDir: _joi().default.string(),
unstable_reactLegacyComponentNames: _joi().default.array().items(_joi().default.string()).default([])
}).default({}),

@@ -146,3 +147,4 @@ android: _joi().default

packageName: _joi().default.string(),
dependencyConfiguration: _joi().default.string()
dependencyConfiguration: _joi().default.string(),
unstable_reactLegacyComponentNames: _joi().default.array().items(_joi().default.string()).default([])
}).default({})

@@ -149,0 +151,0 @@ }).default(),

{
"name": "@react-native-community/cli-config",
"version": "11.0.0-alpha.2",
"version": "11.0.0",
"license": "MIT",

@@ -11,6 +11,6 @@ "main": "build/index.js",

"dependencies": {
"@react-native-community/cli-tools": "^11.0.0-alpha.2",
"@react-native-community/cli-tools": "^11.0.0",
"chalk": "^4.1.2",
"cosmiconfig": "^5.1.0",
"deepmerge": "^3.2.0",
"deepmerge": "^4.3.0",
"glob": "^7.1.3",

@@ -25,3 +25,3 @@ "joi": "^17.2.1"

"devDependencies": {
"@react-native-community/cli-types": "^11.0.0-alpha.2",
"@react-native-community/cli-types": "^11.0.0",
"@types/cosmiconfig": "^5.0.3",

@@ -36,3 +36,3 @@ "@types/glob": "^7.1.1"

},
"gitHead": "63022103bebc9202d15255d8d2a6b90ce7401bf0"
"gitHead": "e0c9bcea9cb7af9548052d80846bb45f187a28a3"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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