From 634d67d06e8ceeab8fd01d338c4051897793c45d Mon Sep 17 00:00:00 2001 From: Momo Kornher Date: Tue, 11 Jun 2024 19:03:49 +0100 Subject: [PATCH] chore: upgrade jsii to `~5.4.21` (#30518) ### Reason for this change There was an upstream bug in jsii https://github.com/aws/jsii-compiler/issues/1070 that caused the build to fail. Updating the package manually to confirm the issue is resolved. ### Description of changes Upgraded to the latest version of jsii that includes a fix for the build issue. ### Description of how you validated changes Dependency upgrade. Existing tests cover this. ### Checklist - [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md) ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license* --- tools/@aws-cdk/cdk-build-tools/package.json | 2 +- yarn.lock | 44 +++++++++++++++++---- 2 files changed, 38 insertions(+), 8 deletions(-) diff --git a/tools/@aws-cdk/cdk-build-tools/package.json b/tools/@aws-cdk/cdk-build-tools/package.json index 57b6a44b02627..0c9491785a5cf 100644 --- a/tools/@aws-cdk/cdk-build-tools/package.json +++ b/tools/@aws-cdk/cdk-build-tools/package.json @@ -60,7 +60,7 @@ "glob": "^7.2.3", "jest": "^29.7.0", "jest-junit": "^13.2.0", - "jsii": "~5.4.9", + "jsii": "~5.4.21", "jsii-rosetta": "~5.4.10", "jsii-pacmak": "1.98.0", "jsii-reflect": "1.98.0", diff --git a/yarn.lock b/yarn.lock index 0677fc65ece1d..a3b8688982c0b 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3748,6 +3748,14 @@ chalk "^4.1.2" semver "^7.5.4" +"@jsii/check-node@1.99.0": + version "1.99.0" + resolved "https://registry.npmjs.org/@jsii/check-node/-/check-node-1.99.0.tgz#fdf1d030bc9c456727ebb2f53a60af1d7712641f" + integrity sha512-RJeVopU3U+/ZxGj//KKJgXmDM8N7uP5QIqypb0QFVJPtIcQMM9nuEQWp4hOB3ajhk4VNaXGrG6PwlqFtFsqbbQ== + dependencies: + chalk "^4.1.2" + semver "^7.6.0" + "@jsii/spec@1.98.0", "@jsii/spec@^1.97.0", "@jsii/spec@^1.98.0": version "1.98.0" resolved "https://registry.npmjs.org/@jsii/spec/-/spec-1.98.0.tgz#7495f2d123b95b67ba0da4d3a18cac763d401da2" @@ -3755,6 +3763,13 @@ dependencies: ajv "^8.12.0" +"@jsii/spec@^1.99.0": + version "1.99.0" + resolved "https://registry.npmjs.org/@jsii/spec/-/spec-1.99.0.tgz#f71bfcf83e2e48d7894821cc8b52c320f52cbbf4" + integrity sha512-R4E0lFj+C2PpLt2tnexIlQA7Ovy52tL9PRcDy6sUcnJto4iZufexudIm4pjIJPN+bfwimQX5aMjALloRwDixtQ== + dependencies: + ajv "^8.13.0" + "@lerna/create@8.1.2": version "8.1.2" resolved "https://registry.npmjs.org/@lerna/create/-/create-8.1.2.tgz#4dc8b3f59c963275bfb8b390491068751101f477" @@ -5979,6 +5994,16 @@ ajv@^8.0.1, ajv@^8.12.0: require-from-string "^2.0.2" uri-js "^4.4.1" +ajv@^8.13.0: + version "8.16.0" + resolved "https://registry.npmjs.org/ajv/-/ajv-8.16.0.tgz#22e2a92b94f005f7e0f9c9d39652ef0b8f6f0cb4" + integrity sha512-F0twR8U1ZU67JIEtekUcLkXkoO5mMMmgGD8sK/xUFzJ805jxHQl92hImFAqqXMyMYjSPOyUPAwHYhB72g5sTXw== + dependencies: + fast-deep-equal "^3.1.3" + json-schema-traverse "^1.0.0" + require-from-string "^2.0.2" + uri-js "^4.4.1" + ansi-align@^3.0.1: version "3.0.1" resolved "https://registry.npmjs.org/ansi-align/-/ansi-align-3.0.1.tgz#0cdf12e111ace773a86e9a1fad1225c43cb19a59" @@ -10813,19 +10838,19 @@ jsii-rosetta@~5.4.10: workerpool "^6.5.1" yargs "^17.7.2" -jsii@~5.4.0, jsii@~5.4.9: - version "5.4.9" - resolved "https://registry.npmjs.org/jsii/-/jsii-5.4.9.tgz#8a45ab4747536779aed8fcf5930ce697cc939b23" - integrity sha512-FnDNf93NnY3+4fwbKMGsfK+T0ojDzo5JSoEDYHa6YIgQNcAIsag+eUJyIsCsjND0y5dkdMPmnGjlq0U+DrF9QQ== +jsii@~5.4.0, jsii@~5.4.21: + version "5.4.21" + resolved "https://registry.npmjs.org/jsii/-/jsii-5.4.21.tgz#be94a5a9d292409e0f626145c2f1a98cdbb625ad" + integrity sha512-uCruIDzEEFHBwZRT5PiRSd2/KdsZWwHq8VWS5o8p5tngUGpz4BYdEG/jmOKYyjVz+ScVx+Ur/eN2zieTP6Ge2Q== dependencies: - "@jsii/check-node" "1.97.0" - "@jsii/spec" "^1.97.0" + "@jsii/check-node" "1.99.0" + "@jsii/spec" "^1.99.0" case "^1.6.3" chalk "^4" downlevel-dts "^0.11.0" fast-deep-equal "^3.1.3" log4js "^6.9.1" - semver "^7.6.0" + semver "^7.6.2" semver-intersect "^1.5.0" sort-json "^2.0.1" spdx-license-list "^6.9.0" @@ -14220,6 +14245,11 @@ semver@^7.0.0, semver@^7.1.1, semver@^7.2.1, semver@^7.3.2, semver@^7.3.4, semve dependencies: lru-cache "^6.0.0" +semver@^7.6.2: + version "7.6.2" + resolved "https://registry.npmjs.org/semver/-/semver-7.6.2.tgz#1e3b34759f896e8f14d6134732ce798aeb0c6e13" + integrity sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w== + sentence-case@^3.0.4: version "3.0.4" resolved "https://registry.npmjs.org/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f"