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 13.5.1 to 13.5.2

21

build/config/findComponentDescriptors.js

@@ -21,5 +21,5 @@ "use strict";

}
function _glob() {
const data = _interopRequireDefault(require("glob"));
_glob = function () {
function _fastGlob() {
const data = _interopRequireDefault(require("fast-glob"));
_fastGlob = function () {
return data;

@@ -30,8 +30,15 @@ };

var _extractComponentDescriptors = require("./extractComponentDescriptors");
function _cliTools() {
const data = require("@react-native-community/cli-tools");
_cliTools = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
function findComponentDescriptors(packageRoot) {
const files = _glob().default.sync('**/+(*.js|*.jsx|*.ts|*.tsx)', {
cwd: packageRoot,
nodir: true,
ignore: '**/node_modules/**'
const files = _fastGlob().default.sync('**/+(*.js|*.jsx|*.ts|*.tsx)', {
cwd: (0, _cliTools().unixifyPaths)(packageRoot),
onlyFiles: true,
ignore: ['**/node_modules/**']
});

@@ -38,0 +45,0 @@ const codegenComponent = files.map(filePath => _fs().default.readFileSync(_path().default.join(packageRoot, filePath), 'utf8')).map(_extractComponentDescriptors.extractComponentDescriptors).filter(Boolean);

@@ -7,5 +7,5 @@ "use strict";

exports.default = findManifest;
function _glob() {
const data = _interopRequireDefault(require("glob"));
_glob = function () {
function _fastGlob() {
const data = _interopRequireDefault(require("fast-glob"));
_fastGlob = function () {
return data;

@@ -22,2 +22,9 @@ };

}
function _cliTools() {
const data = require("@react-native-community/cli-tools");
_cliTools = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -33,4 +40,4 @@ /**

function findManifest(folder) {
let manifestPaths = _glob().default.sync(_path().default.join('**', 'AndroidManifest.xml'), {
cwd: folder,
let manifestPaths = _fastGlob().default.sync(_path().default.join('**', 'AndroidManifest.xml'), {
cwd: (0, _cliTools().unixifyPaths)(folder),
ignore: ['node_modules/**', '**/build/**', '**/debug/**', 'Examples/**', 'examples/**', '**/Pods/**', '**/sdks/hermes/android/**', '**/src/androidTest/**', '**/src/test/**']

@@ -37,0 +44,0 @@ });

@@ -15,5 +15,5 @@ "use strict";

}
function _glob() {
const data = _interopRequireDefault(require("glob"));
_glob = function () {
function _fastGlob() {
const data = _interopRequireDefault(require("fast-glob"));
_fastGlob = function () {
return data;

@@ -30,2 +30,9 @@ };

}
function _cliTools() {
const data = require("@react-native-community/cli-tools");
_cliTools = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -41,4 +48,4 @@ /**

function getPackageClassName(folder) {
const files = _glob().default.sync('**/+(*.java|*.kt)', {
cwd: folder
const files = _fastGlob().default.sync('**/+(*.java|*.kt)', {
cwd: (0, _cliTools().unixifyPaths)(folder)
});

@@ -45,0 +52,0 @@ const packages = files.map(filePath => _fs().default.readFileSync(_path().default.join(folder, filePath), 'utf8')).map(matchClassName).filter(match => match);

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

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

"dependencies": {
"@react-native-community/cli-tools": "13.5.1",
"@react-native-community/cli-tools": "13.5.2",
"chalk": "^4.1.2",
"execa": "^5.0.0",
"fast-glob": "^3.3.2",
"fast-xml-parser": "^4.2.4",
"glob": "^7.1.3",
"logkitty": "^0.7.1"

@@ -25,5 +25,4 @@ },

"devDependencies": {
"@react-native-community/cli-types": "13.5.1",
"@types/fs-extra": "^8.1.0",
"@types/glob": "^7.1.1"
"@react-native-community/cli-types": "13.5.2",
"@types/fs-extra": "^8.1.0"
},

@@ -36,3 +35,3 @@ "homepage": "https://github.com/react-native-community/cli/tree/main/packages/cli-platform-android",

},
"gitHead": "f9d8a74b76995ad92d5a0fa78f09a0b8dc44fbfe"
"gitHead": "2602f83860f7f834b38d1a51bcafbae3e89bb40b"
}

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