azure-pipelines-task-lib
Advanced tools
Comparing version 4.3.1 to 4.4.0
@@ -62,2 +62,3 @@ "use strict"; | ||
module.exports.getBoolInput = task.getBoolInput; | ||
module.exports.getBoolFeatureFlag = task.getBoolFeatureFlag; | ||
module.exports.getDelimitedInput = task.getDelimitedInput; | ||
@@ -64,0 +65,0 @@ module.exports.filePathSupplied = task.filePathSupplied; |
{ | ||
"name": "azure-pipelines-task-lib", | ||
"version": "4.3.1", | ||
"version": "4.4.0", | ||
"description": "Azure Pipelines Task SDK", | ||
@@ -5,0 +5,0 @@ "main": "./task.js", |
@@ -135,2 +135,10 @@ /// <reference types="node" /> | ||
/** | ||
* Gets the value of an feature flag and converts to a bool. | ||
* | ||
* @param name name of the feature flag to get. | ||
* @param defaultValue default value of the feature flag in case it's not found in env. (optional. Default value = false) | ||
* @returns boolean | ||
*/ | ||
export declare function getBoolFeatureFlag(ffName: string, defaultValue?: boolean): boolean; | ||
/** | ||
* Gets the value of an input and splits the value using a delimiter (space, comma, etc). | ||
@@ -137,0 +145,0 @@ * Empty values are removed. This function is useful for splitting an input containing a simple |
Sorry, the diff of this file is too big to display
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
382365
6607
53