From 42e9846c84d1abc379f6a9fc4658e2392003e220 Mon Sep 17 00:00:00 2001 From: George Lenz <36232971+G-Lenz@users.noreply.github.com> Date: Mon, 11 Mar 2024 14:03:01 -0400 Subject: [PATCH] release v1.8.8 (#37) --- CHANGELOG.md | 6 + .../canary_alarm/canary_alarm_stack.ts | 4 +- source/npm-shrinkwrap.json | 352 +++++++----------- source/package.json | 16 +- .../__snapshots__/canary_stack.test.ts.snap | 4 +- .../codepipeline_alarm_stack.test.ts.snap | 2 +- 6 files changed, 163 insertions(+), 221 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d9b8afd..b245b1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.8.8] - 2024-03-11 +### Changed +- Upgraded synthetics canary runtime to v6.2 +- Upgraded CDK to v2.130 +- Upgraded solutions-constructs to v2.54 + ## [1.8.7] - 2024-01-30 ### Fixed diff --git a/source/lib/deployment-helper/canary_alarm/canary_alarm_stack.ts b/source/lib/deployment-helper/canary_alarm/canary_alarm_stack.ts index 516b055..b46bbbb 100644 --- a/source/lib/deployment-helper/canary_alarm/canary_alarm_stack.ts +++ b/source/lib/deployment-helper/canary_alarm/canary_alarm_stack.ts @@ -337,7 +337,7 @@ export class CanaryStack extends Stack { " const response = await page.goto(URL, {waitUntil: 'domcontentloaded', timeout: 30000});", ' //Wait for page to render.', ' //Increase or decrease wait time based on endpoint being monitored.', - ' await page.waitFor(' + paramResponseThresh.valueAsString + ');', + ' await page.waitForTimeout(' + paramResponseThresh.valueAsString + ');', ' // This will take a screenshot that will be included in test output artifacts', " await synthetics.takeScreenshot('loaded', 'loaded');", ' let pageTitle = await page.title();', @@ -372,7 +372,7 @@ export class CanaryStack extends Stack { bucket: artifactBucket, prefix: Aws.STACK_NAME }, - runtime: Runtime.SYNTHETICS_NODEJS_PUPPETEER_6_0 + runtime: Runtime.SYNTHETICS_NODEJS_PUPPETEER_6_2 }); const canaryServiceRoleResource = canary.node.findChild('ServiceRole').node.findChild('Resource') as CfnRole; diff --git a/source/npm-shrinkwrap.json b/source/npm-shrinkwrap.json index 0116b0c..95bff1e 100644 --- a/source/npm-shrinkwrap.json +++ b/source/npm-shrinkwrap.json @@ -9,12 +9,12 @@ "version": "1.8.6", "license": "Apache-2.0", "dependencies": { - "@aws-cdk/aws-glue-alpha": "^2.115.0-alpha", - "@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/aws-eventbridge-lambda": "2.47.0", - "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/core": "2.47.0", - "aws-cdk-lib": "^2.115.0", + "@aws-cdk/aws-glue-alpha": "^2.130.0-alpha", + "@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/aws-eventbridge-lambda": "2.54.0", + "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/core": "2.54.0", + "aws-cdk-lib": "^2.130.0", "cdk-nag": "^2.21.58", "constructs": "^10.2.69", "source-map-support": "^0.5.21" @@ -24,10 +24,10 @@ }, "devDependencies": { "@aws-cdk/assert": "^2.68.0", - "@aws-cdk/aws-servicecatalogappregistry-alpha": "2.53.0-alpha.0", + "@aws-cdk/aws-servicecatalogappregistry-alpha": "2.130.0-alpha.0", "@types/jest": "^29.2.5", "@types/node": "^18.11.18", - "aws-cdk": "^2.115.0", + "aws-cdk": "^2.130.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-config-react-app": "^7.0.1", @@ -82,9 +82,9 @@ } }, "node_modules/@aws-cdk/asset-awscli-v1": { - "version": "2.2.201", - "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.201.tgz", - "integrity": "sha512-INZqcwDinNaIdb5CtW3ez5s943nX5stGBQS6VOP2JDlOFP81hM3fds/9NDknipqfUkZM43dx+HgVvkXYXXARCQ==" + "version": "2.2.202", + "resolved": "https://registry.npmjs.org/@aws-cdk/asset-awscli-v1/-/asset-awscli-v1-2.2.202.tgz", + "integrity": "sha512-JqlF0D4+EVugnG5dAsNZMqhu3HW7ehOXm5SDMxMbXNDMdsF0pxtQKNHRl52z1U9igsHmaFpUgSGjbhAJ+0JONg==" }, "node_modules/@aws-cdk/asset-kubectl-v20": { "version": "2.1.2", @@ -97,27 +97,27 @@ "integrity": "sha512-DDt4SLdLOwWCjGtltH4VCST7hpOI5DzieuhGZsBpZ+AgJdSI2GCjklCXm0GCTwJG/SolkL5dtQXyUKgg9luBDg==" }, "node_modules/@aws-cdk/aws-glue-alpha": { - "version": "2.115.0-alpha.0", - "resolved": "https://registry.npmjs.org/@aws-cdk/aws-glue-alpha/-/aws-glue-alpha-2.115.0-alpha.0.tgz", - "integrity": "sha512-PJi9rJ/sJNq6ECyYfpS9vclQGkoi6nb5XiPaTqwUzq2A7Uhqw4O7EAC/YkSBSdc9FJGOWm7uCU9/O72/9qKZ+A==", + "version": "2.130.0-alpha.0", + "resolved": "https://registry.npmjs.org/@aws-cdk/aws-glue-alpha/-/aws-glue-alpha-2.130.0-alpha.0.tgz", + "integrity": "sha512-3NkrlB+MK2UHT2u4I+TBI0qX0b07mJpbo/9c0qNuVsia6FTnvFSgfDTBd52jqSkqOuXHpq5eh0BGKm4c5xazkg==", "engines": { "node": ">= 14.15.0" }, "peerDependencies": { - "aws-cdk-lib": "^2.115.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, "node_modules/@aws-cdk/aws-servicecatalogappregistry-alpha": { - "version": "2.53.0-alpha.0", - "resolved": "https://registry.npmjs.org/@aws-cdk/aws-servicecatalogappregistry-alpha/-/aws-servicecatalogappregistry-alpha-2.53.0-alpha.0.tgz", - "integrity": "sha512-mjUHk6m5g9i2qWpAXWNCILuW7oAzO0kOHqHvSBfG8CThAjMHY4KS+87FwyU6/wlRTABXMJ+UZ8cGwH6c0i4QLQ==", + "version": "2.130.0-alpha.0", + "resolved": "https://registry.npmjs.org/@aws-cdk/aws-servicecatalogappregistry-alpha/-/aws-servicecatalogappregistry-alpha-2.130.0-alpha.0.tgz", + "integrity": "sha512-GQ6dTR9OEXzqvSOH9vqyepO7//AImoXlj1K+n9JwlRsSDqkdiAQd9TYgfauz0XDpp9L10gUWpyMTlEe81vKiTw==", "dev": true, "engines": { "node": ">= 14.15.0" }, "peerDependencies": { - "aws-cdk-lib": "^2.53.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, @@ -148,94 +148,113 @@ "node": ">= 14.15.0" } }, + "node_modules/@aws-cdk/integ-tests-alpha": { + "version": "2.130.0-alpha.0", + "resolved": "https://registry.npmjs.org/@aws-cdk/integ-tests-alpha/-/integ-tests-alpha-2.130.0-alpha.0.tgz", + "integrity": "sha512-PPj0DDhg9mKnoVqDTN49j5iEYwpsBdzcmPtFb5JlzkVCFi/rG0yG+6TDmiqCxy73AaPo+N0fVafqdIcxp4wyzA==", + "engines": { + "node": ">= 14.15.0" + }, + "peerDependencies": { + "aws-cdk-lib": "^2.130.0", + "constructs": "^10.0.0" + } + }, "node_modules/@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3": { - "version": "2.47.0", - "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3/-/aws-eventbridge-kinesisfirehose-s3-2.47.0.tgz", - "integrity": "sha512-CA16AiEfsM8Q5mAe+SHPR0ec3xXAO3K3mvzoPUcYbiefCKt0f8h4mFTr0pA1Ria8FhdW9ZytpmAAbTTyrV9yPQ==", + "version": "2.54.0", + "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3/-/aws-eventbridge-kinesisfirehose-s3-2.54.0.tgz", + "integrity": "sha512-rRCH0ejJxjnpLKs/Hcquqw/KIHw52fIYigEw2bCaAJtd/HZMmCd5SNz9z4GkLmVEHalSUmizmjAog9QnBPvGTw==", "dependencies": { - "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/core": "2.47.0" + "@aws-cdk/integ-tests-alpha": "2.130.0-alpha.0", + "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/core": "2.54.0", + "constructs": "^10.0.0" }, "peerDependencies": { - "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/core": "2.47.0", - "aws-cdk-lib": "^2.111.0", + "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/core": "2.54.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, "node_modules/@aws-solutions-constructs/aws-eventbridge-lambda": { - "version": "2.47.0", - "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-eventbridge-lambda/-/aws-eventbridge-lambda-2.47.0.tgz", - "integrity": "sha512-Ej/Wjir/fLg+Pj0wftQ0cvJGNq3eCp1s0Oe8HHXQNW9Hyc9YInM2x2VhUWcPYrKfzkYHJk91QtO/i87bZ7+3gQ==", + "version": "2.54.0", + "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-eventbridge-lambda/-/aws-eventbridge-lambda-2.54.0.tgz", + "integrity": "sha512-U3IZd7bL/cQO3L+caA8t9k8GgfBU+kL6jlZqJrGa43nsjWrKlzwvLPh7xFU3lcPe5RtEp4RVY8ztqMK+sRPkYw==", "dependencies": { - "@aws-solutions-constructs/core": "2.47.0" + "@aws-cdk/integ-tests-alpha": "2.130.0-alpha.0", + "@aws-solutions-constructs/core": "2.54.0", + "constructs": "^10.0.0" }, "peerDependencies": { - "@aws-solutions-constructs/core": "2.47.0", - "aws-cdk-lib": "^2.111.0", + "@aws-solutions-constructs/core": "2.54.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, "node_modules/@aws-solutions-constructs/aws-kinesisfirehose-s3": { - "version": "2.47.0", - "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-kinesisfirehose-s3/-/aws-kinesisfirehose-s3-2.47.0.tgz", - "integrity": "sha512-8g5YDht/nxH815L4Ul7WbYrHrGeqqnlR/r+1gARoAzyIH1cPpE47yLnm4GuhBFdzDe72WOWSTdUUB9/RCMbPFg==", + "version": "2.54.0", + "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/aws-kinesisfirehose-s3/-/aws-kinesisfirehose-s3-2.54.0.tgz", + "integrity": "sha512-v9kJvVQcTFnU3G0Ef39a/jNq6GVnofry4HlmzzXnMVVLiPLCL34t2y5EYfnorhUCgiPppykMucoKt3MIyNlIPw==", "dependencies": { - "@aws-solutions-constructs/core": "2.47.0" + "@aws-cdk/integ-tests-alpha": "2.130.0-alpha.0", + "@aws-solutions-constructs/core": "2.54.0", + "constructs": "^10.0.0" }, "peerDependencies": { - "@aws-solutions-constructs/core": "2.47.0", - "aws-cdk-lib": "^2.111.0", + "@aws-solutions-constructs/core": "2.54.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, "node_modules/@aws-solutions-constructs/core": { - "version": "2.47.0", - "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/core/-/core-2.47.0.tgz", - "integrity": "sha512-k7KOnAYlFoEjxeU5Z5ijRkmc8/CVjaza3x934HWK+9K3tzVRicNwC1zlHNrH95Oq86ICjYgSH2AQEYgt2r8lCQ==", + "version": "2.54.0", + "resolved": "https://registry.npmjs.org/@aws-solutions-constructs/core/-/core-2.54.0.tgz", + "integrity": "sha512-R5t1CsTPLq1fa3z1A6esiR7DCwn/hb+V3mJkCmxXajxsvxmQkmBLfELbDcL1zk4kSgpJaIdIdfiMUGhhWBrtQw==", "bundleDependencies": [ "deepmerge", "npmlog", "deep-diff" ], "dependencies": { + "@aws-cdk/integ-tests-alpha": "2.130.0-alpha.0", + "constructs": "^10.0.0", "deep-diff": "^1.0.2", "deepmerge": "^4.0.0", - "npmlog": "^4.1.2" + "npmlog": "^7.0.0" }, "peerDependencies": { - "aws-cdk-lib": "^2.111.0", + "aws-cdk-lib": "^2.130.0", "constructs": "^10.0.0" } }, "node_modules/@aws-solutions-constructs/core/node_modules/ansi-regex": { - "version": "2.1.1", + "version": "5.0.1", "inBundle": true, "license": "MIT", "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, "node_modules/@aws-solutions-constructs/core/node_modules/aproba": { - "version": "1.2.0", + "version": "2.0.0", "inBundle": true, "license": "ISC" }, "node_modules/@aws-solutions-constructs/core/node_modules/are-we-there-yet": { - "version": "1.1.7", + "version": "4.0.2", "inBundle": true, "license": "ISC", - "dependencies": { - "delegates": "^1.0.0", - "readable-stream": "^2.0.6" + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/code-point-at": { - "version": "1.1.0", + "node_modules/@aws-solutions-constructs/core/node_modules/color-support": { + "version": "1.1.3", "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" + "license": "ISC", + "bin": { + "color-support": "bin.js" } }, "node_modules/@aws-solutions-constructs/core/node_modules/console-control-strings": { @@ -243,11 +262,6 @@ "inBundle": true, "license": "ISC" }, - "node_modules/@aws-solutions-constructs/core/node_modules/core-util-is": { - "version": "1.0.3", - "inBundle": true, - "license": "MIT" - }, "node_modules/@aws-solutions-constructs/core/node_modules/deep-diff": { "version": "1.0.2", "inBundle": true, @@ -261,29 +275,27 @@ "node": ">=0.10.0" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/delegates": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT" - }, "node_modules/@aws-solutions-constructs/core/node_modules/emoji-regex": { "version": "8.0.0", "inBundle": true, "license": "MIT" }, "node_modules/@aws-solutions-constructs/core/node_modules/gauge": { - "version": "2.7.4", + "version": "5.0.1", "inBundle": true, "license": "ISC", "dependencies": { - "aproba": "^1.0.3", - "console-control-strings": "^1.0.0", - "has-unicode": "^2.0.0", - "object-assign": "^4.1.0", - "signal-exit": "^3.0.0", - "string-width": "^1.0.1", - "strip-ansi": "^3.0.1", - "wide-align": "^1.1.0" + "aproba": "^1.0.3 || ^2.0.0", + "color-support": "^1.1.3", + "console-control-strings": "^1.1.0", + "has-unicode": "^2.0.1", + "signal-exit": "^4.0.1", + "string-width": "^4.2.3", + "strip-ansi": "^6.0.1", + "wide-align": "^1.1.5" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, "node_modules/@aws-solutions-constructs/core/node_modules/has-unicode": { @@ -291,150 +303,45 @@ "inBundle": true, "license": "ISC" }, - "node_modules/@aws-solutions-constructs/core/node_modules/inherits": { - "version": "2.0.4", - "inBundle": true, - "license": "ISC" - }, "node_modules/@aws-solutions-constructs/core/node_modules/is-fullwidth-code-point": { - "version": "1.0.0", + "version": "3.0.0", "inBundle": true, "license": "MIT", - "dependencies": { - "number-is-nan": "^1.0.0" - }, "engines": { - "node": ">=0.10.0" + "node": ">=8" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/isarray": { - "version": "1.0.0", - "inBundle": true, - "license": "MIT" - }, "node_modules/@aws-solutions-constructs/core/node_modules/npmlog": { - "version": "4.1.2", + "version": "7.0.1", "inBundle": true, "license": "ISC", "dependencies": { - "are-we-there-yet": "~1.1.2", - "console-control-strings": "~1.1.0", - "gauge": "~2.7.3", - "set-blocking": "~2.0.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/number-is-nan": { - "version": "1.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/object-assign": { - "version": "4.1.1", - "inBundle": true, - "license": "MIT", + "are-we-there-yet": "^4.0.0", + "console-control-strings": "^1.1.0", + "gauge": "^5.0.0", + "set-blocking": "^2.0.0" + }, "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/process-nextick-args": { - "version": "2.0.1", - "inBundle": true, - "license": "MIT" - }, - "node_modules/@aws-solutions-constructs/core/node_modules/readable-stream": { - "version": "2.3.8", - "inBundle": true, - "license": "MIT", - "dependencies": { - "core-util-is": "~1.0.0", - "inherits": "~2.0.3", - "isarray": "~1.0.0", - "process-nextick-args": "~2.0.0", - "safe-buffer": "~5.1.1", - "string_decoder": "~1.1.1", - "util-deprecate": "~1.0.1" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/safe-buffer": { - "version": "5.1.2", - "inBundle": true, - "license": "MIT" - }, "node_modules/@aws-solutions-constructs/core/node_modules/set-blocking": { "version": "2.0.0", "inBundle": true, "license": "ISC" }, "node_modules/@aws-solutions-constructs/core/node_modules/signal-exit": { - "version": "3.0.7", - "inBundle": true, - "license": "ISC" - }, - "node_modules/@aws-solutions-constructs/core/node_modules/string_decoder": { - "version": "1.1.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "safe-buffer": "~5.1.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/string-width": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT", - "dependencies": { - "code-point-at": "^1.0.0", - "is-fullwidth-code-point": "^1.0.0", - "strip-ansi": "^3.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/strip-ansi": { - "version": "3.0.1", - "inBundle": true, - "license": "MIT", - "dependencies": { - "ansi-regex": "^2.0.0" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/util-deprecate": { - "version": "1.0.2", - "inBundle": true, - "license": "MIT" - }, - "node_modules/@aws-solutions-constructs/core/node_modules/wide-align": { - "version": "1.1.5", + "version": "4.1.0", "inBundle": true, "license": "ISC", - "dependencies": { - "string-width": "^1.0.2 || 2 || 3 || 4" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/ansi-regex": { - "version": "5.0.1", - "inBundle": true, - "license": "MIT", - "engines": { - "node": ">=8" - } - }, - "node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "inBundle": true, - "license": "MIT", "engines": { - "node": ">=8" + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/string-width": { + "node_modules/@aws-solutions-constructs/core/node_modules/string-width": { "version": "4.2.3", "inBundle": true, "license": "MIT", @@ -447,7 +354,7 @@ "node": ">=8" } }, - "node_modules/@aws-solutions-constructs/core/node_modules/wide-align/node_modules/strip-ansi": { + "node_modules/@aws-solutions-constructs/core/node_modules/strip-ansi": { "version": "6.0.1", "inBundle": true, "license": "MIT", @@ -458,6 +365,14 @@ "node": ">=8" } }, + "node_modules/@aws-solutions-constructs/core/node_modules/wide-align": { + "version": "1.1.5", + "inBundle": true, + "license": "ISC", + "dependencies": { + "string-width": "^1.0.2 || 2 || 3 || 4" + } + }, "node_modules/@babel/code-frame": { "version": "7.22.13", "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz", @@ -3956,9 +3871,9 @@ } }, "node_modules/aws-cdk": { - "version": "2.115.0", - "resolved": "https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.115.0.tgz", - "integrity": "sha512-jf+5j+ygk/DqxLzYyjFnCOOlRgvL/fwcYhyanhpb1OEQEe1FF6NGUb1TYsnQc3Ly67qLOKkQgdeyeXgzkKoSOQ==", + "version": "2.130.0", + "resolved": "https://registry.npmjs.org/aws-cdk/-/aws-cdk-2.130.0.tgz", + "integrity": "sha512-MsjGzQ2kZv0FEfXvpW7FTJRnefew0GrYt9M2SMN2Yn45+yjugGl2X8to416kABeFz1OFqW56hq8Y5BiLuFDVLQ==", "dev": true, "bin": { "cdk": "bin/cdk" @@ -3971,9 +3886,9 @@ } }, "node_modules/aws-cdk-lib": { - "version": "2.115.0", - "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.115.0.tgz", - "integrity": "sha512-PGIwmjo9BcviKxuMfMlUCwevUjwXnaS5h8fxZOM6bN1HXCS/wIusft4tMmkiNYjPiNE1sHJbCDIbxxntCQ/7jg==", + "version": "2.130.0", + "resolved": "https://registry.npmjs.org/aws-cdk-lib/-/aws-cdk-lib-2.130.0.tgz", + "integrity": "sha512-yK7ibePipdjlI4AFM94fwwtsCkmpWJ0JFZTMPahahC/3Pxe/BA/nnI/4Namvl5QPxW5QlU0xQYU7cywioq3RQg==", "bundleDependencies": [ "@balena/dockerignore", "case", @@ -3984,20 +3899,22 @@ "punycode", "semver", "table", - "yaml" + "yaml", + "mime-types" ], "dependencies": { - "@aws-cdk/asset-awscli-v1": "^2.2.201", + "@aws-cdk/asset-awscli-v1": "^2.2.202", "@aws-cdk/asset-kubectl-v20": "^2.1.2", "@aws-cdk/asset-node-proxy-agent-v6": "^2.0.1", "@balena/dockerignore": "^1.0.2", "case": "1.6.3", "fs-extra": "^11.2.0", - "ignore": "^5.3.0", + "ignore": "^5.3.1", "jsonschema": "^1.4.1", + "mime-types": "^2.1.35", "minimatch": "^3.1.2", "punycode": "^2.3.1", - "semver": "^7.5.4", + "semver": "^7.6.0", "table": "^6.8.1", "yaml": "1.10.2" }, @@ -4130,7 +4047,7 @@ "license": "ISC" }, "node_modules/aws-cdk-lib/node_modules/ignore": { - "version": "5.3.0", + "version": "5.3.1", "inBundle": true, "license": "MIT", "engines": { @@ -4185,6 +4102,25 @@ "node": ">=10" } }, + "node_modules/aws-cdk-lib/node_modules/mime-db": { + "version": "1.52.0", + "inBundle": true, + "license": "MIT", + "engines": { + "node": ">= 0.6" + } + }, + "node_modules/aws-cdk-lib/node_modules/mime-types": { + "version": "2.1.35", + "inBundle": true, + "license": "MIT", + "dependencies": { + "mime-db": "1.52.0" + }, + "engines": { + "node": ">= 0.6" + } + }, "node_modules/aws-cdk-lib/node_modules/minimatch": { "version": "3.1.2", "inBundle": true, @@ -4213,7 +4149,7 @@ } }, "node_modules/aws-cdk-lib/node_modules/semver": { - "version": "7.5.4", + "version": "7.6.0", "inBundle": true, "license": "ISC", "dependencies": { diff --git a/source/package.json b/source/package.json index 418818e..b2c27d5 100644 --- a/source/package.json +++ b/source/package.json @@ -24,10 +24,10 @@ }, "devDependencies": { "@aws-cdk/assert": "^2.68.0", - "@aws-cdk/aws-servicecatalogappregistry-alpha": "2.53.0-alpha.0", + "@aws-cdk/aws-servicecatalogappregistry-alpha": "2.130.0-alpha.0", "@types/jest": "^29.2.5", "@types/node": "^18.11.18", - "aws-cdk": "^2.115.0", + "aws-cdk": "^2.130.0", "eslint": "^8.44.0", "eslint-config-prettier": "^8.8.0", "eslint-config-react-app": "^7.0.1", @@ -42,12 +42,12 @@ "typescript": "^5.1.6" }, "dependencies": { - "@aws-cdk/aws-glue-alpha": "^2.115.0-alpha", - "@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/aws-eventbridge-lambda": "2.47.0", - "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.47.0", - "@aws-solutions-constructs/core": "2.47.0", - "aws-cdk-lib": "^2.115.0", + "@aws-cdk/aws-glue-alpha": "^2.130.0-alpha", + "@aws-solutions-constructs/aws-eventbridge-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/aws-eventbridge-lambda": "2.54.0", + "@aws-solutions-constructs/aws-kinesisfirehose-s3": "2.54.0", + "@aws-solutions-constructs/core": "2.54.0", + "aws-cdk-lib": "^2.130.0", "cdk-nag": "^2.21.58", "constructs": "^10.2.69", "source-map-support": "^0.5.21" diff --git a/source/test/__snapshots__/canary_stack.test.ts.snap b/source/test/__snapshots__/canary_stack.test.ts.snap index 0e93054..cfa39e9 100644 --- a/source/test/__snapshots__/canary_stack.test.ts.snap +++ b/source/test/__snapshots__/canary_stack.test.ts.snap @@ -407,7 +407,7 @@ const pageLoadBlueprint = async function () { const response = await page.goto(URL, {waitUntil: 'domcontentloaded', timeout: 30000}); //Wait for page to render. //Increase or decrease wait time based on endpoint being monitored. - await page.waitFor(", + await page.waitForTimeout(", { "Ref": "ResponseThreshold", }, @@ -437,7 +437,7 @@ exports.handler = async () => { "Name": { "Ref": "CanaryName", }, - "RuntimeVersion": "syn-nodejs-puppeteer-6.0", + "RuntimeVersion": "syn-nodejs-puppeteer-6.2", "Schedule": { "DurationInSeconds": "0", "Expression": { diff --git a/source/test/__snapshots__/codepipeline_alarm_stack.test.ts.snap b/source/test/__snapshots__/codepipeline_alarm_stack.test.ts.snap index bba3af7..6507a6f 100644 --- a/source/test/__snapshots__/codepipeline_alarm_stack.test.ts.snap +++ b/source/test/__snapshots__/codepipeline_alarm_stack.test.ts.snap @@ -156,7 +156,7 @@ exports[`Snapshot test for codepipeline alarm stack 1`] = ` "S3Bucket": { "Fn::Sub": "cdk-hnb659fds-assets-\${AWS::AccountId}-\${AWS::Region}", }, - "S3Key": "17c16a3854838fd3ff4bda08146122a6701f33b9c86ae17f415ad0dc47a97544.zip", + "S3Key": "ed6cd104ff5f101d06dae8cb2b87cc6e6d69b9a22055b467ea6cae10ff023023.zip", }, "Handler": "index.handler", "Role": {