azure-pipelines-task-lib
Advanced tools
Comparing version 4.10.0 to 4.10.1
@@ -23,3 +23,3 @@ "use strict"; | ||
exports._knownVariableMap = {}; | ||
var _taskSdkToken; | ||
var _commandCorrelationId; | ||
//----------------------------------------------------- | ||
@@ -274,3 +274,3 @@ // Enums | ||
if (source === void 0) { source = IssueSource.TaskInternal; } | ||
_command('task.issue', { 'type': 'warning', 'source': source, 'token': _taskSdkToken }, message); | ||
_command('task.issue', { 'type': 'warning', 'source': source, 'correlationId': _commandCorrelationId }, message); | ||
} | ||
@@ -280,3 +280,3 @@ exports._warning = _warning; | ||
if (source === void 0) { source = IssueSource.TaskInternal; } | ||
_command('task.issue', { 'type': 'error', 'source': source, 'token': _taskSdkToken }, message); | ||
_command('task.issue', { 'type': 'error', 'source': source, 'correlationId': _commandCorrelationId }, message); | ||
} | ||
@@ -670,5 +670,5 @@ exports._error = _error; | ||
_debug('loaded ' + loaded); | ||
var token = process.env["TASK_SDK_COMMAND_TOKEN"]; | ||
delete process.env["TASK_SDK_COMMAND_TOKEN"]; | ||
_taskSdkToken = token ? String(token) : ""; | ||
var correlationId = process.env["COMMAND_CORRELATION_ID"]; | ||
delete process.env["COMMAND_CORRELATION_ID"]; | ||
_commandCorrelationId = correlationId ? String(correlationId) : ""; | ||
// store public variable metadata | ||
@@ -675,0 +675,0 @@ var names; |
{ | ||
"name": "azure-pipelines-task-lib", | ||
"version": "4.10.0", | ||
"version": "4.10.1", | ||
"description": "Azure Pipelines Task SDK", | ||
@@ -5,0 +5,0 @@ "main": "./task.js", |
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
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
424218