Socket
Socket
Sign inDemoInstall

@react-native-community/cli-tools

Package Overview
Dependencies
Maintainers
30
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 9.0.0-alpha.5 to 9.0.0-alpha.6

8

build/findPackageDependencyDir.js

@@ -62,3 +62,3 @@ "use strict";

function pickValues(obj, keys, names) {
const finalNames = names !== null && names !== void 0 ? names : keys;
const finalNames = names ?? keys;
const results = {};

@@ -94,7 +94,5 @@ let pickedValue = false;

function findPackageDependencyDir(ref, options) {
var _ref$scope;
const pkgName = typeof ref === 'string' ? ref : path().join(ref.scope ?? '', ref.name);
const pkgName = typeof ref === 'string' ? ref : path().join((_ref$scope = ref.scope) !== null && _ref$scope !== void 0 ? _ref$scope : '', ref.name);
const packageDir = _findUp().default.sync(path().join('node_modules', pkgName), { ...pickValues(options !== null && options !== void 0 ? options : {}, ['startDir', 'allowSymlinks'], ['cwd', 'allowSymlinks']),
const packageDir = _findUp().default.sync(path().join('node_modules', pkgName), { ...pickValues(options ?? {}, ['startDir', 'allowSymlinks'], ['cwd', 'allowSymlinks']),
type: 'directory'

@@ -101,0 +99,0 @@ });

@@ -23,22 +23,13 @@ "use strict";

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
class OraNoop {
constructor() {
_defineProperty(this, "spinner", {
interval: 1,
frames: []
});
spinner = {
interval: 1,
frames: []
};
indent = 0;
isSpinning = false;
text = '';
prefixText = '';
color = 'blue';
_defineProperty(this, "indent", 0);
_defineProperty(this, "isSpinning", false);
_defineProperty(this, "text", '');
_defineProperty(this, "prefixText", '');
_defineProperty(this, "color", 'blue');
}
succeed(_text) {

@@ -45,0 +36,0 @@ return this;

{
"name": "@react-native-community/cli-tools",
"version": "9.0.0-alpha.5",
"version": "9.0.0-alpha.6",
"license": "MIT",

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

"@types/mime": "^2.0.1",
"@types/node": "^12.0.0",
"@types/node": "^14.0.0",
"@types/node-fetch": "^2.5.5"

@@ -40,3 +40,3 @@ },

},
"gitHead": "2ad7188990359da01c04c3f50ecafaba5dc88427"
"gitHead": "35d02f5b3687cb88e5846d2a44ee9be1a6788335"
}

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