@react-native-community/cli-doctor
Advanced tools
Comparing version 7.0.1 to 8.0.0-alpha.0
@@ -6,7 +6,8 @@ export declare enum PACKAGE_MANAGERS { | ||
declare const isSoftwareNotInstalled: (command: string) => Promise<boolean>; | ||
declare const doesSoftwareNeedToBeFixed: ({ version, versionRange, }: { | ||
declare const doesSoftwareNeedToBeFixed: ({ version, versionRange, looseRange, }: { | ||
version: string; | ||
versionRange: string; | ||
looseRange?: boolean | undefined; | ||
}) => boolean; | ||
export { isSoftwareNotInstalled, doesSoftwareNeedToBeFixed }; | ||
//# sourceMappingURL=checkInstallation.d.ts.map |
@@ -51,5 +51,8 @@ "use strict"; | ||
version, | ||
versionRange | ||
versionRange, | ||
looseRange = false | ||
}) => { | ||
const coercedVersion = _semver().default.coerce(version); | ||
const coercedVersion = _semver().default.coerce(version, { | ||
loose: looseRange | ||
}); | ||
@@ -56,0 +59,0 @@ return version === 'Not Found' || coercedVersion === null || !_semver().default.satisfies(coercedVersion, versionRange); |
@@ -25,3 +25,4 @@ "use strict"; | ||
version: Binaries.Watchman.version, | ||
versionRange: _versionRanges.default.WATCHMAN | ||
versionRange: _versionRanges.default.WATCHMAN, | ||
looseRange: true | ||
}), | ||
@@ -28,0 +29,0 @@ version: Binaries.Watchman.version, |
@@ -9,6 +9,6 @@ "use strict"; | ||
// Common | ||
NODE_JS: '>= 8.3', | ||
NODE_JS: '>= 12', | ||
YARN: '>= 1.10.x', | ||
NPM: '>= 4.x', | ||
WATCHMAN: '4.x', | ||
WATCHMAN: '>= 4.x', | ||
JAVA: '1.8.x || >= 9', | ||
@@ -19,3 +19,3 @@ // Android | ||
// iOS | ||
XCODE: '>= 10.x' | ||
XCODE: '>= 12.x' | ||
}; | ||
@@ -22,0 +22,0 @@ exports.default = _default; |
{ | ||
"name": "@react-native-community/cli-doctor", | ||
"version": "7.0.1", | ||
"version": "8.0.0-alpha.0", | ||
"license": "MIT", | ||
@@ -11,17 +11,17 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-tools": "^7.0.1", | ||
"@react-native-community/cli-config": "^7.0.1", | ||
"chalk": "^3.0.0", | ||
"@react-native-community/cli-config": "^8.0.0-alpha.0", | ||
"@react-native-community/cli-tools": "^8.0.0-alpha.0", | ||
"chalk": "^4.1.2", | ||
"command-exists": "^1.2.8", | ||
"envinfo": "^7.7.2", | ||
"execa": "^1.0.0", | ||
"hermes-profile-transformer": "^0.0.6", | ||
"ip": "^1.1.5", | ||
"node-stream-zip": "^1.9.1", | ||
"command-exists": "^1.2.8", | ||
"ora": "^5.4.1", | ||
"prompts": "^2.4.0", | ||
"semver": "^6.3.0", | ||
"strip-ansi": "^5.2.0", | ||
"ora": "^5.4.1", | ||
"execa": "^1.0.0", | ||
"wcwidth": "^1.0.1", | ||
"sudo-prompt": "^9.0.0" | ||
"sudo-prompt": "^9.0.0", | ||
"wcwidth": "^1.0.1" | ||
}, | ||
@@ -34,8 +34,8 @@ "files": [ | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "^8.0.0-alpha.0", | ||
"@types/command-exists": "^1.2.0", | ||
"@react-native-community/cli-types": "^7.0.1", | ||
"@types/ip": "^1.1.0", | ||
"@types/prompts": "^2.0.9", | ||
"@types/semver": "^6.0.2", | ||
"@types/wcwidth": "^1.0.0", | ||
"@types/prompts": "^2.0.9" | ||
"@types/wcwidth": "^1.0.0" | ||
}, | ||
@@ -42,0 +42,0 @@ "homepage": "https://github.com/react-native-community/cli/tree/master/packages/cli-doctor", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
225348
132
2656
1
+ Added@react-native-community/cli-config@8.0.6(transitive)
+ Added@react-native-community/cli-tools@8.0.4(transitive)
+ Addedfind-up@5.0.0(transitive)
+ Addedlocate-path@6.0.0(transitive)
+ Addedp-limit@3.1.0(transitive)
+ Addedp-locate@5.0.0(transitive)
+ Addedpath-exists@4.0.0(transitive)
+ Addedyocto-queue@0.1.0(transitive)
- Removed@react-native-community/cli-config@7.0.1(transitive)
- Removed@react-native-community/cli-tools@7.0.1(transitive)
- Removedchalk@3.0.0(transitive)
Updatedchalk@^4.1.2