Socket
Socket
Sign inDemoInstall

azure-pipelines-task-lib

Package Overview
Dependencies
Maintainers
11
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azure-pipelines-task-lib - npm Package Compare versions

Comparing version 3.2.0 to 3.2.1

Strings/resources.resjson/de-DE/resources.resjson

9

mock-task.js

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

module.exports.getInput = task.getInput;
module.exports.getInputRequired = task.getInputRequired;
module.exports.getBoolInput = task.getBoolInput;

@@ -74,2 +75,6 @@ module.exports.getDelimitedInput = task.getDelimitedInput;

module.exports.getPathInput = getPathInput;
function getPathInputRequired(name, check) {
return getPathInput(name, true, check);
}
module.exports.getPathInputRequired = getPathInputRequired;
//-----------------------------------------------------

@@ -79,5 +84,9 @@ // Endpoint Helpers

module.exports.getEndpointUrl = task.getEndpointUrl;
module.exports.getEndpointUrlRequired = task.getEndpointUrlRequired;
module.exports.getEndpointDataParameter = task.getEndpointDataParameter;
module.exports.getEndpointDataParameterRequired = task.getEndpointDataParameterRequired;
module.exports.getEndpointAuthorizationScheme = task.getEndpointAuthorizationScheme;
module.exports.getEndpointAuthorizationSchemeRequired = task.getEndpointAuthorizationSchemeRequired;
module.exports.getEndpointAuthorizationParameter = task.getEndpointAuthorizationParameter;
module.exports.getEndpointAuthorizationParameterRequired = task.getEndpointAuthorizationParameterRequired;
module.exports.getEndpointAuthorization = task.getEndpointAuthorization;

@@ -84,0 +93,0 @@ //-----------------------------------------------------

2

package.json
{
"name": "azure-pipelines-task-lib",
"version": "3.2.0",
"version": "3.2.1",
"description": "Azure Pipelines Task SDK",

@@ -5,0 +5,0 @@ "main": "./task.js",

@@ -112,2 +112,10 @@ /// <reference types="node" />

/**
* Gets the value of an input.
* If the value is not set, it will throw.
*
* @param name name of the input to get
* @returns string
*/
export declare function getInputRequired(name: string): string;
/**
* Gets the value of an input and converts to a bool. Convenience.

@@ -158,2 +166,13 @@ * If required is true and the value is not set, it will throw.

/**
* Gets the value of a path input
* It will be quoted for you if it isn't already and contains spaces
* If the value is not set, it will throw.
* If check is true and the path does not exist, it will throw.
*
* @param name name of the input to get
* @param check whether path is checked. optional, defaults to false
* @returns string
*/
export declare function getPathInputRequired(name: string, check?: boolean): string;
/**
* Gets the url for a service endpoint

@@ -167,3 +186,12 @@ * If the url was not set and is not optional, it will throw.

export declare function getEndpointUrl(id: string, optional: boolean): string | undefined;
/**
* Gets the url for a service endpoint
* If the url was not set, it will throw.
*
* @param id name of the service endpoint
* @returns string
*/
export declare function getEndpointUrlRequired(id: string): string;
export declare function getEndpointDataParameter(id: string, key: string, optional: boolean): string | undefined;
export declare function getEndpointDataParameterRequired(id: string, key: string): string;
/**

@@ -179,2 +207,10 @@ * Gets the endpoint authorization scheme for a service endpoint

/**
* Gets the endpoint authorization scheme for a service endpoint
* If the endpoint authorization scheme is not set, it will throw.
*
* @param id name of the service endpoint
* @returns {string} value of the endpoint authorization scheme
*/
export declare function getEndpointAuthorizationSchemeRequired(id: string): string;
/**
* Gets the endpoint authorization parameter value for a service endpoint with specified key

@@ -190,2 +226,11 @@ * If the endpoint authorization parameter is not set and is not optional, it will throw.

/**
* Gets the endpoint authorization parameter value for a service endpoint with specified key
* If the endpoint authorization parameter is not set, it will throw.
*
* @param id name of the service endpoint
* @param key key to find the endpoint authorization parameter
* @returns {string} value of the endpoint authorization parameter value
*/
export declare function getEndpointAuthorizationParameterRequired(id: string, key: string): string;
/**
* Interface for EndpointAuthorization

@@ -192,0 +237,0 @@ * Contains a schema and a string/string dictionary of auth data

Sorry, the diff of this file is too big to display

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