Socket
Socket
Sign inDemoInstall

azure-pipelines-task-lib

Package Overview
Dependencies
Maintainers
7
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.0.1-preview to 3.0.3-preview

4

internal.d.ts

@@ -23,7 +23,7 @@ import vm = require('./vault');

* Call once at the beginning of the script before any calls to loc.
*
* @param path Full path to the json.
* @param ignoreWarnings Won't throw warnings if path already set.
* @returns void
*/
export declare function _setResourcePath(path: string): void;
export declare function _setResourcePath(path: string, ignoreWarnings?: boolean): void;
/**

@@ -30,0 +30,0 @@ * Gets the localized string from the json resource file. Optionally formats with additional params.

@@ -126,7 +126,8 @@ "use strict";

* Call once at the beginning of the script before any calls to loc.
*
* @param path Full path to the json.
* @param ignoreWarnings Won't throw warnings if path already set.
* @returns void
*/
function _setResourcePath(path) {
function _setResourcePath(path, ignoreWarnings) {
if (ignoreWarnings === void 0) { ignoreWarnings = false; }
if (process.env['TASKLIB_INPROC_UNITS']) {

@@ -150,3 +151,8 @@ _resourceFiles = {};

else {
_warning(_loc('LIB_ResourceFileAlreadySet', path));
if (ignoreWarnings) {
_debug(_loc('LIB_ResourceFileAlreadySet', path));
}
else {
_warning(_loc('LIB_ResourceFileAlreadySet', path));
}
}

@@ -153,0 +159,0 @@ }

@@ -164,3 +164,5 @@ "use strict";

var nodeVersionFound = false;
var execution = taskJson['execution'];
var execution = (taskJson['execution']
|| taskJson['prejobexecution']
|| taskJson['postjobexecution']);
var keys = Object.keys(execution);

@@ -167,0 +169,0 @@ for (var i = 0; i < keys.length; i++) {

{
"name": "azure-pipelines-task-lib",
"version": "3.0.1-preview",
"version": "3.0.3-preview",
"description": "Azure Pipelines Task SDK",

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

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