Skip to content

Commit 28ce3bd

Browse files
authored
fixed vulnerability issues for task AzureRmWebAppDeployment V0&V1&V2 (#21631)
* fixed vulnerability issues for task AzureRmWebAppDeployment V0&V1&V2 * bumped up the version to 268
1 parent 4802c51 commit 28ce3bd

File tree

15 files changed

+554
-527
lines changed

15 files changed

+554
-527
lines changed

Tasks/AzureRmWebAppDeploymentV3/Tests/L0.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ var fileEncoding = require("../node_modules/azure-pipelines-tasks-webdeployment-
1313

1414
describe('AzureRmWebAppDeployment Suite', function() {
1515

16-
this.timeout(60000);
17-
18-
before((done) => {
16+
this.timeout(60000);
17+
18+
before((done) => {
1919
if(!tl.exist(path.join(__dirname, '..', 'node_modules/azure-pipelines-tasks-azure-arm-rest/Tests/node_modules'))) {
2020
tl.cp(path.join( __dirname, 'node_modules'), path.join(__dirname, '..', 'node_modules/azure-pipelines-tasks-azure-arm-rest/Tests'), '-rf', true);
2121
}
2222
done();
2323
});
2424

25-
ApplicationInsightsTests.ApplicationInsightsTests();
26-
AppServiceTests.AzureAppServiceMockTests();
27-
KuduServiceTests.KuduServiceTests();
25+
ApplicationInsightsTests.ApplicationInsightsTests(7000);
26+
AppServiceTests.AzureAppServiceMockTests(5000);
27+
KuduServiceTests.KuduServiceTests(5000);
2828
});

Tasks/AzureRmWebAppDeploymentV3/package-lock.json

Lines changed: 177 additions & 168 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Tasks/AzureRmWebAppDeploymentV3/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"agent-base": "^6.0.2",
2626
"archiver": "1.2.0",
2727
"azure-pipelines-task-lib": "4.11.0",
28-
"azure-pipelines-tasks-azure-arm-rest": "3.263.1",
28+
"azure-pipelines-tasks-azure-arm-rest": "3.267.0",
2929
"azure-pipelines-tasks-webdeployment-common": "4.265.0",
3030
"decompress-zip": "^0.3.3",
3131
"ltx": "2.8.0",

Tasks/AzureRmWebAppDeploymentV3/task.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 266,
20+
"Minor": 268,
2121
"Patch": 0
2222
},
2323
"releaseNotes": "What's new in Version 3.0: <br/>&nbsp;&nbsp;Supports File Transformations (XDT) <br/>&nbsp;&nbsp;Supports Variable Substitutions(XML, JSON) <br/>Click [here](https://aka.ms/azurermwebdeployreadme) for more information.",

Tasks/AzureRmWebAppDeploymentV3/task.loc.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"author": "Microsoft Corporation",
1818
"version": {
1919
"Major": 3,
20-
"Minor": 266,
20+
"Minor": 268,
2121
"Patch": 0
2222
},
2323
"releaseNotes": "ms-resource:loc.releaseNotes",

Tasks/AzureRmWebAppDeploymentV4/Tests/L0.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ describe('AzureRmWebAppDeployment Suite', function() {
2929
done();
3030
});
3131

32-
ApplicationInsightsTests.ApplicationInsightsTests();
33-
AppServiceTests.AzureAppServiceMockTests();
34-
KuduServiceTests.KuduServiceTests();
35-
ResourcesTests.ResourcesTests();
32+
ApplicationInsightsTests.ApplicationInsightsTests(10000);
33+
AppServiceTests.AzureAppServiceMockTests(5000);
34+
KuduServiceTests.KuduServiceTests(5000);
35+
ResourcesTests.ResourcesTests(5000);
3636

3737
it('AzureRmWebAppDeploymentV4 DeploymentFactoryTests', (done: MochaDone) => {
3838
let tp = path.join(__dirname,'DeploymentFactoryTests.js');

0 commit comments

Comments
 (0)