@react-native-community/cli-tools
Advanced tools
Comparing version 6.0.0-rc.0 to 6.1.0
@@ -54,5 +54,5 @@ "use strict"; | ||
function _getRequireWildcardCache() { if (typeof WeakMap !== "function") return null; var cache = new WeakMap(); _getRequireWildcardCache = function () { return cache; }; return cache; } | ||
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } | ||
function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } | ||
@@ -59,0 +59,0 @@ async function unwrapFetchResult(response) { |
@@ -15,3 +15,6 @@ "use strict"; | ||
launchDebugger: true, | ||
launchEditor: true | ||
launchEditor: true, | ||
releaseChecker: true, | ||
resolveNodeModuleDir: true, | ||
hookStdout: true | ||
}; | ||
@@ -72,2 +75,20 @@ Object.defineProperty(exports, "logger", { | ||
}); | ||
Object.defineProperty(exports, "releaseChecker", { | ||
enumerable: true, | ||
get: function () { | ||
return _releaseChecker.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "resolveNodeModuleDir", { | ||
enumerable: true, | ||
get: function () { | ||
return _resolveNodeModuleDir.default; | ||
} | ||
}); | ||
Object.defineProperty(exports, "hookStdout", { | ||
enumerable: true, | ||
get: function () { | ||
return _hookStdout.default; | ||
} | ||
}); | ||
@@ -90,2 +111,8 @@ var _logger = _interopRequireDefault(require("./logger")); | ||
var _releaseChecker = _interopRequireDefault(require("./releaseChecker")); | ||
var _resolveNodeModuleDir = _interopRequireDefault(require("./resolveNodeModuleDir")); | ||
var _hookStdout = _interopRequireDefault(require("./hookStdout")); | ||
var _errors = require("./errors"); | ||
@@ -96,2 +123,3 @@ | ||
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; | ||
if (key in exports && exports[key] === _errors[key]) return; | ||
Object.defineProperty(exports, key, { | ||
@@ -98,0 +126,0 @@ enumerable: true, |
{ | ||
"name": "@react-native-community/cli-tools", | ||
"version": "6.0.0-rc.0", | ||
"version": "6.1.0", | ||
"license": "MIT", | ||
@@ -10,7 +10,10 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"appdirsjs": "^1.2.4", | ||
"chalk": "^3.0.0", | ||
"lodash": "^4.17.15", | ||
"mime": "^2.4.1", | ||
"mkdirp": "^0.5.1", | ||
"node-fetch": "^2.6.0", | ||
"open": "^6.2.0", | ||
"semver": "^6.3.0", | ||
"shell-quote": "1.6.1" | ||
@@ -34,3 +37,3 @@ }, | ||
}, | ||
"gitHead": "67b6623b951e9cfc956edc503bf5b83c9ade7c85" | ||
"gitHead": "e1da64317a1178c2b262d82c2f14210cdfa3ebe1" | ||
} |
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
45119
18
1057
1
9
14
+ Addedappdirsjs@^1.2.4
+ Addedmkdirp@^0.5.1
+ Addedsemver@^6.3.0
+ Addedappdirsjs@1.2.7(transitive)
+ Addedminimist@1.2.8(transitive)
+ Addedmkdirp@0.5.6(transitive)
+ Addedsemver@6.3.1(transitive)