@react-native-community/cli-tools
Advanced tools
Comparing version 4.4.0 to 4.6.0
@@ -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; |
{ | ||
"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" | ||
] | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
131060
42
681
4