Socket
Socket
Sign inDemoInstall

azure-pipelines-tasks-artifacts-common

Package Overview
Dependencies
Maintainers
7
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-pipelines-tasks-artifacts-common - npm Package Compare versions

Comparing version 2.241.0 to 2.241.1

3

module.json

@@ -20,4 +20,5 @@ {

"ServiceConnections_Error_FailedToParseServiceEndpoint_BadScheme": "Failed to parse the service endpoint '%s' because the auth scheme '%s' was invalid",
"SettingAzureCloud": "Setting active cloud to: %s"
"SettingAzureCloud": "Setting active cloud to: %s",
"Info_GotAndMaskAuth":"Got auth token, setting it as secret so it does not print in console log"
}
}
{
"name": "azure-pipelines-tasks-artifacts-common",
"version": "2.241.0",
"version": "2.241.1",
"description": "Azure Artifacts common code (for new authentication tasks)",

@@ -5,0 +5,0 @@ "scripts": {

import * as api from 'azure-devops-node-api';
import { IRequestOptions } from 'azure-devops-node-api/interfaces/common/VsoBaseInterfaces';
export declare function getWebApiWithProxy(serviceUri: string, accessToken: string, options?: IRequestOptions): api.WebApi;
/** Return a masked SystemAccessToken */
export declare function getSystemAccessToken(): string;
export declare function getFederatedToken(connectedServiceName: string): Promise<string>;

@@ -29,2 +29,3 @@ "use strict";

exports.getWebApiWithProxy = getWebApiWithProxy;
/** Return a masked SystemAccessToken */
function getSystemAccessToken() {

@@ -34,3 +35,4 @@ tl.debug('Getting credentials for local feeds');

if (auth.scheme === 'OAuth') {
tl.debug('Got auth token');
tl.debug(tl.loc("Info_GotAndMaskAuth"));
tl.setSecret(auth.parameters['AccessToken']);
return auth.parameters['AccessToken'];

@@ -37,0 +39,0 @@ }

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc