Socket
Socket
Sign inDemoInstall

@react-native-community/cli-tools

Package Overview
Dependencies
Maintainers
38
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 4.4.0 to 4.6.0

build/__mocks__/logger.d.ts

30

build/getDefaultUserTerminal.js

@@ -8,4 +8,32 @@ "use strict";

const getDefaultUserTerminal = () => process.env.REACT_TERMINAL || process.env.TERM_PROGRAM;
function _os() {
const data = _interopRequireDefault(require("os"));
_os = function () {
return data;
};
return data;
}
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
const getDefaultUserTerminal = () => {
const {
REACT_TERMINAL,
TERM_PROGRAM,
TERM
} = process.env;
if (REACT_TERMINAL) {
return REACT_TERMINAL;
}
if (_os().default.platform() === 'darwin') {
return TERM_PROGRAM;
}
return TERM;
};
var _default = getDefaultUserTerminal;

@@ -12,0 +40,0 @@ exports.default = _default;

5

package.json
{
"name": "@react-native-community/cli-tools",
"version": "4.4.0",
"version": "4.6.0",
"license": "MIT",

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

"!*.map"
],
"gitHead": "4824113076035e78883b8f0fb74aa2d40d873085"
]
}
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