Skip to content

Commit

Permalink
Fix vulnerabilities (#3072) in UseNodeV1 task (#16452)
Browse files Browse the repository at this point in the history
* Fix vulnerabilities (#3072)

* bump task version


Co-authored-by: AndreyIvanov42 <93121155+AndreyIvanov42@users.noreply.github.com>
Co-authored-by: Alexander Smolyakov <v-alsmo@microsoft.com>
Co-authored-by: Igor Kozlov <102179149+Kozlov-Igor@users.noreply.github.com>
  • Loading branch information
4 people authored Jul 12, 2022
1 parent bf6d25b commit 3cd30c5
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Tasks/UseNodeV1/Tests/L0FirstDownloadSuccess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ tlClone.setVariable = function(key, val) {
};
if (process.env["__proxy__"]) {
tlClone.getHttpProxyConfiguration = function(requestUrl?: string): taskLib.ProxyConfiguration | null {
return { proxyUrl: 'http://url.com', proxyUsername: 'username', proxyPassword: 'password', proxyBypassHosts: null};
return { proxyUrl: 'http://url.com', proxyUsername: 'username', proxyPassword: 'password', proxyBypassHosts: null, proxyFormattedUrl: 'http://username:password@url.com'};
}
}
tmr.registerMock('azure-pipelines-task-lib/mock-task', tlClone);
Expand Down
24 changes: 11 additions & 13 deletions Tasks/UseNodeV1/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Tasks/UseNodeV1/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@types/mocha": "^5.2.7",
"@types/node": "^10.17.0",
"@types/q": "^1.5.1",
"azure-pipelines-task-lib": "^3.0.6-preview.0",
"azure-pipelines-task-lib": "^3.3.1",
"azure-pipelines-tasks-packaging-common": "2.1.0",
"azure-pipelines-tasks-utility-common": "^3.198.1",
"azure-pipelines-tool-lib": "^1.0.2",
Expand Down
2 changes: 1 addition & 1 deletion Tasks/UseNodeV1/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 206,
"Minor": 208,
"Patch": 0
},
"satisfies": [
Expand Down
4 changes: 2 additions & 2 deletions Tasks/UseNodeV1/task.loc.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"author": "Microsoft Corporation",
"version": {
"Major": 1,
"Minor": 206,
"Minor": 208,
"Patch": 0
},
"satisfies": [
Expand Down Expand Up @@ -61,4 +61,4 @@
"messages": {
"ToolFailed": "ms-resource:loc.messages.ToolFailed"
}
}
}

0 comments on commit 3cd30c5

Please sign in to comment.