flex-plugins-utils-env
Advanced tools
Comparing version 0.18.0 to 0.19.0
@@ -8,3 +8,3 @@ export declare type Realm = 'dev' | 'stage'; | ||
isQuiet: () => boolean; | ||
setQuiet: () => void; | ||
setQuiet: (isQuiet?: boolean) => void; | ||
isDebug: () => boolean; | ||
@@ -15,3 +15,5 @@ isTrace: () => boolean; | ||
isCI: () => boolean; | ||
isCLI: () => boolean; | ||
setCLI: () => void; | ||
}; | ||
export default _default; |
@@ -18,5 +18,10 @@ "use strict"; | ||
var isQuiet = function () { return exports.isNode() && process.env.QUIET === 'true'; }; | ||
var setQuiet = function () { | ||
process.env.QUIET = 'true'; | ||
var setQuiet = function (isQuiet) { | ||
if (isQuiet === void 0) { isQuiet = true; } | ||
process.env.QUIET = String(isQuiet); | ||
}; | ||
var isCLI = function () { return process.env.FLEX_PLUGINS_CLI === 'true'; }; | ||
var setCLI = function () { | ||
process.env.FLEX_PLUGINS_CLI = 'true'; | ||
}; | ||
var isTrace = function () { | ||
@@ -80,3 +85,5 @@ if (exports.isNode()) { | ||
isCI: isCI, | ||
isCLI: isCLI, | ||
setCLI: setCLI, | ||
}; | ||
//# sourceMappingURL=env.js.map |
{ | ||
"name": "flex-plugins-utils-env", | ||
"version": "0.18.0", | ||
"version": "0.19.0", | ||
"description": "Flex Plugins Environments", | ||
@@ -46,3 +46,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "5d2b52d8f9694c42aca271dde8400de480adf3e7" | ||
"gitHead": "c30bba85fc858f3833333201ea50a74a4b584702" | ||
} |
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
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
9882
108
11