@react-native-community/cli-tools
Advanced tools
Comparing version 11.2.3 to 11.3.0
@@ -10,2 +10,3 @@ declare const _default: { | ||
isVerbose: () => boolean; | ||
hasDebugMessages: () => boolean; | ||
disable: () => void; | ||
@@ -12,0 +13,0 @@ enable: () => void; |
@@ -18,2 +18,3 @@ "use strict"; | ||
let disabled = false; | ||
let hidden = false; | ||
const formatMessages = messages => _chalk().default.reset(messages.join(SEPARATOR)); | ||
@@ -43,2 +44,4 @@ const success = (...messages) => { | ||
console.log(`${_chalk().default.gray.bold('debug')} ${formatMessages(messages)}`); | ||
} else { | ||
hidden = true; | ||
} | ||
@@ -61,2 +64,3 @@ }; | ||
}; | ||
const hasDebugMessages = () => hidden; | ||
var _default = { | ||
@@ -71,2 +75,3 @@ success, | ||
isVerbose, | ||
hasDebugMessages, | ||
disable, | ||
@@ -73,0 +78,0 @@ enable |
{ | ||
"name": "@react-native-community/cli-tools", | ||
"version": "11.2.3", | ||
"version": "11.3.0", | ||
"license": "MIT", | ||
@@ -21,3 +21,3 @@ "main": "build/index.js", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "11.2.3", | ||
"@react-native-community/cli-types": "11.3.0", | ||
"@types/lodash": "^4.14.149", | ||
@@ -40,3 +40,3 @@ "@types/mime": "^2.0.1", | ||
}, | ||
"gitHead": "d8c3213c2afbdfebeab025beae850e57dad4118c" | ||
"gitHead": "24438afd6ee9313553e2e2b7773acd3a80037f08" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
155899
1717