From f91e9eee83685c29fc3e2f28ee638269666b2f52 Mon Sep 17 00:00:00 2001 From: biffgaut <78155736+biffgaut@users.noreply.github.com> Date: Fri, 26 Aug 2022 11:01:34 -0400 Subject: [PATCH] Upgrade to Typescript 4.7.4 --- source/package.json | 9 ++++++--- .../aws-eventbridge-sns/lib/index.ts | 8 ++++---- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/source/package.json b/source/package.json index 58f731898..6df927bbf 100644 --- a/source/package.json +++ b/source/package.json @@ -26,12 +26,11 @@ "jsii": "^1.49.0", "jsii-pacmak": "^1.49.0", "tslint": "^5.20.1", - "typescript": "~3.9.10", + "typescript": "4.7.4", "aws-cdk-migration": "^1.135.0" }, "devDependencies": { - "lerna": "^3.22.1", - "@types/prettier": "2.6.0" + "lerna": "^3.22.1" }, "workspaces": { "packages": [ @@ -49,5 +48,9 @@ "**/@types/deep-diff", "**/@types/deep-diff/**" ] + }, + "resolutions": { + "**/@typescript-eslint/eslint-plugin": "^4.1.1", + "**/@typescript-eslint/parser": "^4.1.1" } } \ No newline at end of file diff --git a/source/patterns/@aws-solutions-constructs/aws-eventbridge-sns/lib/index.ts b/source/patterns/@aws-solutions-constructs/aws-eventbridge-sns/lib/index.ts index 0caedf95e..4aa642e87 100644 --- a/source/patterns/@aws-solutions-constructs/aws-eventbridge-sns/lib/index.ts +++ b/source/patterns/@aws-solutions-constructs/aws-eventbridge-sns/lib/index.ts @@ -130,10 +130,10 @@ export class EventbridgeToSns extends Construct { // Grant EventBridge service access to the SNS Topic encryption key this.encryptionKey?.grant(new ServicePrincipal('events.amazonaws.com'), - "kms:Decrypt", - "kms:Encrypt", - "kms:ReEncrypt*", - "kms:GenerateDataKey*" + "kms:Decrypt", + "kms:Encrypt", + "kms:ReEncrypt*", + "kms:GenerateDataKey*" ); } } \ No newline at end of file