Skip to content

Commit

Permalink
Release 2.4.2
Browse files Browse the repository at this point in the history
Release 2.4.2
  • Loading branch information
liprec authored Dec 21, 2021
2 parents 023fec8 + 5fa71ce commit bbf9713
Show file tree
Hide file tree
Showing 21 changed files with 3,344 additions and 5,937 deletions.
16 changes: 8 additions & 8 deletions delete-adf-items/v2/models/azureModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ import {
export class AzureModels {
private authScheme?: string;
private connectedServiceName: string;
private subscriptionId: string;
private subscriptionName: string;
private subscriptionId?: string;
private subscriptionName?: string;
private servicePrincipalClientId: string;
private servicePrincipalKey: string;
private environmentAuthorityUrl: string;
private environmentAuthorityUrl?: string;
private tenantId: string;
private url: string;
private url?: string;

constructor(connectedServiceName: string) {
try {
Expand Down Expand Up @@ -94,11 +94,11 @@ export class AzureModels {
}

public getSubscriptionId(): string {
return this.subscriptionId;
return this.subscriptionId as string;
}

public getSubscriptionName(): string {
return this.subscriptionName;
return this.subscriptionName as string;
}

public getServicePrincipalClientId(): string {
Expand All @@ -110,14 +110,14 @@ export class AzureModels {
}

public getEnvironmentAuthorityUrl(): string {
return this.environmentAuthorityUrl;
return this.environmentAuthorityUrl as string;
}

public getTenantId(): string {
return this.tenantId;
}

public getUrl(): string {
return this.url;
return this.url as string;
}
}
2,048 changes: 780 additions & 1,268 deletions delete-adf-items/v2/package-lock.json

Large diffs are not rendered by default.

32 changes: 16 additions & 16 deletions delete-adf-items/v2/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "delete-adf-items",
"version": "2.4.1",
"version": "2.4.2",
"description": "Deletes ADFv2 items",
"main": "tasks.js",
"scripts": {
Expand All @@ -12,26 +12,26 @@
"license": "MIT",
"repository": {},
"dependencies": {
"@azure/arm-authorization": "^8.3.3",
"@azure/arm-authorization": "^8.4.1",
"@azure/ms-rest-azure-js": "^2.1.0",
"@azure/ms-rest-js": "^2.4.0",
"@azure/ms-rest-nodeauth": "^3.0.9",
"azure-pipelines-task-lib": "^2.11.3",
"throat": "^5.0.0"
"@azure/ms-rest-js": "^2.6.0",
"@azure/ms-rest-nodeauth": "^3.1.1",
"azure-pipelines-task-lib": "^3.1.10",
"throat": "^6.0.1"
},
"devDependencies": {
"@types/mocha": "^8.0.3",
"@types/node": "^12.12.70",
"@types/q": "^1.5.4",
"@typescript-eslint/eslint-plugin": "^4.31.0",
"@typescript-eslint/parser": "^4.31.0",
"eslint": "^7.32.0",
"@types/mocha": "^9.0.0",
"@types/node": "^17.0.2",
"@types/q": "^1.5.5",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"eslint": "^8.5.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"mocha": "^8.2.0",
"prettier": "^2.4.0",
"mocha": "^9.1.3",
"prettier": "^2.5.1",
"sync-request": "^6.1.0",
"ts-node": "^9.0.0",
"typescript": "^4.0.3"
"ts-node": "^10.4.0",
"typescript": "^4.5.4"
}
}
4 changes: 2 additions & 2 deletions delete-adf-items/v2/task.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"version": {
"Major": "2",
"Minor": "4",
"Patch": "1"
"Patch": "2"
},
"minimumAgentVersion": "1.100.0",
"groups": [
Expand Down Expand Up @@ -147,7 +147,7 @@
],
"instanceNameFormat": "Delete items from $(DatafactoryName)",
"execution": {
"Node": {
"Node10": {
"target": "./dist/deleteadfitems.js",
"argumentFormat": ""
}
Expand Down
1 change: 1 addition & 0 deletions delete-adf-items/v2/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"alwaysStrict": true,
"esModuleInterop": true,
"forceConsistentCasingInFileNames": true,
"importHelpers": true,
"module": "commonjs",
"moduleResolution": "node",
"noImplicitAny": true,
Expand Down
16 changes: 8 additions & 8 deletions deploy-adf-json/v2/models/azureModels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ import {
export class AzureModels {
private authScheme?: string;
private connectedServiceName: string;
private subscriptionId: string;
private subscriptionName: string;
private subscriptionId?: string;
private subscriptionName?: string;
private servicePrincipalClientId: string;
private servicePrincipalKey: string;
private environmentAuthorityUrl: string;
private environmentAuthorityUrl?: string;
private tenantId: string;
private url: string;
private url?: string;

constructor(connectedServiceName: string) {
try {
Expand Down Expand Up @@ -94,11 +94,11 @@ export class AzureModels {
}

public getSubscriptionId(): string {
return this.subscriptionId;
return this.subscriptionId as string;
}

public getSubscriptionName(): string {
return this.subscriptionName;
return this.subscriptionName as string;
}

public getServicePrincipalClientId(): string {
Expand All @@ -110,14 +110,14 @@ export class AzureModels {
}

public getEnvironmentAuthorityUrl(): string {
return this.environmentAuthorityUrl;
return this.environmentAuthorityUrl as string;
}

public getTenantId(): string {
return this.tenantId;
}

public getUrl(): string {
return this.url;
return this.url as string;
}
}
Loading

0 comments on commit bbf9713

Please sign in to comment.