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 2.11.1 to 2.11.2

3

internal.d.ts

@@ -25,5 +25,6 @@ import vm = require('./vault');

* @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 +31,0 @@ * Gets the localized string from the json resource file. Optionally formats with additional params.

@@ -127,5 +127,7 @@ "use strict";

* @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']) {

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

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

@@ -152,0 +159,0 @@ }

{
"name": "azure-pipelines-task-lib",
"version": "2.11.1",
"version": "2.11.2",
"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