azure-pipelines-tasks-azurermdeploycommon 3.245.0 → 3.268.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Tests/mock_utils.d.ts +1 -1
- package/Tests/mock_utils.js +3 -3
- package/Tests/mock_utils.ts +33 -31
- package/Tests/package-lock.json +18 -14
- package/Tests/package.json +5 -4
- package/azure-arm-rest/AzureServiceClient.ts +3 -2
- package/azure-arm-rest/azure-arm-endpoint.d.ts +1 -1
- package/azure-arm-rest/azure-arm-endpoint.js +3 -3
- package/azure-arm-rest/azure-arm-endpoint.ts +8 -5
- package/azure-arm-rest/azure-arm-resource.js +1 -1
- package/azure-arm-rest/azure-arm-resource.ts +2 -2
- package/package.json +6 -5
- package/webdeployment-common/npm-shrinkwrap.json +0 -495
package/Tests/mock_utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { AzureEndpoint } from '../azure-arm-rest/azureModels';
|
|
2
1
|
export declare var nock: any;
|
|
2
|
+
import { AzureEndpoint } from '../azure-arm-rest/azureModels';
|
|
3
3
|
export declare function getMockEndpoint(scheme?: string, msiClientId?: string): AzureEndpoint;
|
|
4
4
|
export declare function mockAzureARMAppInsightsWebTests(): void;
|
|
5
5
|
export declare function mockAzureApplicationInsightsTests(): void;
|
package/Tests/mock_utils.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.mockAzureARMResourcesTests = exports.mockKuduServiceTests = exports.mockAzureAppServiceTests = exports.mockAzureApplicationInsightsTests = exports.mockAzureARMAppInsightsWebTests = exports.getMockEndpoint = exports.nock = void 0;
|
|
4
4
|
const querystring = require("querystring");
|
|
5
|
-
const azure_arm_common_1 = require("../azure-arm-rest/azure-arm-common");
|
|
6
5
|
exports.nock = require('nock');
|
|
6
|
+
const azure_arm_common_1 = require("../azure-arm-rest/azure-arm-common");
|
|
7
7
|
function getMockEndpoint(scheme, msiClientId) {
|
|
8
8
|
process.env["AZURE_HTTP_USER_AGENT"] = "TEST_AGENT";
|
|
9
9
|
var endpoint = {
|
|
@@ -260,8 +260,8 @@ function mockAzureAppServiceTests() {
|
|
|
260
260
|
}
|
|
261
261
|
}).post("/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/Microsoft.Web/sites/MOCK_APP_SERVICE_NAME/publishxml?api-version=2016-08-01")
|
|
262
262
|
.reply(200, `<publishData>
|
|
263
|
-
<publishProfile profileName="MOCK_APP_SERVICE_NAME - Web Deploy" publishMethod="MSDeploy"
|
|
264
|
-
publishUrl="MOCK_APP_SERVICE_NAME.scm.azurewebsites.net:443" msdeploySite="MOCK_APP_SERVICE_NAME"
|
|
263
|
+
<publishProfile profileName="MOCK_APP_SERVICE_NAME - Web Deploy" publishMethod="MSDeploy"
|
|
264
|
+
publishUrl="MOCK_APP_SERVICE_NAME.scm.azurewebsites.net:443" msdeploySite="MOCK_APP_SERVICE_NAME"
|
|
265
265
|
userName="$MOCK_APP_SERVICE_NAME" userPWD="MOCK_APP_SERVICE_MSDEPLOY_PASSWORD" destinationAppUrl="http://MOCK_APP_SERVICE_NAME.azurewebsites.net">
|
|
266
266
|
</publishProfile>
|
|
267
267
|
</publishData>`).persist();
|
package/Tests/mock_utils.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import { ApplicationTokenCredentials } from '../azure-arm-rest/azure-arm-common';
|
|
1
|
+
import * as querystring from 'querystring';
|
|
2
|
+
|
|
4
3
|
export var nock = require('nock');
|
|
5
4
|
|
|
5
|
+
import { AzureEndpoint } from '../azure-arm-rest/azureModels';
|
|
6
|
+
import { ApplicationTokenCredentials } from '../azure-arm-rest/azure-arm-common';
|
|
7
|
+
|
|
6
8
|
export function getMockEndpoint(scheme?: string, msiClientId?: string) {
|
|
7
9
|
process.env["AZURE_HTTP_USER_AGENT"] = "TEST_AGENT";
|
|
8
10
|
|
|
@@ -20,7 +22,7 @@ export function getMockEndpoint(scheme?: string, msiClientId?: string) {
|
|
|
20
22
|
applicationTokenCredentials: new ApplicationTokenCredentials("MOCK_SPN_ID", "MOCK_TENANT_ID", "MOCK_SPN_KEY", "https://management.azure.com/",
|
|
21
23
|
"https://login.windows.net/", "https://management.azure.com/", false, scheme, msiClientId)
|
|
22
24
|
}
|
|
23
|
-
|
|
25
|
+
|
|
24
26
|
nock("https://login.windows.net", {
|
|
25
27
|
reqheaders: {
|
|
26
28
|
"content-type": "application/x-www-form-urlencoded; charset=utf-8"
|
|
@@ -32,9 +34,9 @@ export function getMockEndpoint(scheme?: string, msiClientId?: string) {
|
|
|
32
34
|
grant_type: "client_credentials",
|
|
33
35
|
client_secret: "MOCK_SPN_KEY"
|
|
34
36
|
}))
|
|
35
|
-
.reply(200, {
|
|
37
|
+
.reply(200, {
|
|
36
38
|
access_token: "DUMMY_ACCESS_TOKEN"
|
|
37
|
-
}).persist();
|
|
39
|
+
}).persist();
|
|
38
40
|
|
|
39
41
|
let apiVersion = "2018-02-01";
|
|
40
42
|
let msiClientIdUrl = msiClientId ? "&client_id=" + msiClientId : "";
|
|
@@ -45,7 +47,7 @@ export function getMockEndpoint(scheme?: string, msiClientId?: string) {
|
|
|
45
47
|
}
|
|
46
48
|
})
|
|
47
49
|
.get("/oauth2/token?resource=https://management.azure.com/")
|
|
48
|
-
.reply(200, {
|
|
50
|
+
.reply(200, {
|
|
49
51
|
access_token: "DUMMY_ACCESS_TOKEN"
|
|
50
52
|
}).persist();
|
|
51
53
|
|
|
@@ -60,7 +62,7 @@ export function mockAzureARMAppInsightsWebTests() {
|
|
|
60
62
|
name: 'MOCK_TEST_1',
|
|
61
63
|
id: "hidden-link:/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_1".toLowerCase()
|
|
62
64
|
};
|
|
63
|
-
|
|
65
|
+
|
|
64
66
|
var MockWebTest2 = {
|
|
65
67
|
type: '',
|
|
66
68
|
location: '',
|
|
@@ -104,8 +106,8 @@ export function mockAzureApplicationInsightsTests() {
|
|
|
104
106
|
"content-type": "application/json; charset=utf-8"
|
|
105
107
|
}
|
|
106
108
|
}).get("/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME?api-version=2015-05-01")
|
|
107
|
-
.reply(200, {
|
|
108
|
-
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME",
|
|
109
|
+
.reply(200, {
|
|
110
|
+
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME",
|
|
109
111
|
name: "MOCK_APP_INSIGHTS_NAME",
|
|
110
112
|
type: "microsoft.insights/components",
|
|
111
113
|
tags: {},
|
|
@@ -127,8 +129,8 @@ export function mockAzureApplicationInsightsTests() {
|
|
|
127
129
|
"content-type": "application/json; charset=utf-8"
|
|
128
130
|
}
|
|
129
131
|
}).put("/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME?api-version=2015-05-01")
|
|
130
|
-
.reply(200, {
|
|
131
|
-
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME",
|
|
132
|
+
.reply(200, {
|
|
133
|
+
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.insights/components/MOCK_APP_INSIGHTS_NAME",
|
|
132
134
|
name: "MOCK_APP_INSIGHTS_NAME",
|
|
133
135
|
type: "microsoft.insights/components",
|
|
134
136
|
tags: {},
|
|
@@ -231,7 +233,7 @@ export function mockAzureAppServiceTests() {
|
|
|
231
233
|
state: "Running"
|
|
232
234
|
}
|
|
233
235
|
}).persist();;
|
|
234
|
-
|
|
236
|
+
|
|
235
237
|
nock('https://management.azure.com', {
|
|
236
238
|
reqheaders: {
|
|
237
239
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -257,7 +259,7 @@ export function mockAzureAppServiceTests() {
|
|
|
257
259
|
state: "Stopped"
|
|
258
260
|
}
|
|
259
261
|
}).persist();;
|
|
260
|
-
|
|
262
|
+
|
|
261
263
|
nock('https://management.azure.com', {
|
|
262
264
|
reqheaders: {
|
|
263
265
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -283,12 +285,12 @@ export function mockAzureAppServiceTests() {
|
|
|
283
285
|
}
|
|
284
286
|
}).post("/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/Microsoft.Web/sites/MOCK_APP_SERVICE_NAME/publishxml?api-version=2016-08-01")
|
|
285
287
|
.reply(200,`<publishData>
|
|
286
|
-
<publishProfile profileName="MOCK_APP_SERVICE_NAME - Web Deploy" publishMethod="MSDeploy"
|
|
287
|
-
publishUrl="MOCK_APP_SERVICE_NAME.scm.azurewebsites.net:443" msdeploySite="MOCK_APP_SERVICE_NAME"
|
|
288
|
+
<publishProfile profileName="MOCK_APP_SERVICE_NAME - Web Deploy" publishMethod="MSDeploy"
|
|
289
|
+
publishUrl="MOCK_APP_SERVICE_NAME.scm.azurewebsites.net:443" msdeploySite="MOCK_APP_SERVICE_NAME"
|
|
288
290
|
userName="$MOCK_APP_SERVICE_NAME" userPWD="MOCK_APP_SERVICE_MSDEPLOY_PASSWORD" destinationAppUrl="http://MOCK_APP_SERVICE_NAME.azurewebsites.net">
|
|
289
291
|
</publishProfile>
|
|
290
292
|
</publishData>`).persist();
|
|
291
|
-
|
|
293
|
+
|
|
292
294
|
nock('https://management.azure.com', {
|
|
293
295
|
reqheaders: {
|
|
294
296
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -315,7 +317,7 @@ export function mockAzureAppServiceTests() {
|
|
|
315
317
|
scmUri: "https://$v:MOCK_APP_SERVICE_MSDEPLOY_PASSWORD@MOCK_APP_SERVICE_NAME.scm.azurewebsites.net"
|
|
316
318
|
}
|
|
317
319
|
}).persist();;
|
|
318
|
-
|
|
320
|
+
|
|
319
321
|
nock('https://management.azure.com', {
|
|
320
322
|
reqheaders: {
|
|
321
323
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -341,7 +343,7 @@ export function mockAzureAppServiceTests() {
|
|
|
341
343
|
"MSDEPLOY_RENAME_LOCKED_FILES": "1"
|
|
342
344
|
}
|
|
343
345
|
}).persist();;
|
|
344
|
-
|
|
346
|
+
|
|
345
347
|
nock('https://management.azure.com', {
|
|
346
348
|
reqheaders: {
|
|
347
349
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -379,7 +381,7 @@ export function mockAzureAppServiceTests() {
|
|
|
379
381
|
"MSDEPLOY_RENAME_LOCKED_FILES": "0"
|
|
380
382
|
}
|
|
381
383
|
}).persist();;
|
|
382
|
-
|
|
384
|
+
|
|
383
385
|
nock('https://management.azure.com', {
|
|
384
386
|
reqheaders: {
|
|
385
387
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -404,7 +406,7 @@ export function mockAzureAppServiceTests() {
|
|
|
404
406
|
"alwaysOn": false
|
|
405
407
|
}
|
|
406
408
|
}).persist();;
|
|
407
|
-
|
|
409
|
+
|
|
408
410
|
nock('https://management.azure.com', {
|
|
409
411
|
reqheaders: {
|
|
410
412
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -440,7 +442,7 @@ export function mockAzureAppServiceTests() {
|
|
|
440
442
|
"alwaysOn": true
|
|
441
443
|
}
|
|
442
444
|
}).persist();;
|
|
443
|
-
|
|
445
|
+
|
|
444
446
|
nock('https://management.azure.com', {
|
|
445
447
|
reqheaders: {
|
|
446
448
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -490,7 +492,7 @@ export function mockAzureAppServiceTests() {
|
|
|
490
492
|
"VSTSRM_ReleaseDefinitionId": 1
|
|
491
493
|
}
|
|
492
494
|
}).persist();
|
|
493
|
-
|
|
495
|
+
|
|
494
496
|
nock('https://management.azure.com', {
|
|
495
497
|
reqheaders: {
|
|
496
498
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -498,7 +500,7 @@ export function mockAzureAppServiceTests() {
|
|
|
498
500
|
}
|
|
499
501
|
}).post("/subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/Microsoft.Web/sites/MOCK_APP_SERVICE_NAME/slots/MOCK_SLOT_NAME/config/metadata/list?api-version=2016-08-01")
|
|
500
502
|
.reply(501, 'internal error occurred').persist();
|
|
501
|
-
|
|
503
|
+
|
|
502
504
|
nock('https://management.azure.com', {
|
|
503
505
|
reqheaders: {
|
|
504
506
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -515,7 +517,7 @@ export function mockAzureAppServiceTests() {
|
|
|
515
517
|
"VSTSRM_ReleaseDefinitionId": 1
|
|
516
518
|
}
|
|
517
519
|
}).persist();
|
|
518
|
-
|
|
520
|
+
|
|
519
521
|
nock('https://management.azure.com', {
|
|
520
522
|
reqheaders: {
|
|
521
523
|
"authorization": "Bearer DUMMY_ACCESS_TOKEN",
|
|
@@ -547,16 +549,16 @@ export function mockKuduServiceTests() {
|
|
|
547
549
|
nock('http://MOCK_SCM_WEBSITE').
|
|
548
550
|
post('/api/continuouswebjobs/MOCK_JOB_NAME/start')
|
|
549
551
|
.reply(200, {name: "CONT_2", status: "Running", runCommand: "hello.cmd", type: "continuous"});
|
|
550
|
-
|
|
551
|
-
|
|
552
|
+
|
|
553
|
+
|
|
552
554
|
nock('http://FAIL_MOCK_SCM_WEBSITE').
|
|
553
555
|
post('/api/continuouswebjobs/MOCK_JOB_NAME/start').reply(501, 'Internal error occured');
|
|
554
556
|
|
|
555
557
|
nock('http://MOCK_SCM_WEBSITE').
|
|
556
558
|
post('/api/continuouswebjobs/MOCK_JOB_NAME/stop')
|
|
557
559
|
.reply(200, {name: "CONT_1", status: "Stopped", runCommand: "hello.cmd", type: "continuous"});
|
|
558
|
-
|
|
559
|
-
|
|
560
|
+
|
|
561
|
+
|
|
560
562
|
nock('http://FAIL_MOCK_SCM_WEBSITE').
|
|
561
563
|
post('/api/continuouswebjobs/MOCK_JOB_NAME/stop').reply(501, 'Internal error occured');
|
|
562
564
|
|
|
@@ -665,8 +667,8 @@ export function mockAzureARMResourcesTests() {
|
|
|
665
667
|
}
|
|
666
668
|
}).get("/subscriptions/MOCK_SUBSCRIPTION_ID/resources?$filter=resourceType%20EQ%20%27Microsoft.Web%2Fsites%27%20AND%20name%20EQ%20%27g%C3%B6m-mig-fr%C3%A5n-omv%C3%A4rlden%27&api-version=2016-07-01")
|
|
667
669
|
.reply(200, {
|
|
668
|
-
value: [{
|
|
669
|
-
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.web/sites/göm-mig-från-omvär",
|
|
670
|
+
value: [{
|
|
671
|
+
id: "subscriptions/MOCK_SUBSCRIPTION_ID/resourceGroups/MOCK_RESOURCE_GROUP_NAME/providers/microsoft.web/sites/göm-mig-från-omvär",
|
|
670
672
|
name: "MOCK_APP_INSIGHTS_NAME",
|
|
671
673
|
type: "microsoft.insights/components",
|
|
672
674
|
tags: {},
|
package/Tests/package-lock.json
CHANGED
|
@@ -13,12 +13,13 @@
|
|
|
13
13
|
}
|
|
14
14
|
},
|
|
15
15
|
"node_modules/debug": {
|
|
16
|
-
"version": "4.3.
|
|
17
|
-
"resolved": "https://
|
|
18
|
-
"integrity": "
|
|
16
|
+
"version": "4.3.7",
|
|
17
|
+
"resolved": "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/debug/-/debug-4.3.7.tgz",
|
|
18
|
+
"integrity": "sha1-h5RbQVGgEddtlaGY1xEchlw2ClI=",
|
|
19
19
|
"dev": true,
|
|
20
|
+
"license": "MIT",
|
|
20
21
|
"dependencies": {
|
|
21
|
-
"ms": "2.1.
|
|
22
|
+
"ms": "^2.1.3"
|
|
22
23
|
},
|
|
23
24
|
"engines": {
|
|
24
25
|
"node": ">=6.0"
|
|
@@ -31,21 +32,23 @@
|
|
|
31
32
|
},
|
|
32
33
|
"node_modules/json-stringify-safe": {
|
|
33
34
|
"version": "5.0.1",
|
|
34
|
-
"resolved": "https://
|
|
35
|
-
"integrity": "
|
|
35
|
+
"resolved": "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz",
|
|
36
|
+
"integrity": "sha1-Epai1Y/UXxmg9s4B1lcB4sc1tus=",
|
|
36
37
|
"dev": true
|
|
37
38
|
},
|
|
38
39
|
"node_modules/ms": {
|
|
39
|
-
"version": "2.1.
|
|
40
|
-
"resolved": "https://
|
|
41
|
-
"integrity": "
|
|
42
|
-
"dev": true
|
|
40
|
+
"version": "2.1.3",
|
|
41
|
+
"resolved": "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/ms/-/ms-2.1.3.tgz",
|
|
42
|
+
"integrity": "sha1-V0yBOM4dK1hh8LRFedut1gxmFbI=",
|
|
43
|
+
"dev": true,
|
|
44
|
+
"license": "MIT"
|
|
43
45
|
},
|
|
44
46
|
"node_modules/nock": {
|
|
45
47
|
"version": "13.5.5",
|
|
46
|
-
"resolved": "https://
|
|
47
|
-
"integrity": "
|
|
48
|
+
"resolved": "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/nock/-/nock-13.5.5.tgz",
|
|
49
|
+
"integrity": "sha1-zRyqyigdQr4X1RlGNno9U6avPng=",
|
|
48
50
|
"dev": true,
|
|
51
|
+
"license": "MIT",
|
|
49
52
|
"dependencies": {
|
|
50
53
|
"debug": "^4.1.0",
|
|
51
54
|
"json-stringify-safe": "^5.0.1",
|
|
@@ -57,9 +60,10 @@
|
|
|
57
60
|
},
|
|
58
61
|
"node_modules/propagate": {
|
|
59
62
|
"version": "2.0.1",
|
|
60
|
-
"resolved": "https://
|
|
61
|
-
"integrity": "
|
|
63
|
+
"resolved": "https://pkgs.dev.azure.com/mseng/PipelineTools/_packaging/PipelineTools_PublicPackages/npm/registry/propagate/-/propagate-2.0.1.tgz",
|
|
64
|
+
"integrity": "sha1-QM3tqxgIXHkjNOZPCsFyVtOPmkU=",
|
|
62
65
|
"dev": true,
|
|
66
|
+
"license": "MIT",
|
|
63
67
|
"engines": {
|
|
64
68
|
"node": ">= 8"
|
|
65
69
|
}
|
package/Tests/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
|
-
"name": "azure-
|
|
2
|
+
"name": "azure-pipelines-tasks-azurermdeploycommon",
|
|
3
3
|
"version": "1.0.3",
|
|
4
4
|
"description": "Test - Common Lib for Azure ARM REST apis",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+
|
|
7
|
+
"url": "git+https://github.com/microsoft/azure-pipelines-tasks-common-packages.git",
|
|
8
|
+
"directory": "common-npm-packages/azurermdeploycommon/Tests"
|
|
8
9
|
},
|
|
9
10
|
"author": "Microsoft Corporation",
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/microsoft/azure-pipelines-tasks-common-packages/issues"
|
|
13
14
|
},
|
|
14
|
-
"homepage": "https://github.com/
|
|
15
|
+
"homepage": "https://github.com/microsoft/azure-pipelines-tasks-common-packages#readme",
|
|
15
16
|
"devDependencies": {
|
|
16
17
|
"nock": "^13.5.5"
|
|
17
18
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import tl = require('azure-pipelines-task-lib/task');
|
|
2
|
+
|
|
2
3
|
import msRestAzure = require("./azure-arm-common");
|
|
3
4
|
import webClient = require("./webClient");
|
|
4
5
|
|
|
@@ -144,7 +145,7 @@ export class ServiceClient {
|
|
|
144
145
|
|| exceptionString.indexOf("unable to verify the first certificate") != -1
|
|
145
146
|
|| exceptionString.indexOf("unable to get local issuer certificate") != -1) {
|
|
146
147
|
tl.warning(tl.loc('ASE_SSLIssueRecommendation'));
|
|
147
|
-
}
|
|
148
|
+
}
|
|
148
149
|
|
|
149
150
|
throw exception;
|
|
150
151
|
}
|
|
@@ -261,7 +262,7 @@ export class ServiceClient {
|
|
|
261
262
|
public getFormattedError(error: any): string {
|
|
262
263
|
if(error && error.message) {
|
|
263
264
|
if(error.statusCode) {
|
|
264
|
-
var errorMessage = typeof error.message.valueOf() == 'string' ? error.message
|
|
265
|
+
var errorMessage = typeof error.message.valueOf() == 'string' ? error.message
|
|
265
266
|
: (error.message.Code || error.message.code) + " - " + (error.message.Message || error.message.message)
|
|
266
267
|
error.message = `${errorMessage} (CODE: ${error.statusCode})`
|
|
267
268
|
}
|
|
@@ -10,13 +10,13 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.dispose = exports.AzureRMEndpoint = void 0;
|
|
13
|
+
const fs = require("fs");
|
|
14
|
+
const path = require("path");
|
|
13
15
|
const tl = require("azure-pipelines-task-lib/task");
|
|
14
16
|
const Q = require("q");
|
|
15
|
-
const webClient = require("./webClient");
|
|
16
17
|
const azure_arm_common_1 = require("./azure-arm-common");
|
|
17
18
|
const constants = require("./constants");
|
|
18
|
-
const
|
|
19
|
-
const path = require("path");
|
|
19
|
+
const webClient = require("./webClient");
|
|
20
20
|
const certFilePath = path.join(tl.getVariable('Agent.TempDirectory'), 'spnCert.pem');
|
|
21
21
|
class AzureRMEndpoint {
|
|
22
22
|
constructor(connectedServiceName) {
|
|
@@ -1,11 +1,14 @@
|
|
|
1
|
+
import fs = require('fs');
|
|
2
|
+
import path = require('path');
|
|
3
|
+
|
|
1
4
|
import tl = require('azure-pipelines-task-lib/task');
|
|
2
5
|
import Q = require('q');
|
|
3
|
-
|
|
4
|
-
import { AzureEndpoint } from
|
|
6
|
+
|
|
7
|
+
import { AzureEndpoint } from './azureModels';
|
|
5
8
|
import { ApplicationTokenCredentials } from './azure-arm-common';
|
|
6
9
|
import constants = require('./constants');
|
|
7
|
-
import
|
|
8
|
-
|
|
10
|
+
import webClient = require('./webClient');
|
|
11
|
+
|
|
9
12
|
const certFilePath: string = path.join(tl.getVariable('Agent.TempDirectory'), 'spnCert.pem');
|
|
10
13
|
|
|
11
14
|
export class AzureRMEndpoint {
|
|
@@ -36,7 +39,7 @@ export class AzureRMEndpoint {
|
|
|
36
39
|
if (resourceIdSplit.length < 9) {
|
|
37
40
|
throw new Error(tl.loc('SpecifiedAzureRmEndpointIsInvalid', ''));
|
|
38
41
|
}
|
|
39
|
-
|
|
42
|
+
|
|
40
43
|
this.endpoint = {
|
|
41
44
|
subscriptionName: tl.getEndpointDataParameter(this._connectedServiceName, 'subscriptionname', true),
|
|
42
45
|
tenantID: tl.getEndpointAuthorizationParameter(this._connectedServiceName, 'tenantid', false),
|
|
@@ -10,10 +10,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Deployments = exports.ResourceGroups = exports.Resources = exports.ResourceManagementClient = void 0;
|
|
13
|
+
const tl = require("azure-pipelines-task-lib/task");
|
|
13
14
|
const AzureServiceClient_1 = require("./AzureServiceClient");
|
|
14
15
|
const azureServiceClient = require("./AzureServiceClient");
|
|
15
16
|
const webClient = require("./webClient");
|
|
16
|
-
const tl = require("azure-pipelines-task-lib/task");
|
|
17
17
|
class ResourceManagementClient extends azureServiceClient.ServiceClient {
|
|
18
18
|
constructor(credentials, subscriptionId, options) {
|
|
19
19
|
super(credentials, subscriptionId);
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
+
import tl = require('azure-pipelines-task-lib/task');
|
|
2
|
+
|
|
1
3
|
import { ToError, ServiceClient } from './AzureServiceClient';
|
|
2
4
|
import { AzureEndpoint } from './azureModels';
|
|
3
5
|
import msRestAzure = require('./azure-arm-common');
|
|
4
6
|
import azureServiceClient = require('./AzureServiceClient');
|
|
5
7
|
import webClient = require('./webClient');
|
|
6
|
-
import tl = require('azure-pipelines-task-lib/task');
|
|
7
|
-
import Q = require('q');
|
|
8
8
|
|
|
9
9
|
export class ResourceManagementClient extends azureServiceClient.ServiceClient {
|
|
10
10
|
|
package/package.json
CHANGED
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "azure-pipelines-tasks-azurermdeploycommon",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.268.0",
|
|
4
4
|
"description": "Common Lib for Azure ARM REST apis",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "git+
|
|
7
|
+
"url": "git+https://github.com/microsoft/azure-pipelines-tasks-common-packages.git",
|
|
8
|
+
"directory": "common-npm-packages/azurermdeploycommon"
|
|
8
9
|
},
|
|
9
10
|
"author": "Microsoft Corporation",
|
|
10
11
|
"license": "MIT",
|
|
11
12
|
"bugs": {
|
|
12
|
-
"url": "https://github.com/
|
|
13
|
+
"url": "https://github.com/microsoft/azure-pipelines-tasks-common-packages/issues"
|
|
13
14
|
},
|
|
14
15
|
"scripts": {
|
|
15
16
|
"build": "node ../build-scripts/downloadArchive.js https://vstsagenttools.blob.core.windows.net/tools/openssl/1.0.2/M138/openssl.zip ./openssl && node make.js"
|
|
16
17
|
},
|
|
17
|
-
"homepage": "https://github.com/
|
|
18
|
+
"homepage": "https://github.com/microsoft/azure-pipelines-tasks-common-packages#readme",
|
|
18
19
|
"dependencies": {
|
|
19
20
|
"@types/mocha": "^5.2.7",
|
|
20
21
|
"@types/node": "^10.17.0",
|
|
21
22
|
"@types/q": "1.0.7",
|
|
22
23
|
"archiver": "2.1.1",
|
|
23
24
|
"azure-pipelines-task-lib": "^4.17.0",
|
|
24
|
-
"jsonwebtoken": "^9.0.
|
|
25
|
+
"jsonwebtoken": "^9.0.3",
|
|
25
26
|
"ltx": "2.6.2",
|
|
26
27
|
"node-stream-zip": "1.7.0",
|
|
27
28
|
"q": "1.5.1",
|
|
@@ -1,495 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "webdeployment-common",
|
|
3
|
-
"version": "1.0.0",
|
|
4
|
-
"lockfileVersion": 1,
|
|
5
|
-
"requires": true,
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"archiver": {
|
|
8
|
-
"version": "1.2.0",
|
|
9
|
-
"resolved": "https://registry.npmjs.org/archiver/-/archiver-1.2.0.tgz",
|
|
10
|
-
"integrity": "sha1-+1xq9UQ7P6akJjRHU7rSp7REqt0=",
|
|
11
|
-
"requires": {
|
|
12
|
-
"archiver-utils": "1.3.0",
|
|
13
|
-
"async": "2.6.0",
|
|
14
|
-
"buffer-crc32": "0.2.13",
|
|
15
|
-
"glob": "7.1.2",
|
|
16
|
-
"lodash": "4.17.5",
|
|
17
|
-
"readable-stream": "2.3.4",
|
|
18
|
-
"tar-stream": "1.5.5",
|
|
19
|
-
"zip-stream": "1.2.0"
|
|
20
|
-
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"archiver-utils": {
|
|
23
|
-
"version": "1.3.0",
|
|
24
|
-
"resolved": "https://registry.npmjs.org/archiver-utils/-/archiver-utils-1.3.0.tgz",
|
|
25
|
-
"integrity": "sha1-5QtMCccL89aA4y/xt5lOn52JUXQ=",
|
|
26
|
-
"requires": {
|
|
27
|
-
"glob": "7.1.2",
|
|
28
|
-
"graceful-fs": "4.1.11",
|
|
29
|
-
"lazystream": "1.0.0",
|
|
30
|
-
"lodash": "4.17.5",
|
|
31
|
-
"normalize-path": "2.1.1",
|
|
32
|
-
"readable-stream": "2.3.4"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
"async": {
|
|
36
|
-
"version": "2.6.0",
|
|
37
|
-
"resolved": "https://registry.npmjs.org/async/-/async-2.6.0.tgz",
|
|
38
|
-
"integrity": "sha512-xAfGg1/NTLBBKlHFmnd7PlmUW9KhVQIUuSrYem9xzFUZy13ScvtyGGejaae9iAVRiRq9+Cx7DPFaAAhCpyxyPw==",
|
|
39
|
-
"requires": {
|
|
40
|
-
"lodash": "4.17.5"
|
|
41
|
-
}
|
|
42
|
-
},
|
|
43
|
-
"balanced-match": {
|
|
44
|
-
"version": "1.0.0",
|
|
45
|
-
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
|
46
|
-
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
|
|
47
|
-
},
|
|
48
|
-
"bl": {
|
|
49
|
-
"version": "1.2.1",
|
|
50
|
-
"resolved": "https://registry.npmjs.org/bl/-/bl-1.2.1.tgz",
|
|
51
|
-
"integrity": "sha1-ysMo977kVzDUBLaSID/LWQ4XLV4=",
|
|
52
|
-
"requires": {
|
|
53
|
-
"readable-stream": "2.3.4"
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"brace-expansion": {
|
|
57
|
-
"version": "1.1.11",
|
|
58
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
59
|
-
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
60
|
-
"requires": {
|
|
61
|
-
"balanced-match": "1.0.0",
|
|
62
|
-
"concat-map": "0.0.1"
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
"buffer-crc32": {
|
|
66
|
-
"version": "0.2.13",
|
|
67
|
-
"resolved": "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz",
|
|
68
|
-
"integrity": "sha1-DTM+PwDqxQqhRUq9MO+MKl2ackI="
|
|
69
|
-
},
|
|
70
|
-
"compress-commons": {
|
|
71
|
-
"version": "1.2.2",
|
|
72
|
-
"resolved": "https://registry.npmjs.org/compress-commons/-/compress-commons-1.2.2.tgz",
|
|
73
|
-
"integrity": "sha1-UkqfEJA/OoEzibAiXSfEi7dRiQ8=",
|
|
74
|
-
"requires": {
|
|
75
|
-
"buffer-crc32": "0.2.13",
|
|
76
|
-
"crc32-stream": "2.0.0",
|
|
77
|
-
"normalize-path": "2.1.1",
|
|
78
|
-
"readable-stream": "2.3.4"
|
|
79
|
-
}
|
|
80
|
-
},
|
|
81
|
-
"concat-map": {
|
|
82
|
-
"version": "0.0.1",
|
|
83
|
-
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
84
|
-
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
|
|
85
|
-
},
|
|
86
|
-
"core-util-is": {
|
|
87
|
-
"version": "1.0.2",
|
|
88
|
-
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
|
89
|
-
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
|
90
|
-
},
|
|
91
|
-
"crc32-stream": {
|
|
92
|
-
"version": "2.0.0",
|
|
93
|
-
"resolved": "https://registry.npmjs.org/crc32-stream/-/crc32-stream-2.0.0.tgz",
|
|
94
|
-
"integrity": "sha1-483TtN8xaN10494/u8t7KX/pCPQ=",
|
|
95
|
-
"requires": {
|
|
96
|
-
"crc": "3.5.0",
|
|
97
|
-
"readable-stream": "2.3.4"
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
"end-of-stream": {
|
|
101
|
-
"version": "1.4.1",
|
|
102
|
-
"resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.1.tgz",
|
|
103
|
-
"integrity": "sha512-1MkrZNvWTKCaigbn+W15elq2BB/L22nqrSY5DKlo3X6+vclJm8Bb5djXJBmEX6fS3+zCh/F4VBK5Z2KxJt4s2Q==",
|
|
104
|
-
"requires": {
|
|
105
|
-
"once": "1.4.0"
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
"fs.realpath": {
|
|
109
|
-
"version": "1.0.0",
|
|
110
|
-
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
|
|
111
|
-
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
|
|
112
|
-
},
|
|
113
|
-
"glob": {
|
|
114
|
-
"version": "7.1.2",
|
|
115
|
-
"resolved": "https://registry.npmjs.org/glob/-/glob-7.1.2.tgz",
|
|
116
|
-
"integrity": "sha512-MJTUg1kjuLeQCJ+ccE4Vpa6kKVXkPYJ2mOCQyUuKLcLQsdrMCpBPUi8qVE6+YuaJkozeA9NusTAw3hLr8Xe5EQ==",
|
|
117
|
-
"requires": {
|
|
118
|
-
"fs.realpath": "1.0.0",
|
|
119
|
-
"inflight": "1.0.6",
|
|
120
|
-
"inherits": "2.0.3",
|
|
121
|
-
"minimatch": "3.0.4",
|
|
122
|
-
"once": "1.4.0",
|
|
123
|
-
"path-is-absolute": "1.0.1"
|
|
124
|
-
}
|
|
125
|
-
},
|
|
126
|
-
"graceful-fs": {
|
|
127
|
-
"version": "4.1.11",
|
|
128
|
-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
|
129
|
-
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg="
|
|
130
|
-
},
|
|
131
|
-
"inflight": {
|
|
132
|
-
"version": "1.0.6",
|
|
133
|
-
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
|
|
134
|
-
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
|
|
135
|
-
"requires": {
|
|
136
|
-
"once": "1.4.0",
|
|
137
|
-
"wrappy": "1.0.2"
|
|
138
|
-
}
|
|
139
|
-
},
|
|
140
|
-
"inherits": {
|
|
141
|
-
"version": "2.0.3",
|
|
142
|
-
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
|
143
|
-
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
|
144
|
-
},
|
|
145
|
-
"isarray": {
|
|
146
|
-
"version": "1.0.0",
|
|
147
|
-
"resolved": "https://registry.npmjs.org/isarray/-/isarray-1.0.0.tgz",
|
|
148
|
-
"integrity": "sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE="
|
|
149
|
-
},
|
|
150
|
-
"lazystream": {
|
|
151
|
-
"version": "1.0.0",
|
|
152
|
-
"resolved": "https://registry.npmjs.org/lazystream/-/lazystream-1.0.0.tgz",
|
|
153
|
-
"integrity": "sha1-9plf4PggOS9hOWvolGJAe7dxaOQ=",
|
|
154
|
-
"requires": {
|
|
155
|
-
"readable-stream": "2.3.4"
|
|
156
|
-
}
|
|
157
|
-
},
|
|
158
|
-
"lodash": {
|
|
159
|
-
"version": "4.17.5",
|
|
160
|
-
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.5.tgz",
|
|
161
|
-
"integrity": "sha512-svL3uiZf1RwhH+cWrfZn3A4+U58wbP0tGVTLQPbjplZxZ8ROD9VLuNgsRniTlLe7OlSqR79RUehXgpBW/s0IQw=="
|
|
162
|
-
},
|
|
163
|
-
"minimatch": {
|
|
164
|
-
"version": "3.0.4",
|
|
165
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
|
166
|
-
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
|
167
|
-
"requires": {
|
|
168
|
-
"brace-expansion": "1.1.11"
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
"normalize-path": {
|
|
172
|
-
"version": "2.1.1",
|
|
173
|
-
"resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-2.1.1.tgz",
|
|
174
|
-
"integrity": "sha1-GrKLVW4Zg2Oowab35vogE3/mrtk=",
|
|
175
|
-
"requires": {
|
|
176
|
-
"remove-trailing-separator": "1.1.0"
|
|
177
|
-
}
|
|
178
|
-
},
|
|
179
|
-
"once": {
|
|
180
|
-
"version": "1.4.0",
|
|
181
|
-
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
|
|
182
|
-
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
|
|
183
|
-
"requires": {
|
|
184
|
-
"wrappy": "1.0.2"
|
|
185
|
-
}
|
|
186
|
-
},
|
|
187
|
-
"path-is-absolute": {
|
|
188
|
-
"version": "1.0.1",
|
|
189
|
-
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
|
|
190
|
-
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18="
|
|
191
|
-
},
|
|
192
|
-
"process-nextick-args": {
|
|
193
|
-
"version": "2.0.0",
|
|
194
|
-
"resolved": "https://registry.npmjs.org/process-nextick-args/-/process-nextick-args-2.0.0.tgz",
|
|
195
|
-
"integrity": "sha512-MtEC1TqN0EU5nephaJ4rAtThHtC86dNN9qCuEhtshvpVBkAW5ZO7BASN9REnF9eoXGcRub+pFuKEpOHE+HbEMw=="
|
|
196
|
-
},
|
|
197
|
-
"readable-stream": {
|
|
198
|
-
"version": "2.3.4",
|
|
199
|
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.4.tgz",
|
|
200
|
-
"integrity": "sha512-vuYxeWYM+fde14+rajzqgeohAI7YoJcHE7kXDAc4Nk0EbuKnJfqtY9YtRkLo/tqkuF7MsBQRhPnPeyjYITp3ZQ==",
|
|
201
|
-
"requires": {
|
|
202
|
-
"core-util-is": "1.0.2",
|
|
203
|
-
"inherits": "2.0.3",
|
|
204
|
-
"isarray": "1.0.0",
|
|
205
|
-
"process-nextick-args": "2.0.0",
|
|
206
|
-
"safe-buffer": "5.1.1",
|
|
207
|
-
"string_decoder": "1.0.3",
|
|
208
|
-
"util-deprecate": "1.0.2"
|
|
209
|
-
}
|
|
210
|
-
},
|
|
211
|
-
"string_decoder": {
|
|
212
|
-
"version": "1.0.3",
|
|
213
|
-
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-1.0.3.tgz",
|
|
214
|
-
"integrity": "sha512-4AH6Z5fzNNBcH+6XDMfA/BTt87skxqJlO0lAh3Dker5zThcAxG6mKz+iGu308UKoPPQ8Dcqx/4JhujzltRa+hQ==",
|
|
215
|
-
"requires": {
|
|
216
|
-
"safe-buffer": "5.1.1"
|
|
217
|
-
}
|
|
218
|
-
},
|
|
219
|
-
"tar-stream": {
|
|
220
|
-
"version": "1.5.5",
|
|
221
|
-
"resolved": "https://registry.npmjs.org/tar-stream/-/tar-stream-1.5.5.tgz",
|
|
222
|
-
"integrity": "sha512-mQdgLPc/Vjfr3VWqWbfxW8yQNiJCbAZ+Gf6GDu1Cy0bdb33ofyiNGBtAY96jHFhDuivCwgW1H9DgTON+INiXgg==",
|
|
223
|
-
"requires": {
|
|
224
|
-
"bl": "1.2.1",
|
|
225
|
-
"end-of-stream": "1.4.1",
|
|
226
|
-
"readable-stream": "2.3.4",
|
|
227
|
-
"xtend": "4.0.1"
|
|
228
|
-
}
|
|
229
|
-
},
|
|
230
|
-
"util-deprecate": {
|
|
231
|
-
"version": "1.0.2",
|
|
232
|
-
"resolved": "https://registry.npmjs.org/util-deprecate/-/util-deprecate-1.0.2.tgz",
|
|
233
|
-
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
|
|
234
|
-
},
|
|
235
|
-
"wrappy": {
|
|
236
|
-
"version": "1.0.2",
|
|
237
|
-
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
|
|
238
|
-
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
|
239
|
-
},
|
|
240
|
-
"xtend": {
|
|
241
|
-
"version": "4.0.1",
|
|
242
|
-
"resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.1.tgz",
|
|
243
|
-
"integrity": "sha1-pcbVMr5lbiPbgg77lDofBJmNY68="
|
|
244
|
-
},
|
|
245
|
-
"zip-stream": {
|
|
246
|
-
"version": "1.2.0",
|
|
247
|
-
"resolved": "https://registry.npmjs.org/zip-stream/-/zip-stream-1.2.0.tgz",
|
|
248
|
-
"integrity": "sha1-qLxF9MG0lpnGuQGYuqyqzbzUugQ=",
|
|
249
|
-
"requires": {
|
|
250
|
-
"archiver-utils": "1.3.0",
|
|
251
|
-
"compress-commons": "1.2.2",
|
|
252
|
-
"lodash": "4.17.5",
|
|
253
|
-
"readable-stream": "2.3.4"
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
},
|
|
258
|
-
"crc": {
|
|
259
|
-
"version": "3.5.0",
|
|
260
|
-
"resolved": "https://registry.npmjs.org/crc/-/crc-3.5.0.tgz",
|
|
261
|
-
"integrity": "sha1-mLi6fUiWZbo5efWbITgTdBAaGWQ="
|
|
262
|
-
},
|
|
263
|
-
"decompress-zip": {
|
|
264
|
-
"version": "0.3.0",
|
|
265
|
-
"resolved": "https://registry.npmjs.org/decompress-zip/-/decompress-zip-0.3.0.tgz",
|
|
266
|
-
"integrity": "sha1-rjvLfjTGWHmt/nfhnDD4ZgK0vbA=",
|
|
267
|
-
"requires": {
|
|
268
|
-
"binary": "0.3.0",
|
|
269
|
-
"graceful-fs": "4.1.11",
|
|
270
|
-
"mkpath": "0.1.0",
|
|
271
|
-
"nopt": "3.0.6",
|
|
272
|
-
"q": "1.4.1",
|
|
273
|
-
"readable-stream": "1.1.14",
|
|
274
|
-
"touch": "0.0.3"
|
|
275
|
-
},
|
|
276
|
-
"dependencies": {
|
|
277
|
-
"abbrev": {
|
|
278
|
-
"version": "1.1.1",
|
|
279
|
-
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
|
|
280
|
-
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q=="
|
|
281
|
-
},
|
|
282
|
-
"binary": {
|
|
283
|
-
"version": "0.3.0",
|
|
284
|
-
"resolved": "https://registry.npmjs.org/binary/-/binary-0.3.0.tgz",
|
|
285
|
-
"integrity": "sha1-n2BVO8XOjDOG87VTz/R0Yq3sqnk=",
|
|
286
|
-
"requires": {
|
|
287
|
-
"buffers": "0.1.1",
|
|
288
|
-
"chainsaw": "0.1.0"
|
|
289
|
-
}
|
|
290
|
-
},
|
|
291
|
-
"buffers": {
|
|
292
|
-
"version": "0.1.1",
|
|
293
|
-
"resolved": "https://registry.npmjs.org/buffers/-/buffers-0.1.1.tgz",
|
|
294
|
-
"integrity": "sha1-skV5w77U1tOWru5tmorn9Ugqt7s="
|
|
295
|
-
},
|
|
296
|
-
"chainsaw": {
|
|
297
|
-
"version": "0.1.0",
|
|
298
|
-
"resolved": "https://registry.npmjs.org/chainsaw/-/chainsaw-0.1.0.tgz",
|
|
299
|
-
"integrity": "sha1-XqtQsor+WAdNDVgpE4iCi15fvJg=",
|
|
300
|
-
"requires": {
|
|
301
|
-
"traverse": "0.3.9"
|
|
302
|
-
}
|
|
303
|
-
},
|
|
304
|
-
"core-util-is": {
|
|
305
|
-
"version": "1.0.2",
|
|
306
|
-
"resolved": "https://registry.npmjs.org/core-util-is/-/core-util-is-1.0.2.tgz",
|
|
307
|
-
"integrity": "sha1-tf1UIgqivFq1eqtxQMlAdUUDwac="
|
|
308
|
-
},
|
|
309
|
-
"graceful-fs": {
|
|
310
|
-
"version": "4.1.11",
|
|
311
|
-
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.11.tgz",
|
|
312
|
-
"integrity": "sha1-Dovf5NHduIVNZOBOp8AOKgJuVlg="
|
|
313
|
-
},
|
|
314
|
-
"inherits": {
|
|
315
|
-
"version": "2.0.3",
|
|
316
|
-
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
|
317
|
-
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
|
318
|
-
},
|
|
319
|
-
"isarray": {
|
|
320
|
-
"version": "0.0.1",
|
|
321
|
-
"resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz",
|
|
322
|
-
"integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8="
|
|
323
|
-
},
|
|
324
|
-
"mkpath": {
|
|
325
|
-
"version": "0.1.0",
|
|
326
|
-
"resolved": "https://registry.npmjs.org/mkpath/-/mkpath-0.1.0.tgz",
|
|
327
|
-
"integrity": "sha1-dVSm+Nhxg0zJe1RisSLEwSTW3pE="
|
|
328
|
-
},
|
|
329
|
-
"nopt": {
|
|
330
|
-
"version": "3.0.6",
|
|
331
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-3.0.6.tgz",
|
|
332
|
-
"integrity": "sha1-xkZdvwirzU2zWTF/eaxopkayj/k=",
|
|
333
|
-
"requires": {
|
|
334
|
-
"abbrev": "1.1.1"
|
|
335
|
-
}
|
|
336
|
-
},
|
|
337
|
-
"readable-stream": {
|
|
338
|
-
"version": "1.1.14",
|
|
339
|
-
"resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.1.14.tgz",
|
|
340
|
-
"integrity": "sha1-fPTFTvZI44EwhMY23SB54WbAgdk=",
|
|
341
|
-
"requires": {
|
|
342
|
-
"core-util-is": "1.0.2",
|
|
343
|
-
"inherits": "2.0.3",
|
|
344
|
-
"isarray": "0.0.1",
|
|
345
|
-
"string_decoder": "0.10.31"
|
|
346
|
-
}
|
|
347
|
-
},
|
|
348
|
-
"string_decoder": {
|
|
349
|
-
"version": "0.10.31",
|
|
350
|
-
"resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz",
|
|
351
|
-
"integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ="
|
|
352
|
-
},
|
|
353
|
-
"touch": {
|
|
354
|
-
"version": "0.0.3",
|
|
355
|
-
"resolved": "https://registry.npmjs.org/touch/-/touch-0.0.3.tgz",
|
|
356
|
-
"integrity": "sha1-Ua7z1ElXHU8oel2Hyci0kYGg2x0=",
|
|
357
|
-
"requires": {
|
|
358
|
-
"nopt": "1.0.10"
|
|
359
|
-
},
|
|
360
|
-
"dependencies": {
|
|
361
|
-
"nopt": {
|
|
362
|
-
"version": "1.0.10",
|
|
363
|
-
"resolved": "https://registry.npmjs.org/nopt/-/nopt-1.0.10.tgz",
|
|
364
|
-
"integrity": "sha1-bd0hvSoxQXuScn3Vhfim83YI6+4=",
|
|
365
|
-
"requires": {
|
|
366
|
-
"abbrev": "1.1.1"
|
|
367
|
-
}
|
|
368
|
-
}
|
|
369
|
-
}
|
|
370
|
-
},
|
|
371
|
-
"traverse": {
|
|
372
|
-
"version": "0.3.9",
|
|
373
|
-
"resolved": "https://registry.npmjs.org/traverse/-/traverse-0.3.9.tgz",
|
|
374
|
-
"integrity": "sha1-cXuPIgzAu3tE5AUUwisui7xw2Lk="
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
},
|
|
378
|
-
"inherits": {
|
|
379
|
-
"version": "2.0.3",
|
|
380
|
-
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.3.tgz",
|
|
381
|
-
"integrity": "sha1-Yzwsg+PaQqUC9SRmAiSA9CCCYd4="
|
|
382
|
-
},
|
|
383
|
-
"ltx": {
|
|
384
|
-
"version": "2.6.2",
|
|
385
|
-
"resolved": "https://registry.npmjs.org/ltx/-/ltx-2.6.2.tgz",
|
|
386
|
-
"integrity": "sha1-cD5EN9XjlNJsAxT9j9Xevtjgmdk=",
|
|
387
|
-
"requires": {
|
|
388
|
-
"inherits": "2.0.3"
|
|
389
|
-
}
|
|
390
|
-
},
|
|
391
|
-
"q": {
|
|
392
|
-
"version": "1.4.1",
|
|
393
|
-
"resolved": "https://registry.npmjs.org/q/-/q-1.4.1.tgz",
|
|
394
|
-
"integrity": "sha1-VXBbzZPF82c1MMLCy8DCs63cKG4="
|
|
395
|
-
},
|
|
396
|
-
"remove-trailing-separator": {
|
|
397
|
-
"version": "1.1.0",
|
|
398
|
-
"resolved": "https://registry.npmjs.org/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz",
|
|
399
|
-
"integrity": "sha1-wkvOKig62tW8P1jg1IJJuSN52O8="
|
|
400
|
-
},
|
|
401
|
-
"safe-buffer": {
|
|
402
|
-
"version": "5.1.1",
|
|
403
|
-
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.1.tgz",
|
|
404
|
-
"integrity": "sha512-kKvNJn6Mm93gAczWVJg7wH+wGYWNrDHdWvpUmHyEsgCtIwwo3bqPtV4tR5tuPaUhTOo/kvhVwd8XwwOllGYkbg=="
|
|
405
|
-
},
|
|
406
|
-
"azure-pipelines-task-lib": {
|
|
407
|
-
"version": "2.8.0",
|
|
408
|
-
"resolved": "https://registry.npmjs.org/azure-pipelines-task-lib/-/azure-pipelines-task-lib-2.8.0.tgz",
|
|
409
|
-
"integrity": "sha1-rfx4BRaPtJLVcD7eZIXOt4G2SrQ=",
|
|
410
|
-
"requires": {
|
|
411
|
-
"minimatch": "3.0.4",
|
|
412
|
-
"mockery": "1.7.0",
|
|
413
|
-
"node-uuid": "1.4.8",
|
|
414
|
-
"q": "1.4.1",
|
|
415
|
-
"semver": "5.5.0",
|
|
416
|
-
"shelljs": "0.3.0"
|
|
417
|
-
},
|
|
418
|
-
"dependencies": {
|
|
419
|
-
"balanced-match": {
|
|
420
|
-
"version": "1.0.0",
|
|
421
|
-
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
|
|
422
|
-
"integrity": "sha1-ibTRmasr7kneFk6gK4nORi1xt2c="
|
|
423
|
-
},
|
|
424
|
-
"brace-expansion": {
|
|
425
|
-
"version": "1.1.11",
|
|
426
|
-
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
|
|
427
|
-
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
|
|
428
|
-
"requires": {
|
|
429
|
-
"balanced-match": "1.0.0",
|
|
430
|
-
"concat-map": "0.0.1"
|
|
431
|
-
}
|
|
432
|
-
},
|
|
433
|
-
"concat-map": {
|
|
434
|
-
"version": "0.0.1",
|
|
435
|
-
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
|
|
436
|
-
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s="
|
|
437
|
-
},
|
|
438
|
-
"minimatch": {
|
|
439
|
-
"version": "3.0.4",
|
|
440
|
-
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.0.4.tgz",
|
|
441
|
-
"integrity": "sha512-yJHVQEhyqPLUTgt9B83PXu6W3rx4MvvHvSUvToogpwoGDOUQ+yDrR0HRot+yOCdCO7u4hX3pWft6kWBBcqh0UA==",
|
|
442
|
-
"requires": {
|
|
443
|
-
"brace-expansion": "1.1.11"
|
|
444
|
-
}
|
|
445
|
-
},
|
|
446
|
-
"mockery": {
|
|
447
|
-
"version": "1.7.0",
|
|
448
|
-
"resolved": "https://registry.npmjs.org/mockery/-/mockery-1.7.0.tgz",
|
|
449
|
-
"integrity": "sha1-9O3g2HUMHJcnwnLqLGBiniyaHE8="
|
|
450
|
-
},
|
|
451
|
-
"node-uuid": {
|
|
452
|
-
"version": "1.4.8",
|
|
453
|
-
"resolved": "https://registry.npmjs.org/node-uuid/-/node-uuid-1.4.8.tgz",
|
|
454
|
-
"integrity": "sha1-sEDrCSOWivq/jTL7HxfxFn/auQc="
|
|
455
|
-
},
|
|
456
|
-
"semver": {
|
|
457
|
-
"version": "5.5.0",
|
|
458
|
-
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.0.tgz",
|
|
459
|
-
"integrity": "sha512-4SJ3dm0WAwWy/NVeioZh5AntkdJoWKxHxcmyP622fOkgHa4z3R0TdBJICINyaSDE6uNwVc8gZr+ZinwZAH4xIA=="
|
|
460
|
-
},
|
|
461
|
-
"shelljs": {
|
|
462
|
-
"version": "0.3.0",
|
|
463
|
-
"resolved": "https://registry.npmjs.org/shelljs/-/shelljs-0.3.0.tgz",
|
|
464
|
-
"integrity": "sha1-NZbmMHp4FUT1kfN9phg2DzHbV7E="
|
|
465
|
-
}
|
|
466
|
-
}
|
|
467
|
-
},
|
|
468
|
-
"winreg": {
|
|
469
|
-
"version": "1.2.2",
|
|
470
|
-
"resolved": "https://registry.npmjs.org/winreg/-/winreg-1.2.2.tgz",
|
|
471
|
-
"integrity": "sha1-hQmvo7ccW70RCm18YkfsZ3NsWY8="
|
|
472
|
-
},
|
|
473
|
-
"xml2js": {
|
|
474
|
-
"version": "0.4.13",
|
|
475
|
-
"resolved": "https://registry.npmjs.org/xml2js/-/xml2js-0.4.13.tgz",
|
|
476
|
-
"integrity": "sha1-+EQ+B0Oeb/ktmVKPSbvTScyfMGs=",
|
|
477
|
-
"requires": {
|
|
478
|
-
"sax": "1.2.4",
|
|
479
|
-
"xmlbuilder": "9.0.7"
|
|
480
|
-
},
|
|
481
|
-
"dependencies": {
|
|
482
|
-
"sax": {
|
|
483
|
-
"version": "1.2.4",
|
|
484
|
-
"resolved": "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz",
|
|
485
|
-
"integrity": "sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw=="
|
|
486
|
-
},
|
|
487
|
-
"xmlbuilder": {
|
|
488
|
-
"version": "9.0.7",
|
|
489
|
-
"resolved": "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-9.0.7.tgz",
|
|
490
|
-
"integrity": "sha1-Ey7mPS7FVlxVfiD0wi35rKaGsQ0="
|
|
491
|
-
}
|
|
492
|
-
}
|
|
493
|
-
}
|
|
494
|
-
}
|
|
495
|
-
}
|