Socket
Socket
Sign inDemoInstall

@react-native-community/cli-platform-android

Package Overview
Dependencies
Maintainers
30
Versions
213
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-native-community/cli-platform-android - npm Package Compare versions

Comparing version 12.1.1 to 12.2.0

10

build/config/__fixtures__/android.d.ts

@@ -107,2 +107,12 @@ /**

};
export declare const customFlavor: {
src: {
e2e: {
'AndroidManifest.xml': any;
};
main: {
'AndroidManifest.xml': any;
};
};
};
//# sourceMappingURL=android.d.ts.map

13

build/config/findManifest.js

@@ -31,9 +31,16 @@ "use strict";

function findManifest(folder) {
const manifestPath = _glob().default.sync(_path().default.join('**', 'AndroidManifest.xml'), {
let manifestPaths = _glob().default.sync(_path().default.join('**', 'AndroidManifest.xml'), {
cwd: folder,
ignore: ['node_modules/**', '**/build/**', '**/debug/**', 'Examples/**', 'examples/**', '**/Pods/**', '**/sdks/hermes/android/**', '**/src/androidTest/**', '**/src/test/**']
})[0];
return manifestPath ? _path().default.join(folder, manifestPath) : null;
});
if (manifestPaths.length > 1) {
// if we have more than one manifest, pick the one in the main folder if present
const mainManifest = manifestPaths.filter(manifestPath => manifestPath.includes('src/main/'));
if (mainManifest.length === 1) {
manifestPaths = mainManifest;
}
}
return manifestPaths[0] ? _path().default.join(folder, manifestPaths[0]) : null;
}
//# sourceMappingURL=findManifest.ts.map

@@ -67,6 +67,3 @@ "use strict";

const applicationId = buildGradlePath ? getApplicationId(buildGradlePath, packageName) : packageName;
const mainActivity = (0, _getMainActivity.default)(manifestPath || '');
if (!mainActivity) {
throw new (_cliTools().CLIError)(`Main activity not found in ${manifestPath}`);
}
const mainActivity = (0, _getMainActivity.default)(manifestPath || '') ?? '';
return {

@@ -73,0 +70,0 @@ sourceDir,

{
"name": "@react-native-community/cli-platform-android",
"version": "12.1.1",
"version": "12.2.0",
"license": "MIT",

@@ -10,3 +10,3 @@ "main": "build/index.js",

"dependencies": {
"@react-native-community/cli-tools": "12.1.1",
"@react-native-community/cli-tools": "12.2.0",
"chalk": "^4.1.2",

@@ -25,3 +25,3 @@ "execa": "^5.0.0",

"devDependencies": {
"@react-native-community/cli-types": "12.1.1",
"@react-native-community/cli-types": "12.2.0",
"@types/fs-extra": "^8.1.0",

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

},
"gitHead": "a45a2d92c3d53dcb0cf7ba8be4860ad75ff06702"
"gitHead": "f30a010c3036b04f2bd5430a27586472466082a8"
}

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