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.4-preview.0 to 3.0.5-preview

4

mock-test.js

@@ -182,4 +182,4 @@ "use strict";

if (!nodeVersionFound) {
console.warn('Unable to determine execution type from task.json, defaulting to use Node 14');
return 14;
console.warn('Unable to determine execution type from task.json, defaulting to use Node 10');
return 10;
}

@@ -186,0 +186,0 @@ return 6;

{
"name": "azure-pipelines-task-lib",
"version": "3.0.4-preview.0",
"version": "3.0.5-preview",
"description": "Azure Pipelines Task SDK",

@@ -42,3 +42,3 @@ "main": "./task.js",

"@types/mockery": "^1.4.29",
"@types/node": "^14.10.0",
"@types/node": "^10.17.0",
"@types/q": "^1.5.4",

@@ -45,0 +45,0 @@ "@types/semver": "^7.3.4",

@@ -20,13 +20,13 @@

## Node 14 Upgrade Notice
## Node 10 Upgrade Notice
Azure DevOps is currently working to establish Node 14 as the new preferred runtime for tasks, upgrading from Node 6.
Azure DevOps is currently working to establish Node 10 as the new preferred runtime for tasks, upgrading from Node 6.
Relevant work is happening in the releases/3.x branch and will be merged into master when we have successfully migrated the majority of our first party tasks.
Any changes should be dual-commited to both `master` and `releases/3.x` until the merge into master occurs.
### Upgrading to Node 14
### Upgrading to Node 10
Upgrading your tasks from Node 6 should be relatively painless, however there are some things to note:
* Typescript has been upgraded to TS 4. Older versions of TS may or may not work with Node 14 or the 3.x branch. We recommend upgrading to TS 4 when upgrading to task-lib 3.x.
* Node has made some changes to `fs` between Node 6 and Node 14. It is worth reviewing and testing your tasks thoroughly before publishing updates to Node 14.
* Node has made some changes to `fs` between Node 6 and Node 10. It is worth reviewing and testing your tasks thoroughly before publishing updates to Node 10.

@@ -33,0 +33,0 @@ ## Reference Examples

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