From 4eed07e65e04795764dedf64489575e5c38a41b8 Mon Sep 17 00:00:00 2001 From: AWS CDK Automation <43080478+aws-cdk-automation@users.noreply.github.com> Date: Wed, 4 Jan 2023 06:39:37 -0800 Subject: [PATCH 01/15] chore: npm-check-updates && yarn upgrade (#3897) Ran npm-check-updates and yarn upgrade to keep the `yarn.lock` file up-to-date. --- package.json | 10 +- packages/@jsii/python-runtime/package.json | 2 +- packages/@jsii/spec/package.json | 2 +- packages/jsii-config/package.json | 2 +- packages/jsii-pacmak/package.json | 2 +- packages/jsii-rosetta/package.json | 2 +- yarn.lock | 251 +++++++++++---------- 7 files changed, 140 insertions(+), 131 deletions(-) diff --git a/package.json b/package.json index 7803e2f5b4..772050b612 100644 --- a/package.json +++ b/package.json @@ -16,13 +16,13 @@ }, "devDependencies": { "@jest/types": "^28.1.3", - "@types/jest": "^29.2.4", + "@types/jest": "^29.2.5", "@types/node": "^14.18.36", - "@typescript-eslint/eslint-plugin": "^5.47.1", - "@typescript-eslint/parser": "^5.47.1", + "@typescript-eslint/eslint-plugin": "^5.48.0", + "@typescript-eslint/parser": "^5.48.0", "all-contributors-cli": "^6.24.0", - "eslint": "^8.30.0", - "eslint-config-prettier": "^8.5.0", + "eslint": "^8.31.0", + "eslint-config-prettier": "^8.6.0", "eslint-import-resolver-node": "^0.3.6", "eslint-import-resolver-typescript": "^3.5.2", "eslint-plugin-import": "^2.26.0", diff --git a/packages/@jsii/python-runtime/package.json b/packages/@jsii/python-runtime/package.json index b492e867eb..147a42bac9 100644 --- a/packages/@jsii/python-runtime/package.json +++ b/packages/@jsii/python-runtime/package.json @@ -42,6 +42,6 @@ "jsii-build-tools": "^0.0.0", "jsii-calc": "^3.20.120", "jsii-pacmak": "^0.0.0", - "pyright": "^1.1.286" + "pyright": "^1.1.287" } } diff --git a/packages/@jsii/spec/package.json b/packages/@jsii/spec/package.json index fb3cab2f9f..82101f19f4 100644 --- a/packages/@jsii/spec/package.json +++ b/packages/@jsii/spec/package.json @@ -31,7 +31,7 @@ "package": "package-js" }, "dependencies": { - "ajv": "^8.11.2" + "ajv": "^8.12.0" }, "devDependencies": { "fs-extra": "^10.1.0", diff --git a/packages/jsii-config/package.json b/packages/jsii-config/package.json index 08f81d66c8..980121c7fb 100644 --- a/packages/jsii-config/package.json +++ b/packages/jsii-config/package.json @@ -20,7 +20,7 @@ }, "devDependencies": { "@types/inquirer": "^8.2.3", - "@types/yargs": "^17.0.17", + "@types/yargs": "^17.0.19", "jest-expect-message": "^1.1.3" }, "dependencies": { diff --git a/packages/jsii-pacmak/package.json b/packages/jsii-pacmak/package.json index 40a40077d5..29616d02e6 100644 --- a/packages/jsii-pacmak/package.json +++ b/packages/jsii-pacmak/package.json @@ -65,7 +65,7 @@ "jsii": "^0.0.0", "jsii-build-tools": "^0.0.0", "jsii-calc": "^3.20.120", - "pyright": "^1.1.286" + "pyright": "^1.1.287" }, "keywords": [ "jsii", diff --git a/packages/jsii-rosetta/package.json b/packages/jsii-rosetta/package.json index ae7a8f23d9..ae13b80527 100644 --- a/packages/jsii-rosetta/package.json +++ b/packages/jsii-rosetta/package.json @@ -18,7 +18,7 @@ "devDependencies": { "@types/commonmark": "^0.27.5", "@types/mock-fs": "^4.13.1", - "@types/workerpool": "^6.1.0", + "@types/workerpool": "^6.1.1", "@types/semver": "^7.3.13", "jsii-build-tools": "0.0.0", "memory-streams": "^0.1.3", diff --git a/yarn.lock b/yarn.lock index 37e7f1f3bd..2d45f58f92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -322,10 +322,10 @@ resolved "https://registry.yarnpkg.com/@discoveryjs/json-ext/-/json-ext-0.5.7.tgz#1d572bfbbe14b7704e0ba0f39b74815b84870d70" integrity sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw== -"@eslint/eslintrc@^1.4.0": - version "1.4.0" - resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.0.tgz#8ec64e0df3e7a1971ee1ff5158da87389f167a63" - integrity sha512-7yfvXy6MWLgWSFsLhz5yH3iQ52St8cdUY6FoGieKkRDVxuxmrNuUetIuu6cmjNWwniUHiWXjxCr5tTXDrbYS5A== +"@eslint/eslintrc@^1.4.1": + version "1.4.1" + resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.4.1.tgz#af58772019a2d271b7e2d4c23ff4ddcba3ccfb3e" + integrity sha512-XXrH9Uarn0stsyldqDYq8r++mROmWRI1xKMXa640Bb//SY1+ECYX6VzT6Lcx5frD0V30XieqJ0oX9I2Xj5aoMA== dependencies: ajv "^6.12.4" debug "^4.3.2" @@ -1682,17 +1682,17 @@ read-package-json-fast "^2.0.3" which "^2.0.2" -"@nrwl/cli@15.4.2": - version "15.4.2" - resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.4.2.tgz#b9b33181094b06fa25693ad2ddf3ce320bfcb54e" - integrity sha512-k/sGhqHhXsZakJxaWLmbyDJkQd/klqBEBChax3IHXAgIO9kG0lVwXHzENRqbfw3Z8TdKEZQ4IFwBJt9Dao6bCg== +"@nrwl/cli@15.4.4": + version "15.4.4" + resolved "https://registry.yarnpkg.com/@nrwl/cli/-/cli-15.4.4.tgz#1a0bf08adee8a748ad25c62f84fccdf25b378dde" + integrity sha512-29f1No6eJAZczwVsJTjujyE40Lav6iwkfwTxnoiTUWaHHw9S95a8dMXelUB/BT2Tyf7OOFpwWZMXtDcRktrgGA== dependencies: - nx "15.4.2" + nx "15.4.4" "@nrwl/devkit@>=14.8.6 < 16": - version "15.4.2" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.4.2.tgz#b83ff455ac03c1a89ee859da966c1aa5b820b45b" - integrity sha512-dg+2xF+RAWCGF9eUoIa1NRSQqO4s3goFb3XvT0Xw7V91To6XC1NL7YIcYcsdphdYcOSXs4K4MXzd/oZAEZFZ1A== + version "15.4.4" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-15.4.4.tgz#6c062bc5834df839a79a7f5cb2a384a9a16b6a23" + integrity sha512-/kDPYyiwRfvtJReE7DrzK/hMtbuhUpO4HQm+TeJvMuxMwCeqSJQP930GUipRqGUfH5aVkbSBkEaa50F7dLE+kg== dependencies: "@phenomnomnominal/tsquery" "4.1.1" ejs "^3.1.7" @@ -1700,12 +1700,12 @@ semver "7.3.4" tslib "^2.3.0" -"@nrwl/tao@15.4.2": - version "15.4.2" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.4.2.tgz#cfcd736ddb1c7258f886b30059e8d2d1b7e23af5" - integrity sha512-c/hYhWMjEBvucO9cGL2h2lqH7f+4gb8DJJiuNRPwfvF+sQITLXpl9wASHlpG2unDrtnLjGFo73u5XUUqGiSKvA== +"@nrwl/tao@15.4.4": + version "15.4.4" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-15.4.4.tgz#d618f03d8697da0626717a29084210c11e7b64ee" + integrity sha512-ekPYVpz1y3XlCPu6UkQfcpwyNHQ0SsXMN8omB4MPTSknvEhKmcVOPG3Kr4W9fk1UjmBr58ItAGmtx2sjVMH7XQ== dependencies: - nx "15.4.2" + nx "15.4.4" "@octokit/auth-token@^2.4.4": version "2.5.0" @@ -2107,10 +2107,10 @@ dependencies: "@types/istanbul-lib-report" "*" -"@types/jest@^29.2.4": - version "29.2.4" - resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.2.4.tgz#9c155c4b81c9570dbd183eb8604aa0ae80ba5a5b" - integrity sha512-PipFB04k2qTRPePduVLTRiPzQfvMeLwUN3Z21hsAKaB/W9IIzgB2pizCL466ftJlcyZqnHoC9ZHpxLGl3fS86A== +"@types/jest@^29.2.5": + version "29.2.5" + resolved "https://registry.yarnpkg.com/@types/jest/-/jest-29.2.5.tgz#c27f41a9d6253f288d1910d3c5f09484a56b73c0" + integrity sha512-H2cSxkKgVmqNHXP7TC2L/WUorrZu8ZigyRywfVzv6EyBlxj39n4C00hjXYQWsbwqgElaj/CiAeSRmk5GoaKTgw== dependencies: expect "^29.0.0" pretty-format "^29.0.0" @@ -2222,10 +2222,10 @@ dependencies: "@types/node" "*" -"@types/workerpool@^6.1.0": - version "6.1.0" - resolved "https://registry.yarnpkg.com/@types/workerpool/-/workerpool-6.1.0.tgz#16c3b9d3c62a8f6e6ad2e4d6212a68130f0cd3b1" - integrity sha512-C+J/c1BHyc351xJuiH2Jbe+V9hjf5mCzRP0UK4KEpF5SpuU+vJ/FC5GLZsCU/PJpp/3I6Uwtfm3DG7Lmrb7LOQ== +"@types/workerpool@^6.1.1": + version "6.1.1" + resolved "https://registry.yarnpkg.com/@types/workerpool/-/workerpool-6.1.1.tgz#33b7d9a6293edd5fd63f4f898504c4a48f9e3862" + integrity sha512-o7oSOSEiu8u9pCRv5+1AA61HlL7ruX07NrAQS3bufWXqH0fJSwP7e/1W/PFVCOY634Xz/JLHqXJAHwpogdRvNg== dependencies: "@types/node" "*" @@ -2234,21 +2234,21 @@ resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b" integrity sha512-iO9ZQHkZxHn4mSakYV0vFHAVDyEOIJQrV2uZ06HxEPcx+mt8swXoZHIbaaJ2crJYFfErySgktuTZ3BeLz+XmFA== -"@types/yargs@^17.0.17", "@types/yargs@^17.0.8": - version "17.0.17" - resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.17.tgz#5672e5621f8e0fca13f433a8017aae4b7a2a03e7" - integrity sha512-72bWxFKTK6uwWJAVT+3rF6Jo6RTojiJ27FQo8Rf60AL+VZbzoVPnMFhKsUnbjR8A3BTCYQ7Mv3hnl8T0A+CX9g== +"@types/yargs@^17.0.19", "@types/yargs@^17.0.8": + version "17.0.19" + resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.19.tgz#8dbecdc9ab48bee0cb74f6e3327de3fa0d0c98ae" + integrity sha512-cAx3qamwaYX9R0fzOIZAlFpo4A+1uBVCxqpKz9D26uTF4srRXaGTTsikQmaotCtNdbhzyUH7ft6p9ktz9s6UNQ== dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.47.1.tgz#50cc5085578a7fa22cd46a0806c2e5eae858af02" - integrity sha512-r4RZ2Jl9kcQN7K/dcOT+J7NAimbiis4sSM9spvWimsBvDegMhKLA5vri2jG19PmIPbDjPeWzfUPQ2hjEzA4Nmg== +"@typescript-eslint/eslint-plugin@^5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.48.0.tgz#54f8368d080eb384a455f60c2ee044e948a8ce67" + integrity sha512-SVLafp0NXpoJY7ut6VFVUU9I+YeFsDzeQwtK0WZ+xbRN3mtxJ08je+6Oi2N89qDn087COdO0u3blKZNv9VetRQ== dependencies: - "@typescript-eslint/scope-manager" "5.47.1" - "@typescript-eslint/type-utils" "5.47.1" - "@typescript-eslint/utils" "5.47.1" + "@typescript-eslint/scope-manager" "5.48.0" + "@typescript-eslint/type-utils" "5.48.0" + "@typescript-eslint/utils" "5.48.0" debug "^4.3.4" ignore "^5.2.0" natural-compare-lite "^1.4.0" @@ -2256,72 +2256,72 @@ semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/parser@^5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.47.1.tgz#c4bf16f8c3c7608ce4bf8ff804b677fc899f173f" - integrity sha512-9Vb+KIv29r6GPu4EboWOnQM7T+UjpjXvjCPhNORlgm40a9Ia9bvaPJswvtae1gip2QEeVeGh6YquqAzEgoRAlw== +"@typescript-eslint/parser@^5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.48.0.tgz#02803355b23884a83e543755349809a50b7ed9ba" + integrity sha512-1mxNA8qfgxX8kBvRDIHEzrRGrKHQfQlbW6iHyfHYS0Q4X1af+S6mkLNtgCOsGVl8+/LUPrqdHMssAemkrQ01qg== dependencies: - "@typescript-eslint/scope-manager" "5.47.1" - "@typescript-eslint/types" "5.47.1" - "@typescript-eslint/typescript-estree" "5.47.1" + "@typescript-eslint/scope-manager" "5.48.0" + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/typescript-estree" "5.48.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.47.1.tgz#0d302b3c2f20ab24e4787bf3f5a0d8c449b823bd" - integrity sha512-9hsFDsgUwrdOoW1D97Ewog7DYSHaq4WKuNs0LHF9RiCmqB0Z+XRR4Pf7u7u9z/8CciHuJ6yxNws1XznI3ddjEw== +"@typescript-eslint/scope-manager@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.48.0.tgz#607731cb0957fbc52fd754fd79507d1b6659cecf" + integrity sha512-0AA4LviDtVtZqlyUQnZMVHydDATpD9SAX/RC5qh6cBd3xmyWvmXYF+WT1oOmxkeMnWDlUVTwdODeucUnjz3gow== dependencies: - "@typescript-eslint/types" "5.47.1" - "@typescript-eslint/visitor-keys" "5.47.1" + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/visitor-keys" "5.48.0" -"@typescript-eslint/type-utils@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.47.1.tgz#aee13314f840ab336c1adb49a300856fd16d04ce" - integrity sha512-/UKOeo8ee80A7/GJA427oIrBi/Gd4osk/3auBUg4Rn9EahFpevVV1mUK8hjyQD5lHPqX397x6CwOk5WGh1E/1w== +"@typescript-eslint/type-utils@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-5.48.0.tgz#40496dccfdc2daa14a565f8be80ad1ae3882d6d6" + integrity sha512-vbtPO5sJyFjtHkGlGK4Sthmta0Bbls4Onv0bEqOGm7hP9h8UpRsHJwsrCiWtCUndTRNQO/qe6Ijz9rnT/DB+7g== dependencies: - "@typescript-eslint/typescript-estree" "5.47.1" - "@typescript-eslint/utils" "5.47.1" + "@typescript-eslint/typescript-estree" "5.48.0" + "@typescript-eslint/utils" "5.48.0" debug "^4.3.4" tsutils "^3.21.0" -"@typescript-eslint/types@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.47.1.tgz#459f07428aec5a8c4113706293c2ae876741ac8e" - integrity sha512-CmALY9YWXEpwuu6377ybJBZdtSAnzXLSQcxLSqSQSbC7VfpMu/HLVdrnVJj7ycI138EHqocW02LPJErE35cE9A== +"@typescript-eslint/types@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.48.0.tgz#d725da8dfcff320aab2ac6f65c97b0df30058449" + integrity sha512-UTe67B0Ypius0fnEE518NB2N8gGutIlTojeTg4nt0GQvikReVkurqxd2LvYa9q9M5MQ6rtpNyWTBxdscw40Xhw== -"@typescript-eslint/typescript-estree@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.47.1.tgz#b9d8441308aca53df7f69b2c67a887b82c9ed418" - integrity sha512-4+ZhFSuISAvRi2xUszEj0xXbNTHceV9GbH9S8oAD2a/F9SW57aJNQVOCxG8GPfSWH/X4eOPdMEU2jYVuWKEpWA== +"@typescript-eslint/typescript-estree@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.48.0.tgz#a7f04bccb001003405bb5452d43953a382c2fac2" + integrity sha512-7pjd94vvIjI1zTz6aq/5wwE/YrfIyEPLtGJmRfyNR9NYIW+rOvzzUv3Cmq2hRKpvt6e9vpvPUQ7puzX7VSmsEw== dependencies: - "@typescript-eslint/types" "5.47.1" - "@typescript-eslint/visitor-keys" "5.47.1" + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/visitor-keys" "5.48.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" semver "^7.3.7" tsutils "^3.21.0" -"@typescript-eslint/utils@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.47.1.tgz#595f25ac06e9ee28c339fd43c709402820b13d7b" - integrity sha512-l90SdwqfmkuIVaREZ2ykEfCezepCLxzWMo5gVfcJsJCaT4jHT+QjgSkYhs5BMQmWqE9k3AtIfk4g211z/sTMVw== +"@typescript-eslint/utils@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-5.48.0.tgz#eee926af2733f7156ad8d15e51791e42ce300273" + integrity sha512-x2jrMcPaMfsHRRIkL+x96++xdzvrdBCnYRd5QiW5Wgo1OB4kDYPbC1XjWP/TNqlfK93K/lUL92erq5zPLgFScQ== dependencies: "@types/json-schema" "^7.0.9" "@types/semver" "^7.3.12" - "@typescript-eslint/scope-manager" "5.47.1" - "@typescript-eslint/types" "5.47.1" - "@typescript-eslint/typescript-estree" "5.47.1" + "@typescript-eslint/scope-manager" "5.48.0" + "@typescript-eslint/types" "5.48.0" + "@typescript-eslint/typescript-estree" "5.48.0" eslint-scope "^5.1.1" eslint-utils "^3.0.0" semver "^7.3.7" -"@typescript-eslint/visitor-keys@5.47.1": - version "5.47.1" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.47.1.tgz#d35c2da544dbb685db9c5b5b85adac0a1d74d1f2" - integrity sha512-rF3pmut2JCCjh6BLRhNKdYjULMb1brvoaiWDlHfLNVgmnZ0sBVJrs3SyaKE1XoDDnJuAx/hDQryHYmPUuNq0ig== +"@typescript-eslint/visitor-keys@5.48.0": + version "5.48.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.48.0.tgz#4446d5e7f6cadde7140390c0e284c8702d944904" + integrity sha512-5motVPz5EgxQ0bHjut3chzBkJ3Z3sheYVcSwS5BpHZpLqSptSmELNtGixmgj65+rIfhvtQTz5i9OP2vtzdDH7Q== dependencies: - "@typescript-eslint/types" "5.47.1" + "@typescript-eslint/types" "5.48.0" eslint-visitor-keys "^3.3.0" "@webassemblyjs/ast@1.11.1": @@ -2577,10 +2577,10 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" -ajv@^8.11.2: - version "8.11.2" - resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.11.2.tgz#aecb20b50607acf2569b6382167b65a96008bb78" - integrity sha512-E4bfmKAhGiSTvMfL1Myyycaub+cUEU2/IvpylXkUu7CHBkBj1f/ikdzbD7YQ6FKUbixDxeYvB/xY4fvyroDlQg== +ajv@^8.12.0: + version "8.12.0" + resolved "https://registry.yarnpkg.com/ajv/-/ajv-8.12.0.tgz#d1a0527323e22f53562c567c00991577dfbe19d1" + integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA== dependencies: fast-deep-equal "^3.1.1" json-schema-traverse "^1.0.0" @@ -2749,9 +2749,9 @@ at-least-node@^1.0.0: integrity sha512-+q/t7Ekv1EDY2l6Gda6LLiX14rU9TV20Wa3ofeQmwPFZbOMo9DXrLbOjFaaclkXKWidIaopwAObQDqwWtGUjqg== axios@^1.0.0: - version "1.2.1" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.1.tgz#44cf04a3c9f0c2252ebd85975361c026cb9f864a" - integrity sha512-I88cFiGu9ryt/tfVEi4kX2SITsvDddTajXTOFmt2uK1ZVA8LytjtdeyefdQWEf5PU8w+4SSJDoYnggflB5tW4A== + version "1.2.2" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.2.2.tgz#72681724c6e6a43a9fea860fc558127dbe32f9f1" + integrity sha512-bz/J4gS2S3I7mpN/YZfGFTqhXTYzRho8Ay38w2otuuDR322KzFIWm/4W2K6gIwvWaws5n+mnb7D1lN9uD+QH6Q== dependencies: follow-redirects "^1.15.0" form-data "^4.0.0" @@ -3090,9 +3090,9 @@ ci-info@^2.0.0: integrity sha512-5tK7EtrZ0N+OLFMthtqOj4fI2Jeb88C4CAZPu25LDVUgXJ0A3Js4PMGqrn0JU1W0Mh1/Z8wZzYPxqUrXeBboCQ== ci-info@^3.2.0: - version "3.7.0" - resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.0.tgz#6d01b3696c59915b6ce057e4aa4adfc2fa25f5ef" - integrity sha512-2CpRNYmImPx+RXKLq6jko/L07phmS9I02TyqkcNU20GCF/GgaWvc58hPtjxDX8lPpkdwc9sNh72V9k00S7ezog== + version "3.7.1" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-3.7.1.tgz#708a6cdae38915d597afdf3b145f2f8e1ff55f3f" + integrity sha512-4jYS4MOAaCIStSRwiuxc4B8MYhIe676yO1sYGzARnjXkWpmzZMMYxY6zu8WYWDhSuth5zhrQ1rhNSibyyvv4/w== cidr-regex@^3.1.1: version "3.1.1" @@ -3911,10 +3911,10 @@ escape-string-regexp@^4.0.0: resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz#14ba83a5d373e3d311e5afca29cf5bfad965bf34" integrity sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA== -eslint-config-prettier@^8.5.0: - version "8.5.0" - resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.5.0.tgz#5a81680ec934beca02c7b1a61cf8ca34b66feab1" - integrity sha512-obmWKLUNCnhtQRKc+tmnYuQl0pFU1ibYJQ5BGhTVB08bHe9wC8qUeG7c08dj9XX+AuPj1YSGSQIHl1pnDHZR0Q== +eslint-config-prettier@^8.6.0: + version "8.6.0" + resolved "https://registry.yarnpkg.com/eslint-config-prettier/-/eslint-config-prettier-8.6.0.tgz#dec1d29ab728f4fa63061774e1672ac4e363d207" + integrity sha512-bAF0eLpLVqP5oEVUFKpMA+NnRFICwn9X8B5jrR9FcqnYBuPbqWEjTEspPWMj5ye6czoSLDweCzSo3Ko7gGrZaA== eslint-import-resolver-node@^0.3.6: version "0.3.6" @@ -4003,12 +4003,12 @@ eslint-visitor-keys@^3.3.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== -eslint@^8.30.0: - version "8.30.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.30.0.tgz#83a506125d089eef7c5b5910eeea824273a33f50" - integrity sha512-MGADB39QqYuzEGov+F/qb18r4i7DohCDOfatHaxI2iGlPuC65bwG2gxgO+7DkyL38dRFaRH7RaRAgU6JKL9rMQ== +eslint@^8.31.0: + version "8.31.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.31.0.tgz#75028e77cbcff102a9feae1d718135931532d524" + integrity sha512-0tQQEVdmPZ1UtUKXjX7EMm9BlgJ08G90IhWh0PKDCb3ZLsgAOHI8fYSIzYVZej92zsgq+ft0FGsxhJ3xo2tbuA== dependencies: - "@eslint/eslintrc" "^1.4.0" + "@eslint/eslintrc" "^1.4.1" "@humanwhocodes/config-array" "^0.11.8" "@humanwhocodes/module-importer" "^1.0.1" "@nodelib/fs.walk" "^1.2.8" @@ -4200,9 +4200,9 @@ fastest-levenshtein@^1.0.12: integrity sha512-eRnCtTTtGZFpQCwhJiUOuxPQWRXVKYDn0b2PeHfXL6/Zi53SLAzAHfVhVWK2AryC/WH05kGfxhFIPvTF0SXQzg== fastq@^1.6.0: - version "1.14.0" - resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.14.0.tgz#107f69d7295b11e0fccc264e1fc6389f623731ce" - integrity sha512-eR2D+V9/ExcbF9ls441yIuN6TI2ED1Y2ZcA5BmMtJsOkWOFRJQ0Jt0g1UwqXJJVAb+V+umH5Dfr8oh4EVP7VVg== + version "1.15.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.15.0.tgz#d04d07c6a2a68fe4599fea8d2e103a937fae6b3a" + integrity sha512-wBrocU2LCXXa+lWBt8RoIRD89Fi8OdABODa/kEnyeyjS5aZO5/GNvI5sEINADqP/h8M29UHTHUb53sUu5Ihqdw== dependencies: reusify "^1.0.4" @@ -4445,9 +4445,9 @@ get-symbol-description@^1.0.0: get-intrinsic "^1.1.1" get-tsconfig@^4.2.0: - version "4.2.0" - resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.2.0.tgz#ff368dd7104dab47bf923404eb93838245c66543" - integrity sha512-X8u8fREiYOE6S8hLbq99PeykTDoLVnxvF4DjWKJmz9xy2nNRdUcV8ZN9tniJFeKyTU3qnC9lL8n4Chd6LmVKHg== + version "4.3.0" + resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.3.0.tgz#4c26fae115d1050e836aea65d6fe56b507ee249b" + integrity sha512-YCcF28IqSay3fqpIu5y3Krg/utCBHBeoflkZyHj/QcqI2nrLPC3ZegS9CmIo+hJb8K7aiGsuUl7PwWVjNG2HQQ== git-raw-commits@^2.0.8: version "2.0.11" @@ -5953,16 +5953,16 @@ json-stringify-safe@^5.0.1: integrity sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA== json5@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.1.tgz#779fb0018604fa854eacbf6252180d83543e3dbe" - integrity sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow== + version "1.0.2" + resolved "https://registry.yarnpkg.com/json5/-/json5-1.0.2.tgz#63d98d60f21b313b77c4d6da18bfa69d80e1d593" + integrity sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA== dependencies: minimist "^1.2.0" -json5@^2.2.1: - version "2.2.2" - resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.2.tgz#64471c5bdcc564c18f7c1d4df2e2297f2457c5ab" - integrity sha512-46Tk9JiOL2z7ytNQWFLpj99RZkVgeHf87yGQKsIkaPz1qSH9UczKH1rO7K3wgRselo0tYMUNfecYpm/p1vC7tQ== +json5@^2.2.1, json5@^2.2.2: + version "2.2.3" + resolved "https://registry.yarnpkg.com/json5/-/json5-2.2.3.tgz#78cd6f1a19bdc12b73db5ad0c61efd66c1e29283" + integrity sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg== jsonc-parser@3.2.0: version "3.2.0" @@ -6895,13 +6895,13 @@ npmlog@^6.0.0, npmlog@^6.0.2: gauge "^4.0.3" set-blocking "^2.0.0" -nx@15.4.2, "nx@>=14.8.6 < 16": - version "15.4.2" - resolved "https://registry.yarnpkg.com/nx/-/nx-15.4.2.tgz#58acf4ec2097977b7e454737397054ca65f32731" - integrity sha512-np8eJfiBy2I8RZOWCKHr1oeUMHdqLQc7V6ihrzEQe2ZYUl9CSibtKvx0v8YGToHj/vYCiolRPhliFV5sFxgWlg== +nx@15.4.4, "nx@>=14.8.6 < 16": + version "15.4.4" + resolved "https://registry.yarnpkg.com/nx/-/nx-15.4.4.tgz#4cb3d3861972c6fc75df50dd526a2c7e1a26410c" + integrity sha512-JWYeGcKsQVHR6nlk7XSL1/dAuSo2eyW+ahmMmK3j3vSnqRlZiN0q53ALZ4nD8VemAwtZCJ3CiOi4D/HExi5wbw== dependencies: - "@nrwl/cli" "15.4.2" - "@nrwl/tao" "15.4.2" + "@nrwl/cli" "15.4.4" + "@nrwl/tao" "15.4.4" "@parcel/watcher" "2.0.4" "@yarnpkg/lockfile" "^1.1.0" "@yarnpkg/parsers" "^3.0.0-rc.18" @@ -6930,7 +6930,7 @@ nx@15.4.2, "nx@>=14.8.6 < 16": strong-log-transformer "^2.1.0" tar-stream "~2.2.0" tmp "~0.2.1" - tsconfig-paths "^3.9.0" + tsconfig-paths "^4.1.2" tslib "^2.3.0" v8-compile-cache "2.3.0" yargs "^17.6.2" @@ -7409,10 +7409,10 @@ punycode@^2.1.0: resolved "https://registry.yarnpkg.com/punycode/-/punycode-2.1.1.tgz#b58b010ac40c22c5657616c8d2c2c02c7bf479ec" integrity sha512-XRsRjdf+j5ml+y/6GKHPZbrF/8p2Yga0JPtdqTIY2Xe5ohJPD9saDJJLPvp9+NSBprVvevdXZybnj2cv8OEd0A== -pyright@^1.1.286: - version "1.1.286" - resolved "https://registry.yarnpkg.com/pyright/-/pyright-1.1.286.tgz#271bcc40535e502098d00426f8f22f98300b5dbb" - integrity sha512-67+zViU+bN8m6cZQQc65aSinEguuFDI6gn2yf+naMjXuR5s65sAHAjP2FcPnd/AeB+F9fq4oytJ8UQOAbhLhFg== +pyright@^1.1.287: + version "1.1.287" + resolved "https://registry.yarnpkg.com/pyright/-/pyright-1.1.287.tgz#7edb5739e94422f7b6604e2f1909086bb53cf8ba" + integrity sha512-katsAvKQea24z3PLRsyRFlPFR4G/G7PduWM9XzYfnRNs0jx730xRYbwB9DoUJBxHJansf+HRhnG30H7Zzk22Tg== q@^1.5.1: version "1.5.1" @@ -8335,7 +8335,7 @@ ts-node@^10.9.1: v8-compile-cache-lib "^3.0.1" yn "3.1.1" -tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0: +tsconfig-paths@^3.14.1: version "3.14.1" resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-3.14.1.tgz#ba0734599e8ea36c862798e920bcf163277b137a" integrity sha512-fxDhWnFSLt3VuTwtvJt5fpwxBHg5AdKWMsgcPOOIilyjymcYVZoCQF8fvFRezCNfblEXmi+PcM1eYHeOAgXCOQ== @@ -8345,6 +8345,15 @@ tsconfig-paths@^3.14.1, tsconfig-paths@^3.9.0: minimist "^1.2.6" strip-bom "^3.0.0" +tsconfig-paths@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/tsconfig-paths/-/tsconfig-paths-4.1.2.tgz#4819f861eef82e6da52fb4af1e8c930a39ed979a" + integrity sha512-uhxiMgnXQp1IR622dUXI+9Ehnws7i/y6xvpZB9IbUVOPy0muvdvgXeZOn88UcGPiT98Vp3rJPTa8bFoalZ3Qhw== + dependencies: + json5 "^2.2.2" + minimist "^1.2.6" + strip-bom "^3.0.0" + tslib@^1.8.1, tslib@^1.9.0: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" From 77cc09e73dc323394fb34b7076334cace94e048d Mon Sep 17 00:00:00 2001 From: Otavio Macedo <288203+otaviomacedo@users.noreply.github.com> Date: Wed, 4 Jan 2023 16:08:09 +0000 Subject: [PATCH 02/15] chore: updated maven to 3.8.7 in the superchain Dockerfile (#3898) For some reason, 3.8.6 is no longer available on the Apache downloads website, but 3.8.7 is. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- superchain/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superchain/Dockerfile b/superchain/Dockerfile index f263a7465e..68df1c7310 100644 --- a/superchain/Dockerfile +++ b/superchain/Dockerfile @@ -39,7 +39,7 @@ RUN echo "deb http://deb.debian.org/debian buster-backports main" > /etc/apt/sou SHELL ["/bin/zsh", "-c"] # Prepare maven binary distribution -ARG M2_VERSION="3.8.6" +ARG M2_VERSION="3.8.7" ENV M2_DISTRO="https://www.apache.org/dist/maven/maven-3" RUN set -eo pipefail \ && curl -fSsL "${M2_DISTRO}/${M2_VERSION}/binaries/apache-maven-${M2_VERSION}-bin.tar.gz" \ From 8a1d168f39d0a8730965f5f5759dc5209d5341be Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Tue, 10 Jan 2023 03:13:54 +0900 Subject: [PATCH 03/15] chore: fix typo in Kernel.java (#3886) hte -> the --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- .../project/src/main/java/software/amazon/jsii/Kernel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/java-runtime/project/src/main/java/software/amazon/jsii/Kernel.java b/packages/@jsii/java-runtime/project/src/main/java/software/amazon/jsii/Kernel.java index dcb1160413..d1c8466bfb 100644 --- a/packages/@jsii/java-runtime/project/src/main/java/software/amazon/jsii/Kernel.java +++ b/packages/@jsii/java-runtime/project/src/main/java/software/amazon/jsii/Kernel.java @@ -36,7 +36,7 @@ public static T asyncCall(final Object receiver, final String method, final /** * Calls a JavaScript method on a receiver. * - * @param receiver the receiver for hte method call + * @param receiver the receiver for the method call * @param method The name of the method. * @param nativeType The return type. * @param args Method arguments. From 51ec8b7dad13504e8c510d2a21ad805f7d38b5d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 Jan 2023 14:35:16 +0000 Subject: [PATCH 04/15] chore(deps-dev): Update mkdocs-material requirement from ~=8.5.11 to ~=9.0.3 in /gh-pages (#3907) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.0.3

  • Improved discernability of section index pages in navigation
  • Improved collapsing of adjacent whitespace in search plugin
  • Updated Indonesian translations
  • Fixed view source of this page button when edit URL points to blob
  • Fixed #4829: Search overlay does not close for active anchor result
  • Fixed #4824: Search plugin crashes for h[1-6] contained in other elements
  • Fixed #4804: Nested navigation items not expandable with keyboard
  • Fixed #4689: anchor tracking not working for anchors in tables
  • Upgraded to Mermaid 9.3.0
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.0.3+insiders-4.27.1 (2022-01-08)

  • Fixed rendering of succeeding navigation items in typeset plugin
  • Fixed #4795: Built-in typeset plugin changes MkDocs' title precedence
  • Fixed #4724: Blog plugin not rendering integrate table of contents

mkdocs-material-9.0.3 (2022-01-08)

  • Improved discernability of section index pages in navigation
  • Improved collapsing of adjacent whitespace in search plugin
  • Updated Indonesian translations
  • Fixed view source of this page button when edit URL points to blob
  • Fixed #4829: Search overlay does not close for active anchor result
  • Fixed #4824: Search plugin crashes for h1-6 contained in other elements
  • Fixed #4804: Nested navigation items not expandable with keyboard
  • Fixed #4689: anchor tracking not working for anchors in tables
  • Upgraded to Mermaid 9.3.0

mkdocs-material-9.0.2 (2022-01-04)

  • Fixed #4823: Improved contrast ratio in footer to meet WCAG guidelines
  • Fixed #4819: Social plugin crashes when card generation is disabled
  • Fixed #4817: Search plugin crashes on numeric page titles in nav

mkdocs-material-9.0.1 (2022-01-03)

  • Removed pipdeptree dependency for built-in info plugin
  • Fixed appearance of linked tags when hovered (9.0.0 regression)
  • Fixed #4810: Abbreviations run out of screen on touch devices
  • Fixed #4813: View source and edit button links are the same

mkdocs-material-9.0.0 (2023-01-02)

Additions and improvements

  • Added support for rich search previews
  • Added support for tokenizer lookahead
  • Added support for better search highlighting
  • Added support for excluding content from search
  • Added support for configurable search pipeline
  • Added support for offline search via offline plugin
  • Added support for multiple instances of built-in tags plugin
  • Added support for removing copy-to-clipboard button
  • Added support for removing footer navigation
  • Added support for button to view the source of a page
  • Improved readability of query string for search sharing
  • Improved stability of search plugin when using --dirtyreload
  • Improved search result group button, now sticky and stable
  • Updated Norwegian translations
  • Updated MkDocs to 1.4.2

... (truncated)

Commits
  • eab3eae Prepare 9.0.3 release
  • 35e6eed Updated dependencies
  • f8f44f5 Improved accessibility of sidebar navigation
  • 5b35b7d Updated Indonesian translations
  • 1d0f993 Updated Indonesian translations
  • 318903d Fixed anchor tracking not working for anchors in tables
  • 8a812ae Fixed search not closing on same anchor selection
  • 6825734 Improved collapsing of adjacent whitespace and removal of empty elements in s...
  • 7484b19 Removed unnecessary code from search plugin
  • 81e7b8c Fixed search plugin crashing on nested headlines
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 7f67a3879a..c2cd6f138c 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.4.2 mkdocs-awesome-pages-plugin~=2.8.0 -mkdocs-material~=8.5.11 +mkdocs-material~=9.0.3 mkdocs-git-revision-date-plugin~=0.3.2 From 0d51278d32e059af4b0fbb146a76861de2a68b81 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Mon, 16 Jan 2023 18:14:46 +0100 Subject: [PATCH 05/15] chore(superchain): use `pipx` instead of `pip` to install CLIs (#3913) We recently ran into a situation where we ended up with with a Python distribution where the following failed: ```shell $ python3 >>> import OpenSSL Traceback (most recent call last): File "", line 1, in File "/usr/local/lib/python3.7/dist-packages/OpenSSL/__init__.py", line 8, in from OpenSSL import crypto, SSL File "/usr/local/lib/python3.7/dist-packages/OpenSSL/crypto.py", line 3268, in _lib.OpenSSL_add_all_algorithms() AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' ``` Because we had `cryptography==39.0.0` but `PyOpenSSL==22.0.0`, which should have been `22.1.0`. The reason `PyOpenSSL` was held back looks to be because SAM CLI had a hardcoded dependency on the old version. To prevent this from happening in the future, use `pipx` to install CLIs, so that each CLI gets its own virtual env and their dependency sets don't interfere with each other. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- superchain/Dockerfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/superchain/Dockerfile b/superchain/Dockerfile index 68df1c7310..20fe734110 100644 --- a/superchain/Dockerfile +++ b/superchain/Dockerfile @@ -149,11 +149,16 @@ RUN set -eo pipefail && chmod -R a+rw ${CARGO_HOME} ENV PATH=$PATH:${CARGO_HOME}/bin -# Install Python 3 +# Install Python 3. Use 'pipx' for CLI scripts, so each gets its own venv +ENV PATH=$PATH:/root/.local/bin RUN apt-get update \ && apt-get -y install python3 python3-dev python3-pip python3-venv \ - && python3 -m pip install --no-input --upgrade pip \ - && python3 -m pip install --no-input --upgrade awscli black setuptools twine wheel \ + && python3 -m pip install --no-input --upgrade pip setuptools \ + && python3 -m pip install pipx \ + && python3 -m pipx install --system-site-packages awscli \ + && python3 -m pipx install --system-site-packages black \ + && python3 -m pipx install --system-site-packages twine \ + && python3 -m pipx inject --system-site-packages twine wheel \ && rm -rf $(pip cache dir) \ && rm -rf /var/lib/apt/lists/* @@ -216,7 +221,7 @@ RUN apt-key add /tmp/nodesource.asc && rm /tmp/nodesource.asc && rm -rf /var/lib/apt/lists/* # Install SAM CLI -RUN pip install aws-sam-cli \ +RUN python3 -m pipx install --system-site-packages aws-sam-cli \ && sam --version # Install Amazon SSM agent (allows debugging of builds via `codebuild-breakpoint`, https://go.aws/3TVW7vL) From e4c51c43ca5c37ea7c40ed13ebcf3f94f5da4299 Mon Sep 17 00:00:00 2001 From: Rico Hermans Date: Wed, 18 Jan 2023 18:26:40 +0100 Subject: [PATCH 06/15] fix(rosetta): Rosetta does not support `await` (#3915) Now it does. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- packages/jsii-rosetta/lib/languages/default.ts | 4 ++++ packages/jsii-rosetta/lib/languages/visualize.ts | 4 ++++ packages/jsii-rosetta/lib/renderer.ts | 4 ++++ .../jsii-rosetta/test/translations/expressions/await.cs | 1 + .../jsii-rosetta/test/translations/expressions/await.go | 1 + .../jsii-rosetta/test/translations/expressions/await.java | 1 + .../jsii-rosetta/test/translations/expressions/await.py | 1 + .../jsii-rosetta/test/translations/expressions/await.ts | 7 +++++++ 8 files changed, 23 insertions(+) create mode 100644 packages/jsii-rosetta/test/translations/expressions/await.cs create mode 100644 packages/jsii-rosetta/test/translations/expressions/await.go create mode 100644 packages/jsii-rosetta/test/translations/expressions/await.java create mode 100644 packages/jsii-rosetta/test/translations/expressions/await.py create mode 100644 packages/jsii-rosetta/test/translations/expressions/await.ts diff --git a/packages/jsii-rosetta/lib/languages/default.ts b/packages/jsii-rosetta/lib/languages/default.ts index bef56096fe..022475f563 100644 --- a/packages/jsii-rosetta/lib/languages/default.ts +++ b/packages/jsii-rosetta/lib/languages/default.ts @@ -117,6 +117,10 @@ export abstract class DefaultVisitor implements AstHandler { return this.regularCallExpression(node, context); } + public awaitExpression(node: ts.AwaitExpression, context: AstRenderer): OTree { + return context.convert(node.expression); + } + public regularCallExpression(node: ts.CallExpression, context: AstRenderer): OTree { return new OTree([context.convert(node.expression), '(', this.argumentList(node.arguments, context), ')']); } diff --git a/packages/jsii-rosetta/lib/languages/visualize.ts b/packages/jsii-rosetta/lib/languages/visualize.ts index 6bf4c2ac4c..493f1010e1 100644 --- a/packages/jsii-rosetta/lib/languages/visualize.ts +++ b/packages/jsii-rosetta/lib/languages/visualize.ts @@ -90,6 +90,10 @@ export class VisualizeAstVisitor implements AstHandler { return this.defaultNode('newExpression', node, context); } + public awaitExpression(node: ts.AwaitExpression, context: AstRenderer): OTree { + return this.defaultNode('await', node, context); + } + public propertyAssignment(node: ts.PropertyAssignment, context: AstRenderer): OTree { return this.defaultNode('propertyAssignment', node, context); } diff --git a/packages/jsii-rosetta/lib/renderer.ts b/packages/jsii-rosetta/lib/renderer.ts index 84fdb08759..42e6075dc6 100644 --- a/packages/jsii-rosetta/lib/renderer.ts +++ b/packages/jsii-rosetta/lib/renderer.ts @@ -284,6 +284,9 @@ export class AstRenderer { if (ts.isPropertyAccessExpression(tree)) { return visitor.propertyAccessExpression(tree, this); } + if (ts.isAwaitExpression(tree)) { + return visitor.awaitExpression(tree, this); + } if (ts.isCallExpression(tree)) { return visitor.callExpression(tree, this); } @@ -471,6 +474,7 @@ export interface AstHandler { binaryExpression(node: ts.BinaryExpression, context: AstRenderer): OTree; ifStatement(node: ts.IfStatement, context: AstRenderer): OTree; propertyAccessExpression(node: ts.PropertyAccessExpression, context: AstRenderer): OTree; + awaitExpression(node: ts.AwaitExpression, context: AstRenderer): OTree; callExpression(node: ts.CallExpression, context: AstRenderer): OTree; expressionStatement(node: ts.ExpressionStatement, context: AstRenderer): OTree; token(node: ts.Token, context: AstRenderer): OTree; diff --git a/packages/jsii-rosetta/test/translations/expressions/await.cs b/packages/jsii-rosetta/test/translations/expressions/await.cs new file mode 100644 index 0000000000..24cfb3b9c0 --- /dev/null +++ b/packages/jsii-rosetta/test/translations/expressions/await.cs @@ -0,0 +1 @@ +int x = Future(); \ No newline at end of file diff --git a/packages/jsii-rosetta/test/translations/expressions/await.go b/packages/jsii-rosetta/test/translations/expressions/await.go new file mode 100644 index 0000000000..ace8c4d092 --- /dev/null +++ b/packages/jsii-rosetta/test/translations/expressions/await.go @@ -0,0 +1 @@ +x := future() \ No newline at end of file diff --git a/packages/jsii-rosetta/test/translations/expressions/await.java b/packages/jsii-rosetta/test/translations/expressions/await.java new file mode 100644 index 0000000000..296d941774 --- /dev/null +++ b/packages/jsii-rosetta/test/translations/expressions/await.java @@ -0,0 +1 @@ +Number x = future(); \ No newline at end of file diff --git a/packages/jsii-rosetta/test/translations/expressions/await.py b/packages/jsii-rosetta/test/translations/expressions/await.py new file mode 100644 index 0000000000..ac231dc2fe --- /dev/null +++ b/packages/jsii-rosetta/test/translations/expressions/await.py @@ -0,0 +1 @@ +x = future() \ No newline at end of file diff --git a/packages/jsii-rosetta/test/translations/expressions/await.ts b/packages/jsii-rosetta/test/translations/expressions/await.ts new file mode 100644 index 0000000000..7fe8c08ac1 --- /dev/null +++ b/packages/jsii-rosetta/test/translations/expressions/await.ts @@ -0,0 +1,7 @@ +/// !hide +function future(): Promise { + return Promise.resolve(5); +} +/// !show + +const x = await future(); \ No newline at end of file From 209d10eab284b4e8ad38e37c0d4b4bf3294569c4 Mon Sep 17 00:00:00 2001 From: Romain Marcadier Date: Thu, 19 Jan 2023 14:08:12 +0100 Subject: [PATCH 07/15] fix(python): returning Promise breaks runtime (#3916) The `EndResponse` struct did not supply a default value for the `result` property, making it required (despite it is typed `Any`, which `None` is valid for). Fix the schema to represent as `Optional[Any] = None` and add a compliance test to validate this scenario. Note for readers here - async support is very much experimental and only partially imported in most jsii front-end languages. Caution is still advised if you are going to expose async APIs. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- .../specification/6-compliance-report.md | 3 +- .../python-runtime/src/jsii/_kernel/types.py | 2 +- .../python-runtime/tests/test_compliance.py | 9 ++ packages/jsii-calc/lib/compliance.ts | 10 ++ packages/jsii-calc/test/assembly.jsii | 46 ++++++- .../__snapshots__/target-dotnet.test.js.snap | 51 +++++++ .../__snapshots__/target-go.test.js.snap | 74 +++++++++++ .../__snapshots__/target-java.test.js.snap | 45 +++++++ .../__snapshots__/target-python.test.js.snap | 125 ++++++++++-------- .../test/__snapshots__/jsii-tree.test.js.snap | 15 +++ .../test/__snapshots__/tree.test.js.snap | 9 ++ .../__snapshots__/type-system.test.js.snap | 1 + tools/jsii-compliance/suite.ts | 4 + 13 files changed, 336 insertions(+), 58 deletions(-) diff --git a/gh-pages/content/specification/6-compliance-report.md b/gh-pages/content/specification/6-compliance-report.md index d152111b14..52fa5f3828 100644 --- a/gh-pages/content/specification/6-compliance-report.md +++ b/gh-pages/content/specification/6-compliance-report.md @@ -5,7 +5,7 @@ This section details the current state of each language binding with respect to our standard compliance suite. -| number | test | java (98.36%) | golang (79.51%) | Dotnet | Python | +| number | test | java (97.56%) | golang (78.86%) | Dotnet | Python | | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------------------------------------------- | ------ | ------ | | 1 | asyncOverrides_overrideCallsSuper | 🟒 | [πŸ”΄](https://github.com/aws/jsii/issues/2670) | β­• | β­• | | 2 | [arrayReturnedByMethodCanBeRead]("Array created in the kernel can be queried for its elements") | 🟒 | 🟒 | β­• | β­• | @@ -129,3 +129,4 @@ This section details the current state of each language binding with respect to | 120 | [downcasting]("Ensures unsafe-cast features work as expected") | β­• | 🟒 | β­• | β­• | | 121 | [strippedDeprecatedMemberCanBeReceived]("Ensures --strip-deprecated does not cause odd runtime errors") | 🟒 | 🟒 | β­• | β­• | | 122 | [exceptionMessage]("Verifies that custom exception names are correctly forwarded") | 🟒 | 🟒 | β­• | β­• | +| 123 | [voidReturningAsync]("Verifies that returning Promise is correctly handled") | β­• | β­• | β­• | β­• | diff --git a/packages/@jsii/python-runtime/src/jsii/_kernel/types.py b/packages/@jsii/python-runtime/src/jsii/_kernel/types.py index 56fe6abc73..838a24f661 100644 --- a/packages/@jsii/python-runtime/src/jsii/_kernel/types.py +++ b/packages/@jsii/python-runtime/src/jsii/_kernel/types.py @@ -185,7 +185,7 @@ class EndRequest: @attr.s(auto_attribs=True, frozen=True, slots=True) class EndResponse: - result: Any + result: Optional[Any] = None @attr.s(auto_attribs=True, frozen=True, slots=True) diff --git a/packages/@jsii/python-runtime/tests/test_compliance.py b/packages/@jsii/python-runtime/tests/test_compliance.py index a68dce919c..9b09682462 100644 --- a/packages/@jsii/python-runtime/tests/test_compliance.py +++ b/packages/@jsii/python-runtime/tests/test_compliance.py @@ -76,6 +76,7 @@ StructParameterType, AnonymousImplementationProvider, UpcasingReflectable, + PromiseNothing, ) from jsii_calc.cdk16625 import Cdk16625 from jsii_calc.cdk22369 import AcceptsPath @@ -1354,3 +1355,11 @@ def test_stripped_deprecated_member_can_be_received(): def test_exception_message(): with pytest.raises(RuntimeError, match="Cannot find asset"): AcceptsPath(source_path="A Bad Path") + + +def test_void_returning_async(): + """Verifies it's okay to return a Promise.""" + + assert PromiseNothing().instance_promise_it() is None + ## TODO: This is currently broken as code-gen is incorrect for static async. + # assert PromiseNothing.promise_it() is None diff --git a/packages/jsii-calc/lib/compliance.ts b/packages/jsii-calc/lib/compliance.ts index e4669acb8b..725b1a3a7d 100644 --- a/packages/jsii-calc/lib/compliance.ts +++ b/packages/jsii-calc/lib/compliance.ts @@ -3131,3 +3131,13 @@ export interface ParamShadowsBuiltinsProps { readonly booleanProperty: boolean; readonly structProperty: StructA; } + +export class PromiseNothing { + public static async promiseIt(): Promise { + return Promise.resolve(); + } + + public async instancePromiseIt(): Promise { + return PromiseNothing.promiseIt(); + } +} diff --git a/packages/jsii-calc/test/assembly.jsii b/packages/jsii-calc/test/assembly.jsii index 1525f7d7f2..135f668337 100644 --- a/packages/jsii-calc/test/assembly.jsii +++ b/packages/jsii-calc/test/assembly.jsii @@ -11823,6 +11823,50 @@ ], "symbolId": "lib/calculator:Power" }, + "jsii-calc.PromiseNothing": { + "assembly": "jsii-calc", + "docs": { + "stability": "stable" + }, + "fqn": "jsii-calc.PromiseNothing", + "initializer": { + "docs": { + "stability": "stable" + } + }, + "kind": "class", + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 3135 + }, + "methods": [ + { + "async": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 3136 + }, + "name": "promiseIt", + "static": true + }, + { + "async": true, + "docs": { + "stability": "stable" + }, + "locationInModule": { + "filename": "lib/compliance.ts", + "line": 3140 + }, + "name": "instancePromiseIt" + } + ], + "name": "PromiseNothing", + "symbolId": "lib/compliance:PromiseNothing" + }, "jsii-calc.PropertyNamedProperty": { "assembly": "jsii-calc", "docs": { @@ -18799,5 +18843,5 @@ } }, "version": "3.20.120", - "fingerprint": "kmlc5is+t/xffykk7b4m8jurrxFDkj9pjv2cW/V1J50=" + "fingerprint": "EH7xszNdCh9PCFUZ8Foi7g2CPhdrKeZm8CQaUCNv4GQ=" } \ No newline at end of file diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap index a9aaf179aa..f161783572 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-dotnet.test.js.snap @@ -3199,6 +3199,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┣━ πŸ“„ PartiallyInitializedThisConsumer.cs ┃ ┣━ πŸ“„ Polymorphism.cs ┃ ┣━ πŸ“„ Power.cs + ┃ ┣━ πŸ“„ PromiseNothing.cs ┃ ┣━ πŸ“„ PropertyNamedProperty.cs ┃ ┣━ πŸ“„ PublicClass.cs ┃ ┣━ πŸ“„ PythonReservedWords.cs @@ -17203,6 +17204,56 @@ namespace Amazon.JSII.Tests.CalculatorNamespace `; +exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PromiseNothing.cs 1`] = ` +using Amazon.JSII.Runtime.Deputy; + +#pragma warning disable CS0672,CS0809,CS1591 + +namespace Amazon.JSII.Tests.CalculatorNamespace +{ + [JsiiClass(nativeType: typeof(Amazon.JSII.Tests.CalculatorNamespace.PromiseNothing), fullyQualifiedName: "jsii-calc.PromiseNothing")] + public class PromiseNothing : DeputyBase + { + public PromiseNothing(): base(_MakeDeputyProps()) + { + } + + [System.Runtime.CompilerServices.MethodImpl(System.Runtime.CompilerServices.MethodImplOptions.AggressiveInlining)] + private static DeputyProps _MakeDeputyProps() + { + return new DeputyProps(System.Array.Empty()); + } + + /// Used by jsii to construct an instance of this class from a Javascript-owned object reference + /// The Javascript-owned object reference + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected PromiseNothing(ByRefValue reference): base(reference) + { + } + + /// Used by jsii to construct an instance of this class from DeputyProps + /// The deputy props + [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)] + protected PromiseNothing(DeputyProps props): base(props) + { + } + + [JsiiMethod(name: "promiseIt", isAsync: true)] + public static void PromiseIt() + { + InvokeStaticVoidMethod(typeof(Amazon.JSII.Tests.CalculatorNamespace.PromiseNothing), new System.Type[]{}, new object[]{}); + } + + [JsiiMethod(name: "instancePromiseIt", isAsync: true)] + public virtual void InstancePromiseIt() + { + InvokeInstanceVoidMethod(new System.Type[]{}, new object[]{}); + } + } +} + +`; + exports[`Generated code for "jsii-calc": /dotnet/Amazon.JSII.Tests.CalculatorPackageId/Amazon/JSII/Tests/CalculatorNamespace/PropertyNamedProperty.cs 1`] = ` using Amazon.JSII.Runtime.Deputy; diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap index 798561c3ae..023b06a4a9 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-go.test.js.snap @@ -2756,6 +2756,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┣━ πŸ“„ jsiicalc_PartiallyInitializedThisConsumer.go ┣━ πŸ“„ jsiicalc_Polymorphism.go ┣━ πŸ“„ jsiicalc_Power.go + ┣━ πŸ“„ jsiicalc_PromiseNothing.go ┣━ πŸ“„ jsiicalc_PropertyNamedProperty.go ┣━ πŸ“„ jsiicalc_PublicClass.go ┣━ πŸ“„ jsiicalc_PythonReservedWords.go @@ -6278,6 +6279,16 @@ func init() { return &j }, ) + _jsii_.RegisterClass( + "jsii-calc.PromiseNothing", + reflect.TypeOf((*PromiseNothing)(nil)).Elem(), + []_jsii_.Member{ + _jsii_.MemberMethod{JsiiMethod: "instancePromiseIt", GoMethod: "InstancePromiseIt"}, + }, + func() interface{} { + return &jsiiProxy_PromiseNothing{} + }, + ) _jsii_.RegisterClass( "jsii-calc.PropertyNamedProperty", reflect.TypeOf((*PropertyNamedProperty)(nil)).Elem(), @@ -18103,6 +18114,69 @@ func (p *jsiiProxy_Power) TypeName() interface{} { } +`; + +exports[`Generated code for "jsii-calc": /go/jsiicalc/jsiicalc_PromiseNothing.go 1`] = ` +// A simple calcuator built on JSII. +package jsiicalc + +import ( + _jsii_ "github.com/aws/jsii-runtime-go/runtime" + _init_ "github.com/aws/jsii/jsii-calc/go/jsiicalc/v3/jsii" +) + +type PromiseNothing interface { + InstancePromiseIt() +} + +// The jsii proxy struct for PromiseNothing +type jsiiProxy_PromiseNothing struct { + _ byte // padding +} + +func NewPromiseNothing() PromiseNothing { + _init_.Initialize() + + j := jsiiProxy_PromiseNothing{} + + _jsii_.Create( + "jsii-calc.PromiseNothing", + nil, // no parameters + &j, + ) + + return &j +} + +func NewPromiseNothing_Override(p PromiseNothing) { + _init_.Initialize() + + _jsii_.Create( + "jsii-calc.PromiseNothing", + nil, // no parameters + p, + ) +} + +func PromiseNothing_PromiseIt() { + _init_.Initialize() + + _jsii_.StaticInvokeVoid( + "jsii-calc.PromiseNothing", + "promiseIt", + nil, // no parameters + ) +} + +func (p *jsiiProxy_PromiseNothing) InstancePromiseIt() { + _jsii_.InvokeVoid( + p, + "instancePromiseIt", + nil, // no parameters + ) +} + + `; exports[`Generated code for "jsii-calc": /go/jsiicalc/jsiicalc_PropertyNamedProperty.go 1`] = ` diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap index 455d7b7748..73464f85aa 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-java.test.js.snap @@ -3930,6 +3930,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` ┃ ┣━ πŸ“„ PartiallyInitializedThisConsumer.java ┃ ┣━ πŸ“„ Polymorphism.java ┃ ┣━ πŸ“„ Power.java + ┃ ┣━ πŸ“„ PromiseNothing.java ┃ ┣━ πŸ“„ PropertyNamedProperty.java ┃ ┣━ πŸ“„ PublicClass.java ┃ ┣━ πŸ“ python_self @@ -19147,6 +19148,49 @@ public class Power extends software.amazon.jsii.tests.calculator.composition.Com `; +exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PromiseNothing.java 1`] = ` +package software.amazon.jsii.tests.calculator; + +/** + */ +@javax.annotation.Generated(value = "jsii-pacmak") +@software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) +@software.amazon.jsii.Jsii(module = software.amazon.jsii.tests.calculator.$Module.class, fqn = "jsii-calc.PromiseNothing") +public class PromiseNothing extends software.amazon.jsii.JsiiObject { + + protected PromiseNothing(final software.amazon.jsii.JsiiObjectRef objRef) { + super(objRef); + } + + protected PromiseNothing(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { + super(initializationMode); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + public PromiseNothing() { + super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); + software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + public static void promiseIt() { + software.amazon.jsii.JsiiObject.jsiiStaticCall(software.amazon.jsii.tests.calculator.PromiseNothing.class, "promiseIt", software.amazon.jsii.NativeType.VOID); + } + + /** + */ + @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Stable) + public void instancePromiseIt() { + software.amazon.jsii.Kernel.asyncCall(this, "instancePromiseIt", software.amazon.jsii.NativeType.VOID); + } +} + +`; + exports[`Generated code for "jsii-calc": /java/src/main/java/software/amazon/jsii/tests/calculator/PropertyNamedProperty.java 1`] = ` package software.amazon.jsii.tests.calculator; @@ -29049,6 +29093,7 @@ jsii-calc.ParentStruct982=software.amazon.jsii.tests.calculator.ParentStruct982 jsii-calc.PartiallyInitializedThisConsumer=software.amazon.jsii.tests.calculator.PartiallyInitializedThisConsumer jsii-calc.Polymorphism=software.amazon.jsii.tests.calculator.Polymorphism jsii-calc.Power=software.amazon.jsii.tests.calculator.Power +jsii-calc.PromiseNothing=software.amazon.jsii.tests.calculator.PromiseNothing jsii-calc.PropertyNamedProperty=software.amazon.jsii.tests.calculator.PropertyNamedProperty jsii-calc.PublicClass=software.amazon.jsii.tests.calculator.PublicClass jsii-calc.PythonReservedWords=software.amazon.jsii.tests.calculator.PythonReservedWords diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap index 1bff67eae6..dc431dd154 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/target-python.test.js.snap @@ -8926,6 +8926,20 @@ class Power( return typing.cast(_scope_jsii_calc_lib_c61f082f.NumericValue, jsii.get(self, "pow")) +class PromiseNothing(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PromiseNothing"): + def __init__(self) -> None: + jsii.create(self.__class__, self, []) + + @jsii.member(jsii_name="promiseIt") + @builtins.classmethod + def promise_it(cls) -> None: + return typing.cast(None, jsii.sinvoke(cls, "promiseIt", [])) + + @jsii.member(jsii_name="instancePromiseIt") + def instance_promise_it(self) -> None: + return typing.cast(None, jsii.ainvoke(self, "instancePromiseIt", [])) + + class PropertyNamedProperty( metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.PropertyNamedProperty", @@ -11433,6 +11447,7 @@ __all__ = [ "PartiallyInitializedThisConsumer", "Polymorphism", "Power", + "PromiseNothing", "PropertyNamedProperty", "PublicClass", "PythonReservedWords", @@ -16570,7 +16585,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="base") def base(self) -> _scope_jsii_calc_lib_c61f082f.NumericValue: -@@ -6073,10 +6582,13 @@ +@@ -6087,10 +6596,13 @@ value: _scope_jsii_calc_lib_c61f082f.EnumFromScopedModule, ) -> None: ''' @@ -16584,7 +16599,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="foo") def foo( -@@ -6087,10 +6599,13 @@ +@@ -6101,10 +6613,13 @@ @foo.setter def foo( self, @@ -16598,7 +16613,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ReturnsPrivateImplementationOfInterface( metaclass=jsii.JSIIMeta, -@@ -6132,10 +6647,14 @@ +@@ -6146,10 +6661,14 @@ :param string_prop: May not be empty. :param nested_struct: ''' @@ -16613,7 +16628,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if nested_struct is not None: self._values["nested_struct"] = nested_struct -@@ -6202,17 +6721,25 @@ +@@ -6216,17 +6735,25 @@ ''' :param arg1: - :param arg2: - @@ -16639,7 +16654,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="methodWithOptionalArguments") def method_with_optional_arguments( self, -@@ -6224,10 +6751,15 @@ +@@ -6238,10 +6765,15 @@ :param arg1: - :param arg2: - @@ -16655,7 +16670,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SecondLevelStruct", -@@ -6246,10 +6778,14 @@ +@@ -6260,10 +6792,14 @@ ) -> None: ''' :param deeper_required_prop: It's long and required. @@ -16670,7 +16685,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if deeper_optional_prop is not None: self._values["deeper_optional_prop"] = deeper_optional_prop -@@ -6311,10 +6847,13 @@ +@@ -6325,10 +6861,13 @@ @jsii.member(jsii_name="isSingletonInt") def is_singleton_int(self, value: jsii.Number) -> builtins.bool: ''' @@ -16684,7 +16699,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonIntEnum") class SingletonIntEnum(enum.Enum): -@@ -6333,10 +6872,13 @@ +@@ -6347,10 +6886,13 @@ @jsii.member(jsii_name="isSingletonString") def is_singleton_string(self, value: builtins.str) -> builtins.bool: ''' @@ -16698,7 +16713,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonStringEnum") class SingletonStringEnum(enum.Enum): -@@ -6360,10 +6902,14 @@ +@@ -6374,10 +6916,14 @@ ) -> None: ''' :param property: @@ -16713,7 +16728,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "yet_anoter_one": yet_anoter_one, } -@@ -6414,10 +6960,14 @@ +@@ -6428,10 +6974,14 @@ ) -> None: ''' :param readonly_string: - @@ -16728,7 +16743,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: return typing.cast(None, jsii.invoke(self, "method", [])) -@@ -6432,10 +6982,13 @@ +@@ -6446,10 +6996,13 @@ def mutable_property(self) -> typing.Optional[jsii.Number]: return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16742,7 +16757,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.StableEnum") class StableEnum(enum.Enum): -@@ -6451,10 +7004,13 @@ +@@ -6465,10 +7018,13 @@ class StableStruct: def __init__(self, *, readonly_property: builtins.str) -> None: ''' @@ -16756,7 +16771,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6491,10 +7047,13 @@ +@@ -6505,10 +7061,13 @@ def static_variable(cls) -> builtins.bool: # pyright: ignore [reportGeneralTypeIssues] return typing.cast(builtins.bool, jsii.sget(cls, "staticVariable")) @@ -16770,7 +16785,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class StaticHelloParent( metaclass=jsii.JSIIMeta, -@@ -6524,19 +7083,25 @@ +@@ -6538,19 +7097,25 @@ class Statics(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Statics"): def __init__(self, value: builtins.str) -> None: ''' @@ -16796,7 +16811,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="justMethod") def just_method(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "justMethod", [])) -@@ -6573,19 +7138,25 @@ +@@ -6587,19 +7152,25 @@ ''' return typing.cast("Statics", jsii.sget(cls, "instance")) @@ -16822,7 +16837,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="value") def value(self) -> builtins.str: -@@ -6608,10 +7179,13 @@ +@@ -6622,10 +7193,13 @@ def you_see_me(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "youSeeMe")) @@ -16836,7 +16851,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructA", -@@ -6634,10 +7208,15 @@ +@@ -6648,10 +7222,15 @@ :param required_string: :param optional_number: @@ -16852,7 +16867,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_number is not None: self._values["optional_number"] = optional_number -@@ -6695,10 +7274,15 @@ +@@ -6709,10 +7288,15 @@ :param optional_boolean: :param optional_struct_a: ''' @@ -16868,7 +16883,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_boolean is not None: self._values["optional_boolean"] = optional_boolean -@@ -6750,10 +7334,14 @@ +@@ -6764,10 +7348,14 @@ See: https://github.com/aws/aws-cdk/issues/4302 :param scope: @@ -16883,7 +16898,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if props is not None: self._values["props"] = props -@@ -6796,10 +7384,14 @@ +@@ -6810,10 +7398,14 @@ ) -> jsii.Number: ''' :param _positional: - @@ -16898,7 +16913,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="roundTrip") @builtins.classmethod def round_trip( -@@ -6814,10 +7406,13 @@ +@@ -6828,10 +7420,13 @@ :param _positional: - :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -16912,7 +16927,7 @@ exports[`Generated code for "jsii-calc": /python/src/js ) return typing.cast("TopLevelStruct", jsii.sinvoke(cls, "roundTrip", [_positional, input])) -@@ -6834,10 +7429,13 @@ +@@ -6848,10 +7443,13 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -16926,7 +16941,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="isStructB") @builtins.classmethod def is_struct_b( -@@ -6845,18 +7443,24 @@ +@@ -6859,18 +7457,24 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -16951,7 +16966,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructWithCollectionOfUnionts", -@@ -6870,10 +7474,13 @@ +@@ -6884,10 +7488,13 @@ union_property: typing.Sequence[typing.Mapping[builtins.str, typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]]]], ) -> None: ''' @@ -16965,7 +16980,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6910,10 +7517,14 @@ +@@ -6924,10 +7531,14 @@ ) -> None: ''' :param foo: An enum value. @@ -16980,7 +16995,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if bar is not None: self._values["bar"] = bar -@@ -6969,10 +7580,16 @@ +@@ -6983,10 +7594,16 @@ :param default: :param assert_: :param result: @@ -16997,7 +17012,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if assert_ is not None: self._values["assert_"] = assert_ -@@ -7042,10 +7659,13 @@ +@@ -7056,10 +7673,13 @@ @parts.setter def parts( self, @@ -17011,7 +17026,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SupportsNiceJavaBuilderProps", -@@ -7061,10 +7681,14 @@ +@@ -7075,10 +7695,14 @@ ) -> None: ''' :param bar: Some number, like 42. @@ -17026,7 +17041,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if id is not None: self._values["id"] = id -@@ -7113,10 +7737,13 @@ +@@ -7127,10 +7751,13 @@ ''' :param id_: some identifier of your choice. :param bar: Some number, like 42. @@ -17040,7 +17055,7 @@ exports[`Generated code for "jsii-calc": /python/src/js jsii.create(self.__class__, self, [id_, props]) @builtins.property -@@ -7154,17 +7781,23 @@ +@@ -7168,17 +7795,23 @@ @jsii.member(jsii_name="modifyOtherProperty") def modify_other_property(self, value: builtins.str) -> None: ''' @@ -17064,7 +17079,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="readA") def read_a(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.invoke(self, "readA", [])) -@@ -7184,17 +7817,23 @@ +@@ -7198,17 +7831,23 @@ @jsii.member(jsii_name="virtualMethod") def virtual_method(self, n: jsii.Number) -> jsii.Number: ''' @@ -17088,7 +17103,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> builtins.str: -@@ -7205,46 +7844,61 @@ +@@ -7219,46 +7858,61 @@ def a(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.get(self, "a")) @@ -17150,7 +17165,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class TestStructWithEnum( metaclass=jsii.JSIIMeta, -@@ -7327,10 +7981,15 @@ +@@ -7341,10 +7995,15 @@ ''' :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -17166,7 +17181,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "second_level": second_level, } if optional is not None: -@@ -7421,10 +8080,13 @@ +@@ -7435,10 +8094,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17180,7 +17195,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="operand") def operand(self) -> _scope_jsii_calc_lib_c61f082f.NumericValue: -@@ -7455,10 +8117,14 @@ +@@ -7469,10 +8131,14 @@ ) -> None: ''' :param bar: @@ -17195,7 +17210,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if foo is not None: self._values["foo"] = foo -@@ -7495,10 +8161,13 @@ +@@ -7509,10 +8175,13 @@ def __init__(self, delegate: typing.Mapping[builtins.str, typing.Any]) -> None: ''' @@ -17209,7 +17224,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.python.classproperty @jsii.member(jsii_name="reflector") def REFLECTOR(cls) -> _scope_jsii_calc_lib_custom_submodule_name_c61f082f.Reflector: -@@ -7541,10 +8210,13 @@ +@@ -7555,10 +8224,13 @@ ): def __init__(self, obj: IInterfaceWithProperties) -> None: ''' @@ -17223,7 +17238,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="justRead") def just_read(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "justRead", [])) -@@ -7555,17 +8227,23 @@ +@@ -7569,17 +8241,23 @@ ext: IInterfaceWithPropertiesExtension, ) -> builtins.str: ''' @@ -17247,7 +17262,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="obj") def obj(self) -> IInterfaceWithProperties: -@@ -7575,25 +8253,34 @@ +@@ -7589,25 +8267,34 @@ class VariadicInvoker(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VariadicInvoker"): def __init__(self, method: "VariadicMethod") -> None: ''' @@ -17282,7 +17297,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="asArray") def as_array( self, -@@ -7602,10 +8289,14 @@ +@@ -7616,10 +8303,14 @@ ) -> typing.List[jsii.Number]: ''' :param first: the first element of the array to be returned (after the \`\`prefix\`\` provided at construction time). @@ -17297,7 +17312,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VariadicTypeUnion( metaclass=jsii.JSIIMeta, -@@ -7613,19 +8304,25 @@ +@@ -7627,19 +8318,25 @@ ): def __init__(self, *union: typing.Union[StructA, StructB]) -> None: ''' @@ -17323,7 +17338,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VirtualMethodPlayground( metaclass=jsii.JSIIMeta, -@@ -7637,38 +8334,53 @@ +@@ -7651,38 +8348,53 @@ @jsii.member(jsii_name="overrideMeAsync") def override_me_async(self, index: jsii.Number) -> jsii.Number: ''' @@ -17377,7 +17392,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VoidCallback( metaclass=jsii.JSIIAbstractClass, -@@ -7716,10 +8428,13 @@ +@@ -7730,10 +8442,13 @@ def __init__(self, private_field: typing.Optional[builtins.str] = None) -> None: ''' @@ -17391,7 +17406,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="success") def success(self) -> builtins.bool: -@@ -7760,10 +8475,13 @@ +@@ -7774,10 +8489,13 @@ @jsii.member(jsii_name="abstractMethod") def abstract_method(self, name: builtins.str) -> builtins.str: ''' @@ -17405,7 +17420,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the abstract class typing.cast(typing.Any, AbstractClass).__jsii_proxy_class__ = lambda : _AbstractClassProxy -@@ -7779,10 +8497,14 @@ +@@ -7793,10 +8511,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -17420,7 +17435,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="toString") def to_string(self) -> builtins.str: '''String representation of the value.''' -@@ -7826,10 +8548,13 @@ +@@ -7840,10 +8562,13 @@ def rung(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "rung")) @@ -17434,7 +17449,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ChildStruct982", -@@ -7840,10 +8565,14 @@ +@@ -7854,10 +8579,14 @@ def __init__(self, *, foo: builtins.str, bar: jsii.Number) -> None: ''' :param foo: @@ -17449,7 +17464,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar": bar, } -@@ -7884,37 +8613,49 @@ +@@ -7898,37 +8627,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17499,7 +17514,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(INonInternalInterface) class ClassThatImplementsThePrivateInterface( -@@ -7929,37 +8670,49 @@ +@@ -7943,37 +8684,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17549,7 +17564,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IInterfaceWithProperties) class ClassWithPrivateConstructorAndAutomaticProperties( -@@ -7977,10 +8730,14 @@ +@@ -7991,10 +8744,14 @@ ) -> "ClassWithPrivateConstructorAndAutomaticProperties": ''' :param read_only_string: - @@ -17564,7 +17579,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> builtins.str: -@@ -7991,10 +8748,13 @@ +@@ -8005,10 +8762,13 @@ def read_write_string(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "readWriteString")) @@ -17578,7 +17593,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IIndirectlyImplemented) class FullCombo(BaseClass, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.FullCombo"): -@@ -8109,10 +8869,13 @@ +@@ -8123,10 +8883,13 @@ ): def __init__(self, property: builtins.str) -> None: ''' @@ -17592,7 +17607,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="bar") def bar(self) -> None: return typing.cast(None, jsii.invoke(self, "bar", [])) -@@ -8133,10 +8896,13 @@ +@@ -8147,10 +8910,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17606,7 +17621,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="farewell") def farewell(self) -> builtins.str: '''Say farewell.''' -@@ -8196,10 +8962,16 @@ +@@ -8210,10 +8976,16 @@ :param id: some identifier. :param default_bar: the default value of \`\`bar\`\`. :param props: some props once can provide. @@ -17623,7 +17638,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="id") def id(self) -> jsii.Number: -@@ -8494,5 +9266,1522 @@ +@@ -8509,5 +9281,1522 @@ from . import nodirect from . import onlystatic from . import python_self diff --git a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap index 5472af4fe2..510a363362 100644 --- a/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/jsii-tree.test.js.snap @@ -1988,6 +1988,14 @@ exports[`jsii-tree --all 1`] = ` β”‚ β”‚ └─┬ pow property (stable) β”‚ β”‚ β”œβ”€β”€ immutable β”‚ β”‚ └── type: @scope/jsii-calc-lib.NumericValue + β”‚ β”œβ”€β”¬ class PromiseNothing (stable) + β”‚ β”‚ └─┬ members + β”‚ β”‚ β”œβ”€β”€ () initializer (stable) + β”‚ β”‚ β”œβ”€β”¬ static promiseIt() method (stable) + β”‚ β”‚ β”‚ β”œβ”€β”€ static + β”‚ β”‚ β”‚ └── returns: Promise + β”‚ β”‚ └─┬ instancePromiseIt() method (stable) + β”‚ β”‚ └── returns: Promise β”‚ β”œβ”€β”¬ class PropertyNamedProperty (stable) β”‚ β”‚ └─┬ members β”‚ β”‚ β”œβ”€β”€ () initializer (stable) @@ -3959,6 +3967,7 @@ exports[`jsii-tree --inheritance 1`] = ` β”‚ β”œβ”€β”€ class Polymorphism β”‚ β”œβ”€β”¬ class Power β”‚ β”‚ └── base: CompositeOperation + β”‚ β”œβ”€β”€ class PromiseNothing β”‚ β”œβ”€β”€ class PropertyNamedProperty β”‚ β”œβ”€β”€ class PublicClass β”‚ β”œβ”€β”€ class PythonReservedWords @@ -5116,6 +5125,11 @@ exports[`jsii-tree --members 1`] = ` β”‚ β”‚ β”œβ”€β”€ base property β”‚ β”‚ β”œβ”€β”€ expression property β”‚ β”‚ └── pow property + β”‚ β”œβ”€β”¬ class PromiseNothing + β”‚ β”‚ └─┬ members + β”‚ β”‚ β”œβ”€β”€ () initializer + β”‚ β”‚ β”œβ”€β”€ static promiseIt() method + β”‚ β”‚ └── instancePromiseIt() method β”‚ β”œβ”€β”¬ class PropertyNamedProperty β”‚ β”‚ └─┬ members β”‚ β”‚ β”œβ”€β”€ () initializer @@ -6143,6 +6157,7 @@ exports[`jsii-tree --types 1`] = ` β”‚ β”œβ”€β”€ class PartiallyInitializedThisConsumer β”‚ β”œβ”€β”€ class Polymorphism β”‚ β”œβ”€β”€ class Power + β”‚ β”œβ”€β”€ class PromiseNothing β”‚ β”œβ”€β”€ class PropertyNamedProperty β”‚ β”œβ”€β”€ class PublicClass β”‚ β”œβ”€β”€ class PythonReservedWords diff --git a/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap b/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap index cdca591c74..1a32ce9fad 100644 --- a/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/tree.test.js.snap @@ -2165,6 +2165,14 @@ exports[`showAll 1`] = ` β”‚ β”‚ └─┬ pow property β”‚ β”‚ β”œβ”€β”€ immutable β”‚ β”‚ └── type: @scope/jsii-calc-lib.NumericValue + β”‚ β”œβ”€β”¬ class PromiseNothing + β”‚ β”‚ └─┬ members + β”‚ β”‚ β”œβ”€β”€ () initializer + β”‚ β”‚ β”œβ”€β”¬ static promiseIt() method + β”‚ β”‚ β”‚ β”œβ”€β”€ static + β”‚ β”‚ β”‚ └── returns: Promise + β”‚ β”‚ └─┬ instancePromiseIt() method + β”‚ β”‚ └── returns: Promise β”‚ β”œβ”€β”¬ class PropertyNamedProperty β”‚ β”‚ └─┬ members β”‚ β”‚ β”œβ”€β”€ () initializer @@ -4134,6 +4142,7 @@ exports[`types 1`] = ` β”‚ β”œβ”€β”€ class PartiallyInitializedThisConsumer β”‚ β”œβ”€β”€ class Polymorphism β”‚ β”œβ”€β”€ class Power + β”‚ β”œβ”€β”€ class PromiseNothing β”‚ β”œβ”€β”€ class PropertyNamedProperty β”‚ β”œβ”€β”€ class PublicClass β”‚ β”œβ”€β”€ class PythonReservedWords diff --git a/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap b/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap index 044c846666..aa57f8639a 100644 --- a/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap +++ b/packages/jsii-reflect/test/__snapshots__/type-system.test.js.snap @@ -123,6 +123,7 @@ exports[`TypeSystem.classes lists all the classes in the typesystem 1`] = ` "jsii-calc.PartiallyInitializedThisConsumer", "jsii-calc.Polymorphism", "jsii-calc.Power", + "jsii-calc.PromiseNothing", "jsii-calc.PropertyNamedProperty", "jsii-calc.PublicClass", "jsii-calc.PythonReservedWords", diff --git a/tools/jsii-compliance/suite.ts b/tools/jsii-compliance/suite.ts index cedef19235..4a482e0df1 100644 --- a/tools/jsii-compliance/suite.ts +++ b/tools/jsii-compliance/suite.ts @@ -526,5 +526,9 @@ export const suite: schema.Suite = { description: 'Verifies that custom exception names are correctly forwarded', }, + { + name: 'voidReturningAsync', + description: 'Verifies that returning Promise is correctly handled', + }, ], }; From a9f025f3c8faf62fb13000c5998d17f2a5f1047b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 20 Jan 2023 19:17:32 +0000 Subject: [PATCH 08/15] chore(deps-dev): Update mkdocs-material requirement from ~=9.0.3 to ~=9.0.5 in /gh-pages (#3914) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.0.5

  • Fixed #4842: Improved accessibility of search result list
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.0.5+insiders-4.28.0 (2023-01-14)

  • Added support for navigation path (breadcrumbs)

mkdocs-material-9.0.5 (2023-01-14)

  • Fixed #4842: Improved accessibility of search result list

mkdocs-material-9.0.4 (2023-01-12)

  • Fixed #4823: Improved contrast ratio in footer (9.0.2 regression)
  • Fixed #4832: Set navigation items back to black (9.0.3 regression)
  • Fixed #4843: Emojis broken due to maxcdn.com shutting down
  • Upgraded Python Markdown Extensions to 9.9.1

mkdocs-material-9.0.3+insiders-4.27.1 (2023-01-08)

  • Fixed rendering of succeeding navigation items in typeset plugin
  • Fixed #4795: Built-in typeset plugin changes MkDocs' title precedence
  • Fixed #4724: Blog plugin not rendering integrate table of contents

mkdocs-material-9.0.3 (2023-01-08)

  • Improved discernability of section index pages in navigation
  • Improved collapsing of adjacent whitespace in search plugin
  • Updated Indonesian translations
  • Fixed view source of this page button when edit URL points to blob
  • Fixed #4829: Search overlay does not close for active anchor result
  • Fixed #4824: Search plugin crashes for h1-6 contained in other elements
  • Fixed #4804: Nested navigation items not expandable with keyboard
  • Fixed #4689: anchor tracking not working for anchors in tables
  • Upgraded to Mermaid 9.3.0

mkdocs-material-9.0.2 (2023-01-04)

  • Fixed #4823: Improved contrast ratio in footer to meet WCAG guidelines
  • Fixed #4819: Social plugin crashes when card generation is disabled
  • Fixed #4817: Search plugin crashes on numeric page titles in nav

mkdocs-material-9.0.1 (2023-01-03)

  • Removed pipdeptree dependency for built-in info plugin
  • Fixed appearance of linked tags when hovered (9.0.0 regression)
  • Fixed #4810: Abbreviations run out of screen on touch devices
  • Fixed #4813: View source and edit button links are the same

mkdocs-material-9.0.0 (2023-01-02)

Additions and improvements

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index c2cd6f138c..cdd57be02e 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.4.2 mkdocs-awesome-pages-plugin~=2.8.0 -mkdocs-material~=9.0.3 +mkdocs-material~=9.0.5 mkdocs-git-revision-date-plugin~=0.3.2 From 64e22d221b02c0f6b7d74dc13e6a7e5bda02966c Mon Sep 17 00:00:00 2001 From: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Date: Thu, 26 Jan 2023 09:55:28 -0500 Subject: [PATCH 09/15] chore: rotate yarn GPG key (#3929) I just downloaded the latest from `https://dl.yarnpkg.com/debian/pubkey.gpg`. I hope that's what I'm supposed to do here. --- By submitting this pull request, I confirm that my contribution is made under the terms of the [Apache 2.0 license]. [Apache 2.0 license]: https://www.apache.org/licenses/LICENSE-2.0 --- superchain/gpg/yarn.asc | 141 +++++++++++++++++----------------------- 1 file changed, 59 insertions(+), 82 deletions(-) diff --git a/superchain/gpg/yarn.asc b/superchain/gpg/yarn.asc index e8d9cabb89..509718b26a 100644 --- a/superchain/gpg/yarn.asc +++ b/superchain/gpg/yarn.asc @@ -158,86 +158,63 @@ V1L7FROM6fKydeSLJbx17SNjVdQnq1OsyqSO0catAFNptMHBsN+tiCI29gpGegao umV9cnND69aYvyPBgvdtmzPChjSmc6rzW1yXCJDm2qzwm/BcwJNXW5B3EUPxc0qS Wste9fUna0G4l/WMuaIzVkuTgXf1/r9HeQbjtxAztxH0d0VgdHAWPDkUYmztcZ4s d0PWkVa18qSrOvyhI96gCzdvMRLX17m1kPvP5PlPulvqizjDs8BScqeSzGgSbbQV -m5Tx4w2uF4/n3FBnABEBAAGJBEQEGAECAA8FAlwsRBECGwIFCQIKEgACKQkQFkaw -G4blAxDBXSAEGQECAAYFAlwsRBEACgkQI+cWZ4i2Ph6B0g//cPis3v2M6XvAbVoM -3GIMXnsVj1WAHuwA/ja7UfZJ9+kV/PiMLkAbW0fBj0/y0O3Ry12VVQGXhC+Vo4j6 -C8qwFP4OXa6EsxHXuvWMIztBaX1Kav613aXBtxp6tTrud0FFUh4sDc1RREb3tMr6 -y5cvFJgnrdWcX1gsl6ODcgWBGNc6ZX7H7j48hMR6KmNeZocW7p8W+BgDQJqXYwVN -L15qOHzV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o2oUC2/mwuc321M6ucf7uDwN6FdPQVlJh +1qXVLvbNiyYug0lvwXsyfwu6IX+wl+kAP5NrRYuX8H+L0eauTGrRsld7OZ3H +=e4wy -----END PGP PUBLIC KEY BLOCK----- From d7199699a8431fb81d1d9c4462ca3d288d427704 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Jan 2023 16:14:14 +0000 Subject: [PATCH 10/15] chore(deps): Bump Microsoft.CodeAnalysis.Analyzers from 3.3.3 to 3.3.4 in /packages/@jsii/dotnet-runtime-test/test (#3920) Bumps [Microsoft.CodeAnalysis.Analyzers](https://github.com/dotnet/roslyn-analyzers) from 3.3.3 to 3.3.4.
Release notes

Sourced from Microsoft.CodeAnalysis.Analyzers's releases.

v3.3.4

Release build of Roslyn-analyzers based on Microsoft.CodeAnalysis 3.3.1 NuGet packages. Works with VS 2019 16.9 or later.

  • Contains important functionality and performance bug fixes on top of v3.3.3 release
Commits
  • 22ea642 Merge pull request #6436 from ViktorHofer/patch-1
  • 9018071 Fix buildtransitive vs buildTransitive difference
  • afa5665 [main] Update dependencies from dotnet/arcade (#6423)
  • afee469 Merge pull request #6427 from mavasani/CodeAnalysisTreatWarningsAsErrors_Glob...
  • b858999 Merge pull request #6430 from dotnet/locfiles/be3abf9f-1f22-469b-b26d-7648587...
  • 0cbc3c5 Localized file check-in by OneLocBuild Task: Build definition ID 830: Build I...
  • 113dadc Merge pull request #6429 from dotnet/revert-6364-net7-tests
  • 356147f Revert "Move tests to target .NET 7"
  • 1d7244a Update documentation for CodeAnalysisTreatWarningsAsErrors implementation
  • 6c028d3 Re-implement CodeAnalysisTreatWarningsAsErrors with globalconfig files
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=Microsoft.CodeAnalysis.Analyzers&package-manager=nuget&previous-version=3.3.3&new-version=3.3.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/Directory.Build.targets | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@jsii/Directory.Build.targets b/packages/@jsii/Directory.Build.targets index 22bd9d46da..3cbff25995 100644 --- a/packages/@jsii/Directory.Build.targets +++ b/packages/@jsii/Directory.Build.targets @@ -7,7 +7,7 @@ - + From 863b19b8a5d6278d0cbc8fa4d6f9e624d0688e39 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Jan 2023 17:31:22 +0000 Subject: [PATCH 11/15] chore(deps-dev): Update mkdocs-material requirement from ~=9.0.5 to ~=9.0.6 in /gh-pages (#3921) Updates the requirements on [mkdocs-material](https://github.com/squidfunk/mkdocs-material) to permit the latest version.
Release notes

Sourced from mkdocs-material's releases.

mkdocs-material-9.0.6

  • Fixed #4883: Automatically disable info plugin when serving
  • Fixed #4885: Search plugin crashes in some exotic cases (9.0.3 regression)
Changelog

Sourced from mkdocs-material's changelog.

mkdocs-material-9.0.6+insiders-4.29.0 (2023-01-21)

  • Added built-in optimize plugin for automatically compressing images
  • Switched reporting in built-in privacy plugin to info level

mkdocs-material-9.0.6 (2023-01-19)

  • Fixed #4883: Automatically disable info plugin when serving
  • Fixed #4885: Search plugin crashes in some exotic cases (9.0.3 regression)

mkdocs-material-9.0.5+insiders-4.28.1 (2023-01-17)

  • Fixed built-in info plugin erroring for Insiders on version check
  • Fixed #4865: Navigation paths render bug when there's no top-level section
  • Fixed #4875: Added support for hiding navigation paths
  • Improved navigation path to not render for a single item

mkdocs-material-9.0.5+insiders-4.28.0 (2023-01-14)

  • Added support for navigation path (breadcrumbs)

mkdocs-material-9.0.5 (2023-01-14)

  • Fixed #4842: Improved accessibility of search result list

mkdocs-material-9.0.4 (2023-01-12)

  • Fixed #4823: Improved contrast ratio in footer (9.0.2 regression)
  • Fixed #4832: Set navigation items back to black (9.0.3 regression)
  • Fixed #4843: Emojis broken due to maxcdn.com shutting down
  • Upgraded Python Markdown Extensions to 9.9.1

mkdocs-material-9.0.3+insiders-4.27.1 (2023-01-08)

  • Fixed rendering of succeeding navigation items in typeset plugin
  • Fixed #4795: Built-in typeset plugin changes MkDocs' title precedence
  • Fixed #4724: Blog plugin not rendering integrate table of contents

mkdocs-material-9.0.3 (2023-01-08)

  • Improved discernability of section index pages in navigation
  • Improved collapsing of adjacent whitespace in search plugin
  • Updated Indonesian translations
  • Fixed view source of this page button when edit URL points to blob
  • Fixed #4829: Search overlay does not close for active anchor result
  • Fixed #4824: Search plugin crashes for h1-6 contained in other elements
  • Fixed #4804: Nested navigation items not expandable with keyboard
  • Fixed #4689: anchor tracking not working for anchors in tables
  • Upgraded to Mermaid 9.3.0

... (truncated)

Commits
  • 5a228db Prepare 9.0.6 release
  • e7013e6 Fixed search crashing for some nested heading combinations (9.0.3 regression)
  • c31ef00 Disabled info plugin on serve by default
  • 6119df5 Merge branch 'master' of github.com:squidfunk/mkdocs-material
  • b4c2ce4 Updated Insiders changelog
  • 30f8bf9 Merge pull request #4876 from timvink/patch-1
  • f95de7a Fix issue with 'detected dubious ownership' in docker image
  • ba3948f Updated dependencies
  • b261148 Fixed info plugin latest version check for Insiders
  • 2866925 Updated changelog
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- gh-pages/requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index cdd57be02e..ada8c6bfc9 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.4.2 mkdocs-awesome-pages-plugin~=2.8.0 -mkdocs-material~=9.0.5 +mkdocs-material~=9.0.6 mkdocs-git-revision-date-plugin~=0.3.2 From ac6696fc81b21bf246f5ac596f89180d064d8132 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 26 Jan 2023 21:23:51 +0000 Subject: [PATCH 12/15] chore(deps): Bump golang.org/x/tools from 0.4.0 to 0.5.0 in /packages/@jsii/go-runtime-test/project (#3901) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.4.0 to 0.5.0.
Release notes

Sourced from golang.org/x/tools's releases.

gopls/v0.5.0

A full list of issues closed can be found in the gopls/v0.5.0 milestone.

Memory usage

  • Rewrite of caching model, resulting in significant memory usage improvements (@​heschik).

New features

  • Extract to function: Support for extracting code blocks that contain return statements (@​joshbaum).
  • Workspace symbols: Support for fzf-style search syntax (@​findleyr). The following syntax is supported:
    • ' for exact matching
    • ^ for prefix matching
    • $ for suffix matching

Note: This feature does not yet work in VS Code. See golang/vscode-go#647 and microsoft/vscode#106788.

  • An experimental new code lens to view GC optimization details (@​pjweinb). Once the code lens is enabled, you will see a Toggle gc details annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings:
    "codelens": {
    	"gc_details": true
    }
    
  • go mod tidy and go mod vendor code lenses for go.mod files (@​dandua98).
  • Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@​joshbaum).
  • Autocompletion within import statements (@​dandua98).
  • Autocompletion within package declarations (@​dandua98).

Improvements

  • Improvements to workspace symbols ranking and fuzzy matching (@​findleyr, @​myitcv).
  • Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@​muirdm).

Thank you

Thank you to everyone who contributed to this release!

@​heschik @​findleyr @​pjweinb @​joshbaum @​mcjcloud @​dandua98 @​muirdm @​leitzler @​myitcv @​matloob @​tennashi @​ainar-g @​hasheddan

... (truncated)

Commits
  • 7db99dd go.mod: update golang.org/x dependencies
  • 1e0dff2 gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode
  • 0441b43 gopls/internal/lsp/cache: use specific mutexes for module data
  • 33071fb internal/robustio: move robustio
  • b01e7a4 gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode
  • e417ea3 gopls: remove dead analysis code
  • 1a08d01 gopls/internal/lsp: update replace directives in go.mod for package renaming
  • eac36cb gopls/internal/regtest: port experimental workspace tests to go.work
  • 224a61b gopls/internal/lsp/source: delete Snapshot.WriteEnv method
  • 81e741e gopls/internal/lsp/safetoken: funnel more calls through this package
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.4.0&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/go-runtime-test/project/go.mod | 4 ++-- packages/@jsii/go-runtime-test/project/go.sum | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/@jsii/go-runtime-test/project/go.mod b/packages/@jsii/go-runtime-test/project/go.mod index 9184a11db3..714240936b 100644 --- a/packages/@jsii/go-runtime-test/project/go.mod +++ b/packages/@jsii/go-runtime-test/project/go.mod @@ -9,7 +9,7 @@ require ( github.com/aws/jsii/jsii-calc/go/scopejsiicalclib v0.0.0-devpreview github.com/stretchr/testify v1.8.1 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.4.0 + golang.org/x/tools v0.5.0 ) require ( @@ -20,7 +20,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect golang.org/x/mod v0.7.0 // indirect - golang.org/x/sys v0.3.0 // indirect + golang.org/x/sys v0.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/packages/@jsii/go-runtime-test/project/go.sum b/packages/@jsii/go-runtime-test/project/go.sum index 346f691aee..db5f0a201a 100644 --- a/packages/@jsii/go-runtime-test/project/go.sum +++ b/packages/@jsii/go-runtime-test/project/go.sum @@ -34,12 +34,16 @@ golang.org/x/sys v0.2.0 h1:ljd4t30dBnAvMZaQCevtY0xLLD0A+bRZXbgLMLU1F/A= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= golang.org/x/tools v0.3.0 h1:SrNbZl6ECOS1qFzgTdQfWXZM9XBkiA6tkFrH9YSTPHM= golang.org/x/tools v0.3.0/go.mod h1:/rWhSS2+zyEVwoJf8YAX6L2f0ntZ7Kn/mGgAWcipA5k= golang.org/x/tools v0.4.0 h1:7mTAgkunk3fr4GAloyyCasadO6h9zSsQZbwvcaIciV4= golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= +golang.org/x/tools v0.5.0 h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4= +golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 941dca23f1a1815a4f26760632abdc705aecb41f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 27 Jan 2023 14:06:30 +0000 Subject: [PATCH 13/15] chore(deps): Bump golang.org/x/tools from 0.4.0 to 0.5.0 in /packages/@jsii/go-runtime/jsii-runtime-go (#3902) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bumps [golang.org/x/tools](https://github.com/golang/tools) from 0.4.0 to 0.5.0.
Release notes

Sourced from golang.org/x/tools's releases.

gopls/v0.5.0

A full list of issues closed can be found in the gopls/v0.5.0 milestone.

Memory usage

  • Rewrite of caching model, resulting in significant memory usage improvements (@​heschik).

New features

  • Extract to function: Support for extracting code blocks that contain return statements (@​joshbaum).
  • Workspace symbols: Support for fzf-style search syntax (@​findleyr). The following syntax is supported:
    • ' for exact matching
    • ^ for prefix matching
    • $ for suffix matching

Note: This feature does not yet work in VS Code. See golang/vscode-go#647 and microsoft/vscode#106788.

  • An experimental new code lens to view GC optimization details (@​pjweinb). Once the code lens is enabled, you will see a Toggle gc details annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings:
    "codelens": {
    	"gc_details": true
    }
    
  • go mod tidy and go mod vendor code lenses for go.mod files (@​dandua98).
  • Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@​joshbaum).
  • Autocompletion within import statements (@​dandua98).
  • Autocompletion within package declarations (@​dandua98).

Improvements

  • Improvements to workspace symbols ranking and fuzzy matching (@​findleyr, @​myitcv).
  • Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@​muirdm).

Thank you

Thank you to everyone who contributed to this release!

@​heschik @​findleyr @​pjweinb @​joshbaum @​mcjcloud @​dandua98 @​muirdm @​leitzler @​myitcv @​matloob @​tennashi @​ainar-g @​hasheddan

... (truncated)

Commits
  • 7db99dd go.mod: update golang.org/x dependencies
  • 1e0dff2 gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode
  • 0441b43 gopls/internal/lsp/cache: use specific mutexes for module data
  • 33071fb internal/robustio: move robustio
  • b01e7a4 gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleMode
  • e417ea3 gopls: remove dead analysis code
  • 1a08d01 gopls/internal/lsp: update replace directives in go.mod for package renaming
  • eac36cb gopls/internal/regtest: port experimental workspace tests to go.work
  • 224a61b gopls/internal/lsp/source: delete Snapshot.WriteEnv method
  • 81e741e gopls/internal/lsp/safetoken: funnel more calls through this package
  • Additional commits viewable in compare view

[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=golang.org/x/tools&package-manager=go_modules&previous-version=0.4.0&new-version=0.5.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) ---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
--- packages/@jsii/go-runtime/jsii-runtime-go/go.mod | 4 ++-- packages/@jsii/go-runtime/jsii-runtime-go/go.sum | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index cce130de64..ceb8a6db59 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -7,7 +7,7 @@ require ( github.com/mattn/go-isatty v0.0.16 github.com/stretchr/testify v1.8.1 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.4.0 + golang.org/x/tools v0.5.0 ) require ( @@ -15,7 +15,7 @@ require ( github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect golang.org/x/mod v0.7.0 // indirect - golang.org/x/sys v0.3.0 // indirect + golang.org/x/sys v0.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum index c6cae32477..f4be42182b 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum @@ -30,12 +30,12 @@ golang.org/x/sync v0.1.0 h1:wsuoTGHzEhffawBOhz5CYhcrV4IdKZbEyZjBMuTp12o= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.3.0 h1:w8ZOecv6NaNa/zC8944JTU3vz4u6Lagfk4RPQxv92NQ= -golang.org/x/sys v0.3.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.4.0 h1:Zr2JFtRQNX3BCZ8YtxRE9hNJYC8J6I1MVbMg6owUp18= +golang.org/x/sys v0.4.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28= -golang.org/x/tools v0.4.0 h1:7mTAgkunk3fr4GAloyyCasadO6h9zSsQZbwvcaIciV4= -golang.org/x/tools v0.4.0/go.mod h1:UE5sM2OK9E/d67R0ANs2xJizIymRP5gJU295PvKXxjQ= +golang.org/x/tools v0.5.0 h1:+bSpV5HIeWkuvgaMfI3UmKRThoTA5ODJTUd8T17NO+4= +golang.org/x/tools v0.5.0/go.mod h1:N+Kgy78s5I24c24dU8OfWNEotWjutIs8SnJvn5IDq+k= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= From 6067803305a10406416893ac9d1dbcd966cf2dbb Mon Sep 17 00:00:00 2001 From: Kaizen Conroy <36202692+kaizencc@users.noreply.github.com> Date: Fri, 27 Jan 2023 16:56:25 -0500 Subject: [PATCH 14/15] chore: revert "chore(superchain): use `pipx` instead of `pip` to install CLIs" (#3940) Reverts aws/jsii#3913 --- superchain/Dockerfile | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/superchain/Dockerfile b/superchain/Dockerfile index 20fe734110..68df1c7310 100644 --- a/superchain/Dockerfile +++ b/superchain/Dockerfile @@ -149,16 +149,11 @@ RUN set -eo pipefail && chmod -R a+rw ${CARGO_HOME} ENV PATH=$PATH:${CARGO_HOME}/bin -# Install Python 3. Use 'pipx' for CLI scripts, so each gets its own venv -ENV PATH=$PATH:/root/.local/bin +# Install Python 3 RUN apt-get update \ && apt-get -y install python3 python3-dev python3-pip python3-venv \ - && python3 -m pip install --no-input --upgrade pip setuptools \ - && python3 -m pip install pipx \ - && python3 -m pipx install --system-site-packages awscli \ - && python3 -m pipx install --system-site-packages black \ - && python3 -m pipx install --system-site-packages twine \ - && python3 -m pipx inject --system-site-packages twine wheel \ + && python3 -m pip install --no-input --upgrade pip \ + && python3 -m pip install --no-input --upgrade awscli black setuptools twine wheel \ && rm -rf $(pip cache dir) \ && rm -rf /var/lib/apt/lists/* @@ -221,7 +216,7 @@ RUN apt-key add /tmp/nodesource.asc && rm /tmp/nodesource.asc && rm -rf /var/lib/apt/lists/* # Install SAM CLI -RUN python3 -m pipx install --system-site-packages aws-sam-cli \ +RUN pip install aws-sam-cli \ && sam --version # Install Amazon SSM agent (allows debugging of builds via `codebuild-breakpoint`, https://go.aws/3TVW7vL) From 7f20d992c514fef78e7e6b3c4207b9017e76e323 Mon Sep 17 00:00:00 2001 From: AWS CDK Team Date: Sat, 28 Jan 2023 16:54:39 +0000 Subject: [PATCH 15/15] chore(release): 1.74.0 --- CHANGELOG.md | 8 ++++++++ lerna.json | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4faf724dd7..9c95121afb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [1.74.0](https://github.com/aws/jsii/compare/v1.73.0...v1.74.0) (2023-01-28) + + +### Bug Fixes + +* **python:** returning Promise breaks runtime ([#3916](https://github.com/aws/jsii/issues/3916)) ([209d10e](https://github.com/aws/jsii/commit/209d10eab284b4e8ad38e37c0d4b4bf3294569c4)) +* **rosetta:** Rosetta does not support `await` ([#3915](https://github.com/aws/jsii/issues/3915)) ([e4c51c4](https://github.com/aws/jsii/commit/e4c51c43ca5c37ea7c40ed13ebcf3f94f5da4299)) + ## [1.73.0](https://github.com/aws/jsii/compare/v1.72.0...v1.73.0) (2023-01-04) ## [1.72.0](https://github.com/aws/jsii/compare/v1.71.0...v1.72.0) (2022-12-05) diff --git a/lerna.json b/lerna.json index 8eb72046f3..06e54019fc 100644 --- a/lerna.json +++ b/lerna.json @@ -10,5 +10,5 @@ "rejectCycles": true } }, - "version": "1.73.0" + "version": "1.74.0" }