diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 87bb17676f..6f28f2e09d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -438,6 +438,7 @@ jobs: - 5.2.x - 5.3.x - 5.4.x + - 5.5.x steps: # Check out the code - name: Download Artifact diff --git a/CHANGELOG.md b/CHANGELOG.md index 543abcecc2..158316e59a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,18 @@ 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.103.0](https://github.com/aws/jsii/compare/v1.102.0...v1.103.0) (2024-08-27) + + +### Features + +* **pacmak:** allow `typeguard==3.x` and `typeguard==4.x` ([#4611](https://github.com/aws/jsii/issues/4611)) ([32ae5b0](https://github.com/aws/jsii/commit/32ae5b017e8c4a889ff64b68dc5809e856d98b34)) + + +### Bug Fixes + +* **pacmak:** support jsii-rosetta 5.5 ([#4619](https://github.com/aws/jsii/issues/4619)) ([9ecea56](https://github.com/aws/jsii/commit/9ecea560bef8e0196c9a4874110c19e946f3b3ea)) + ## [1.102.0](https://github.com/aws/jsii/compare/v1.101.0...v1.102.0) (2024-08-02) ## [1.101.0](https://github.com/aws/jsii/compare/v1.100.0...v1.101.0) (2024-06-26) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a3d3ff78d0..2769945433 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,4 +1,5 @@ # Contributing to jsii + Thanks for your interest in contributing to AWS JSII! :heart: This document describes how to set up a development environment and submit your @@ -6,7 +7,9 @@ contributions. Please read it carefully and let us know if it's not up-to date (or even better, submit a pull request with your corrections! :wink:). ## Pre-requisites + ### Setup Docker image + Due to the polyglot nature of `jsii`, the toolchain requirements are somewhat more complicated than for most projects. In order to locally develop `jsii`, you will need a number of tools. @@ -19,22 +22,23 @@ our own CI/CD: the ["superchain" image][superchain] from. The image can be built for local usage, too: ```console -$ IMAGE=superchain -$ docker build -t ${IMAGE} -f superchain/Dockerfile . +IMAGE=superchain +docker build -t ${IMAGE} -f superchain/Dockerfile . ``` In order to get an interactive shell within a Docker container using the *superchain* image you just built: ```console -$ cd jsii # go to the root of the jsii repo -$ docker run --rm --net=host -it -v $PWD:$PWD -w $PWD ${IMAGE} +cd jsii # go to the root of the jsii repo +docker run --rm --net=host -it -v $PWD:$PWD -w $PWD ${IMAGE} ``` In the shell that pops up, the `npm run` commands in the following sections must be executed. ### Alternative: Manually install the toolchain + The following tools need to be installed to develop on JSII locally. We recommend using the docker image from the above section, but if you wish to, you can install in your development environment. @@ -42,14 +46,14 @@ in your development environment. - [Node `18.0.0`] or later - [Yarn `1.19.1`] or later - An OpenJDK-8 distribution (e.g: [Oracle's OpenJDK8], [Amazon Corretto 8]) - + [`maven >= 3.0.5`](https://maven.apache.org) + - [`maven >= 3.0.5`](https://maven.apache.org) - [.NET `6.0`] or later - + *Recommended:* [`mono >= 6`](https://www.mono-project.com) + - *Recommended:* [`mono >= 6`](https://www.mono-project.com) - [Python `3.8.10`] or later - + [`pip`](https://pip.pypa.io/en/stable/installing/) - + [`setuptools >= 38.6.0`](https://pypi.org/project/setuptools/) - + [`wheel`](https://pypi.org/project/wheel/) - + *Recommended:* [`twine`](https://pypi.org/project/twine/) + - [`pip`](https://pip.pypa.io/en/stable/installing/) + - [`setuptools >= 38.6.0`](https://pypi.org/project/setuptools/) + - [`wheel`](https://pypi.org/project/wheel/) + - *Recommended:* [`twine`](https://pypi.org/project/twine/) - [Go] `1.18` or newer [Node `18.0.0`]: https://nodejs.org/download/release/latest-v18.x/ @@ -61,6 +65,7 @@ in your development environment. [Go]: https://go.dev/dl/ ## Getting Started + ### Bootstrapping The project is managed as a [monorepo] using [lerna]. @@ -98,7 +103,7 @@ The `jsii-calc` and `@scope/*` packages are used to test expected brhavior from the compiler (note that the [aws/jsii-compiler](github.com/aws/jsii-compiler) repository as a separate copy of these under the `fixtures` directory), as well as downstream tooling (`jsii-pacmak`, `jsii-rosetta`, etc...). Each language -runtime has its own test suite, within which is a _compliance_ suite that tests +runtime has its own test suite, within which is a *compliance* suite that tests the same behaviors in all languages, and which should contain tests related to behavior that isn't strictly specific to the given language. @@ -138,8 +143,8 @@ better: to wait for a debugger to attach before proceeding. This is useful to attach Node dev tools to the runtime as it starts in order to use its debugger. -The [Visual Studio Code](https://code.visualstudio.com) _JavaScript Debug -Terminal_ feature can be particularly useful paired with appropriate +The [Visual Studio Code](https://code.visualstudio.com) *JavaScript Debug +Terminal* feature can be particularly useful paired with appropriate `JSII_RUNTIME` setting to run arbitrary jsii programs, automatically attaching the VSCode debugger at startup. These terminals inject a specially crafted `NODE_OPTIONS` variable that allows the VSCode debugger to consistently attach @@ -205,10 +210,10 @@ The runtime client library should be implemented as a module under The jsii runtime client library usually includes the following components: -- Child process manager: responsible to start/stop the **@jsii/runtime** child +- Child process manager: responsible to start/stop the __@jsii/runtime__ child process. - Protocol layer: implements the STDIN/STDOUT protocol that interacts with the - **@jsii/runtime**. + __@jsii/runtime__. - Proxy layer: includes base classes and serialization utilities to implement the generated proxy classes. @@ -244,8 +249,8 @@ on [ECR Public Gallery](https://gallery.ecr.aws/jsii/superchain) ## Support for new Node Major versions When a new major version of node is released, we need to update the `@jsii/check-node` package. -This package is responsible for identifiying which node version is being used by the current process, -whether or not it is supported and tested, and produces appropriate warnings in case it isnt. +This package is responsible for identifying which node version is being used by the current process, +whether or not it is supported and tested, and produces appropriate warnings in case it isn't. > Note that `jsii` will execute on every node version, so "adding support" here only means supressing or showing > warnings that inform the user on the level of support it has. @@ -258,4 +263,16 @@ whether or not it is supported and tested, and produces appropriate warnings in ### Useful Resources - [https://endoflife.date/nodejs](https://endoflife.date/nodejs) -- [Adding support for node 22 PR](https://github.com/aws/jsii/pull/4489) \ No newline at end of file +- [Adding support for node 22 PR](https://github.com/aws/jsii/pull/4489) + +## Support for new `jsii-rosetta` versions + +When a new minor version of `jsii-rosetta` (modern) is released, we need to update the `jsii-pacmak` package. +`jsii-pacmak` uses `jsii-rosetta` to transpile examples in documentation. +Because every package can use its own version of jsii, TypeScript and jsii-rosetta, it is declared as a peer dependency. +To ensure compatibility, we also have integration tests. + +### Adding a new `jsii-rosetta` version + +1. Add the new version to the `jsii-rosetta` peer dependency in [package.json](./packages/jsii-pacmak/package.json) +2. Add the new version to the `pacmak-integration-test` matrix in the main build workflow in [main.yml](.github/workflows/main.yml) diff --git a/gh-pages/content/overview/toolchain.md b/gh-pages/content/overview/toolchain.md index aa4ca6cdef..d83250ebbe 100644 --- a/gh-pages/content/overview/toolchain.md +++ b/gh-pages/content/overview/toolchain.md @@ -15,7 +15,6 @@ | [jsii-rosetta1] | `1.x` | [Maintenance] | Transpile code snippets (in docs) from TypeScript to jsii languages | | [jsii-rosetta] | `5.x` | GA | Transpile code snippets (in docs) from TypeScript to jsii languages | | [jsii-config] | `1.x` | Experimental | Interactive tool for generating jsii configuration | -| [jsii-release] | `1.x` | Community | Publishes jsii modules to all supported package managers | | [jsii-srcmak] | `1.x` | Community | Generates relocatable source code in jsii languages from typescript | | [jsii-docgen] | *any* | Community | Generates markdown API documentation for jsii modules | @@ -41,6 +40,5 @@ [jsii-diff]: https://github.com/aws/jsii/tree/main/packages/jsii-diff [jsii-rosetta1]: https://github.com/aws/jsii/tree/main/packages/jsii-rosetta [jsii-rosetta]: https://github.com/aws/jsii-rosetta#readme -[jsii-release]: https://github.com/eladb/jsii-release -[jsii-srcmak]: https://github.com/eladb/jsii-srcmak -[jsii-docgen]: https://github.com/eladb/jsii-docgen +[jsii-srcmak]: https://github.com/cdklabs/jsii-srcmak +[jsii-docgen]: https://github.com/cdklabs/jsii-docgen diff --git a/gh-pages/content/user-guides/language-support/index.md b/gh-pages/content/user-guides/language-support/index.md index eace4649a9..8ed965c1c1 100644 --- a/gh-pages/content/user-guides/language-support/index.md +++ b/gh-pages/content/user-guides/language-support/index.md @@ -103,7 +103,7 @@ possible to publish artifacts even when tests in the suite are failing. As soon contribute to this process by documenting a general architecture that should be implementable in any programming languages (and thus, abstracting away language specificities). -## Building & Packaging +## Building and Packaging The necessary toolchains should be added to he [`public.ecr.aws/jsii/superchain`] Docker image, so that the [`jsii-pacmak`] generation can be changed to support building ready to publish artifacts instead of just code. @@ -115,10 +115,6 @@ PyPI, and **NuGet** packages were published with a pre-release version such as ` Additionally, [`aws-delivlib`] needs to be augmented to support publishing artifacts to the language's package repository. -!!! bug "Unimplemented" - The package publishing is being extracted from [`aws-delivlib`] into a standalone library, currently hosted at - [`eladb/jsii-release`](https://github.com/eladb/jsii-release). - ## Documentation Before releasing the new language support to _Developer Preview_, basic documentation needs to be produced to explain diff --git a/gh-pages/requirements-dev.txt b/gh-pages/requirements-dev.txt index 8e280bcdf8..e8911f1f6d 100644 --- a/gh-pages/requirements-dev.txt +++ b/gh-pages/requirements-dev.txt @@ -1,4 +1,4 @@ mkdocs~=1.6.0 mkdocs-awesome-pages-plugin~=2.9.3 -mkdocs-material~=9.5.30 +mkdocs-material~=9.5.33 mkdocs-git-revision-date-plugin~=0.3.2 diff --git a/lerna.json b/lerna.json index 69128bc9e2..e77f0c1658 100644 --- a/lerna.json +++ b/lerna.json @@ -12,6 +12,6 @@ "rejectCycles": true } }, - "version": "1.102.0", + "version": "1.103.0", "$schema": "node_modules/lerna/schemas/lerna-schema.json" } diff --git a/package.json b/package.json index 0fb0baad10..d3723a5bd2 100644 --- a/package.json +++ b/package.json @@ -15,13 +15,13 @@ "compliance": "(cd tools/jsii-compliance && yarn report)" }, "devDependencies": { - "@jest/types": "^28.1.3", + "@jest/types": "^29.6.3", "@types/jest": "^29.5.12", "@types/node": "^14.18.63", - "@typescript-eslint/eslint-plugin": "^7.18.0", - "@typescript-eslint/parser": "^7.18.0", + "@typescript-eslint/eslint-plugin": "^8.2.0", + "@typescript-eslint/parser": "^8.2.0", "all-contributors-cli": "^6.26.1", - "eslint": "^9.8.0", + "eslint": "^9.9.0", "eslint-config-prettier": "^9.1.0", "eslint-import-resolver-node": "^0.3.9", "eslint-import-resolver-typescript": "^3.6.1", @@ -31,7 +31,7 @@ "jest-circus": "^28.1.3", "jest-config": "^28.1.3", "jest-expect-message": "^1.1.3", - "lerna": "^8.1.7", + "lerna": "^8.1.8", "prettier": "^3.3.3", "standard-version": "^9.5.0", "ts-node": "^10.9.2", diff --git a/packages/@jsii/Directory.Build.targets b/packages/@jsii/Directory.Build.targets index 2cd6c962c7..8e97958085 100644 --- a/packages/@jsii/Directory.Build.targets +++ b/packages/@jsii/Directory.Build.targets @@ -6,11 +6,11 @@ - + - + diff --git a/packages/@jsii/benchmarks/lib/suite/aws-cdk-lib/index.ts b/packages/@jsii/benchmarks/lib/suite/aws-cdk-lib/index.ts index 886f34a690..5817cab5c9 100644 --- a/packages/@jsii/benchmarks/lib/suite/aws-cdk-lib/index.ts +++ b/packages/@jsii/benchmarks/lib/suite/aws-cdk-lib/index.ts @@ -59,6 +59,7 @@ export async function buildWithTsc({ workingDir }: Context): Promise { .once('close', ko) .once('message', (result: { success: any } | { error: unknown }) => { if ('error' in result) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ko(result.error); } else { ok(result.success); @@ -79,6 +80,7 @@ export async function buildWithJsii({ workingDir }: Context): Promise { .once('close', ko) .once('message', (result: { success: any } | { error: unknown }) => { if ('error' in result) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ko(result.error); } else { ok(result.success); diff --git a/packages/@jsii/benchmarks/scripts/snapshot-package.ts b/packages/@jsii/benchmarks/scripts/snapshot-package.ts index 89a31f1402..3c85794ffd 100644 --- a/packages/@jsii/benchmarks/scripts/snapshot-package.ts +++ b/packages/@jsii/benchmarks/scripts/snapshot-package.ts @@ -76,7 +76,7 @@ function snapshotAwsCdk(tag: string, file: string) { '@types/punycode': '^2.1.0', '@types/semver': '^7.3.9', 'aws-sdk': '^2.596.0', - 'typescript-json-schema': '^0.53.1', + 'typescript-json-schema': '0.64.0', // For good measure, the typescript compiler typescript: `~${ts.version}`, } as Record, diff --git a/packages/@jsii/go-runtime-test/project/go.mod b/packages/@jsii/go-runtime-test/project/go.mod index 664d2df045..f1f683465d 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.9.0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.23.0 + golang.org/x/tools v0.24.0 ) require ( @@ -21,9 +21,9 @@ require ( github.com/mattn/go-isatty v0.0.20 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - golang.org/x/mod v0.19.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect + golang.org/x/mod v0.20.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.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 f9f1f14f45..7d8a75bf6c 100644 --- a/packages/@jsii/go-runtime-test/project/go.sum +++ b/packages/@jsii/go-runtime-test/project/go.sum @@ -20,23 +20,23 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= -golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= 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.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= 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.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= -golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= 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= diff --git a/packages/@jsii/go-runtime/build-tools/package.sh b/packages/@jsii/go-runtime/build-tools/package.sh index 35c421d0bb..adc7b2a87e 100755 --- a/packages/@jsii/go-runtime/build-tools/package.sh +++ b/packages/@jsii/go-runtime/build-tools/package.sh @@ -7,6 +7,6 @@ rm -fr dist mkdir -p dist/go rsync -av jsii-runtime-go/* dist/go/ -# create a "version" file which is needed by jsii-release +# create a "version" file which is needed by publib version=$(node -p "require('./package.json').version") echo ${version} > dist/go/version diff --git a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod index 0cf92b53cd..e2bdd70bd9 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.mod +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.mod @@ -8,7 +8,7 @@ require ( github.com/mattn/go-isatty v0.0.20 github.com/stretchr/testify v1.9.0 golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 - golang.org/x/tools v0.23.0 + golang.org/x/tools v0.24.0 ) require ( @@ -16,9 +16,9 @@ require ( github.com/mattn/go-colorable v0.1.13 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect github.com/yuin/goldmark v1.4.13 // indirect - golang.org/x/mod v0.19.0 // indirect - golang.org/x/sync v0.7.0 // indirect - golang.org/x/sys v0.22.0 // indirect + golang.org/x/mod v0.20.0 // indirect + golang.org/x/sync v0.8.0 // indirect + golang.org/x/sys v0.23.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 f9f1f14f45..7d8a75bf6c 100644 --- a/packages/@jsii/go-runtime/jsii-runtime-go/go.sum +++ b/packages/@jsii/go-runtime/jsii-runtime-go/go.sum @@ -20,23 +20,23 @@ golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8U golang.org/x/lint v0.0.0-20210508222113-6edffad5e616 h1:VLliZ0d+/avPrXXH+OakdXhpJuEoBZuwh1m2j7U6Iug= golang.org/x/lint v0.0.0-20210508222113-6edffad5e616/go.mod h1:3xt1FjdF8hUf6vQPIChWIBhFzV8gjjsPE/fR3IyQdNY= golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod h1:QqPTAvyqsEbceGzBzNggFXnrqF1CaUcvgkdR5Ot7KZg= -golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= -golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= -golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= +golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ= +golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= 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.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.22.0 h1:RI27ohtqKCnwULzJLqkv897zojh5/DwS/ENaMzUOaWI= -golang.org/x/sys v0.22.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.23.0 h1:YfKFowiIMvtgl1UERQoTPPToxltDeZfbj4H7dVUCwmM= +golang.org/x/sys v0.23.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= 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.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= -golang.org/x/tools v0.23.0/go.mod h1:pnu6ufv6vQkll6szChhK3C3L/ruaIv5eBeztNG8wtsI= +golang.org/x/tools v0.24.0 h1:J1shsA93PJUEVaUSaay7UXAyE8aimq3GW0pjlolpa24= +golang.org/x/tools v0.24.0/go.mod h1:YhNqVBIfWHdzvTLs0d8LCuMhkKUgSUKldakyV7W/WDQ= 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= diff --git a/packages/@jsii/integ-test/utils/index.ts b/packages/@jsii/integ-test/utils/index.ts index b009b0a092..e1764d7a33 100644 --- a/packages/@jsii/integ-test/utils/index.ts +++ b/packages/@jsii/integ-test/utils/index.ts @@ -84,6 +84,7 @@ export class ProcessManager { process.stderr.write( `Process ${proc.pid} error: ${error.message} - ${error.stack}`, ); + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ko(); }); }); diff --git a/packages/@jsii/kernel/src/api.ts b/packages/@jsii/kernel/src/api.ts index 258aa1190a..d5e421e9fe 100644 --- a/packages/@jsii/kernel/src/api.ts +++ b/packages/@jsii/kernel/src/api.ts @@ -155,7 +155,7 @@ export interface DelRequest { readonly objref: ObjRef; } -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface DelResponse {} export interface GetRequest { @@ -184,7 +184,7 @@ export interface SetRequest { readonly value: any; } -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface SetResponse {} export interface StaticInvokeRequest { @@ -221,7 +221,7 @@ export interface EndResponse { readonly result: any; } -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface CallbacksRequest {} export interface CallbacksResponse { @@ -249,7 +249,7 @@ export interface NamingResponse { }; } -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface StatsRequest {} export interface StatsResponse { diff --git a/packages/@jsii/kernel/src/kernel.test.ts b/packages/@jsii/kernel/src/kernel.test.ts index ccb0f51b92..6f3cea57e4 100644 --- a/packages/@jsii/kernel/src/kernel.test.ts +++ b/packages/@jsii/kernel/src/kernel.test.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/prefer-promise-reject-errors */ import * as childProcess from 'child_process'; import * as fs from 'fs-extra'; import * as os from 'os'; diff --git a/packages/@jsii/kernel/src/recording.ts b/packages/@jsii/kernel/src/recording.ts index 4af9604ab2..e2c045ab24 100644 --- a/packages/@jsii/kernel/src/recording.ts +++ b/packages/@jsii/kernel/src/recording.ts @@ -51,6 +51,7 @@ export function recordInteraction(kernel: Kernel, inputOutputLogPath: string) { }) .catch((err: any) => { logOutput({ error: err.message, name: err.name }); + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors fail(err); }); }); diff --git a/packages/@jsii/python-runtime/package.json b/packages/@jsii/python-runtime/package.json index a06de878ce..34e29979ef 100644 --- a/packages/@jsii/python-runtime/package.json +++ b/packages/@jsii/python-runtime/package.json @@ -28,9 +28,11 @@ "build": "cp ../../../README.md . && rm -f jsii-*.whl && npm run generate && npm run deps && npm run lint", "lint": "ts-node build-tools/venv.ts black .", "package": "package-python && package-private", - "test": "npm run test:gen && npm run test:run && npm run test:types", + "test": "npm run test:gen && npm run test:run:typeguard-2 && npm run test:run:typeguard-3 && npm run test:run:typeguard-4 && npm run test:types", "test:gen": "npm run deps && ts-node build-tools/gen-calc.ts", - "test:run": "ts-node build-tools/venv.ts py.test -v --mypy", + "test:run:typeguard-2": "ts-node build-tools/venv.ts python -m pip install typeguard==2.13.3 && ts-node build-tools/venv.ts py.test -v --mypy", + "test:run:typeguard-3": "ts-node build-tools/venv.ts python -m pip install typeguard==3.0.2 && ts-node build-tools/venv.ts py.test -v --mypy", + "test:run:typeguard-4": "ts-node build-tools/venv.ts python -m pip install typeguard==4.3.0 && ts-node build-tools/venv.ts py.test -v --mypy", "test:types": "pyright -p .", "test:update": "UPDATE_DIFF=1 npm run test" }, @@ -42,6 +44,6 @@ "jsii-build-tools": "^0.0.0", "jsii-calc": "^3.20.120", "jsii-pacmak": "^0.0.0", - "pyright": "^1.1.374" + "pyright": "^1.1.377" } } diff --git a/packages/@jsii/python-runtime/requirements.txt b/packages/@jsii/python-runtime/requirements.txt index e3544f4e38..e08e73c6b0 100644 --- a/packages/@jsii/python-runtime/requirements.txt +++ b/packages/@jsii/python-runtime/requirements.txt @@ -1,10 +1,10 @@ -black~=24.4 -mypy==1.11.0 +black~=24.8 +mypy==1.11.2 pip~=24.2 pytest~=8.3 pytest-mypy~=0.10 -setuptools~=71.1.0 +setuptools~=73.0.1 types-python-dateutil~=2.9 -wheel~=0.43 +wheel~=0.44 -e . diff --git a/packages/@jsii/python-runtime/setup.py b/packages/@jsii/python-runtime/setup.py index 55f021b2e4..39e823076a 100644 --- a/packages/@jsii/python-runtime/setup.py +++ b/packages/@jsii/python-runtime/setup.py @@ -30,11 +30,11 @@ "jsii._embedded.jsii": ["*.js", "*.js.map"], }, install_requires=[ - "attrs>=21.2,<24.0", + "attrs>=21.2,<25.0", "cattrs>=1.8,<23.3", "importlib_resources>=5.2.0", "publication>=0.0.3", # This is used by all generated code. - "typeguard~=2.13.3", # This is used by all generated code. + "typeguard>=2.13.3,<5.0.0", # This is used by all generated code. "python-dateutil", "typing_extensions>=3.8,<5.0", ], diff --git a/packages/@jsii/python-runtime/src/jsii/_runtime.py b/packages/@jsii/python-runtime/src/jsii/_runtime.py index 1731e19b66..35c3385300 100644 --- a/packages/@jsii/python-runtime/src/jsii/_runtime.py +++ b/packages/@jsii/python-runtime/src/jsii/_runtime.py @@ -168,6 +168,10 @@ def implements(*interfaces: Type[Any]) -> Callable[[T], T]: def deco(cls): cls.__jsii_type__ = getattr(cls, "__jsii_type__", None) cls.__jsii_ifaces__ = getattr(cls, "__jsii_ifaces__", []) + list(interfaces) + cls.__jsii_proxy_class__ = lambda: getattr(cls, "__jsii_proxy_class__", None) + + # https://github.com/agronholm/typeguard/issues/479 + cls.__protocol_attrs__ = getattr(cls, "__protocol_attrs__", []) return cls return deco diff --git a/packages/@jsii/python-runtime/tests/test_python.py b/packages/@jsii/python-runtime/tests/test_python.py index 774b3192f9..1aaa087ae6 100644 --- a/packages/@jsii/python-runtime/tests/test_python.py +++ b/packages/@jsii/python-runtime/tests/test_python.py @@ -27,17 +27,6 @@ def test_inheritance_maintained(self): assert base_names == ["DerivedStruct", "MyFirstStruct"] - def test_descriptive_error_when_passing_function(self): - obj = jsii_calc.Calculator() - - with pytest.raises( - TypeError, - match=re.escape( - "type of argument value must be one of (int, float); got method instead" - ), - ): - obj.add(cast(Any, self.test_descriptive_error_when_passing_function)) - def test_implements_interface(self) -> None: """Checks that jsii-generated classes correctly implement the relevant jsii-generated interfaces.""" diff --git a/packages/@jsii/python-runtime/tests/test_runtime_type_checking.py b/packages/@jsii/python-runtime/tests/test_runtime_type_checking.py index abe92f828d..300615743c 100644 --- a/packages/@jsii/python-runtime/tests/test_runtime_type_checking.py +++ b/packages/@jsii/python-runtime/tests/test_runtime_type_checking.py @@ -1,14 +1,31 @@ import pytest import re -from typing import Optional +from typing import Optional, cast, Any from scope.jsii_calc_lib.custom_submodule_name import NestingClass from scope.jsii_calc_lib import Number import jsii_calc import jsii +import typeguard +from importlib.metadata import version + +TYPEGUARD_MAJOR_VERSION = int(version("typeguard").split(".")[0]) + + +@jsii.implements(jsii_calc.IBellRinger) +class PythonInvalidBellRinger: + def your_invalid_turn(self, bell): + bell.ring() + + +@pytest.mark.skipif(TYPEGUARD_MAJOR_VERSION != 2, reason="requires typeguard 2.x") +class TestRuntimeTypeCheckingTypeGuardV2: + + @property + def check_type_error(self): + return TypeError -class TestRuntimeTypeChecking: """ These tests verify that runtime type checking performs the necessary validations and produces error messages that are indicative of the error. There are #type:ignore annotations scattered everywhere as these tests are obviously @@ -17,7 +34,7 @@ class TestRuntimeTypeChecking: def test_constructor(self): with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument initial_value must be one of (int, float, NoneType); got str instead" ), @@ -31,7 +48,7 @@ def test_constructor_decorated(self): """ with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument maximum_value must be one of (int, float, NoneType); got str instead" ), @@ -57,7 +74,7 @@ def decorated( def test_struct(self): with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument foo must be jsii_calc.StringEnum; got int instead" ), @@ -67,7 +84,7 @@ def test_struct(self): def test_method_arg(self): subject = jsii_calc.Calculator() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument value must be one of (int, float); got str instead" ), @@ -77,7 +94,7 @@ def test_method_arg(self): def test_method_kwarg(self): subject = jsii_calc.DocumentedClass() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument name must be one of (str, NoneType); got int instead" ), @@ -87,7 +104,7 @@ def test_method_kwarg(self): def test_method_vararg(self): subject = jsii_calc.StructPassing() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument inputs[0] must be jsii_calc.TopLevelStruct; got int instead" ), @@ -97,7 +114,7 @@ def test_method_vararg(self): def test_setter_to_enum(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument value must be jsii_calc.AllTypesEnum; got int instead" ), @@ -107,7 +124,7 @@ def test_setter_to_enum(self): def test_setter_to_primitive(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape("type of argument value must be str; got int instead"), ): subject.string_property = 1337 # type:ignore @@ -115,7 +132,7 @@ def test_setter_to_primitive(self): def test_setter_to_map(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument value must be collections.abc.Mapping; got jsii_calc.StructWithEnum instead" ), @@ -127,7 +144,7 @@ def test_setter_to_map(self): def test_setter_to_list(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape("type of argument value must be a list; got int instead"), ): subject.array_property = 1337 # type:ignore @@ -135,7 +152,7 @@ def test_setter_to_list(self): def test_setter_to_list_with_invalid_value(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape("type of argument value[0] must be str; got int instead"), ): subject.array_property = [1337] # type:ignore @@ -143,7 +160,7 @@ def test_setter_to_list_with_invalid_value(self): def test_setter_to_union(self): subject = jsii_calc.AllTypes() with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument value must be one of (str, int, float, scope.jsii_calc_lib.Number, jsii_calc.Multiply); got jsii_calc.StringEnum instead" ), @@ -163,7 +180,7 @@ def test_anonymous_object(self): def test_nested_union(self): with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument union_property[0] must be one of (Mapping[str, Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]], Sequence[Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]]); got float instead" ), @@ -172,7 +189,7 @@ def test_nested_union(self): def test_variadic(self): with pytest.raises( - TypeError, + self.check_type_error, match=re.escape( "type of argument union[1] must be one of (jsii_calc.StructA, jsii_calc.StructB); got float instead" ), @@ -221,3 +238,477 @@ def test_shadowed_builtins_are_not_a_problem(self): "required_string": "Present!", }, ) + + def test_descriptive_error_when_passing_function(self): + obj = jsii_calc.Calculator() + + with pytest.raises( + self.check_type_error, + match=re.escape( + "type of argument value must be one of (int, float); got method instead" + ), + ): + obj.add(cast(Any, self.test_descriptive_error_when_passing_function)) + + +@pytest.mark.skipif(TYPEGUARD_MAJOR_VERSION != 3, reason="requires typeguard 3.x") +class TestRuntimeTypeCheckingTypeGuardV3: + + @property + def check_type_error(self): + return typeguard.TypeCheckError # type:ignore + + """ + These tests verify that runtime type checking performs the necessary validations and produces error messages that + are indicative of the error. There are #type:ignore annotations scattered everywhere as these tests are obviously + attempting to demonstrate what happens when invalid calls are being made. + """ + + def test_constructor(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int\n NoneType: is not an instance of NoneType" + ), + ): + jsii_calc.Calculator(initial_value="nope") # type:ignore + + def test_constructor_decorated(self): + """ + This test verifies that runtime type checking is not broken when a function is wrapped with a decorator, as was + the case with the original implementation (due to a dynamic access to type_hints for the method via the type). + """ + + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int\n NoneType: is not an instance of NoneType" + ), + ): + orig_init = jsii_calc.Calculator.__init__ + + # For toy, swap initial_value and maximum_values here + def decorated( + self, + *, + initial_value: Optional[jsii.Number] = None, + maximum_value: Optional[jsii.Number] = None, + ): + orig_init( + self, initial_value=maximum_value, maximum_value=initial_value + ) + + jsii_calc.Calculator.__init__ = decorated + try: + jsii_calc.Calculator(initial_value="nope") # type:ignore + finally: + jsii_calc.Calculator.__init__ = orig_init + + def test_struct(self): + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of jsii_calc.StringEnum"), + ): + jsii_calc.StructWithEnum(foo=1337) # type:ignore + + def test_method_arg(self): + subject = jsii_calc.Calculator() + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int" + ), + ): + subject.mul("Not a Number") # type:ignore + + def test_method_kwarg(self): + subject = jsii_calc.DocumentedClass() + with pytest.raises( + self.check_type_error, + match=re.escape( + "int did not match any element in the union:\n str: is not an instance of str\n NoneType: is not an instance of NoneType" + ), + ): + subject.greet(name=1337) # type:ignore + + def test_method_vararg(self): + subject = jsii_calc.StructPassing() + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 0 of tuple is not an instance of jsii_calc.TopLevelStruct" + ), + ): + subject.how_many_var_args_did_i_pass(1337, 42) # type:ignore + + def test_setter_to_enum(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of jsii_calc.AllTypesEnum"), + ): + subject.enum_property = 1337 # type:ignore + + def test_setter_to_primitive(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of str"), + ): + subject.string_property = 1337 # type:ignore + + def test_setter_to_map(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("jsii_calc.StructWithEnum is not a mapping"), + ): + subject.map_property = jsii_calc.StructWithEnum( # type:ignore + foo=jsii_calc.StringEnum.A + ) + + def test_setter_to_list(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not a list"), + ): + subject.array_property = 1337 # type:ignore + + def test_setter_to_list_with_invalid_value(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("item 0 of list is not an instance of str"), + ): + subject.array_property = [1337] # type:ignore + + def test_setter_to_union(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape( + "jsii_calc.StringEnum did not match any element in the union:\n str: is not an instance of str\n int: is not an instance of int\n float: is neither float or int\n scope.jsii_calc_lib.Number: is not an instance of scope.jsii_calc_lib.Number\n jsii_calc.Multiply: is not an instance of jsii_calc.Multiply" + ), + ): + subject.union_property = jsii_calc.StringEnum.B # type:ignore + + def test_nested_struct(self): + # None of these should throw... + NestingClass.NestedStruct(name="Queen B") + + def test_anonymous_object(self): + struct = jsii_calc.StructUnionConsumer.provide_struct("A") + assert jsii_calc.StructUnionConsumer.is_struct_a(struct) + + iface = jsii_calc.anonymous.UseOptions.provide("A") + assert jsii_calc.anonymous.UseOptions.consume(iface) == "A" + + def test_nested_union(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 0 of list did not match any element in the union:\n Mapping[str, Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]]: is not a mapping\n Sequence[Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]]: is not a sequence" + ), + ): + jsii_calc.ClassWithNestedUnion([1337.42]) # type:ignore + + def test_variadic(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 1 of tuple did not match any element in the union:\n jsii_calc.StructA: is not an instance of jsii_calc.StructA\n jsii_calc.StructB: is not an instance of jsii_calc.StructB" + ), + ): + jsii_calc.VariadicTypeUnion( + jsii_calc.StructA(required_string="present"), 1337.42 # type:ignore + ) + + jsii_calc.VariadicTypeUnion() + + def test_homonymous_forward_references(self): + """Verifies homonymous forward references don't trip the type checker + + This has been an issue when stub functions were introduced to create a reliable source for type checking + information, which was reported in https://github.com/aws/jsii/issues/3818. + """ + # This uses a ForwardRef["Homonymous"] that should resolve to jsii_calc.homonymous_forward_references.foo.Homonymous + jsii_calc.homonymous_forward_references.foo.Consumer.consume( + homonymous={"string_property": "Check!"} + ) + # This uses a ForwardRef["Homonymous"] that should resolve to jsii_calc.homonymous_forward_references.bar.Homonymous + jsii_calc.homonymous_forward_references.bar.Consumer.consume( + homonymous={"numeric_property": 1337} + ) + + def test_shadowed_namespaces_are_not_a_problem(self): + """Verifies that a parameter shadowing a namespace does not cause errors + + This has caused https://github.com/aws/aws-cdk/issues/22975. + """ + + subject = jsii_calc.ParamShadowsScope() + num = Number(1337) + # The parameter is named "scope" which shadows the "scope" module... + assert num == subject.use_scope(num) + + def test_shadowed_builtins_are_not_a_problem(self): + """Verifies that a parameter shadowing a built-in name does not cause errors""" + + jsii_calc.ParamShadowsBuiltins( + "${not a Python type (builtins)}", + "${not a Python type (str)}", + string_property="Most definitely a string", + boolean_property=True, + struct_property={ + "required_string": "Present!", + }, + ) + + def test_descriptive_error_when_passing_function(self): + obj = jsii_calc.Calculator() + + with pytest.raises( + self.check_type_error, + match=re.escape( + "method did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int" + ), + ): + obj.add(cast(Any, self.test_descriptive_error_when_passing_function)) + + +@pytest.mark.skipif(TYPEGUARD_MAJOR_VERSION != 4, reason="requires typeguard 4.x") +class TestRuntimeTypeCheckingTypeGuardV4: + + @property + def check_type_error(self): + return typeguard.TypeCheckError # type:ignore + + """ + These tests verify that runtime type checking performs the necessary validations and produces error messages that + are indicative of the error. There are #type:ignore annotations scattered everywhere as these tests are obviously + attempting to demonstrate what happens when invalid calls are being made. + """ + + def test_constructor(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int\n NoneType: is not an instance of NoneType" + ), + ): + jsii_calc.Calculator(initial_value="nope") # type:ignore + + def test_constructor_decorated(self): + """ + This test verifies that runtime type checking is not broken when a function is wrapped with a decorator, as was + the case with the original implementation (due to a dynamic access to type_hints for the method via the type). + """ + + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int\n NoneType: is not an instance of NoneType" + ), + ): + orig_init = jsii_calc.Calculator.__init__ + + # For toy, swap initial_value and maximum_values here + def decorated( + self, + *, + initial_value: Optional[jsii.Number] = None, + maximum_value: Optional[jsii.Number] = None, + ): + orig_init( + self, initial_value=maximum_value, maximum_value=initial_value + ) + + jsii_calc.Calculator.__init__ = decorated + try: + jsii_calc.Calculator(initial_value="nope") # type:ignore + finally: + jsii_calc.Calculator.__init__ = orig_init + + def test_struct(self): + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of jsii_calc.StringEnum"), + ): + jsii_calc.StructWithEnum(foo=1337) # type:ignore + + def test_method_arg(self): + subject = jsii_calc.Calculator() + with pytest.raises( + self.check_type_error, + match=re.escape( + "str did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int" + ), + ): + subject.mul("Not a Number") # type:ignore + + def test_method_kwarg(self): + subject = jsii_calc.DocumentedClass() + with pytest.raises( + self.check_type_error, + match=re.escape( + "int did not match any element in the union:\n str: is not an instance of str\n NoneType: is not an instance of NoneType" + ), + ): + subject.greet(name=1337) # type:ignore + + def test_method_vararg(self): + subject = jsii_calc.StructPassing() + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 0 of tuple is not an instance of jsii_calc.TopLevelStruct" + ), + ): + subject.how_many_var_args_did_i_pass(1337, 42) # type:ignore + + def test_setter_to_enum(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of jsii_calc.AllTypesEnum"), + ): + subject.enum_property = 1337 # type:ignore + + def test_setter_to_primitive(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not an instance of str"), + ): + subject.string_property = 1337 # type:ignore + + def test_setter_to_map(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("jsii_calc.StructWithEnum is not a mapping"), + ): + subject.map_property = jsii_calc.StructWithEnum( # type:ignore + foo=jsii_calc.StringEnum.A + ) + + def test_setter_to_list(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("int is not a list"), + ): + subject.array_property = 1337 # type:ignore + + def test_setter_to_list_with_invalid_value(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape("item 0 of list is not an instance of str"), + ): + subject.array_property = [1337] # type:ignore + + def test_setter_to_union(self): + subject = jsii_calc.AllTypes() + with pytest.raises( + self.check_type_error, + match=re.escape( + "jsii_calc.StringEnum did not match any element in the union:\n str: is not an instance of str\n int: is not an instance of int\n float: is neither float or int\n scope.jsii_calc_lib.Number: is not an instance of scope.jsii_calc_lib.Number\n jsii_calc.Multiply: is not an instance of jsii_calc.Multiply" + ), + ): + subject.union_property = jsii_calc.StringEnum.B # type:ignore + + def test_nested_struct(self): + # None of these should throw... + NestingClass.NestedStruct(name="Queen B") + + def test_anonymous_object(self): + struct = jsii_calc.StructUnionConsumer.provide_struct("A") + assert jsii_calc.StructUnionConsumer.is_struct_a(struct) + + iface = jsii_calc.anonymous.UseOptions.provide("A") + assert jsii_calc.anonymous.UseOptions.consume(iface) == "A" + + def test_nested_union(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 0 of list did not match any element in the union:\n Mapping[str, Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]]: is not a mapping\n Sequence[Union[jsii_calc.StructA, Dict[str, Any], jsii_calc.StructB]]: is not a sequence" + ), + ): + jsii_calc.ClassWithNestedUnion([1337.42]) # type:ignore + + def test_variadic(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "item 1 of tuple did not match any element in the union:\n jsii_calc.StructA: is not an instance of jsii_calc.StructA\n jsii_calc.StructB: is not an instance of jsii_calc.StructB" + ), + ): + jsii_calc.VariadicTypeUnion( + jsii_calc.StructA(required_string="present"), 1337.42 # type:ignore + ) + + jsii_calc.VariadicTypeUnion() + + def test_homonymous_forward_references(self): + """Verifies homonymous forward references don't trip the type checker + + This has been an issue when stub functions were introduced to create a reliable source for type checking + information, which was reported in https://github.com/aws/jsii/issues/3818. + """ + # This uses a ForwardRef["Homonymous"] that should resolve to jsii_calc.homonymous_forward_references.foo.Homonymous + jsii_calc.homonymous_forward_references.foo.Consumer.consume( + homonymous={"string_property": "Check!"} + ) + # This uses a ForwardRef["Homonymous"] that should resolve to jsii_calc.homonymous_forward_references.bar.Homonymous + jsii_calc.homonymous_forward_references.bar.Consumer.consume( + homonymous={"numeric_property": 1337} + ) + + def test_shadowed_namespaces_are_not_a_problem(self): + """Verifies that a parameter shadowing a namespace does not cause errors + + This has caused https://github.com/aws/aws-cdk/issues/22975. + """ + + subject = jsii_calc.ParamShadowsScope() + num = Number(1337) + # The parameter is named "scope" which shadows the "scope" module... + assert num == subject.use_scope(num) + + def test_shadowed_builtins_are_not_a_problem(self): + """Verifies that a parameter shadowing a built-in name does not cause errors""" + + jsii_calc.ParamShadowsBuiltins( + "${not a Python type (builtins)}", + "${not a Python type (str)}", + string_property="Most definitely a string", + boolean_property=True, + struct_property={ + "required_string": "Present!", + }, + ) + + def test_descriptive_error_when_passing_function(self): + obj = jsii_calc.Calculator() + + with pytest.raises( + self.check_type_error, + match=re.escape( + "method did not match any element in the union:\n int: is not an instance of int\n float: is neither float or int" + ), + ): + obj.add(cast(Any, self.test_descriptive_error_when_passing_function)) + + def test_protocol(self): + with pytest.raises( + self.check_type_error, + match=re.escape( + "tests.test_runtime_type_checking.PythonInvalidBellRinger is not compatible with the IBellRinger protocol because it has no method named 'your_turn'" + ), + ): + jsii_calc.ConsumerCanRingBell().implemented_by_object_literal( + PythonInvalidBellRinger() # type:ignore + ) diff --git a/packages/@jsii/spec/package.json b/packages/@jsii/spec/package.json index 92331b4c3f..0d8f87326c 100644 --- a/packages/@jsii/spec/package.json +++ b/packages/@jsii/spec/package.json @@ -36,6 +36,6 @@ "devDependencies": { "fs-extra": "^10.1.0", "jsii-build-tools": "^0.0.0", - "typescript-json-schema": "^0.64.0" + "typescript-json-schema": "0.64.0" } } diff --git a/packages/jsii-calc/lib/compliance.ts b/packages/jsii-calc/lib/compliance.ts index c3e77fd163..624571e503 100644 --- a/packages/jsii-calc/lib/compliance.ts +++ b/packages/jsii-calc/lib/compliance.ts @@ -126,15 +126,12 @@ export class AllTypes { // json - // eslint-disable-next-line @typescript-eslint/ban-types private jsonValue: object = {}; - // eslint-disable-next-line @typescript-eslint/ban-types public get jsonProperty(): object { return this.jsonValue; } - // eslint-disable-next-line @typescript-eslint/ban-types public set jsonProperty(value: object) { if (typeof value !== 'object') { throw new Error('not an object'); diff --git a/packages/jsii-calc/lib/erasures.ts b/packages/jsii-calc/lib/erasures.ts index 7c130cb386..8f2c299403 100644 --- a/packages/jsii-calc/lib/erasures.ts +++ b/packages/jsii-calc/lib/erasures.ts @@ -48,9 +48,9 @@ export interface IJSII417Derived extends IJSII417PrivateBase { // Interfaces should be copied from erased classes to public classes // https://github.com/aws/jsii/issues/487 // -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface IJsii487External {} -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface IJsii487External2 {} class Jsii487Internal implements IJsii487External {} export class Jsii487Derived @@ -61,7 +61,7 @@ export class Jsii487Derived // Deduplicate interfaces that come from different declaration sites // https://github.com/aws/jsii/issues/496 // -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type export interface IJsii496 {} class Jsii496Base implements IJsii496 {} export class Jsii496Derived extends Jsii496Base implements IJsii496 {} diff --git a/packages/jsii-calc/test/assembly.jsii b/packages/jsii-calc/test/assembly.jsii index ccc02e869a..6e3f904da9 100644 --- a/packages/jsii-calc/test/assembly.jsii +++ b/packages/jsii-calc/test/assembly.jsii @@ -182,28 +182,28 @@ "jsii-calc.DerivedClassHasNoProperties": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 325 + "line": 322 }, "symbolId": "lib/compliance:DerivedClassHasNoProperties" }, "jsii-calc.InterfaceInNamespaceIncludesClasses": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1262 + "line": 1259 }, "symbolId": "lib/compliance:InterfaceInNamespaceIncludesClasses" }, "jsii-calc.InterfaceInNamespaceOnlyInterface": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1255 + "line": 1252 }, "symbolId": "lib/compliance:InterfaceInNamespaceOnlyInterface" }, "jsii-calc.PythonSelf": { "locationInModule": { "filename": "lib/compliance.ts", - "line": 1146 + "line": 1143 }, "symbolId": "lib/compliance:PythonSelf" }, @@ -509,7 +509,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1306 + "line": 1303 }, "methods": [ { @@ -519,7 +519,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1314 + "line": 1311 }, "name": "abstractMethod", "parameters": [ @@ -542,7 +542,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1310 + "line": 1307 }, "name": "nonAbstractMethod", "returns": { @@ -561,7 +561,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1316 + "line": 1313 }, "name": "propFromInterface", "overrides": "jsii-calc.IInterfaceImplementedByAbstractClass", @@ -587,7 +587,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1302 + "line": 1299 }, "name": "AbstractClassBase", "properties": [ @@ -599,7 +599,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1303 + "line": 1300 }, "name": "abstractProperty", "type": { @@ -623,7 +623,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1331 + "line": 1328 }, "methods": [ { @@ -632,7 +632,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1332 + "line": 1329 }, "name": "giveMeAbstract", "returns": { @@ -647,7 +647,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1336 + "line": 1333 }, "name": "giveMeInterface", "returns": { @@ -666,7 +666,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1340 + "line": 1337 }, "name": "returnAbstractFromProperty", "type": { @@ -876,7 +876,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 232 + "line": 229 }, "name": "anyIn", "parameters": [ @@ -894,7 +894,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 224 + "line": 221 }, "name": "anyOut", "returns": { @@ -909,7 +909,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 220 + "line": 217 }, "name": "enumMethod", "parameters": [ @@ -936,7 +936,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 216 + "line": 213 }, "name": "enumPropertyValue", "type": { @@ -949,7 +949,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 180 + "line": 177 }, "name": "anyArrayProperty", "type": { @@ -967,7 +967,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 181 + "line": 178 }, "name": "anyMapProperty", "type": { @@ -985,7 +985,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 179 + "line": 176 }, "name": "anyProperty", "type": { @@ -998,7 +998,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 165 + "line": 162 }, "name": "arrayProperty", "type": { @@ -1042,7 +1042,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 200 + "line": 197 }, "name": "enumProperty", "type": { @@ -1055,7 +1055,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 133 + "line": 131 }, "name": "jsonProperty", "type": { @@ -1068,7 +1068,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 150 + "line": 147 }, "name": "mapProperty", "type": { @@ -1112,7 +1112,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 192 + "line": 189 }, "name": "unionArrayProperty", "type": { @@ -1139,7 +1139,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 193 + "line": 190 }, "name": "unionMapProperty", "type": { @@ -1169,7 +1169,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 191 + "line": 188 }, "name": "unionProperty", "type": { @@ -1197,7 +1197,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 186 + "line": 183 }, "name": "unknownArrayProperty", "type": { @@ -1215,7 +1215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 187 + "line": 184 }, "name": "unknownMapProperty", "type": { @@ -1233,7 +1233,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 185 + "line": 182 }, "name": "unknownProperty", "type": { @@ -1246,7 +1246,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 197 + "line": 194 }, "name": "optionalEnumValue", "optional": true, @@ -1305,7 +1305,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 615 + "line": 612 }, "methods": [ { @@ -1314,7 +1314,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 623 + "line": 620 }, "name": "getBar", "parameters": [ @@ -1339,7 +1339,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 619 + "line": 616 }, "name": "getFoo", "parameters": [ @@ -1362,7 +1362,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 634 + "line": 631 }, "name": "setBar", "parameters": [ @@ -1393,7 +1393,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 630 + "line": 627 }, "name": "setFoo", "parameters": [ @@ -1427,7 +1427,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2763 + "line": 2760 }, "parameters": [ { @@ -1447,7 +1447,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2762 + "line": 2759 }, "name": "AmbiguousParameters", "properties": [ @@ -1458,7 +1458,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2765 + "line": 2762 }, "name": "props", "type": { @@ -1472,7 +1472,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2764 + "line": 2761 }, "name": "scope", "type": { @@ -1499,7 +1499,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2277 + "line": 2274 }, "methods": [ { @@ -1508,7 +1508,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2282 + "line": 2279 }, "name": "provideAsClass", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1524,7 +1524,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2286 + "line": 2283 }, "name": "provideAsInterface", "overrides": "jsii-calc.IAnonymousImplementationProvider", @@ -1547,7 +1547,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3147 + "line": 3144 }, "methods": [ { @@ -1557,7 +1557,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3156 + "line": 3153 }, "name": "mutateProperties", "parameters": [ @@ -1618,7 +1618,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 333 + "line": 330 }, "methods": [ { @@ -1628,7 +1628,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 334 + "line": 331 }, "name": "callMe", "returns": { @@ -1645,7 +1645,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 353 + "line": 350 }, "name": "callMe2", "returns": { @@ -1663,7 +1663,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 363 + "line": 360 }, "name": "callMeDoublePromise", "returns": { @@ -1678,7 +1678,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 371 + "line": 368 }, "name": "dontOverrideMe", "returns": { @@ -1694,7 +1694,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 342 + "line": 339 }, "name": "overrideMe", "parameters": [ @@ -1718,7 +1718,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 346 + "line": 343 }, "name": "overrideMeToo", "returns": { @@ -1745,7 +1745,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1601 + "line": 1598 }, "methods": [ { @@ -1754,7 +1754,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1602 + "line": 1599 }, "name": "methodOne" }, @@ -1764,7 +1764,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1609 + "line": 1606 }, "name": "methodTwo" } @@ -1843,7 +1843,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2557 + "line": 2554 }, "name": "BaseJsii976", "symbolId": "lib/compliance:BaseJsii976" @@ -1865,7 +1865,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2501 + "line": 2498 }, "methods": [ { @@ -1874,7 +1874,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2504 + "line": 2501 }, "name": "ring", "overrides": "jsii-calc.IBell" @@ -1888,7 +1888,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2502 + "line": 2499 }, "name": "rung", "type": { @@ -2015,7 +2015,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2847 + "line": 2844 }, "methods": [ { @@ -2024,7 +2024,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2848 + "line": 2845 }, "name": "check", "returns": { @@ -2042,7 +2042,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2865 + "line": 2862 }, "name": "giveItBack", "parameters": [ @@ -2379,7 +2379,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2581 + "line": 2578 }, "name": "ChildStruct982", "properties": [ @@ -2391,7 +2391,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2582 + "line": 2579 }, "name": "bar", "type": { @@ -2418,7 +2418,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1865 + "line": 1862 }, "name": "ClassThatImplementsTheInternalInterface", "properties": [ @@ -2428,7 +2428,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1870 + "line": 1867 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2442,7 +2442,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1871 + "line": 1868 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2456,7 +2456,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1872 + "line": 1869 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2470,7 +2470,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1873 + "line": 1870 }, "name": "d", "type": { @@ -2497,7 +2497,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1876 + "line": 1873 }, "name": "ClassThatImplementsThePrivateInterface", "properties": [ @@ -2507,7 +2507,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1879 + "line": 1876 }, "name": "a", "overrides": "jsii-calc.IAnotherPublicInterface", @@ -2521,7 +2521,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1880 + "line": 1877 }, "name": "b", "overrides": "jsii-calc.INonInternalInterface", @@ -2535,7 +2535,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1881 + "line": 1878 }, "name": "c", "overrides": "jsii-calc.INonInternalInterface", @@ -2549,7 +2549,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1882 + "line": 1879 }, "name": "e", "type": { @@ -2571,7 +2571,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3071 + "line": 3068 }, "parameters": [ { @@ -2604,7 +2604,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3070 + "line": 3067 }, "name": "ClassWithCollectionOfUnions", "properties": [ @@ -2614,7 +2614,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3072 + "line": 3069 }, "name": "unionProperty", "type": { @@ -2655,7 +2655,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2183 + "line": 2180 }, "parameters": [ { @@ -2685,7 +2685,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2173 + "line": 2170 }, "methods": [ { @@ -2694,7 +2694,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2188 + "line": 2185 }, "name": "createAList", "returns": { @@ -2715,7 +2715,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2192 + "line": 2189 }, "name": "createAMap", "returns": { @@ -2739,7 +2739,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2181 + "line": 2178 }, "name": "staticArray", "static": true, @@ -2758,7 +2758,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2177 + "line": 2174 }, "name": "staticMap", "static": true, @@ -2777,7 +2777,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2175 + "line": 2172 }, "name": "array", "type": { @@ -2795,7 +2795,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2174 + "line": 2171 }, "name": "map", "type": { @@ -2970,7 +2970,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1950 + "line": 1947 }, "name": "ClassWithDocs", "symbolId": "lib/compliance:ClassWithDocs" @@ -2987,7 +2987,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2123 + "line": 2120 }, "parameters": [ { @@ -3001,7 +3001,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2120 + "line": 2117 }, "methods": [ { @@ -3010,7 +3010,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2127 + "line": 2124 }, "name": "import", "parameters": [ @@ -3037,7 +3037,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2121 + "line": 2118 }, "name": "int", "type": { @@ -3061,7 +3061,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1351 + "line": 1348 }, "name": "ClassWithMutableObjectLiteralProperty", "properties": [ @@ -3071,7 +3071,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1352 + "line": 1349 }, "name": "mutableObject", "type": { @@ -3093,7 +3093,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3081 + "line": 3078 }, "parameters": [ { @@ -3149,7 +3149,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3080 + "line": 3077 }, "name": "ClassWithNestedUnion", "properties": [ @@ -3159,7 +3159,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3082 + "line": 3079 }, "name": "unionProperty", "type": { @@ -3224,7 +3224,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1378 + "line": 1375 }, "methods": [ { @@ -3233,7 +3233,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1381 + "line": 1378 }, "name": "create", "parameters": [ @@ -3267,7 +3267,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1389 + "line": 1386 }, "name": "readOnlyString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -3281,7 +3281,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1390 + "line": 1387 }, "name": "readWriteString", "overrides": "jsii-calc.IInterfaceWithProperties", @@ -3303,7 +3303,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2720 + "line": 2717 }, "methods": [ { @@ -3312,7 +3312,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2721 + "line": 2718 }, "name": "makeInstance", "returns": { @@ -3328,7 +3328,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2725 + "line": 2722 }, "name": "makeStructInstance", "returns": { @@ -3347,7 +3347,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2729 + "line": 2726 }, "name": "unionProperty", "optional": true, @@ -3391,7 +3391,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2733 + "line": 2730 }, "name": "ConfusingToJacksonStruct", "properties": [ @@ -3403,7 +3403,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2734 + "line": 2731 }, "name": "unionProperty", "optional": true, @@ -3449,7 +3449,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1907 + "line": 1904 }, "parameters": [ { @@ -3463,7 +3463,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1906 + "line": 1903 }, "name": "ConstructorPassesThisOut", "symbolId": "lib/compliance:ConstructorPassesThisOut" @@ -3482,7 +3482,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1650 + "line": 1647 }, "methods": [ { @@ -3491,7 +3491,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1667 + "line": 1664 }, "name": "hiddenInterface", "returns": { @@ -3507,7 +3507,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1671 + "line": 1668 }, "name": "hiddenInterfaces", "returns": { @@ -3528,7 +3528,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1675 + "line": 1672 }, "name": "hiddenSubInterfaces", "returns": { @@ -3549,7 +3549,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1651 + "line": 1648 }, "name": "makeClass", "returns": { @@ -3565,7 +3565,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1655 + "line": 1652 }, "name": "makeInterface", "returns": { @@ -3581,7 +3581,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1659 + "line": 1656 }, "name": "makeInterface2", "returns": { @@ -3597,7 +3597,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1663 + "line": 1660 }, "name": "makeInterfaces", "returns": { @@ -3628,7 +3628,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2744 + "line": 2741 }, "parameters": [ { @@ -3642,7 +3642,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2743 + "line": 2740 }, "methods": [ { @@ -3651,7 +3651,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2746 + "line": 2743 }, "name": "workItBaby", "returns": { @@ -3680,7 +3680,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2386 + "line": 2383 }, "methods": [ { @@ -3691,7 +3691,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2392 + "line": 2389 }, "name": "staticImplementedByObjectLiteral", "parameters": [ @@ -3717,7 +3717,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2418 + "line": 2415 }, "name": "staticImplementedByPrivateClass", "parameters": [ @@ -3743,7 +3743,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2407 + "line": 2404 }, "name": "staticImplementedByPublicClass", "parameters": [ @@ -3769,7 +3769,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2429 + "line": 2426 }, "name": "staticWhenTypedAsClass", "parameters": [ @@ -3795,7 +3795,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2439 + "line": 2436 }, "name": "implementedByObjectLiteral", "parameters": [ @@ -3820,7 +3820,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2465 + "line": 2462 }, "name": "implementedByPrivateClass", "parameters": [ @@ -3845,7 +3845,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2454 + "line": 2451 }, "name": "implementedByPublicClass", "parameters": [ @@ -3870,7 +3870,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2476 + "line": 2473 }, "name": "whenTypedAsClass", "parameters": [ @@ -3905,7 +3905,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1885 + "line": 1882 }, "methods": [ { @@ -3914,7 +3914,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1886 + "line": 1883 }, "name": "consumeAnotherPublicInterface", "parameters": [ @@ -3937,7 +3937,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1890 + "line": 1887 }, "name": "consumeNonInternalInterface", "parameters": [ @@ -4050,7 +4050,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2046 + "line": 2043 }, "methods": [ { @@ -4059,7 +4059,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2047 + "line": 2044 }, "name": "render", "parameters": [ @@ -4083,7 +4083,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2053 + "line": 2050 }, "name": "renderArbitrary", "parameters": [ @@ -4111,7 +4111,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2057 + "line": 2054 }, "name": "renderMap", "parameters": [ @@ -4153,7 +4153,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3031 + "line": 3028 }, "methods": [ { @@ -4162,7 +4162,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3032 + "line": 3029 }, "name": "pleaseCompile" } @@ -4182,7 +4182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 318 + "line": 315 }, "parameters": [ { @@ -4211,7 +4211,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 317 + "line": 314 }, "name": "DefaultedConstructorArgument", "properties": [ @@ -4222,7 +4222,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 319 + "line": 316 }, "name": "arg1", "type": { @@ -4236,7 +4236,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 321 + "line": 318 }, "name": "arg3", "type": { @@ -4250,7 +4250,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 320 + "line": 317 }, "name": "arg2", "optional": true, @@ -4277,7 +4277,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2588 + "line": 2585 }, "methods": [ { @@ -4287,7 +4287,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2595 + "line": 2592 }, "name": "takeThis", "returns": { @@ -4304,7 +4304,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2600 + "line": 2597 }, "name": "takeThisToo", "returns": { @@ -4482,7 +4482,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 326 + "line": 323 }, "name": "Base", "namespace": "DerivedClassHasNoProperties", @@ -4493,7 +4493,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 327 + "line": 324 }, "name": "prop", "type": { @@ -4518,7 +4518,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 330 + "line": 327 }, "name": "Derived", "namespace": "DerivedClassHasNoProperties", @@ -4538,7 +4538,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 541 + "line": 538 }, "name": "DerivedStruct", "properties": [ @@ -4550,7 +4550,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 547 + "line": 544 }, "name": "anotherRequired", "type": { @@ -4565,7 +4565,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 546 + "line": 543 }, "name": "bool", "type": { @@ -4581,7 +4581,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 545 + "line": 542 }, "name": "nonPrimitive", "type": { @@ -4597,7 +4597,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 553 + "line": 550 }, "name": "anotherOptional", "optional": true, @@ -4618,7 +4618,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 549 + "line": 546 }, "name": "optionalAny", "optional": true, @@ -4634,7 +4634,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 548 + "line": 545 }, "name": "optionalArray", "optional": true, @@ -4697,7 +4697,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2091 + "line": 2088 }, "name": "DiamondInheritanceBaseLevelStruct", "properties": [ @@ -4709,7 +4709,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2092 + "line": 2089 }, "name": "baseLevelProperty", "type": { @@ -4732,7 +4732,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2095 + "line": 2092 }, "name": "DiamondInheritanceFirstMidLevelStruct", "properties": [ @@ -4744,7 +4744,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2097 + "line": 2094 }, "name": "firstMidLevelProperty", "type": { @@ -4767,7 +4767,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2100 + "line": 2097 }, "name": "DiamondInheritanceSecondMidLevelStruct", "properties": [ @@ -4779,7 +4779,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2102 + "line": 2099 }, "name": "secondMidLevelProperty", "type": { @@ -4803,7 +4803,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2105 + "line": 2102 }, "name": "DiamondInheritanceTopLevelStruct", "properties": [ @@ -4815,7 +4815,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2108 + "line": 2105 }, "name": "topLevelProperty", "type": { @@ -4836,7 +4836,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2610 + "line": 2607 }, "name": "DisappointingCollectionSource", "properties": [ @@ -4850,7 +4850,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2612 + "line": 2609 }, "name": "maybeList", "optional": true, @@ -4874,7 +4874,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2614 + "line": 2611 }, "name": "maybeMap", "optional": true, @@ -4905,7 +4905,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1355 + "line": 1352 }, "methods": [ { @@ -4914,7 +4914,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1370 + "line": 1367 }, "name": "changePrivatePropertyValue", "parameters": [ @@ -4932,7 +4932,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1362 + "line": 1359 }, "name": "privateMethodValue", "returns": { @@ -4947,7 +4947,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1366 + "line": 1363 }, "name": "privatePropertyValue", "returns": { @@ -4975,7 +4975,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1412 + "line": 1409 }, "methods": [ { @@ -4984,7 +4984,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1413 + "line": 1410 }, "name": "method", "parameters": [ @@ -5105,7 +5105,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1489 + "line": 1486 }, "methods": [ { @@ -5114,7 +5114,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1490 + "line": 1487 }, "name": "optionalAndVariadic", "parameters": [ @@ -5197,7 +5197,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 485 + "line": 482 }, "methods": [ { @@ -5207,7 +5207,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 490 + "line": 487 }, "name": "hello", "overrides": "@scope/jsii-calc-lib.IFriendly", @@ -5224,7 +5224,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 486 + "line": 483 }, "name": "next", "overrides": "jsii-calc.IRandomNumberGenerator", @@ -5283,7 +5283,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2872 + "line": 2869 }, "parameters": [ { @@ -5297,7 +5297,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2871 + "line": 2868 }, "name": "DynamicPropertyBearer", "properties": [ @@ -5307,7 +5307,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2874 + "line": 2871 }, "name": "dynamicProperty", "type": { @@ -5320,7 +5320,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2872 + "line": 2869 }, "name": "valueStore", "type": { @@ -5343,7 +5343,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2883 + "line": 2880 }, "parameters": [ { @@ -5357,7 +5357,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2882 + "line": 2879 }, "methods": [ { @@ -5368,7 +5368,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2894 + "line": 2891 }, "name": "overrideValue", "parameters": [ @@ -5398,7 +5398,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2883 + "line": 2880 }, "name": "originalValue", "type": { @@ -5555,7 +5555,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1706 + "line": 1703 }, "methods": [ { @@ -5566,7 +5566,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1711 + "line": 1708 }, "name": "doesKeyExist", "parameters": [ @@ -5597,7 +5597,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1731 + "line": 1728 }, "name": "prop1IsNull", "returns": { @@ -5619,7 +5619,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1721 + "line": 1718 }, "name": "prop2IsUndefined", "returns": { @@ -5648,7 +5648,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1701 + "line": 1698 }, "name": "EraseUndefinedHashValuesOptions", "properties": [ @@ -5660,7 +5660,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1702 + "line": 1699 }, "name": "option1", "optional": true, @@ -5676,7 +5676,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1703 + "line": 1700 }, "name": "option2", "optional": true, @@ -5839,7 +5839,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1575 + "line": 1572 }, "parameters": [ { @@ -5853,7 +5853,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1574 + "line": 1571 }, "name": "ExportedBaseClass", "properties": [ @@ -5864,7 +5864,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1575 + "line": 1572 }, "name": "success", "type": { @@ -5884,7 +5884,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1820 + "line": 1817 }, "name": "ExtendsInternalInterface", "properties": [ @@ -5896,7 +5896,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1821 + "line": 1818 }, "name": "boom", "type": { @@ -5911,7 +5911,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1761 + "line": 1758 }, "name": "prop", "type": { @@ -6123,7 +6123,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 556 + "line": 553 }, "methods": [ { @@ -6133,7 +6133,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 574 + "line": 571 }, "name": "derivedToFirst", "parameters": [ @@ -6157,7 +6157,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 567 + "line": 564 }, "name": "readDerivedNonPrimitive", "parameters": [ @@ -6181,7 +6181,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 560 + "line": 557 }, "name": "readFirstNumber", "parameters": [ @@ -6208,7 +6208,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 578 + "line": 575 }, "name": "structLiteral", "type": { @@ -6268,7 +6268,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 532 + "line": 529 }, "methods": [ { @@ -6277,7 +6277,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 533 + "line": 530 }, "name": "betterGreeting", "parameters": [ @@ -6308,7 +6308,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2273 + "line": 2270 }, "methods": [ { @@ -6318,7 +6318,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2275 + "line": 2272 }, "name": "provideAsClass", "returns": { @@ -6334,7 +6334,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2274 + "line": 2271 }, "name": "provideAsInterface", "returns": { @@ -6356,7 +6356,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2293 + "line": 2290 }, "methods": [ { @@ -6366,7 +6366,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2295 + "line": 2292 }, "name": "verb", "returns": { @@ -6386,7 +6386,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2294 + "line": 2291 }, "name": "value", "type": { @@ -6405,7 +6405,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1841 + "line": 1838 }, "name": "IAnotherPublicInterface", "properties": [ @@ -6416,7 +6416,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1842 + "line": 1839 }, "name": "a", "type": { @@ -6435,7 +6435,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2497 + "line": 2494 }, "methods": [ { @@ -6445,7 +6445,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2498 + "line": 2495 }, "name": "ring" } @@ -6463,7 +6463,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2486 + "line": 2483 }, "methods": [ { @@ -6473,7 +6473,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2487 + "line": 2484 }, "name": "yourTurn", "parameters": [ @@ -6499,7 +6499,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2493 + "line": 2490 }, "methods": [ { @@ -6509,7 +6509,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2494 + "line": 2491 }, "name": "yourTurn", "parameters": [ @@ -6625,7 +6625,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1832 + "line": 1829 }, "name": "IExtendsPrivateInterface", "properties": [ @@ -6637,7 +6637,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1833 + "line": 1830 }, "name": "moreThings", "type": { @@ -6656,7 +6656,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1817 + "line": 1814 }, "name": "private", "type": { @@ -6851,7 +6851,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1298 + "line": 1295 }, "name": "IInterfaceImplementedByAbstractClass", "properties": [ @@ -6863,7 +6863,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1299 + "line": 1296 }, "name": "propFromInterface", "type": { @@ -6886,7 +6886,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1404 + "line": 1401 }, "name": "IInterfaceThatShouldNotBeADataType", "properties": [ @@ -6898,7 +6898,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1406 + "line": 1403 }, "name": "otherValue", "type": { @@ -6917,7 +6917,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1772 + "line": 1769 }, "methods": [ { @@ -6927,7 +6927,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1773 + "line": 1770 }, "name": "visible" } @@ -6944,7 +6944,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1394 + "line": 1391 }, "methods": [ { @@ -6954,7 +6954,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1397 + "line": 1394 }, "name": "doThings" } @@ -6969,7 +6969,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1395 + "line": 1392 }, "name": "value", "type": { @@ -6989,7 +6989,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1276 + "line": 1273 }, "methods": [ { @@ -6999,7 +6999,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1277 + "line": 1274 }, "name": "hello", "parameters": [ @@ -7031,7 +7031,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 586 + "line": 583 }, "name": "IInterfaceWithProperties", "properties": [ @@ -7043,7 +7043,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 587 + "line": 584 }, "name": "readOnlyString", "type": { @@ -7057,7 +7057,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 588 + "line": 585 }, "name": "readWriteString", "type": { @@ -7079,7 +7079,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 591 + "line": 588 }, "name": "IInterfaceWithPropertiesExtension", "properties": [ @@ -7090,7 +7090,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 593 + "line": 590 }, "name": "foo", "type": { @@ -7211,7 +7211,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 958 + "line": 955 }, "methods": [ { @@ -7221,7 +7221,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 959 + "line": 956 }, "name": "abstract" }, @@ -7232,7 +7232,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 960 + "line": 957 }, "name": "assert" }, @@ -7243,7 +7243,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 961 + "line": 958 }, "name": "boolean" }, @@ -7254,7 +7254,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 962 + "line": 959 }, "name": "break" }, @@ -7265,7 +7265,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 963 + "line": 960 }, "name": "byte" }, @@ -7276,7 +7276,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 964 + "line": 961 }, "name": "case" }, @@ -7287,7 +7287,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 965 + "line": 962 }, "name": "catch" }, @@ -7298,7 +7298,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 966 + "line": 963 }, "name": "char" }, @@ -7309,7 +7309,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 967 + "line": 964 }, "name": "class" }, @@ -7320,7 +7320,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 968 + "line": 965 }, "name": "const" }, @@ -7331,7 +7331,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 969 + "line": 966 }, "name": "continue" }, @@ -7342,7 +7342,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 970 + "line": 967 }, "name": "default" }, @@ -7353,7 +7353,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 972 + "line": 969 }, "name": "do" }, @@ -7364,7 +7364,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 971 + "line": 968 }, "name": "double" }, @@ -7375,7 +7375,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 973 + "line": 970 }, "name": "else" }, @@ -7386,7 +7386,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 974 + "line": 971 }, "name": "enum" }, @@ -7397,7 +7397,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 975 + "line": 972 }, "name": "extends" }, @@ -7408,7 +7408,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 976 + "line": 973 }, "name": "false" }, @@ -7419,7 +7419,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 977 + "line": 974 }, "name": "final" }, @@ -7430,7 +7430,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 978 + "line": 975 }, "name": "finally" }, @@ -7441,7 +7441,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 979 + "line": 976 }, "name": "float" }, @@ -7452,7 +7452,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 980 + "line": 977 }, "name": "for" }, @@ -7463,7 +7463,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 981 + "line": 978 }, "name": "goto" }, @@ -7474,7 +7474,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 982 + "line": 979 }, "name": "if" }, @@ -7485,7 +7485,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 983 + "line": 980 }, "name": "implements" }, @@ -7496,7 +7496,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 984 + "line": 981 }, "name": "import" }, @@ -7507,7 +7507,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 985 + "line": 982 }, "name": "instanceof" }, @@ -7518,7 +7518,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 986 + "line": 983 }, "name": "int" }, @@ -7529,7 +7529,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 987 + "line": 984 }, "name": "interface" }, @@ -7540,7 +7540,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 988 + "line": 985 }, "name": "long" }, @@ -7551,7 +7551,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 989 + "line": 986 }, "name": "native" }, @@ -7562,7 +7562,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 990 + "line": 987 }, "name": "null" }, @@ -7573,7 +7573,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 991 + "line": 988 }, "name": "package" }, @@ -7584,7 +7584,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 992 + "line": 989 }, "name": "private" }, @@ -7595,7 +7595,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 993 + "line": 990 }, "name": "protected" }, @@ -7606,7 +7606,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 994 + "line": 991 }, "name": "public" }, @@ -7617,7 +7617,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 995 + "line": 992 }, "name": "return" }, @@ -7628,7 +7628,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 996 + "line": 993 }, "name": "short" }, @@ -7639,7 +7639,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 997 + "line": 994 }, "name": "static" }, @@ -7650,7 +7650,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 998 + "line": 995 }, "name": "strictfp" }, @@ -7661,7 +7661,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 999 + "line": 996 }, "name": "super" }, @@ -7672,7 +7672,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1000 + "line": 997 }, "name": "switch" }, @@ -7683,7 +7683,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1001 + "line": 998 }, "name": "synchronized" }, @@ -7694,7 +7694,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1002 + "line": 999 }, "name": "this" }, @@ -7705,7 +7705,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1003 + "line": 1000 }, "name": "throw" }, @@ -7716,7 +7716,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1004 + "line": 1001 }, "name": "throws" }, @@ -7727,7 +7727,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1005 + "line": 1002 }, "name": "transient" }, @@ -7738,7 +7738,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1006 + "line": 1003 }, "name": "true" }, @@ -7749,7 +7749,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1007 + "line": 1004 }, "name": "try" }, @@ -7760,7 +7760,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1008 + "line": 1005 }, "name": "void" }, @@ -7771,7 +7771,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1009 + "line": 1006 }, "name": "volatile" } @@ -7786,7 +7786,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1010 + "line": 1007 }, "name": "while", "type": { @@ -7847,7 +7847,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1347 + "line": 1344 }, "name": "IMutableObjectLiteral", "properties": [ @@ -7858,7 +7858,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1348 + "line": 1345 }, "name": "value", "type": { @@ -7880,7 +7880,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1850 + "line": 1847 }, "name": "INonInternalInterface", "properties": [ @@ -7891,7 +7891,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1847 + "line": 1844 }, "name": "b", "type": { @@ -7905,7 +7905,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1851 + "line": 1848 }, "name": "c", "type": { @@ -7925,7 +7925,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2622 + "line": 2619 }, "methods": [ { @@ -7935,7 +7935,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2624 + "line": 2621 }, "name": "wasSet", "returns": { @@ -7954,7 +7954,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2623 + "line": 2620 }, "name": "property", "type": { @@ -7974,7 +7974,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2811 + "line": 2808 }, "methods": [ { @@ -7984,7 +7984,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2812 + "line": 2809 }, "name": "optional", "returns": { @@ -8007,7 +8007,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1571 + "line": 1568 }, "name": "IPrivatelyImplemented", "properties": [ @@ -8019,7 +8019,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1572 + "line": 1569 }, "name": "success", "type": { @@ -8038,7 +8038,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1621 + "line": 1618 }, "methods": [ { @@ -8048,7 +8048,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1622 + "line": 1619 }, "name": "bye", "returns": { @@ -8070,7 +8070,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1625 + "line": 1622 }, "methods": [ { @@ -8080,7 +8080,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1626 + "line": 1623 }, "name": "ciao", "returns": { @@ -8138,7 +8138,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2553 + "line": 2550 }, "name": "IReturnJsii976", "properties": [ @@ -8150,7 +8150,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2554 + "line": 2551 }, "name": "foo", "type": { @@ -8169,7 +8169,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 639 + "line": 636 }, "methods": [ { @@ -8179,7 +8179,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 640 + "line": 637 }, "name": "obtainNumber", "returns": { @@ -8199,7 +8199,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 642 + "line": 639 }, "name": "numberProp", "type": { @@ -8263,7 +8263,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2740 + "line": 2737 }, "methods": [ { @@ -8273,7 +8273,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2741 + "line": 2738 }, "name": "returnStruct", "returns": { @@ -8334,7 +8334,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1824 + "line": 1821 }, "name": "ImplementInternalInterface", "properties": [ @@ -8344,7 +8344,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1825 + "line": 1822 }, "name": "prop", "type": { @@ -8368,7 +8368,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2290 + "line": 2287 }, "name": "Implementation", "properties": [ @@ -8379,7 +8379,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2291 + "line": 2288 }, "name": "value", "type": { @@ -8406,7 +8406,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1779 + "line": 1776 }, "methods": [ { @@ -8415,7 +8415,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1780 + "line": 1777 }, "name": "visible", "overrides": "jsii-calc.IInterfaceWithInternal" @@ -8439,7 +8439,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1798 + "line": 1795 }, "name": "ImplementsInterfaceWithInternalSubclass", "symbolId": "lib/compliance:ImplementsInterfaceWithInternalSubclass" @@ -8458,7 +8458,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1828 + "line": 1825 }, "name": "ImplementsPrivateInterface", "properties": [ @@ -8468,7 +8468,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1829 + "line": 1826 }, "name": "private", "type": { @@ -8491,7 +8491,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1232 + "line": 1229 }, "name": "ImplictBaseOfBase", "properties": [ @@ -8503,7 +8503,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1233 + "line": 1230 }, "name": "goo", "type": { @@ -8531,7 +8531,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1628 + "line": 1625 }, "methods": [ { @@ -8540,7 +8540,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1629 + "line": 1626 }, "name": "ciao", "overrides": "jsii-calc.IPublicInterface2", @@ -8565,7 +8565,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2774 + "line": 2771 }, "methods": [ { @@ -8574,7 +8574,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2785 + "line": 2782 }, "name": "listOfInterfaces", "returns": { @@ -8595,7 +8595,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2775 + "line": 2772 }, "name": "listOfStructs", "returns": { @@ -8616,7 +8616,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2795 + "line": 2792 }, "name": "mapOfInterfaces", "returns": { @@ -8637,7 +8637,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2779 + "line": 2776 }, "name": "mapOfStructs", "returns": { @@ -8670,7 +8670,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1263 + "line": 1260 }, "name": "Foo", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -8681,7 +8681,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1264 + "line": 1261 }, "name": "bar", "optional": true, @@ -8702,7 +8702,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1267 + "line": 1264 }, "name": "Hello", "namespace": "InterfaceInNamespaceIncludesClasses", @@ -8715,7 +8715,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1268 + "line": 1265 }, "name": "foo", "type": { @@ -8735,7 +8735,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1257 + "line": 1254 }, "name": "Hello", "namespace": "InterfaceInNamespaceOnlyInterface", @@ -8748,7 +8748,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1258 + "line": 1255 }, "name": "foo", "type": { @@ -8768,7 +8768,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2161 + "line": 2158 }, "methods": [ { @@ -8777,7 +8777,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2162 + "line": 2159 }, "name": "makeInterfaces", "parameters": [ @@ -8821,7 +8821,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2821 + "line": 2818 }, "methods": [ { @@ -8830,7 +8830,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2822 + "line": 2819 }, "name": "myself", "returns": { @@ -8859,13 +8859,13 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3015 + "line": 3012 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3011 + "line": 3008 }, "name": "Issue2638", "symbolId": "lib/compliance:Issue2638" @@ -8882,13 +8882,13 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3021 + "line": 3018 } }, "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3020 + "line": 3017 }, "name": "Issue2638B", "symbolId": "lib/compliance:Issue2638B" @@ -9041,7 +9041,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 517 + "line": 514 }, "methods": [ { @@ -9050,7 +9050,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 518 + "line": 515 }, "name": "giveMeFriendly", "returns": { @@ -9065,7 +9065,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 524 + "line": 521 }, "name": "giveMeFriendlyGenerator", "returns": { @@ -9092,7 +9092,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 247 + "line": 244 }, "methods": [ { @@ -9101,7 +9101,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 248 + "line": 245 }, "name": "returnLiteral", "returns": { @@ -9128,7 +9128,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 256 + "line": 253 }, "name": "JSObjectLiteralToNativeClass", "properties": [ @@ -9138,7 +9138,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 257 + "line": 254 }, "name": "propA", "type": { @@ -9151,7 +9151,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 258 + "line": 255 }, "name": "propB", "type": { @@ -9175,7 +9175,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 745 + "line": 742 }, "methods": [ { @@ -9184,7 +9184,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 746 + "line": 743 }, "name": "abstract" }, @@ -9194,7 +9194,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 750 + "line": 747 }, "name": "assert" }, @@ -9204,7 +9204,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 754 + "line": 751 }, "name": "boolean" }, @@ -9214,7 +9214,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 758 + "line": 755 }, "name": "break" }, @@ -9224,7 +9224,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 762 + "line": 759 }, "name": "byte" }, @@ -9234,7 +9234,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 766 + "line": 763 }, "name": "case" }, @@ -9244,7 +9244,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 770 + "line": 767 }, "name": "catch" }, @@ -9254,7 +9254,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 774 + "line": 771 }, "name": "char" }, @@ -9264,7 +9264,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 778 + "line": 775 }, "name": "class" }, @@ -9274,7 +9274,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 782 + "line": 779 }, "name": "const" }, @@ -9284,7 +9284,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 786 + "line": 783 }, "name": "continue" }, @@ -9294,7 +9294,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 790 + "line": 787 }, "name": "default" }, @@ -9304,7 +9304,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 798 + "line": 795 }, "name": "do" }, @@ -9314,7 +9314,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 794 + "line": 791 }, "name": "double" }, @@ -9324,7 +9324,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 802 + "line": 799 }, "name": "else" }, @@ -9334,7 +9334,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 806 + "line": 803 }, "name": "enum" }, @@ -9344,7 +9344,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 810 + "line": 807 }, "name": "extends" }, @@ -9354,7 +9354,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 814 + "line": 811 }, "name": "false" }, @@ -9364,7 +9364,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 818 + "line": 815 }, "name": "final" }, @@ -9374,7 +9374,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 822 + "line": 819 }, "name": "finally" }, @@ -9384,7 +9384,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 826 + "line": 823 }, "name": "float" }, @@ -9394,7 +9394,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 830 + "line": 827 }, "name": "for" }, @@ -9404,7 +9404,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 834 + "line": 831 }, "name": "goto" }, @@ -9414,7 +9414,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 838 + "line": 835 }, "name": "if" }, @@ -9424,7 +9424,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 842 + "line": 839 }, "name": "implements" }, @@ -9434,7 +9434,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 846 + "line": 843 }, "name": "import" }, @@ -9444,7 +9444,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 850 + "line": 847 }, "name": "instanceof" }, @@ -9454,7 +9454,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 854 + "line": 851 }, "name": "int" }, @@ -9464,7 +9464,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 858 + "line": 855 }, "name": "interface" }, @@ -9474,7 +9474,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 862 + "line": 859 }, "name": "long" }, @@ -9484,7 +9484,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 866 + "line": 863 }, "name": "native" }, @@ -9494,7 +9494,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 870 + "line": 867 }, "name": "new" }, @@ -9504,7 +9504,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 874 + "line": 871 }, "name": "null" }, @@ -9514,7 +9514,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 878 + "line": 875 }, "name": "package" }, @@ -9524,7 +9524,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 882 + "line": 879 }, "name": "private" }, @@ -9534,7 +9534,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 886 + "line": 883 }, "name": "protected" }, @@ -9544,7 +9544,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 890 + "line": 887 }, "name": "public" }, @@ -9554,7 +9554,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 894 + "line": 891 }, "name": "return" }, @@ -9564,7 +9564,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 898 + "line": 895 }, "name": "short" }, @@ -9574,7 +9574,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 902 + "line": 899 }, "name": "static" }, @@ -9584,7 +9584,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 906 + "line": 903 }, "name": "strictfp" }, @@ -9594,7 +9594,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 910 + "line": 907 }, "name": "super" }, @@ -9604,7 +9604,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 914 + "line": 911 }, "name": "switch" }, @@ -9614,7 +9614,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 918 + "line": 915 }, "name": "synchronized" }, @@ -9624,7 +9624,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 922 + "line": 919 }, "name": "this" }, @@ -9634,7 +9634,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 926 + "line": 923 }, "name": "throw" }, @@ -9644,7 +9644,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 930 + "line": 927 }, "name": "throws" }, @@ -9654,7 +9654,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 934 + "line": 931 }, "name": "transient" }, @@ -9664,7 +9664,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 938 + "line": 935 }, "name": "true" }, @@ -9674,7 +9674,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 942 + "line": 939 }, "name": "try" }, @@ -9684,7 +9684,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 946 + "line": 943 }, "name": "void" }, @@ -9694,7 +9694,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 950 + "line": 947 }, "name": "volatile" } @@ -9707,7 +9707,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 954 + "line": 951 }, "name": "while", "type": { @@ -9777,7 +9777,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1589 + "line": 1586 }, "name": "JsiiAgent", "properties": [ @@ -9789,7 +9789,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1593 + "line": 1590 }, "name": "value", "optional": true, @@ -9812,7 +9812,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2655 + "line": 2652 }, "methods": [ { @@ -9821,7 +9821,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2700 + "line": 2697 }, "name": "anyArray", "returns": { @@ -9837,7 +9837,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2696 + "line": 2693 }, "name": "anyBooleanFalse", "returns": { @@ -9853,7 +9853,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2692 + "line": 2689 }, "name": "anyBooleanTrue", "returns": { @@ -9869,7 +9869,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2672 + "line": 2669 }, "name": "anyDate", "returns": { @@ -9885,7 +9885,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2688 + "line": 2685 }, "name": "anyEmptyString", "returns": { @@ -9901,7 +9901,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2668 + "line": 2665 }, "name": "anyFunction", "returns": { @@ -9917,7 +9917,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2704 + "line": 2701 }, "name": "anyHash", "returns": { @@ -9933,7 +9933,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2660 + "line": 2657 }, "name": "anyNull", "returns": { @@ -9949,7 +9949,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2676 + "line": 2673 }, "name": "anyNumber", "returns": { @@ -9965,7 +9965,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2708 + "line": 2705 }, "name": "anyRef", "returns": { @@ -9981,7 +9981,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2684 + "line": 2681 }, "name": "anyString", "returns": { @@ -9997,7 +9997,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2664 + "line": 2661 }, "name": "anyUndefined", "returns": { @@ -10013,7 +10013,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2680 + "line": 2677 }, "name": "anyZero", "returns": { @@ -10029,7 +10029,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2656 + "line": 2653 }, "name": "stringify", "parameters": [ @@ -10066,7 +10066,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2906 + "line": 2903 }, "parameters": [ { @@ -10080,7 +10080,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2905 + "line": 2902 }, "name": "LevelOne", "properties": [ @@ -10091,7 +10091,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2906 + "line": 2903 }, "name": "props", "type": { @@ -10111,7 +10111,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2916 + "line": 2913 }, "name": "PropBooleanValue", "namespace": "LevelOne", @@ -10124,7 +10124,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2917 + "line": 2914 }, "name": "value", "type": { @@ -10144,7 +10144,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2912 + "line": 2909 }, "name": "PropProperty", "namespace": "LevelOne", @@ -10157,7 +10157,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2913 + "line": 2910 }, "name": "prop", "type": { @@ -10177,7 +10177,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2908 + "line": 2905 }, "name": "LevelOneProps", "properties": [ @@ -10189,7 +10189,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2909 + "line": 2906 }, "name": "prop", "type": { @@ -10210,7 +10210,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1498 + "line": 1495 }, "name": "LoadBalancedFargateServiceProps", "properties": [ @@ -10225,7 +10225,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1541 + "line": 1538 }, "name": "containerPort", "optional": true, @@ -10244,7 +10244,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1512 + "line": 1509 }, "name": "cpu", "optional": true, @@ -10263,7 +10263,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1534 + "line": 1531 }, "name": "memoryMiB", "optional": true, @@ -10281,7 +10281,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1548 + "line": 1545 }, "name": "publicLoadBalancer", "optional": true, @@ -10299,7 +10299,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1555 + "line": 1552 }, "name": "publicTasks", "optional": true, @@ -10666,7 +10666,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2529 + "line": 2526 }, "name": "NestedStruct", "properties": [ @@ -10679,7 +10679,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2533 + "line": 2530 }, "name": "numberProp", "type": { @@ -10704,7 +10704,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1182 + "line": 1179 }, "methods": [ { @@ -10715,7 +10715,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1213 + "line": 1210 }, "name": "cryptoSha256", "returns": { @@ -10733,7 +10733,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1187 + "line": 1184 }, "name": "fsReadFile", "returns": { @@ -10750,7 +10750,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1196 + "line": 1193 }, "name": "fsReadFileSync", "returns": { @@ -10770,7 +10770,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1205 + "line": 1202 }, "name": "osPlatform", "type": { @@ -10793,7 +10793,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1428 + "line": 1425 }, "parameters": [ { @@ -10814,7 +10814,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1425 + "line": 1422 }, "methods": [ { @@ -10823,7 +10823,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1436 + "line": 1433 }, "name": "giveMeUndefined", "parameters": [ @@ -10842,7 +10842,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1446 + "line": 1443 }, "name": "giveMeUndefinedInsideAnObject", "parameters": [ @@ -10860,7 +10860,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1475 + "line": 1472 }, "name": "verifyPropertyIsUndefined" } @@ -10873,7 +10873,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1426 + "line": 1423 }, "name": "changeMeToUndefined", "optional": true, @@ -10894,7 +10894,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1484 + "line": 1481 }, "name": "NullShouldBeTreatedAsUndefinedData", "properties": [ @@ -10906,7 +10906,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1486 + "line": 1483 }, "name": "arrayWithThreeElementsAndUndefinedAsSecondArgument", "type": { @@ -10926,7 +10926,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1485 + "line": 1482 }, "name": "thisShouldBeUndefined", "optional": true, @@ -10950,7 +10950,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 506 + "line": 503 }, "parameters": [ { @@ -10964,7 +10964,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 505 + "line": 502 }, "methods": [ { @@ -10973,7 +10973,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 512 + "line": 509 }, "name": "isSameGenerator", "parameters": [ @@ -10996,7 +10996,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 508 + "line": 505 }, "name": "nextTimes100", "returns": { @@ -11014,7 +11014,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 506 + "line": 503 }, "name": "generator", "type": { @@ -11039,7 +11039,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 264 + "line": 261 }, "methods": [ { @@ -11049,7 +11049,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 268 + "line": 265 }, "name": "sumFromArray", "parameters": [ @@ -11078,7 +11078,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 279 + "line": 276 }, "name": "sumFromMap", "parameters": [ @@ -11113,7 +11113,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2626 + "line": 2623 }, "methods": [ { @@ -11122,7 +11122,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2627 + "line": 2624 }, "name": "provide", "returns": { @@ -11182,7 +11182,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1280 + "line": 1277 }, "parameters": [ { @@ -11196,7 +11196,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1279 + "line": 1276 }, "methods": [ { @@ -11205,7 +11205,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1288 + "line": 1285 }, "name": "invokeWithOptional" }, @@ -11215,7 +11215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1284 + "line": 1281 }, "name": "invokeWithoutOptional" } @@ -11235,7 +11235,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 310 + "line": 307 }, "parameters": [ { @@ -11262,7 +11262,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 309 + "line": 306 }, "name": "OptionalConstructorArgument", "properties": [ @@ -11273,7 +11273,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 311 + "line": 308 }, "name": "arg1", "type": { @@ -11287,7 +11287,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 312 + "line": 309 }, "name": "arg2", "type": { @@ -11301,7 +11301,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 313 + "line": 310 }, "name": "arg3", "optional": true, @@ -11322,7 +11322,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1932 + "line": 1929 }, "name": "OptionalStruct", "properties": [ @@ -11334,7 +11334,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1933 + "line": 1930 }, "name": "field", "optional": true, @@ -11357,7 +11357,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1927 + "line": 1924 }, "parameters": [ { @@ -11372,7 +11372,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1923 + "line": 1920 }, "name": "OptionalStructConsumer", "properties": [ @@ -11383,7 +11383,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1924 + "line": 1921 }, "name": "parameterWasUndefined", "type": { @@ -11397,7 +11397,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1925 + "line": 1922 }, "name": "fieldValue", "optional": true, @@ -11423,7 +11423,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2200 + "line": 2197 }, "methods": [ { @@ -11432,7 +11432,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2212 + "line": 2209 }, "name": "overrideMe", "protected": true, @@ -11448,7 +11448,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2208 + "line": 2205 }, "name": "switchModes" }, @@ -11458,7 +11458,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2204 + "line": 2201 }, "name": "valueFromProtected", "returns": { @@ -11477,7 +11477,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2201 + "line": 2198 }, "name": "overrideReadOnly", "protected": true, @@ -11491,7 +11491,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2202 + "line": 2199 }, "name": "overrideReadWrite", "protected": true, @@ -11516,7 +11516,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 645 + "line": 642 }, "methods": [ { @@ -11525,7 +11525,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 646 + "line": 643 }, "name": "test", "parameters": [ @@ -11559,7 +11559,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3119 + "line": 3116 }, "parameters": [ { @@ -11594,7 +11594,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3113 + "line": 3110 }, "name": "ParamShadowsBuiltins", "symbolId": "lib/compliance:ParamShadowsBuiltins" @@ -11609,7 +11609,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3131 + "line": 3128 }, "name": "ParamShadowsBuiltinsProps", "properties": [ @@ -11621,7 +11621,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3133 + "line": 3130 }, "name": "booleanProperty", "type": { @@ -11636,7 +11636,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3132 + "line": 3129 }, "name": "stringProperty", "type": { @@ -11651,7 +11651,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3134 + "line": 3131 }, "name": "structProperty", "type": { @@ -11677,7 +11677,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3102 + "line": 3099 }, "methods": [ { @@ -11686,7 +11686,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3104 + "line": 3101 }, "name": "useScope", "parameters": [ @@ -11718,7 +11718,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2578 + "line": 2575 }, "name": "ParentStruct982", "properties": [ @@ -11730,7 +11730,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2579 + "line": 2576 }, "name": "foo", "type": { @@ -11755,7 +11755,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1898 + "line": 1895 }, "methods": [ { @@ -11765,7 +11765,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1899 + "line": 1896 }, "name": "consumePartiallyInitializedThis", "parameters": [ @@ -11812,7 +11812,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 495 + "line": 492 }, "methods": [ { @@ -11821,7 +11821,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 496 + "line": 493 }, "name": "sayHello", "parameters": [ @@ -11951,7 +11951,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3137 + "line": 3134 }, "methods": [ { @@ -11961,7 +11961,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3138 + "line": 3135 }, "name": "promiseIt", "static": true @@ -11973,7 +11973,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3142 + "line": 3139 }, "name": "instancePromiseIt" } @@ -12045,7 +12045,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1616 + "line": 1613 }, "methods": [ { @@ -12054,7 +12054,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1617 + "line": 1614 }, "name": "hello" } @@ -12076,7 +12076,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1013 + "line": 1010 }, "methods": [ { @@ -12085,7 +12085,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1014 + "line": 1011 }, "name": "and" }, @@ -12095,7 +12095,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1018 + "line": 1015 }, "name": "as" }, @@ -12105,7 +12105,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1022 + "line": 1019 }, "name": "assert" }, @@ -12115,7 +12115,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1026 + "line": 1023 }, "name": "async" }, @@ -12125,7 +12125,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1030 + "line": 1027 }, "name": "await" }, @@ -12135,7 +12135,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1034 + "line": 1031 }, "name": "break" }, @@ -12145,7 +12145,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1038 + "line": 1035 }, "name": "class" }, @@ -12155,7 +12155,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1042 + "line": 1039 }, "name": "continue" }, @@ -12165,7 +12165,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1046 + "line": 1043 }, "name": "def" }, @@ -12175,7 +12175,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1050 + "line": 1047 }, "name": "del" }, @@ -12185,7 +12185,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1054 + "line": 1051 }, "name": "elif" }, @@ -12195,7 +12195,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1058 + "line": 1055 }, "name": "else" }, @@ -12205,7 +12205,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1062 + "line": 1059 }, "name": "except" }, @@ -12215,7 +12215,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1066 + "line": 1063 }, "name": "finally" }, @@ -12225,7 +12225,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1070 + "line": 1067 }, "name": "for" }, @@ -12235,7 +12235,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1074 + "line": 1071 }, "name": "from" }, @@ -12245,7 +12245,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1078 + "line": 1075 }, "name": "global" }, @@ -12255,7 +12255,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1082 + "line": 1079 }, "name": "if" }, @@ -12265,7 +12265,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1086 + "line": 1083 }, "name": "import" }, @@ -12275,7 +12275,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1090 + "line": 1087 }, "name": "in" }, @@ -12285,7 +12285,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1094 + "line": 1091 }, "name": "is" }, @@ -12295,7 +12295,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1098 + "line": 1095 }, "name": "lambda" }, @@ -12305,7 +12305,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1102 + "line": 1099 }, "name": "nonlocal" }, @@ -12315,7 +12315,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1106 + "line": 1103 }, "name": "not" }, @@ -12325,7 +12325,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1110 + "line": 1107 }, "name": "or" }, @@ -12335,7 +12335,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1114 + "line": 1111 }, "name": "pass" }, @@ -12345,7 +12345,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1118 + "line": 1115 }, "name": "raise" }, @@ -12355,7 +12355,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1122 + "line": 1119 }, "name": "return" }, @@ -12365,7 +12365,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1126 + "line": 1123 }, "name": "try" }, @@ -12375,7 +12375,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1130 + "line": 1127 }, "name": "while" }, @@ -12385,7 +12385,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1134 + "line": 1131 }, "name": "with" }, @@ -12395,7 +12395,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1138 + "line": 1135 }, "name": "yield" } @@ -12415,7 +12415,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1148 + "line": 1145 }, "parameters": [ { @@ -12429,7 +12429,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1147 + "line": 1144 }, "methods": [ { @@ -12438,7 +12438,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1150 + "line": 1147 }, "name": "method", "parameters": [ @@ -12466,7 +12466,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1148 + "line": 1145 }, "name": "self", "type": { @@ -12488,7 +12488,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1156 + "line": 1153 }, "parameters": [ { @@ -12502,7 +12502,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1155 + "line": 1152 }, "name": "ClassWithSelfKwarg", "namespace": "PythonSelf", @@ -12514,7 +12514,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1156 + "line": 1153 }, "name": "props", "type": { @@ -12533,7 +12533,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1163 + "line": 1160 }, "methods": [ { @@ -12543,7 +12543,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1164 + "line": 1161 }, "name": "method", "parameters": [ @@ -12575,7 +12575,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1159 + "line": 1156 }, "name": "StructWithSelf", "namespace": "PythonSelf", @@ -12588,7 +12588,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1160 + "line": 1157 }, "name": "self", "type": { @@ -12613,7 +12613,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1239 + "line": 1236 }, "methods": [ { @@ -12622,7 +12622,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1242 + "line": 1239 }, "name": "loadFoo", "returns": { @@ -12638,7 +12638,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1246 + "line": 1243 }, "name": "saveFoo", "parameters": [ @@ -12659,7 +12659,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1240 + "line": 1237 }, "name": "foo", "optional": true, @@ -12687,7 +12687,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1566 + "line": 1563 }, "name": "ReturnsPrivateImplementationOfInterface", "properties": [ @@ -12698,7 +12698,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1567 + "line": 1564 }, "name": "privateImplementation", "type": { @@ -12720,7 +12720,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2522 + "line": 2519 }, "name": "RootStruct", "properties": [ @@ -12733,7 +12733,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2526 + "line": 2523 }, "name": "stringProp", "type": { @@ -12748,7 +12748,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2527 + "line": 2524 }, "name": "nestedStruct", "optional": true, @@ -12768,7 +12768,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2535 + "line": 2532 }, "methods": [ { @@ -12777,7 +12777,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2536 + "line": 2533 }, "name": "validate", "parameters": [ @@ -12808,7 +12808,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 288 + "line": 285 }, "methods": [ { @@ -12817,7 +12817,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 296 + "line": 293 }, "name": "methodWithDefaultedArguments", "parameters": [ @@ -12850,7 +12850,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 304 + "line": 301 }, "name": "methodWithOptionalAnyArgument", "parameters": [ @@ -12870,7 +12870,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 292 + "line": 289 }, "name": "methodWithOptionalArguments", "parameters": [ @@ -12909,7 +12909,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2079 + "line": 2076 }, "name": "SecondLevelStruct", "properties": [ @@ -12922,7 +12922,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2083 + "line": 2080 }, "name": "deeperRequiredProp", "type": { @@ -12938,7 +12938,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2088 + "line": 2085 }, "name": "deeperOptionalProp", "optional": true, @@ -12965,7 +12965,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1687 + "line": 1684 }, "methods": [ { @@ -12974,7 +12974,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1690 + "line": 1687 }, "name": "interface1", "returns": { @@ -12989,7 +12989,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1694 + "line": 1691 }, "name": "interface2", "returns": { @@ -13013,7 +13013,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2031 + "line": 2028 }, "methods": [ { @@ -13022,7 +13022,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2033 + "line": 2030 }, "name": "isSingletonInt", "parameters": [ @@ -13053,7 +13053,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2038 + "line": 2035 }, "members": [ { @@ -13078,7 +13078,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2014 + "line": 2011 }, "methods": [ { @@ -13087,7 +13087,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2017 + "line": 2014 }, "name": "isSingletonString", "parameters": [ @@ -13118,7 +13118,7 @@ "kind": "enum", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2022 + "line": 2019 }, "members": [ { @@ -13193,7 +13193,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2559 + "line": 2556 }, "methods": [ { @@ -13202,7 +13202,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2568 + "line": 2565 }, "name": "returnAnonymous", "returns": { @@ -13218,7 +13218,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2560 + "line": 2557 }, "name": "returnReturn", "returns": { @@ -13383,7 +13383,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1957 + "line": 1954 }, "methods": [ { @@ -13392,7 +13392,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1960 + "line": 1957 }, "name": "canAccessStaticContext", "returns": { @@ -13411,7 +13411,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1968 + "line": 1965 }, "name": "staticVariable", "static": true, @@ -13432,7 +13432,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2940 + "line": 2937 }, "methods": [ { @@ -13441,7 +13441,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2945 + "line": 2942 }, "name": "method", "overrides": "jsii-calc.StaticHelloParent", @@ -13457,7 +13457,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2941 + "line": 2938 }, "name": "property", "overrides": "jsii-calc.StaticHelloParent", @@ -13485,7 +13485,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2931 + "line": 2928 }, "methods": [ { @@ -13494,7 +13494,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2936 + "line": 2933 }, "name": "method", "static": true @@ -13509,7 +13509,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2932 + "line": 2929 }, "name": "property", "static": true, @@ -13532,7 +13532,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 690 + "line": 687 }, "parameters": [ { @@ -13546,7 +13546,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 689 + "line": 686 }, "methods": [ { @@ -13556,7 +13556,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 696 + "line": 693 }, "name": "staticMethod", "parameters": [ @@ -13583,7 +13583,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 700 + "line": 697 }, "name": "justMethod", "returns": { @@ -13604,7 +13604,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 712 + "line": 709 }, "name": "BAR", "static": true, @@ -13620,7 +13620,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 741 + "line": 738 }, "name": "ConstObj", "static": true, @@ -13637,7 +13637,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 707 + "line": 704 }, "name": "Foo", "static": true, @@ -13654,7 +13654,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 717 + "line": 714 }, "name": "zooBar", "static": true, @@ -13675,7 +13675,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 726 + "line": 723 }, "name": "instance", "static": true, @@ -13689,7 +13689,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 740 + "line": 737 }, "name": "nonConstStatic", "static": true, @@ -13704,7 +13704,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 690 + "line": 687 }, "name": "value", "type": { @@ -13762,7 +13762,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1740 + "line": 1737 }, "name": "StripInternal", "properties": [ @@ -13772,7 +13772,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1741 + "line": 1738 }, "name": "youSeeMe", "type": { @@ -13793,7 +13793,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2306 + "line": 2303 }, "name": "StructA", "properties": [ @@ -13805,7 +13805,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2307 + "line": 2304 }, "name": "requiredString", "type": { @@ -13820,7 +13820,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2309 + "line": 2306 }, "name": "optionalNumber", "optional": true, @@ -13836,7 +13836,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2308 + "line": 2305 }, "name": "optionalString", "optional": true, @@ -13858,7 +13858,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2315 + "line": 2312 }, "name": "StructB", "properties": [ @@ -13870,7 +13870,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2316 + "line": 2313 }, "name": "requiredString", "type": { @@ -13885,7 +13885,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2317 + "line": 2314 }, "name": "optionalBoolean", "optional": true, @@ -13901,7 +13901,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2318 + "line": 2315 }, "name": "optionalStructA", "optional": true, @@ -13924,7 +13924,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2758 + "line": 2755 }, "name": "StructParameterType", "properties": [ @@ -13936,7 +13936,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2759 + "line": 2756 }, "name": "scope", "type": { @@ -13951,7 +13951,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2760 + "line": 2757 }, "name": "props", "optional": true, @@ -13977,7 +13977,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2137 + "line": 2134 }, "methods": [ { @@ -13986,7 +13986,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2149 + "line": 2146 }, "name": "howManyVarArgsDidIPass", "parameters": [ @@ -14018,7 +14018,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2138 + "line": 2135 }, "name": "roundTrip", "parameters": [ @@ -14055,7 +14055,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2320 + "line": 2317 }, "methods": [ { @@ -14064,7 +14064,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2321 + "line": 2318 }, "name": "isStructA", "parameters": [ @@ -14097,7 +14097,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2342 + "line": 2339 }, "name": "isStructB", "parameters": [ @@ -14130,7 +14130,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2363 + "line": 2360 }, "name": "provideStruct", "parameters": [ @@ -14171,7 +14171,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3076 + "line": 3073 }, "name": "StructWithCollectionOfUnionts", "properties": [ @@ -14183,7 +14183,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3077 + "line": 3074 }, "name": "unionProperty", "type": { @@ -14222,7 +14222,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2957 + "line": 2954 }, "name": "StructWithEnum", "properties": [ @@ -14235,7 +14235,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2961 + "line": 2958 }, "name": "foo", "type": { @@ -14252,7 +14252,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2967 + "line": 2964 }, "name": "bar", "optional": true, @@ -14273,7 +14273,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2111 + "line": 2108 }, "name": "StructWithJavaReservedWords", "properties": [ @@ -14285,7 +14285,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2112 + "line": 2109 }, "name": "default", "type": { @@ -14300,7 +14300,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2113 + "line": 2110 }, "name": "assert", "optional": true, @@ -14316,7 +14316,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2116 + "line": 2113 }, "name": "result", "optional": true, @@ -14332,7 +14332,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2117 + "line": 2114 }, "name": "that", "optional": true, @@ -14419,7 +14419,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2246 + "line": 2243 }, "parameters": [ { @@ -14467,7 +14467,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2236 + "line": 2233 }, "name": "SupportsNiceJavaBuilder", "properties": [ @@ -14479,7 +14479,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2247 + "line": 2244 }, "name": "id", "overrides": "jsii-calc.SupportsNiceJavaBuilderWithRequiredProps", @@ -14494,7 +14494,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2237 + "line": 2234 }, "name": "rest", "type": { @@ -14519,7 +14519,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2256 + "line": 2253 }, "name": "SupportsNiceJavaBuilderProps", "properties": [ @@ -14532,7 +14532,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2266 + "line": 2263 }, "name": "bar", "type": { @@ -14549,7 +14549,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2261 + "line": 2258 }, "name": "id", "optional": true, @@ -14573,7 +14573,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2228 + "line": 2225 }, "parameters": [ { @@ -14599,7 +14599,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2220 + "line": 2217 }, "name": "SupportsNiceJavaBuilderWithRequiredProps", "properties": [ @@ -14610,7 +14610,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2222 + "line": 2219 }, "name": "bar", "type": { @@ -14625,7 +14625,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2229 + "line": 2226 }, "name": "id", "type": { @@ -14639,7 +14639,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2221 + "line": 2218 }, "name": "propId", "optional": true, @@ -14664,7 +14664,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 376 + "line": 373 }, "methods": [ { @@ -14674,7 +14674,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 389 + "line": 386 }, "name": "callerIsAsync", "returns": { @@ -14689,7 +14689,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 377 + "line": 374 }, "name": "callerIsMethod", "returns": { @@ -14704,7 +14704,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 429 + "line": 426 }, "name": "modifyOtherProperty", "parameters": [ @@ -14722,7 +14722,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 401 + "line": 398 }, "name": "modifyValueOfTheProperty", "parameters": [ @@ -14740,7 +14740,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 442 + "line": 439 }, "name": "readA", "returns": { @@ -14755,7 +14755,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 433 + "line": 430 }, "name": "retrieveOtherProperty", "returns": { @@ -14770,7 +14770,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 413 + "line": 410 }, "name": "retrieveReadOnlyProperty", "returns": { @@ -14785,7 +14785,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 405 + "line": 402 }, "name": "retrieveValueOfTheProperty", "returns": { @@ -14800,7 +14800,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 393 + "line": 390 }, "name": "virtualMethod", "parameters": [ @@ -14823,7 +14823,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 446 + "line": 443 }, "name": "writeA", "parameters": [ @@ -14845,7 +14845,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 411 + "line": 408 }, "name": "readonlyProperty", "type": { @@ -14858,7 +14858,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 440 + "line": 437 }, "name": "a", "type": { @@ -14871,7 +14871,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 381 + "line": 378 }, "name": "callerIsProperty", "type": { @@ -14884,7 +14884,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 419 + "line": 416 }, "name": "otherProperty", "type": { @@ -14897,7 +14897,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 399 + "line": 396 }, "name": "theProperty", "type": { @@ -14910,7 +14910,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 427 + "line": 424 }, "name": "valueOfOtherProperty", "type": { @@ -14934,7 +14934,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2970 + "line": 2967 }, "methods": [ { @@ -14944,7 +14944,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2974 + "line": 2971 }, "name": "isStringEnumA", "parameters": [ @@ -14968,7 +14968,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2981 + "line": 2978 }, "name": "isStringEnumB", "parameters": [ @@ -14996,7 +14996,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3000 + "line": 2997 }, "name": "structWithFoo", "type": { @@ -15011,7 +15011,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2990 + "line": 2987 }, "name": "structWithFooBar", "type": { @@ -15035,7 +15035,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 651 + "line": 648 }, "methods": [ { @@ -15044,7 +15044,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 652 + "line": 649 }, "name": "throwError" } @@ -15062,7 +15062,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2062 + "line": 2059 }, "name": "TopLevelStruct", "properties": [ @@ -15075,7 +15075,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2066 + "line": 2063 }, "name": "required", "type": { @@ -15091,7 +15091,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2076 + "line": 2073 }, "name": "secondLevel", "type": { @@ -15116,7 +15116,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2071 + "line": 2068 }, "name": "optional", "optional": true, @@ -15143,7 +15143,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3043 + "line": 3040 }, "methods": [ { @@ -15152,7 +15152,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3044 + "line": 3041 }, "name": "toIsoString", "returns": { @@ -15168,7 +15168,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3058 + "line": 3055 }, "name": "toIsOString", "returns": { @@ -15184,7 +15184,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3051 + "line": 3048 }, "name": "toISOString", "returns": { @@ -15203,7 +15203,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3062 + "line": 3059 }, "name": "fooBar", "type": { @@ -15218,7 +15218,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3067 + "line": 3064 }, "name": "fooBAR", "type": { @@ -15239,7 +15239,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2832 + "line": 2829 }, "methods": [ { @@ -15249,7 +15249,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2836 + "line": 2833 }, "name": "mode", "returns": { @@ -15323,7 +15323,7 @@ "kind": "interface", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1168 + "line": 1165 }, "name": "UnionProperties", "properties": [ @@ -15335,7 +15335,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1170 + "line": 1167 }, "name": "bar", "type": { @@ -15362,7 +15362,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1169 + "line": 1166 }, "name": "foo", "optional": true, @@ -15474,7 +15474,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1173 + "line": 1170 }, "methods": [ { @@ -15483,7 +15483,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1174 + "line": 1171 }, "name": "value", "returns": { @@ -15511,7 +15511,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1224 + "line": 1221 }, "methods": [ { @@ -15520,7 +15520,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1225 + "line": 1222 }, "name": "hello", "returns": { @@ -15545,7 +15545,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 597 + "line": 594 }, "parameters": [ { @@ -15559,7 +15559,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 596 + "line": 593 }, "methods": [ { @@ -15568,7 +15568,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 599 + "line": 596 }, "name": "justRead", "returns": { @@ -15583,7 +15583,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 608 + "line": 605 }, "name": "readStringAndNumber", "parameters": [ @@ -15606,7 +15606,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 603 + "line": 600 }, "name": "writeAndRead", "parameters": [ @@ -15633,7 +15633,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 597 + "line": 594 }, "name": "obj", "type": { @@ -15655,7 +15655,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 681 + "line": 678 }, "parameters": [ { @@ -15669,7 +15669,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 680 + "line": 677 }, "methods": [ { @@ -15678,7 +15678,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 683 + "line": 680 }, "name": "asArray", "parameters": [ @@ -15718,7 +15718,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 667 + "line": 664 }, "parameters": [ { @@ -15737,7 +15737,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 661 + "line": 658 }, "methods": [ { @@ -15746,7 +15746,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 675 + "line": 672 }, "name": "asArray", "parameters": [ @@ -15798,7 +15798,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3091 + "line": 3088 }, "parameters": [ { @@ -15823,7 +15823,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 3088 + "line": 3085 }, "name": "VariadicTypeUnion", "properties": [ @@ -15833,7 +15833,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 3089 + "line": 3086 }, "name": "union", "type": { @@ -15871,7 +15871,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 451 + "line": 448 }, "methods": [ { @@ -15881,7 +15881,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 476 + "line": 473 }, "name": "overrideMeAsync", "parameters": [ @@ -15904,7 +15904,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 480 + "line": 477 }, "name": "overrideMeSync", "parameters": [ @@ -15928,7 +15928,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 458 + "line": 455 }, "name": "parallelSumAsync", "parameters": [ @@ -15952,7 +15952,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 452 + "line": 449 }, "name": "serialSumAsync", "parameters": [ @@ -15975,7 +15975,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 468 + "line": 465 }, "name": "sumSync", "parameters": [ @@ -16013,7 +16013,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 1986 + "line": 1983 }, "methods": [ { @@ -16022,7 +16022,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1991 + "line": 1988 }, "name": "callMe" }, @@ -16033,7 +16033,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1995 + "line": 1992 }, "name": "overrideMe", "protected": true @@ -16048,7 +16048,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 1988 + "line": 1985 }, "name": "methodWasCalled", "type": { @@ -16110,7 +16110,7 @@ }, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2002 + "line": 1999 }, "parameters": [ { @@ -16125,7 +16125,7 @@ "kind": "class", "locationInModule": { "filename": "lib/compliance.ts", - "line": 2001 + "line": 1998 }, "name": "WithPrivatePropertyInConstructor", "properties": [ @@ -16136,7 +16136,7 @@ "immutable": true, "locationInModule": { "filename": "lib/compliance.ts", - "line": 2004 + "line": 2001 }, "name": "success", "type": { @@ -18996,5 +18996,5 @@ } }, "version": "3.20.120", - "fingerprint": "qoT4xo5rhn5qx9EIbP7DMeSFV9/lr8qwScm8SvGRZE4=" + "fingerprint": "Tbe6+6vLQiTm9ZceectYvoBnNrg2huqrrkYGs7T2K4Q=" } \ No newline at end of file diff --git a/packages/jsii-config/lib/util.ts b/packages/jsii-config/lib/util.ts index d41e262a20..071a06108d 100644 --- a/packages/jsii-config/lib/util.ts +++ b/packages/jsii-config/lib/util.ts @@ -9,7 +9,7 @@ export function getNestedValue( ): any { try { return keys.reduce((val: any, key: string) => val[key], current); - } catch (_err) { + } catch { return undefined; } } diff --git a/packages/jsii-pacmak/lib/builder.ts b/packages/jsii-pacmak/lib/builder.ts index 5ed65e40b6..536a697dfb 100644 --- a/packages/jsii-pacmak/lib/builder.ts +++ b/packages/jsii-pacmak/lib/builder.ts @@ -121,6 +121,7 @@ export class IndependentPackageBuilder implements TargetBuilder { return await target.build(src.directory, outputDir); } catch (err) { logging.warn(`Failed building ${this.targetName}`); + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return await Promise.reject(err); } finally { if (options.clean) { diff --git a/packages/jsii-pacmak/lib/index.ts b/packages/jsii-pacmak/lib/index.ts index e29fceea4f..c0baf8b117 100644 --- a/packages/jsii-pacmak/lib/index.ts +++ b/packages/jsii-pacmak/lib/index.ts @@ -136,6 +136,7 @@ export async function pacmak({ () => logging.info(`${targetSet.targetType} finished`), (err) => { logging.warn(`${targetSet.targetType} failed`); + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return Promise.reject(err); }, ); @@ -386,6 +387,7 @@ function mapParallelOrSerial( : // Wait for the previous promise, then make the next one result[result.length - 1].then( () => mapper(item), + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors (error) => Promise.reject(error), ), ); diff --git a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts index e0d1a5339d..a5bc34f76c 100644 --- a/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts +++ b/packages/jsii-pacmak/lib/targets/dotnet/dotnetgenerator.ts @@ -1377,6 +1377,7 @@ async function tryDownloadResource( try { fs.mkdirpSync(path.join(into, 'resources')); } catch (err) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return ko(err); } try { @@ -1402,6 +1403,7 @@ async function tryDownloadResource( try { offset += fs.writeSync(fd, buff, offset); } catch (err) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return ko(err); } } @@ -1411,10 +1413,12 @@ async function tryDownloadResource( fs.closeSync(fd); ok(filePath); } catch (err) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors ko(err); } }); } catch (err) { + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return ko(err); } break; diff --git a/packages/jsii-pacmak/lib/targets/go.ts b/packages/jsii-pacmak/lib/targets/go.ts index 66b7e53964..913231a475 100644 --- a/packages/jsii-pacmak/lib/targets/go.ts +++ b/packages/jsii-pacmak/lib/targets/go.ts @@ -52,6 +52,7 @@ export class Golang extends Target { logging.info( `[${pkgDir}] Content of ${localGoMod.path} file:\n${localGoMod.content}`, ); + // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors return Promise.reject(e); } diff --git a/packages/jsii-pacmak/lib/targets/python.ts b/packages/jsii-pacmak/lib/targets/python.ts index 4b6ae6ee51..938f0aea2b 100644 --- a/packages/jsii-pacmak/lib/targets/python.ts +++ b/packages/jsii-pacmak/lib/targets/python.ts @@ -1728,7 +1728,44 @@ class PythonModule implements PythonType { code.line('import publication'); code.line('import typing_extensions'); code.line(); - code.line('from typeguard import check_type'); + + code.line('import typeguard'); + code.line('from importlib.metadata import version as _metadata_package_version'); + code.line( + "TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0])", + ); + code.line(); + + code.openBlock( + 'def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any', + ); + code.openBlock('if TYPEGUARD_MAJOR_VERSION <= 2'); + code.line( + 'return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore', + ); + code.closeBlock(); + code.openBlock('else'); + code.line( + 'if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue]', + ); + code.line(' pass'); + code.openBlock('else'); + code.openBlock('if TYPEGUARD_MAJOR_VERSION == 3'); + code.line( + 'typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore', + ); + code.line( + 'typeguard.check_type(value=value, expected_type=expected_type) # type:ignore', + ); + code.closeBlock(); + code.openBlock('else'); + code.line( + 'typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore', + ); + code.closeBlock(); + code.closeBlock(); + code.closeBlock(); + code.closeBlock(); // Determine if we need to write out the kernel load line. if (this.loadAssembly) { @@ -2129,7 +2166,7 @@ class Package { install_requires: [ `jsii${toPythonVersionRange(`^${VERSION}`)}`, 'publication>=0.0.3', - 'typeguard~=2.13.3', + 'typeguard>=2.13.3,<5.0.0', ] .concat(dependencies) .sort(), diff --git a/packages/jsii-pacmak/lib/targets/python/type-name.ts b/packages/jsii-pacmak/lib/targets/python/type-name.ts index 80576a0167..4e016a3179 100644 --- a/packages/jsii-pacmak/lib/targets/python/type-name.ts +++ b/packages/jsii-pacmak/lib/targets/python/type-name.ts @@ -443,10 +443,10 @@ function getPackageName(fqn: string, rootAssm: Assembly) { const config = assemblyName === rootAssm.name ? rootAssm - : rootAssm.dependencyClosure?.[assemblyName] ?? + : (rootAssm.dependencyClosure?.[assemblyName] ?? die( `Unable to find configuration for assembly "${assemblyName}" in dependency closure`, - ); + )); const rootPkg = config.targets?.python?.module ?? die(`No Python target was configured in assembly "${assemblyName}"`); diff --git a/packages/jsii-pacmak/package.json b/packages/jsii-pacmak/package.json index 52cf92ba3d..cf34187104 100644 --- a/packages/jsii-pacmak/package.json +++ b/packages/jsii-pacmak/package.json @@ -65,10 +65,10 @@ "jsii-build-tools": "^0.0.0", "jsii-calc": "^3.20.120", "jsii-rosetta": "^0.0.0", - "pyright": "^1.1.374" + "pyright": "^1.1.377" }, "peerDependencies": { - "jsii-rosetta": "^0.0.0 || ~5.2.0 || ~5.3.0 || ~5.4.0" + "jsii-rosetta": "^0.0.0 || ~5.2.0 || ~5.3.0 || ~5.4.0 || ~5.5.0" }, "keywords": [ "jsii", diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap index 1c11853501..e336eb85d5 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/examples.test.js.snap @@ -1270,7 +1270,7 @@ kwargs = json.loads( "install_requires": [ "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -1311,7 +1311,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -1528,7 +1543,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore __jsii_assembly__ = jsii.JSIIAssembly.load( "testpkg", "0.0.1", __name__[0:-6], "testpkg@0.0.1.jsii.tgz" @@ -2697,7 +2727,7 @@ kwargs = json.loads( "install_requires": [ "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -2738,7 +2768,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -2865,7 +2910,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore __jsii_assembly__ = jsii.JSIIAssembly.load( "testpkg", "0.0.1", __name__[0:-6], "testpkg@0.0.1.jsii.tgz" diff --git a/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap b/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap index ec525eb43e..28b1cecf14 100644 --- a/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap +++ b/packages/jsii-pacmak/test/generated-code/__snapshots__/prerelease-identifiers.test.js.snap @@ -459,7 +459,7 @@ kwargs = json.loads( "bar>=2.0.0.rc42, <3.0.0", "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -499,7 +499,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore import bar._jsii @@ -976,7 +991,7 @@ kwargs = json.loads( "bar>=4.5.6.dev1337, <5.0.0", "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -1016,7 +1031,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore import bar._jsii @@ -1472,7 +1502,7 @@ kwargs = json.loads( "install_requires": [ "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -1512,7 +1542,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore __jsii_assembly__ = jsii.JSIIAssembly.load( "foo", "2.0.0-rc.42", __name__[0:-6], "foo@2.0.0-rc.42.jsii.tgz" @@ -1966,7 +2011,7 @@ kwargs = json.loads( "install_requires": [ "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -2006,7 +2051,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore __jsii_assembly__ = jsii.JSIIAssembly.load( "foo", "4.5.6-pre.1337", __name__[0:-6], "foo@4.5.6-pre.1337.jsii.tgz" 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 986afb3ebb..f678c870ee 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 @@ -294,7 +294,7 @@ kwargs = json.loads( "jsii<0.0.1", "publication>=0.0.3", "scope.jsii-calc-base-of-base>=2.1.1, <3.0.0", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -335,7 +335,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -474,7 +489,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore import scope.jsii_calc_base_of_base._jsii @@ -509,7 +539,7 @@ exports[`Generated code for "@scope/jsii-calc-base": / exports[`Generated code for "@scope/jsii-calc-base": /python/src/scope/jsii_calc_base/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_base/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_base/__init__.py --runtime-type-checking -@@ -53,10 +53,14 @@ +@@ -68,10 +68,14 @@ ) -> None: ''' :param foo: - @@ -524,7 +554,7 @@ exports[`Generated code for "@scope/jsii-calc-base": /p "bar": bar, } -@@ -120,10 +124,13 @@ +@@ -135,10 +139,13 @@ @builtins.classmethod def consume(cls, *args: typing.Any) -> None: ''' @@ -538,7 +568,7 @@ exports[`Generated code for "@scope/jsii-calc-base": /p __all__ = [ "Base", -@@ -131,5 +138,19 @@ +@@ -146,5 +153,19 @@ "IBaseInterface", "StaticConsumer", ] @@ -853,7 +883,7 @@ kwargs = json.loads( "install_requires": [ "jsii<0.0.1", "publication>=0.0.3", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -894,7 +924,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -1004,7 +1049,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore __jsii_assembly__ = jsii.JSIIAssembly.load( "@scope/jsii-calc-base-of-base", @@ -1040,7 +1100,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": /python/src/scope/jsii_calc_base_of_base/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_base_of_base/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_base_of_base/__init__.py --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -57,10 +57,13 @@ @builtins.classmethod def consume(cls, *_args: typing.Any) -> None: ''' @@ -1054,7 +1114,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": None: ''' @@ -1068,7 +1128,7 @@ exports[`Generated code for "@scope/jsii-calc-base-of-base": =0.0.3", "scope.jsii-calc-base-of-base>=2.1.1, <3.0.0", "scope.jsii-calc-base<0.0.1", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -1432,7 +1492,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -2052,7 +2127,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore import scope.jsii_calc_base._jsii import scope.jsii_calc_base_of_base._jsii @@ -2090,7 +2180,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -2301,7 +2406,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -2407,7 +2527,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": / 1 exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_lib/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_lib/__init__.py --runtime-type-checking -@@ -37,19 +37,25 @@ +@@ -52,19 +52,25 @@ ''' :param very: - @@ -2433,7 +2553,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @jsii.data_type( jsii_type="@scope/jsii-calc-lib.DiamondLeft", -@@ -67,10 +73,14 @@ +@@ -82,10 +88,14 @@ :param hoisted_top: :param left: @@ -2448,7 +2568,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["hoisted_top"] = hoisted_top if left is not None: self._values["left"] = left -@@ -119,10 +129,14 @@ +@@ -134,10 +144,14 @@ :param hoisted_top: :param right: @@ -2463,7 +2583,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["hoisted_top"] = hoisted_top if right is not None: self._values["right"] = right -@@ -194,10 +208,13 @@ +@@ -209,10 +223,13 @@ ''' :param _: - @@ -2477,7 +2597,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @jsii.interface(jsii_type="@scope/jsii-calc-lib.IDoublable") class IDoublable(typing_extensions.Protocol): -@@ -345,10 +362,15 @@ +@@ -360,10 +377,15 @@ :param astring: (deprecated) A string value. :param first_optional: @@ -2493,7 +2613,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py "astring": astring, } if first_optional is not None: -@@ -505,10 +527,15 @@ +@@ -520,10 +542,15 @@ :param optional2: :param optional3: @@ -2509,7 +2629,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py self._values["optional1"] = optional1 if optional2 is not None: self._values["optional2"] = optional2 -@@ -568,10 +595,13 @@ +@@ -583,10 +610,13 @@ :param value: The number. @@ -2523,7 +2643,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py @builtins.property @jsii.member(jsii_name="doubleValue") def double_value(self) -> jsii.Number: -@@ -612,5 +642,63 @@ +@@ -627,5 +657,63 @@ publication.publish() # Loading modules to ensure their types are registered with the jsii runtime library @@ -2592,7 +2712,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py exports[`Generated code for "@scope/jsii-calc-lib": /python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py.diff 1`] = ` --- python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py --no-runtime-type-checking +++ python/src/scope/jsii_calc_lib/custom_submodule_name/__init__.py --runtime-type-checking -@@ -100,10 +100,13 @@ +@@ -115,10 +115,13 @@ :param name: @@ -2606,7 +2726,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py } @builtins.property -@@ -138,10 +141,14 @@ +@@ -153,10 +156,14 @@ :param key: :param value: @@ -2621,7 +2741,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py "value": value, } -@@ -197,10 +204,13 @@ +@@ -212,10 +219,13 @@ ''' :param reflectable: - @@ -2635,7 +2755,7 @@ exports[`Generated code for "@scope/jsii-calc-lib": /py __all__ = [ "IReflectable", -@@ -208,5 +218,26 @@ +@@ -223,5 +233,26 @@ "ReflectableEntry", "Reflector", ] @@ -3099,7 +3219,7 @@ kwargs = json.loads( "publication>=0.0.3", "scope.jsii-calc-base<0.0.1", "scope.jsii-calc-lib<0.0.1", - "typeguard~=2.13.3" + "typeguard>=2.13.3,<5.0.0" ], "classifiers": [ "Intended Audience :: Developers", @@ -3170,7 +3290,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ._jsii import * @@ -11765,7 +11900,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore import scope.jsii_calc_base._jsii import scope.jsii_calc_lib._jsii @@ -11817,7 +11967,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -11908,7 +12073,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -11976,7 +12156,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -12034,7 +12229,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12105,7 +12315,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12224,7 +12449,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12284,7 +12524,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12315,7 +12570,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -12433,7 +12703,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -12551,7 +12836,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12628,7 +12928,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12687,7 +13002,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12810,7 +13140,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12865,7 +13210,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12907,7 +13267,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -12966,7 +13341,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13001,7 +13391,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13059,7 +13464,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13106,7 +13526,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13151,7 +13586,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13228,7 +13678,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13259,7 +13724,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13318,7 +13798,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13434,7 +13929,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13516,7 +14026,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13752,7 +14277,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13783,7 +14323,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13822,7 +14377,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -13861,7 +14431,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -13905,7 +14490,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -14037,7 +14637,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -14173,7 +14788,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14234,7 +14864,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14434,7 +15079,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14485,7 +15145,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14546,7 +15221,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ...._jsii import * @@ -14595,7 +15285,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14654,7 +15359,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from ..._jsii import * @@ -14695,7 +15415,22 @@ import jsii import publication import typing_extensions -from typeguard import check_type +import typeguard +from importlib.metadata import version as _metadata_package_version +TYPEGUARD_MAJOR_VERSION = int(_metadata_package_version('typeguard').split('.')[0]) + +def check_type(argname: str, value: object, expected_type: typing.Any) -> typing.Any: + if TYPEGUARD_MAJOR_VERSION <= 2: + return typeguard.check_type(argname=argname, value=value, expected_type=expected_type) # type:ignore + else: + if isinstance(value, jsii._reference_map.InterfaceDynamicProxy): # pyright: ignore [reportAttributeAccessIssue] + pass + else: + if TYPEGUARD_MAJOR_VERSION == 3: + typeguard.config.collection_check_strategy = typeguard.CollectionCheckStrategy.ALL_ITEMS # type:ignore + typeguard.check_type(value=value, expected_type=expected_type) # type:ignore + else: + typeguard.check_type(value=value, expected_type=expected_type, collection_check_strategy=typeguard.CollectionCheckStrategy.ALL_ITEMS) # type:ignore from .._jsii import * @@ -14810,7 +15545,7 @@ exports[`Generated code for "jsii-calc": / 1`] = ` exports[`Generated code for "jsii-calc": /python/src/jsii_calc/__init__.py.diff 1`] = ` --- python/src/jsii_calc/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/__init__.py --runtime-type-checking -@@ -114,10 +114,13 @@ +@@ -129,10 +129,13 @@ def work_it_all(self, seed: builtins.str) -> builtins.str: '''Sets \`\`seed\`\` to \`\`this.property\`\`, then calls \`\`someMethod\`\` with \`\`this.property\`\` and returns the result. @@ -14824,7 +15559,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="property") @abc.abstractmethod -@@ -134,19 +137,25 @@ +@@ -149,19 +152,25 @@ @jsii.member(jsii_name="someMethod") def _some_method(self, str: builtins.str) -> builtins.str: ''' @@ -14850,7 +15585,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, AbstractSuite).__jsii_proxy_class__ = lambda : _AbstractSuiteProxy -@@ -164,10 +173,13 @@ +@@ -179,10 +188,13 @@ @jsii.member(jsii_name="anyIn") def any_in(self, inp: typing.Any) -> None: ''' @@ -14864,7 +15599,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="anyOut") def any_out(self) -> typing.Any: return typing.cast(typing.Any, jsii.invoke(self, "anyOut", [])) -@@ -175,10 +187,13 @@ +@@ -190,10 +202,13 @@ @jsii.member(jsii_name="enumMethod") def enum_method(self, value: "StringEnum") -> "StringEnum": ''' @@ -14878,7 +15613,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="enumPropertyValue") def enum_property_value(self) -> jsii.Number: -@@ -189,73 +204,97 @@ +@@ -204,73 +219,97 @@ def any_array_property(self) -> typing.List[typing.Any]: return typing.cast(typing.List[typing.Any], jsii.get(self, "anyArrayProperty")) @@ -14976,7 +15711,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="mapProperty") def map_property( -@@ -266,28 +305,37 @@ +@@ -281,28 +320,37 @@ @map_property.setter def map_property( self, @@ -15014,7 +15749,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionArrayProperty") def union_array_property( -@@ -298,10 +346,13 @@ +@@ -313,10 +361,13 @@ @union_array_property.setter def union_array_property( self, @@ -15028,7 +15763,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionMapProperty") def union_map_property( -@@ -312,10 +363,13 @@ +@@ -327,10 +378,13 @@ @union_map_property.setter def union_map_property( self, @@ -15042,7 +15777,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -326,19 +380,25 @@ +@@ -341,19 +395,25 @@ @union_property.setter def union_property( self, @@ -15068,7 +15803,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unknownMapProperty") def unknown_map_property(self) -> typing.Mapping[builtins.str, typing.Any]: -@@ -347,28 +407,37 @@ +@@ -362,28 +422,37 @@ @unknown_map_property.setter def unknown_map_property( self, @@ -15106,7 +15841,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.AllTypesEnum") class AllTypesEnum(enum.Enum): -@@ -388,36 +457,52 @@ +@@ -403,36 +472,52 @@ def get_bar(self, _p1: builtins.str, _p2: jsii.Number) -> None: ''' :param _p1: - @@ -15159,7 +15894,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class AmbiguousParameters( metaclass=jsii.JSIIMeta, -@@ -433,10 +518,13 @@ +@@ -448,10 +533,13 @@ ''' :param scope_: - :param scope: @@ -15173,7 +15908,7 @@ exports[`Generated code for "jsii-calc": /python/src/js jsii.create(self.__class__, self, [scope_, props_]) @builtins.property -@@ -468,10 +556,16 @@ +@@ -483,10 +571,16 @@ :param obj: the receiver object. :param prop_a: the first property to read. :param prop_b: the second property to read. @@ -15190,7 +15925,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class AsyncVirtualMethods( metaclass=jsii.JSIIMeta, -@@ -506,10 +600,13 @@ +@@ -521,10 +615,13 @@ @jsii.member(jsii_name="overrideMe") def override_me(self, mult: jsii.Number) -> jsii.Number: ''' @@ -15204,7 +15939,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="overrideMeToo") def override_me_too(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.ainvoke(self, "overrideMeToo", [])) -@@ -570,10 +667,14 @@ +@@ -585,10 +682,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -15219,7 +15954,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="hello") def hello(self) -> builtins.str: '''Say hello!''' -@@ -634,10 +735,13 @@ +@@ -649,10 +750,13 @@ :param value: the value that should be returned. @@ -15233,7 +15968,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, BurriedAnonymousObject).__jsii_proxy_class__ = lambda : _BurriedAnonymousObjectProxy -@@ -687,18 +791,24 @@ +@@ -702,18 +806,24 @@ def add(self, value: jsii.Number) -> None: '''Adds a number to the current value. @@ -15258,7 +15993,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="neg") def neg(self) -> None: '''Negates the current value.''' -@@ -708,10 +818,13 @@ +@@ -723,10 +833,13 @@ def pow(self, value: jsii.Number) -> None: '''Raises the current value by a power. @@ -15272,7 +16007,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="readUnionValue") def read_union_value(self) -> jsii.Number: '''Returns teh value of the union property (if defined).''' -@@ -743,20 +856,26 @@ +@@ -758,20 +871,26 @@ '''The current value.''' return typing.cast(_scope_jsii_calc_lib_c61f082f.NumericValue, jsii.get(self, "curr")) @@ -15299,7 +16034,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -768,10 +887,13 @@ +@@ -783,10 +902,13 @@ @union_property.setter def union_property( self, @@ -15313,7 +16048,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.CalculatorProps", -@@ -788,10 +910,14 @@ +@@ -803,10 +925,14 @@ '''Properties for Calculator. :param initial_value: The initial value of the calculator. NOTE: Any number works here, it's fine. Default: 0 @@ -15328,7 +16063,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["initial_value"] = initial_value if maximum_value is not None: self._values["maximum_value"] = maximum_value -@@ -837,10 +963,13 @@ +@@ -852,10 +978,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: ''' @@ -15342,7 +16077,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -851,10 +980,13 @@ +@@ -866,10 +995,13 @@ @union_property.setter def union_property( self, @@ -15356,7 +16091,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithCollections( metaclass=jsii.JSIIMeta, -@@ -867,10 +999,14 @@ +@@ -882,10 +1014,14 @@ ) -> None: ''' :param map: - @@ -15371,7 +16106,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="createAList") @builtins.classmethod def create_a_list(cls) -> typing.List[builtins.str]: -@@ -886,37 +1022,49 @@ +@@ -901,37 +1037,49 @@ def static_array(cls) -> typing.List[builtins.str]: # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration] return typing.cast(typing.List[builtins.str], jsii.sget(cls, "staticArray")) @@ -15421,7 +16156,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithContainerTypes( metaclass=jsii.JSIIMeta, -@@ -938,10 +1086,15 @@ +@@ -953,10 +1101,15 @@ :param obj: - :param array_prop: :param obj_prop: @@ -15437,7 +16172,7 @@ exports[`Generated code for "jsii-calc": /python/src/js ) jsii.create(self.__class__, self, [array, record, obj, props]) -@@ -991,17 +1144,23 @@ +@@ -1006,17 +1159,23 @@ ): def __init__(self, int: builtins.str) -> None: ''' @@ -15461,7 +16196,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="int") def int(self) -> builtins.str: -@@ -1020,10 +1179,13 @@ +@@ -1035,10 +1194,13 @@ def mutable_object(self) -> "IMutableObjectLiteral": return typing.cast("IMutableObjectLiteral", jsii.get(self, "mutableObject")) @@ -15475,7 +16210,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ClassWithNestedUnion( metaclass=jsii.JSIIMeta, -@@ -1034,10 +1196,13 @@ +@@ -1049,10 +1211,13 @@ union_property: typing.Sequence[typing.Union[typing.Mapping[builtins.str, typing.Union[typing.Union["StructA", typing.Dict[builtins.str, typing.Any]], typing.Union["StructB", typing.Dict[builtins.str, typing.Any]]]], typing.Sequence[typing.Union[typing.Union["StructA", typing.Dict[builtins.str, typing.Any]], typing.Union["StructB", typing.Dict[builtins.str, typing.Any]]]]]], ) -> None: ''' @@ -15489,7 +16224,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="unionProperty") def union_property( -@@ -1048,10 +1213,13 @@ +@@ -1063,10 +1228,13 @@ @union_property.setter def union_property( self, @@ -15503,7 +16238,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ConfusingToJackson( metaclass=jsii.JSIIMeta, -@@ -1082,10 +1250,13 @@ +@@ -1097,10 +1265,13 @@ @union_property.setter def union_property( self, @@ -15517,7 +16252,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ConfusingToJacksonStruct", -@@ -1099,10 +1270,13 @@ +@@ -1114,10 +1285,13 @@ union_property: typing.Optional[typing.Union[_scope_jsii_calc_lib_c61f082f.IFriendly, typing.Sequence[typing.Union[_scope_jsii_calc_lib_c61f082f.IFriendly, "AbstractClass"]]]] = None, ) -> None: ''' @@ -15531,7 +16266,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["union_property"] = union_property @builtins.property -@@ -1130,10 +1304,13 @@ +@@ -1145,10 +1319,13 @@ ): def __init__(self, consumer: "PartiallyInitializedThisConsumer") -> None: ''' @@ -15545,7 +16280,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Constructors(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Constructors"): def __init__(self) -> None: -@@ -1181,10 +1358,13 @@ +@@ -1196,10 +1373,13 @@ ): def __init__(self, delegate: "IStructReturningDelegate") -> None: ''' @@ -15559,7 +16294,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="workItBaby") def work_it_baby(self) -> "StructB": return typing.cast("StructB", jsii.invoke(self, "workItBaby", [])) -@@ -1213,10 +1393,13 @@ +@@ -1228,10 +1408,13 @@ Returns whether the bell was rung. @@ -15573,7 +16308,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticImplementedByPrivateClass") @builtins.classmethod def static_implemented_by_private_class( -@@ -1227,10 +1410,13 @@ +@@ -1242,10 +1425,13 @@ Return whether the bell was rung. @@ -15587,7 +16322,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticImplementedByPublicClass") @builtins.classmethod def static_implemented_by_public_class(cls, ringer: "IBellRinger") -> builtins.bool: -@@ -1238,10 +1424,13 @@ +@@ -1253,10 +1439,13 @@ Return whether the bell was rung. @@ -15601,7 +16336,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="staticWhenTypedAsClass") @builtins.classmethod def static_when_typed_as_class(cls, ringer: "IConcreteBellRinger") -> builtins.bool: -@@ -1249,50 +1438,65 @@ +@@ -1264,50 +1453,65 @@ Return whether the bell was rung. @@ -15667,7 +16402,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ConsumersOfThisCrazyTypeSystem( metaclass=jsii.JSIIMeta, -@@ -1307,20 +1511,26 @@ +@@ -1322,20 +1526,26 @@ obj: "IAnotherPublicInterface", ) -> builtins.str: ''' @@ -15694,7 +16429,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ContainerProps", -@@ -1342,10 +1552,15 @@ +@@ -1357,10 +1567,15 @@ ''' :param array_prop: :param obj_prop: @@ -15710,7 +16445,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "obj_prop": obj_prop, "record_prop": record_prop, } -@@ -1411,17 +1626,23 @@ +@@ -1426,17 +1641,23 @@ data: typing.Mapping[builtins.str, typing.Any], ) -> builtins.str: ''' @@ -15734,7 +16469,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Default(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Default"): '''A class named "Default". -@@ -1450,10 +1671,15 @@ +@@ -1465,10 +1686,15 @@ ''' :param arg1: - :param arg2: - @@ -15750,7 +16485,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: -@@ -1511,10 +1737,14 @@ +@@ -1526,10 +1752,14 @@ :deprecated: this constructor is "just" okay @@ -15765,7 +16500,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -1544,10 +1774,13 @@ +@@ -1559,10 +1789,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -15779,7 +16514,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.DeprecatedEnum") class DeprecatedEnum(enum.Enum): -@@ -1583,10 +1816,13 @@ +@@ -1598,10 +1831,13 @@ :deprecated: it just wraps a string @@ -15793,7 +16528,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -1651,10 +1887,21 @@ +@@ -1666,10 +1902,21 @@ :param non_primitive: An example of a non primitive property. :param another_optional: This is optional. :param optional_any: @@ -15815,7 +16550,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "astring": astring, "another_required": another_required, "bool": bool, -@@ -1775,10 +2022,16 @@ +@@ -1790,10 +2037,16 @@ :param hoisted_top: :param left: :param right: @@ -15832,7 +16567,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["hoisted_top"] = hoisted_top if left is not None: self._values["left"] = left -@@ -1836,10 +2089,13 @@ +@@ -1851,10 +2104,13 @@ class DiamondInheritanceBaseLevelStruct: def __init__(self, *, base_level_property: builtins.str) -> None: ''' @@ -15846,7 +16581,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -1877,10 +2133,14 @@ +@@ -1892,10 +2148,14 @@ ) -> None: ''' :param base_level_property: @@ -15861,7 +16596,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "first_mid_level_property": first_mid_level_property, } -@@ -1925,10 +2185,14 @@ +@@ -1940,10 +2200,14 @@ ) -> None: ''' :param base_level_property: @@ -15876,7 +16611,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "second_mid_level_property": second_mid_level_property, } -@@ -1984,10 +2248,16 @@ +@@ -1999,10 +2263,16 @@ :param base_level_property: :param first_mid_level_property: :param second_mid_level_property: @@ -15893,7 +16628,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "first_mid_level_property": first_mid_level_property, "second_mid_level_property": second_mid_level_property, "top_level_property": top_level_property, -@@ -2067,10 +2337,13 @@ +@@ -2082,10 +2352,13 @@ @jsii.member(jsii_name="changePrivatePropertyValue") def change_private_property_value(self, new_value: builtins.str) -> None: ''' @@ -15907,7 +16642,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="privateMethodValue") def private_method_value(self) -> builtins.str: return typing.cast(builtins.str, jsii.invoke(self, "privateMethodValue", [])) -@@ -2099,10 +2372,15 @@ +@@ -2114,10 +2387,15 @@ ''' :param _required_any: - :param _optional_any: - @@ -15923,7 +16658,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class DocumentedClass(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.DocumentedClass"): '''Here's the first line of the TSDoc comment. -@@ -2174,10 +2452,14 @@ +@@ -2189,10 +2467,14 @@ ) -> builtins.str: ''' :param optional: - @@ -15938,7 +16673,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.DontUseMe", -@@ -2190,10 +2472,13 @@ +@@ -2205,10 +2487,13 @@ Don't use this interface An interface that shouldn't be used, with the annotation in a weird place. @@ -15952,7 +16687,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["dont_set_me"] = dont_set_me @builtins.property -@@ -2227,10 +2512,13 @@ +@@ -2242,10 +2527,13 @@ class DummyObj: def __init__(self, *, example: builtins.str) -> None: ''' @@ -15966,7 +16701,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2259,28 +2547,37 @@ +@@ -2274,28 +2562,37 @@ def __init__(self, value_store: builtins.str) -> None: ''' @@ -16004,7 +16739,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class DynamicPropertyBearerChild( DynamicPropertyBearer, -@@ -2289,20 +2586,26 @@ +@@ -2304,20 +2601,26 @@ ): def __init__(self, original_value: builtins.str) -> None: ''' @@ -16031,7 +16766,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="originalValue") def original_value(self) -> builtins.str: -@@ -2315,10 +2618,13 @@ +@@ -2330,10 +2633,13 @@ def __init__(self, clock: "IWallClock") -> None: '''Creates a new instance of Entropy. @@ -16045,7 +16780,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="increase") def increase(self) -> builtins.str: '''Increases entropy by consuming time from the clock (yes, this is a long shot, please don't judge). -@@ -2346,10 +2652,13 @@ +@@ -2361,10 +2667,13 @@ :param word: the value to return. @@ -16059,7 +16794,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, Entropy).__jsii_proxy_class__ = lambda : _EntropyProxy -@@ -2386,10 +2695,14 @@ +@@ -2401,10 +2710,14 @@ are being erased when sending values from native code to JS. :param opts: - @@ -16074,7 +16809,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="prop1IsNull") @builtins.classmethod def prop1_is_null(cls) -> typing.Mapping[builtins.str, typing.Any]: -@@ -2417,10 +2730,14 @@ +@@ -2432,10 +2745,14 @@ ) -> None: ''' :param option1: @@ -16089,7 +16824,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["option1"] = option1 if option2 is not None: self._values["option2"] = option2 -@@ -2464,10 +2781,14 @@ +@@ -2479,10 +2796,14 @@ :param readonly_string: - :param mutable_number: - @@ -16104,7 +16839,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -2491,10 +2812,13 @@ +@@ -2506,10 +2827,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16118,7 +16853,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.ExperimentalEnum") class ExperimentalEnum(enum.Enum): -@@ -2522,10 +2846,13 @@ +@@ -2537,10 +2861,13 @@ ''' :param readonly_property: @@ -16132,7 +16867,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2555,10 +2882,13 @@ +@@ -2570,10 +2897,13 @@ ): def __init__(self, success: builtins.bool) -> None: ''' @@ -16146,7 +16881,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="success") def success(self) -> builtins.bool: -@@ -2574,10 +2904,14 @@ +@@ -2589,10 +2919,14 @@ def __init__(self, *, boom: builtins.bool, prop: builtins.str) -> None: ''' :param boom: @@ -16161,7 +16896,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "prop": prop, } -@@ -2619,10 +2953,14 @@ +@@ -2634,10 +2968,14 @@ :param readonly_string: - :param mutable_number: - @@ -16176,7 +16911,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -2646,10 +2984,13 @@ +@@ -2661,10 +2999,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16190,7 +16925,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.ExternalEnum") class ExternalEnum(enum.Enum): -@@ -2677,10 +3018,13 @@ +@@ -2692,10 +3033,13 @@ ''' :param readonly_property: @@ -16204,7 +16939,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -2823,10 +3167,13 @@ +@@ -2838,10 +3182,13 @@ def __init__(self, *, name: typing.Optional[builtins.str] = None) -> None: '''These are some arguments you can pass to a method. @@ -16218,7 +16953,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["name"] = name @builtins.property -@@ -2863,10 +3210,13 @@ +@@ -2878,10 +3225,13 @@ friendly: _scope_jsii_calc_lib_c61f082f.IFriendly, ) -> builtins.str: ''' @@ -16232,7 +16967,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.interface(jsii_type="jsii-calc.IAnonymousImplementationProvider") class IAnonymousImplementationProvider(typing_extensions.Protocol): -@@ -2946,10 +3296,13 @@ +@@ -2961,10 +3311,13 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -16246,7 +16981,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IAnotherPublicInterface).__jsii_proxy_class__ = lambda : _IAnotherPublicInterfaceProxy -@@ -2992,10 +3345,13 @@ +@@ -3007,10 +3360,13 @@ @jsii.member(jsii_name="yourTurn") def your_turn(self, bell: IBell) -> None: ''' @@ -16260,7 +16995,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IBellRinger).__jsii_proxy_class__ = lambda : _IBellRingerProxy -@@ -3020,10 +3376,13 @@ +@@ -3035,10 +3391,13 @@ @jsii.member(jsii_name="yourTurn") def your_turn(self, bell: "Bell") -> None: ''' @@ -16274,7 +17009,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IConcreteBellRinger).__jsii_proxy_class__ = lambda : _IConcreteBellRingerProxy -@@ -3079,10 +3438,13 @@ +@@ -3094,10 +3453,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16288,7 +17023,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3137,10 +3499,13 @@ +@@ -3152,10 +3514,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16302,7 +17037,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3182,10 +3547,13 @@ +@@ -3197,10 +3562,13 @@ def private(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "private")) @@ -16316,7 +17051,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IExtendsPrivateInterface).__jsii_proxy_class__ = lambda : _IExtendsPrivateInterfaceProxy -@@ -3231,10 +3599,13 @@ +@@ -3246,10 +3614,13 @@ ''' return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16330,7 +17065,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="method") def method(self) -> None: ''' -@@ -3416,10 +3787,14 @@ +@@ -3431,10 +3802,14 @@ ) -> None: ''' :param arg1: - @@ -16345,7 +17080,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithOptionalMethodArguments).__jsii_proxy_class__ = lambda : _IInterfaceWithOptionalMethodArgumentsProxy -@@ -3454,10 +3829,13 @@ +@@ -3469,10 +3844,13 @@ def read_write_string(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "readWriteString")) @@ -16359,7 +17094,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithProperties).__jsii_proxy_class__ = lambda : _IInterfaceWithPropertiesProxy -@@ -3487,10 +3865,13 @@ +@@ -3502,10 +3880,13 @@ def foo(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.get(self, "foo")) @@ -16373,7 +17108,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithPropertiesExtension).__jsii_proxy_class__ = lambda : _IInterfaceWithPropertiesExtensionProxy -@@ -4010,10 +4391,13 @@ +@@ -4025,10 +4406,13 @@ def value(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "value")) @@ -16387,7 +17122,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IMutableObjectLiteral).__jsii_proxy_class__ = lambda : _IMutableObjectLiteralProxy -@@ -4049,19 +4433,25 @@ +@@ -4064,19 +4448,25 @@ def b(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "b")) @@ -16413,7 +17148,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, INonInternalInterface).__jsii_proxy_class__ = lambda : _INonInternalInterfaceProxy -@@ -4094,10 +4484,13 @@ +@@ -4109,10 +4499,13 @@ def property(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "property")) @@ -16427,7 +17162,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="wasSet") def was_set(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.invoke(self, "wasSet", [])) -@@ -4290,10 +4683,13 @@ +@@ -4305,10 +4698,13 @@ def mutable_property(self) -> typing.Optional[jsii.Number]: return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -16441,7 +17176,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", [])) -@@ -4360,10 +4756,13 @@ +@@ -4375,10 +4771,13 @@ def prop(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "prop")) @@ -16455,7 +17190,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Implementation(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Implementation"): def __init__(self) -> None: -@@ -4409,10 +4808,13 @@ +@@ -4424,10 +4823,13 @@ def private(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "private")) @@ -16469,7 +17204,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ImplictBaseOfBase", -@@ -4430,10 +4832,15 @@ +@@ -4445,10 +4847,15 @@ ''' :param foo: - :param bar: - @@ -16485,7 +17220,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar": bar, "goo": goo, } -@@ -4508,10 +4915,13 @@ +@@ -4523,10 +4930,13 @@ count: jsii.Number, ) -> typing.List[_scope_jsii_calc_lib_c61f082f.IDoublable]: ''' @@ -16499,7 +17234,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Isomorphism(metaclass=jsii.JSIIAbstractClass, jsii_type="jsii-calc.Isomorphism"): '''Checks the "same instance" isomorphism is preserved within the constructor. -@@ -4616,19 +5026,25 @@ +@@ -4631,19 +5041,25 @@ def prop_a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "propA")) @@ -16525,7 +17260,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class JavaReservedWords( metaclass=jsii.JSIIMeta, -@@ -4850,10 +5266,13 @@ +@@ -4865,10 +5281,13 @@ def while_(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "while")) @@ -16539,7 +17274,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IJsii487External2, IJsii487External) class Jsii487Derived(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Jsii487Derived"): -@@ -4955,10 +5374,13 @@ +@@ -4970,10 +5389,13 @@ @builtins.classmethod def stringify(cls, value: typing.Any = None) -> typing.Optional[builtins.str]: ''' @@ -16553,7 +17288,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class LevelOne(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.LevelOne"): '''Validates that nested classes get correct code generation for the occasional forward reference.''' -@@ -4988,10 +5410,13 @@ +@@ -5003,10 +5425,13 @@ class PropBooleanValue: def __init__(self, *, value: builtins.bool) -> None: ''' @@ -16567,7 +17302,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5025,10 +5450,13 @@ +@@ -5040,10 +5465,13 @@ ''' :param prop: ''' @@ -16581,7 +17316,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5063,10 +5491,13 @@ +@@ -5078,10 +5506,13 @@ ''' :param prop: ''' @@ -16595,7 +17330,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5114,10 +5545,17 @@ +@@ -5129,10 +5560,17 @@ :param cpu: The number of cpu units used by the task. Valid values, which determines your range of valid values for the memory parameter: 256 (.25 vCPU) - Available memory values: 0.5GB, 1GB, 2GB 512 (.5 vCPU) - Available memory values: 1GB, 2GB, 3GB, 4GB 1024 (1 vCPU) - Available memory values: 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB 2048 (2 vCPU) - Available memory values: Between 4GB and 16GB in 1GB increments 4096 (4 vCPU) - Available memory values: Between 8GB and 30GB in 1GB increments This default is set in the underlying FargateTaskDefinition construct. Default: 256 :param memory_mib: The amount (in MiB) of memory used by the task. This field is required and you must use one of the following values, which determines your range of valid values for the cpu parameter: 0.5GB, 1GB, 2GB - Available cpu values: 256 (.25 vCPU) 1GB, 2GB, 3GB, 4GB - Available cpu values: 512 (.5 vCPU) 2GB, 3GB, 4GB, 5GB, 6GB, 7GB, 8GB - Available cpu values: 1024 (1 vCPU) Between 4GB and 16GB in 1GB increments - Available cpu values: 2048 (2 vCPU) Between 8GB and 30GB in 1GB increments - Available cpu values: 4096 (4 vCPU) This default is set in the underlying FargateTaskDefinition construct. Default: 512 :param public_load_balancer: Determines whether the Application Load Balancer will be internet-facing. Default: true @@ -16613,7 +17348,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["container_port"] = container_port if cpu is not None: self._values["cpu"] = cpu -@@ -5244,10 +5682,14 @@ +@@ -5259,10 +5697,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -16628,7 +17363,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="farewell") def farewell(self) -> builtins.str: '''Say farewell.''' -@@ -5295,10 +5737,13 @@ +@@ -5310,10 +5752,13 @@ class NestedStruct: def __init__(self, *, number_prop: jsii.Number) -> None: ''' @@ -16642,7 +17377,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5369,17 +5814,24 @@ +@@ -5384,17 +5829,24 @@ def __init__(self, _param1: builtins.str, optional: typing.Any = None) -> None: ''' :param _param1: - @@ -16667,7 +17402,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="giveMeUndefinedInsideAnObject") def give_me_undefined_inside_an_object( self, -@@ -5407,10 +5859,13 @@ +@@ -5422,10 +5874,13 @@ def change_me_to_undefined(self) -> typing.Optional[builtins.str]: return typing.cast(typing.Optional[builtins.str], jsii.get(self, "changeMeToUndefined")) @@ -16681,7 +17416,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.NullShouldBeTreatedAsUndefinedData", -@@ -5429,10 +5884,14 @@ +@@ -5444,10 +5899,14 @@ ) -> None: ''' :param array_with_three_elements_and_undefined_as_second_argument: @@ -16696,7 +17431,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if this_should_be_undefined is not None: self._values["this_should_be_undefined"] = this_should_be_undefined -@@ -5467,17 +5926,23 @@ +@@ -5482,17 +5941,23 @@ def __init__(self, generator: IRandomNumberGenerator) -> None: ''' @@ -16720,7 +17455,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="nextTimes100") def next_times100(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.invoke(self, "nextTimes100", [])) -@@ -5487,10 +5952,13 @@ +@@ -5502,10 +5967,13 @@ def generator(self) -> IRandomNumberGenerator: return typing.cast(IRandomNumberGenerator, jsii.get(self, "generator")) @@ -16734,7 +17469,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ObjectRefsInCollections( metaclass=jsii.JSIIMeta, -@@ -5508,10 +5976,13 @@ +@@ -5523,10 +5991,13 @@ ) -> jsii.Number: '''Returns the sum of all values. @@ -16748,7 +17483,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="sumFromMap") def sum_from_map( self, -@@ -5519,10 +5990,13 @@ +@@ -5534,10 +6005,13 @@ ) -> jsii.Number: '''Returns the sum of all values in a map. @@ -16762,7 +17497,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ObjectWithPropertyProvider( metaclass=jsii.JSIIMeta, -@@ -5563,10 +6037,13 @@ +@@ -5578,10 +6052,13 @@ ): def __init__(self, delegate: IInterfaceWithOptionalMethodArguments) -> None: ''' @@ -16776,7 +17511,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="invokeWithOptional") def invoke_with_optional(self) -> None: return typing.cast(None, jsii.invoke(self, "invokeWithOptional", [])) -@@ -5589,10 +6066,15 @@ +@@ -5604,10 +6081,15 @@ ''' :param arg1: - :param arg2: - @@ -16792,7 +17527,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="arg1") def arg1(self) -> jsii.Number: -@@ -5617,10 +6099,13 @@ +@@ -5632,10 +6114,13 @@ class OptionalStruct: def __init__(self, *, field: typing.Optional[builtins.str] = None) -> None: ''' @@ -16806,7 +17541,7 @@ exports[`Generated code for "jsii-calc": /python/src/js self._values["field"] = field @builtins.property -@@ -5696,10 +6181,13 @@ +@@ -5711,10 +6196,13 @@ def _override_read_write(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "overrideReadWrite")) @@ -16820,7 +17555,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class OverrideReturnsObject( metaclass=jsii.JSIIMeta, -@@ -5711,10 +6199,13 @@ +@@ -5726,10 +6214,13 @@ @jsii.member(jsii_name="test") def test(self, obj: IReturnsNumber) -> jsii.Number: ''' @@ -16834,7 +17569,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ParamShadowsBuiltins( metaclass=jsii.JSIIMeta, -@@ -5736,10 +6227,14 @@ +@@ -5751,10 +6242,14 @@ :param str: should be set to something that is NOT a valid expression in Python (e.g: "\${NOPE}""). :param boolean_property: :param string_property: @@ -16849,7 +17584,7 @@ exports[`Generated code for "jsii-calc": /python/src/js string_property=string_property, struct_property=struct_property, ) -@@ -5769,10 +6264,15 @@ +@@ -5784,10 +6279,15 @@ :param string_property: :param struct_property: ''' @@ -16865,7 +17600,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "string_property": string_property, "struct_property": struct_property, } -@@ -5825,10 +6325,13 @@ +@@ -5840,10 +6340,13 @@ scope: _scope_jsii_calc_lib_c61f082f.Number, ) -> _scope_jsii_calc_lib_c61f082f.Number: ''' @@ -16879,7 +17614,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ParentStruct982", -@@ -5839,10 +6342,13 @@ +@@ -5854,10 +6357,13 @@ def __init__(self, *, foo: builtins.str) -> None: '''https://github.com/aws/jsii/issues/982. @@ -16893,7 +17628,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -5897,10 +6403,15 @@ +@@ -5912,10 +6418,15 @@ ''' :param obj: - :param dt: - @@ -16909,7 +17644,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, PartiallyInitializedThisConsumer).__jsii_proxy_class__ = lambda : _PartiallyInitializedThisConsumerProxy -@@ -5915,10 +6426,13 @@ +@@ -5930,10 +6441,13 @@ friendly: _scope_jsii_calc_lib_c61f082f.IFriendly, ) -> builtins.str: ''' @@ -16923,7 +17658,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Power( _CompositeOperation_1c4d123b, -@@ -5935,10 +6449,14 @@ +@@ -5950,10 +6464,14 @@ '''Creates a Power operation. :param base: The base of the power. @@ -16938,7 +17673,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: -@@ -6161,10 +6679,13 @@ +@@ -6176,10 +6694,13 @@ value: _scope_jsii_calc_lib_c61f082f.EnumFromScopedModule, ) -> None: ''' @@ -16952,7 +17687,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="foo") def foo( -@@ -6175,10 +6696,13 @@ +@@ -6190,10 +6711,13 @@ @foo.setter def foo( self, @@ -16966,7 +17701,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class ReturnsPrivateImplementationOfInterface( metaclass=jsii.JSIIMeta, -@@ -6220,10 +6744,14 @@ +@@ -6235,10 +6759,14 @@ :param string_prop: May not be empty. :param nested_struct: ''' @@ -16981,7 +17716,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if nested_struct is not None: self._values["nested_struct"] = nested_struct -@@ -6290,17 +6818,25 @@ +@@ -6305,17 +6833,25 @@ ''' :param arg1: - :param arg2: - @@ -17007,7 +17742,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="methodWithOptionalArguments") def method_with_optional_arguments( self, -@@ -6312,10 +6848,15 @@ +@@ -6327,10 +6863,15 @@ :param arg1: - :param arg2: - @@ -17023,7 +17758,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SecondLevelStruct", -@@ -6334,10 +6875,14 @@ +@@ -6349,10 +6890,14 @@ ) -> None: ''' :param deeper_required_prop: It's long and required. @@ -17038,7 +17773,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 -@@ -6399,10 +6944,13 @@ +@@ -6414,10 +6959,13 @@ @jsii.member(jsii_name="isSingletonInt") def is_singleton_int(self, value: jsii.Number) -> builtins.bool: ''' @@ -17052,7 +17787,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonIntEnum") class SingletonIntEnum(enum.Enum): -@@ -6421,10 +6969,13 @@ +@@ -6436,10 +6984,13 @@ @jsii.member(jsii_name="isSingletonString") def is_singleton_string(self, value: builtins.str) -> builtins.bool: ''' @@ -17066,7 +17801,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.SingletonStringEnum") class SingletonStringEnum(enum.Enum): -@@ -6448,10 +6999,14 @@ +@@ -6463,10 +7014,14 @@ ) -> None: ''' :param property: @@ -17081,7 +17816,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "yet_anoter_one": yet_anoter_one, } -@@ -6502,10 +7057,14 @@ +@@ -6517,10 +7072,14 @@ ) -> None: ''' :param readonly_string: - @@ -17096,7 +17831,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", [])) -@@ -6520,10 +7079,13 @@ +@@ -6535,10 +7094,13 @@ def mutable_property(self) -> typing.Optional[jsii.Number]: return typing.cast(typing.Optional[jsii.Number], jsii.get(self, "mutableProperty")) @@ -17110,7 +17845,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum(jsii_type="jsii-calc.StableEnum") class StableEnum(enum.Enum): -@@ -6539,10 +7101,13 @@ +@@ -6554,10 +7116,13 @@ class StableStruct: def __init__(self, *, readonly_property: builtins.str) -> None: ''' @@ -17124,7 +17859,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6579,10 +7144,13 @@ +@@ -6594,10 +7159,13 @@ def static_variable(cls) -> builtins.bool: # pyright: ignore [reportGeneralTypeIssues,reportRedeclaration] return typing.cast(builtins.bool, jsii.sget(cls, "staticVariable")) @@ -17138,7 +17873,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class StaticHelloParent( metaclass=jsii.JSIIMeta, -@@ -6612,19 +7180,25 @@ +@@ -6627,19 +7195,25 @@ class Statics(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.Statics"): def __init__(self, value: builtins.str) -> None: ''' @@ -17164,7 +17899,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", [])) -@@ -6661,19 +7235,25 @@ +@@ -6676,19 +7250,25 @@ ''' return typing.cast("Statics", jsii.sget(cls, "instance")) @@ -17190,7 +17925,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="value") def value(self) -> builtins.str: -@@ -6696,10 +7276,13 @@ +@@ -6711,10 +7291,13 @@ def you_see_me(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "youSeeMe")) @@ -17204,7 +17939,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructA", -@@ -6722,10 +7305,15 @@ +@@ -6737,10 +7320,15 @@ :param required_string: :param optional_number: @@ -17220,7 +17955,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_number is not None: self._values["optional_number"] = optional_number -@@ -6783,10 +7371,15 @@ +@@ -6798,10 +7386,15 @@ :param optional_boolean: :param optional_struct_a: ''' @@ -17236,7 +17971,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if optional_boolean is not None: self._values["optional_boolean"] = optional_boolean -@@ -6838,10 +7431,14 @@ +@@ -6853,10 +7446,14 @@ See: https://github.com/aws/aws-cdk/issues/4302 :param scope: @@ -17251,7 +17986,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if props is not None: self._values["props"] = props -@@ -6884,10 +7481,14 @@ +@@ -6899,10 +7496,14 @@ ) -> jsii.Number: ''' :param _positional: - @@ -17266,7 +18001,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="roundTrip") @builtins.classmethod def round_trip( -@@ -6902,10 +7503,13 @@ +@@ -6917,10 +7518,13 @@ :param _positional: - :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -17280,7 +18015,7 @@ exports[`Generated code for "jsii-calc": /python/src/js ) return typing.cast("TopLevelStruct", jsii.sinvoke(cls, "roundTrip", [_positional, input])) -@@ -6922,10 +7526,13 @@ +@@ -6937,10 +7541,13 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -17294,7 +18029,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="isStructB") @builtins.classmethod def is_struct_b( -@@ -6933,18 +7540,24 @@ +@@ -6948,18 +7555,24 @@ struct: typing.Union[typing.Union[StructA, typing.Dict[builtins.str, typing.Any]], typing.Union[StructB, typing.Dict[builtins.str, typing.Any]]], ) -> builtins.bool: ''' @@ -17319,7 +18054,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.StructWithCollectionOfUnionts", -@@ -6958,10 +7571,13 @@ +@@ -6973,10 +7586,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: ''' @@ -17333,7 +18068,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -6998,10 +7614,14 @@ +@@ -7013,10 +7629,14 @@ ) -> None: ''' :param foo: An enum value. @@ -17348,7 +18083,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if bar is not None: self._values["bar"] = bar -@@ -7057,10 +7677,16 @@ +@@ -7072,10 +7692,16 @@ :param default: :param assert_: :param result: @@ -17365,7 +18100,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if assert_ is not None: self._values["assert_"] = assert_ -@@ -7130,10 +7756,13 @@ +@@ -7145,10 +7771,13 @@ @parts.setter def parts( self, @@ -17379,7 +18114,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.SupportsNiceJavaBuilderProps", -@@ -7149,10 +7778,14 @@ +@@ -7164,10 +7793,14 @@ ) -> None: ''' :param bar: Some number, like 42. @@ -17394,7 +18129,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if id is not None: self._values["id"] = id -@@ -7201,10 +7834,13 @@ +@@ -7216,10 +7849,13 @@ ''' :param id_: some identifier of your choice. :param bar: Some number, like 42. @@ -17408,7 +18143,7 @@ exports[`Generated code for "jsii-calc": /python/src/js jsii.create(self.__class__, self, [id_, props]) @builtins.property -@@ -7242,17 +7878,23 @@ +@@ -7257,17 +7893,23 @@ @jsii.member(jsii_name="modifyOtherProperty") def modify_other_property(self, value: builtins.str) -> None: ''' @@ -17432,7 +18167,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", [])) -@@ -7272,17 +7914,23 @@ +@@ -7287,17 +7929,23 @@ @jsii.member(jsii_name="virtualMethod") def virtual_method(self, n: jsii.Number) -> jsii.Number: ''' @@ -17456,7 +18191,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readonlyProperty") def readonly_property(self) -> builtins.str: -@@ -7293,46 +7941,61 @@ +@@ -7308,46 +7956,61 @@ def a(self) -> jsii.Number: return typing.cast(jsii.Number, jsii.get(self, "a")) @@ -17518,7 +18253,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class TestStructWithEnum( metaclass=jsii.JSIIMeta, -@@ -7415,10 +8078,15 @@ +@@ -7430,10 +8093,15 @@ ''' :param required: This is a required field. :param second_level: A union to really stress test our serialization. @@ -17534,7 +18269,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "second_level": second_level, } if optional is not None: -@@ -7509,10 +8177,13 @@ +@@ -7524,10 +8192,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17548,7 +18283,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: -@@ -7543,10 +8214,14 @@ +@@ -7558,10 +8229,14 @@ ) -> None: ''' :param bar: @@ -17563,7 +18298,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if foo is not None: self._values["foo"] = foo -@@ -7583,10 +8258,13 @@ +@@ -7598,10 +8273,13 @@ def __init__(self, delegate: typing.Mapping[builtins.str, typing.Any]) -> None: ''' @@ -17577,7 +18312,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: -@@ -7629,10 +8307,13 @@ +@@ -7644,10 +8322,13 @@ ): def __init__(self, obj: IInterfaceWithProperties) -> None: ''' @@ -17591,7 +18326,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", [])) -@@ -7643,17 +8324,23 @@ +@@ -7658,17 +8339,23 @@ ext: IInterfaceWithPropertiesExtension, ) -> builtins.str: ''' @@ -17615,7 +18350,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="obj") def obj(self) -> IInterfaceWithProperties: -@@ -7663,25 +8350,34 @@ +@@ -7678,25 +8365,34 @@ class VariadicInvoker(metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.VariadicInvoker"): def __init__(self, method: "VariadicMethod") -> None: ''' @@ -17650,7 +18385,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="asArray") def as_array( self, -@@ -7690,10 +8386,14 @@ +@@ -7705,10 +8401,14 @@ ) -> typing.List[jsii.Number]: ''' :param first: the first element of the array to be returned (after the \`\`prefix\`\` provided at construction time). @@ -17665,7 +18400,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VariadicTypeUnion( metaclass=jsii.JSIIMeta, -@@ -7701,19 +8401,25 @@ +@@ -7716,19 +8416,25 @@ ): def __init__(self, *union: typing.Union[StructA, StructB]) -> None: ''' @@ -17691,7 +18426,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VirtualMethodPlayground( metaclass=jsii.JSIIMeta, -@@ -7725,38 +8431,53 @@ +@@ -7740,38 +8446,53 @@ @jsii.member(jsii_name="overrideMeAsync") def override_me_async(self, index: jsii.Number) -> jsii.Number: ''' @@ -17745,7 +18480,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class VoidCallback( metaclass=jsii.JSIIAbstractClass, -@@ -7818,10 +8539,13 @@ +@@ -7833,10 +8554,13 @@ ''' return typing.cast(typing.Optional[builtins.str], jsii.get(self, "dontReadMe")) @@ -17759,7 +18494,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class WithPrivatePropertyInConstructor( metaclass=jsii.JSIIMeta, -@@ -7831,10 +8555,13 @@ +@@ -7846,10 +8570,13 @@ def __init__(self, private_field: typing.Optional[builtins.str] = None) -> None: ''' @@ -17773,7 +18508,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="success") def success(self) -> builtins.bool: -@@ -7875,10 +8602,13 @@ +@@ -7890,10 +8617,13 @@ @jsii.member(jsii_name="abstractMethod") def abstract_method(self, name: builtins.str) -> builtins.str: ''' @@ -17787,7 +18522,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 -@@ -7894,10 +8624,14 @@ +@@ -7909,10 +8639,14 @@ '''Creates a BinaryOperation. :param lhs: Left-hand side operand. @@ -17802,7 +18537,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.''' -@@ -7941,10 +8675,13 @@ +@@ -7956,10 +8690,13 @@ def rung(self) -> builtins.bool: return typing.cast(builtins.bool, jsii.get(self, "rung")) @@ -17816,7 +18551,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.ChildStruct982", -@@ -7955,10 +8692,14 @@ +@@ -7970,10 +8707,14 @@ def __init__(self, *, foo: builtins.str, bar: jsii.Number) -> None: ''' :param foo: @@ -17831,7 +18566,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar": bar, } -@@ -7999,37 +8740,49 @@ +@@ -8014,37 +8755,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17881,7 +18616,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(INonInternalInterface) class ClassThatImplementsThePrivateInterface( -@@ -8044,37 +8797,49 @@ +@@ -8059,37 +8812,49 @@ def a(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "a")) @@ -17931,7 +18666,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IInterfaceWithProperties) class ClassWithPrivateConstructorAndAutomaticProperties( -@@ -8092,10 +8857,14 @@ +@@ -8107,10 +8872,14 @@ ) -> "ClassWithPrivateConstructorAndAutomaticProperties": ''' :param read_only_string: - @@ -17946,7 +18681,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="readOnlyString") def read_only_string(self) -> builtins.str: -@@ -8106,10 +8875,13 @@ +@@ -8121,10 +8890,13 @@ def read_write_string(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "readWriteString")) @@ -17960,7 +18695,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.implements(IIndirectlyImplemented) class FullCombo(BaseClass, metaclass=jsii.JSIIMeta, jsii_type="jsii-calc.FullCombo"): -@@ -8224,10 +8996,13 @@ +@@ -8239,10 +9011,13 @@ ): def __init__(self, property: builtins.str) -> None: ''' @@ -17974,7 +18709,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", [])) -@@ -8248,10 +9023,13 @@ +@@ -8263,10 +9038,13 @@ def __init__(self, operand: _scope_jsii_calc_lib_c61f082f.NumericValue) -> None: ''' @@ -17988,7 +18723,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="farewell") def farewell(self) -> builtins.str: '''Say farewell.''' -@@ -8311,10 +9089,16 @@ +@@ -8326,10 +9104,16 @@ :param id: some identifier. :param default_bar: the default value of \`\`bar\`\`. :param props: some props once can provide. @@ -18005,7 +18740,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="id") def id(self) -> jsii.Number: -@@ -8613,5 +9397,1544 @@ +@@ -8628,5 +9412,1544 @@ from . import nodirect from . import onlystatic from . import python_self @@ -19555,7 +20290,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/anonymous/__init__.py.diff 1`] = ` --- python/src/jsii_calc/anonymous/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/anonymous/__init__.py --runtime-type-checking -@@ -57,31 +57,58 @@ +@@ -72,31 +72,58 @@ @builtins.classmethod def consume(cls, option: typing.Union[IOptionA, IOptionB]) -> builtins.str: ''' @@ -19619,7 +20354,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk16625/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk16625/__init__.py --runtime-type-checking -@@ -45,10 +45,13 @@ +@@ -60,10 +60,13 @@ def _unwrap(self, gen: _IRandomNumberGenerator_9643a8b9) -> jsii.Number: '''Implement this functin to return \`\`gen.next()\`\`. It is extremely important that the \`\`donotimport\`\` submodule is NEVER explicitly loaded in the testing application (otherwise this test is void). @@ -19633,7 +20368,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, Cdk16625).__jsii_proxy_class__ = lambda : _Cdk16625Proxy -@@ -60,5 +63,11 @@ +@@ -75,5 +78,11 @@ publication.publish() @@ -19650,7 +20385,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk16625/donotimport/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk16625/donotimport/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk16625/donotimport/__init__.py --runtime-type-checking -@@ -34,10 +34,13 @@ +@@ -49,10 +49,13 @@ def __init__(self, value: jsii.Number) -> None: ''' @@ -19664,7 +20399,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="next") def next(self) -> jsii.Number: '''Not quite random, but it'll do. -@@ -50,5 +53,11 @@ +@@ -65,5 +68,11 @@ __all__ = [ "UnimportedSubmoduleType", ] @@ -19681,7 +20416,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/cdk22369/__init__.py.diff 1`] = ` --- python/src/jsii_calc/cdk22369/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/cdk22369/__init__.py --runtime-type-checking -@@ -34,10 +34,13 @@ +@@ -49,10 +49,13 @@ class AcceptsPathProps: def __init__(self, *, source_path: builtins.str) -> None: ''' @@ -19695,7 +20430,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -63,5 +66,12 @@ +@@ -78,5 +81,12 @@ "AcceptsPath", "AcceptsPathProps", ] @@ -19713,7 +20448,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/composition/__init__.py.diff 1`] = ` --- python/src/jsii_calc/composition/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/composition/__init__.py --runtime-type-checking -@@ -55,30 +55,39 @@ +@@ -70,30 +70,39 @@ '''A set of postfixes to include in a decorated .toString().''' return typing.cast(typing.List[builtins.str], jsii.get(self, "decorationPostfixes")) @@ -19753,7 +20488,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.enum( jsii_type="jsii-calc.composition.CompositeOperation.CompositionStringStyle" ) -@@ -111,5 +120,23 @@ +@@ -126,5 +135,23 @@ __all__ = [ "CompositeOperation", ] @@ -19782,7 +20517,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/derived_class_has_no_properties/__init__.py.diff 1`] = ` --- python/src/jsii_calc/derived_class_has_no_properties/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/derived_class_has_no_properties/__init__.py --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -43,10 +43,13 @@ def prop(self) -> builtins.str: return typing.cast(builtins.str, jsii.get(self, "prop")) @@ -19796,7 +20531,7 @@ exports[`Generated code for "jsii-calc": /python/src/js class Derived( Base, -@@ -46,5 +49,11 @@ +@@ -61,5 +64,11 @@ "Base", "Derived", ] @@ -19813,7 +20548,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/bar/__init__.py.diff 1`] = ` --- python/src/jsii_calc/homonymous_forward_references/bar/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/homonymous_forward_references/bar/__init__.py --runtime-type-checking -@@ -49,10 +49,13 @@ +@@ -64,10 +64,13 @@ ''' :param homonymous: ''' @@ -19827,7 +20562,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -81,10 +84,13 @@ +@@ -96,10 +99,13 @@ class Homonymous: def __init__(self, *, numeric_property: jsii.Number) -> None: ''' @@ -19841,7 +20576,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -110,5 +116,19 @@ +@@ -125,5 +131,19 @@ "ConsumerProps", "Homonymous", ] @@ -19866,7 +20601,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/homonymous_forward_references/foo/__init__.py.diff 1`] = ` --- python/src/jsii_calc/homonymous_forward_references/foo/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/homonymous_forward_references/foo/__init__.py --runtime-type-checking -@@ -49,10 +49,13 @@ +@@ -64,10 +64,13 @@ ''' :param homonymous: ''' @@ -19880,7 +20615,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -81,10 +84,13 @@ +@@ -96,10 +99,13 @@ class Homonymous: def __init__(self, *, string_property: builtins.str) -> None: ''' @@ -19894,7 +20629,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -110,5 +116,19 @@ +@@ -125,5 +131,19 @@ "ConsumerProps", "Homonymous", ] @@ -19919,7 +20654,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py.diff 1`] = ` --- python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/interface_in_namespace_includes_classes/__init__.py --runtime-type-checking -@@ -28,10 +28,13 @@ +@@ -43,10 +43,13 @@ def bar(self) -> typing.Optional[builtins.str]: return typing.cast(typing.Optional[builtins.str], jsii.get(self, "bar")) @@ -19933,7 +20668,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.data_type( jsii_type="jsii-calc.InterfaceInNamespaceIncludesClasses.Hello", -@@ -41,10 +44,13 @@ +@@ -56,10 +59,13 @@ class Hello: def __init__(self, *, foo: jsii.Number) -> None: ''' @@ -19947,7 +20682,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -69,5 +75,18 @@ +@@ -84,5 +90,18 @@ "Foo", "Hello", ] @@ -19971,7 +20706,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py.diff 1`] = ` --- python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/interface_in_namespace_only_interface/__init__.py --runtime-type-checking -@@ -24,10 +24,13 @@ +@@ -39,10 +39,13 @@ class Hello: def __init__(self, *, foo: jsii.Number) -> None: ''' @@ -19985,7 +20720,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -51,5 +54,12 @@ +@@ -66,5 +69,12 @@ __all__ = [ "Hello", ] @@ -20003,7 +20738,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/jsii3656/__init__.py.diff 1`] = ` --- python/src/jsii_calc/jsii3656/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/jsii3656/__init__.py --runtime-type-checking -@@ -30,10 +30,14 @@ +@@ -45,10 +45,14 @@ ) -> None: ''' :param name: @@ -20018,7 +20753,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if count is not None: self._values["count"] = count -@@ -72,10 +76,13 @@ +@@ -87,10 +91,13 @@ @builtins.classmethod def call_abstract(cls, receiver: "OverrideMe") -> builtins.bool: ''' @@ -20032,7 +20767,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="implementMe") @abc.abstractmethod def implement_me( -@@ -115,5 +122,19 @@ +@@ -130,5 +137,19 @@ "ImplementMeOpts", "OverrideMe", ] @@ -20057,7 +20792,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2530/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2530/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2530/__init__.py --runtime-type-checking -@@ -24,28 +24,55 @@ +@@ -39,28 +39,55 @@ def __init__(self, _: jsii.Number) -> None: ''' @@ -20118,7 +20853,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2647/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2647/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2647/__init__.py --runtime-type-checking -@@ -34,10 +34,13 @@ +@@ -49,10 +49,13 @@ ''' :param very: - @@ -20132,7 +20867,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.member(jsii_name="hello") def hello(self) -> builtins.str: '''Say hello!''' -@@ -51,5 +54,11 @@ +@@ -66,5 +69,11 @@ __all__ = [ "ExtendAndImplement", ] @@ -20149,7 +20884,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/methods/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2689/methods/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2689/methods/__init__.py --runtime-type-checking -@@ -32,23 +32,41 @@ +@@ -47,23 +47,41 @@ _bar: typing.Mapping[builtins.str, typing.Union[_scope_jsii_calc_base_734f0262.BaseProps, typing.Dict[builtins.str, typing.Any]]], ) -> None: ''' @@ -20196,7 +20931,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2689/structs/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2689/structs/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2689/structs/__init__.py --runtime-type-checking -@@ -33,10 +33,14 @@ +@@ -48,10 +48,14 @@ ) -> None: ''' :param base_map: @@ -20211,7 +20946,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "numbers": numbers, } -@@ -69,5 +73,13 @@ +@@ -84,5 +88,13 @@ __all__ = [ "MyStruct", ] @@ -20230,7 +20965,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule1/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2692/submodule1/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2692/submodule1/__init__.py --runtime-type-checking -@@ -24,10 +24,13 @@ +@@ -39,10 +39,13 @@ class Bar: def __init__(self, *, bar1: builtins.str) -> None: ''' @@ -20244,7 +20979,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -51,5 +54,12 @@ +@@ -66,5 +69,12 @@ __all__ = [ "Bar", ] @@ -20262,7 +20997,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/module2692/submodule2/__init__.py.diff 1`] = ` --- python/src/jsii_calc/module2692/submodule2/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/module2692/submodule2/__init__.py --runtime-type-checking -@@ -26,10 +26,13 @@ +@@ -41,10 +41,13 @@ class Bar: def __init__(self, *, bar2: builtins.str) -> None: ''' @@ -20276,7 +21011,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -66,10 +69,15 @@ +@@ -81,10 +84,15 @@ ''' :param bar2: :param bar1: @@ -20292,7 +21027,7 @@ exports[`Generated code for "jsii-calc": /python/src/js "bar1": bar1, "foo2": foo2, } -@@ -108,5 +116,21 @@ +@@ -123,5 +131,21 @@ "Bar", "Foo", ] @@ -20319,7 +21054,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/python_self/__init__.py.diff 1`] = ` --- python/src/jsii_calc/python_self/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/python_self/__init__.py --runtime-type-checking -@@ -22,17 +22,23 @@ +@@ -37,17 +37,23 @@ ): def __init__(self_, self: builtins.str) -> None: ''' @@ -20343,7 +21078,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @builtins.property @jsii.member(jsii_name="self") def self(self) -> builtins.str: -@@ -73,10 +79,13 @@ +@@ -88,10 +94,13 @@ @jsii.member(jsii_name="method") def method(self_, self: jsii.Number) -> builtins.str: ''' @@ -20357,7 +21092,7 @@ exports[`Generated code for "jsii-calc": /python/src/js # Adding a "__jsii_proxy_class__(): typing.Type" function to the interface typing.cast(typing.Any, IInterfaceWithSelf).__jsii_proxy_class__ = lambda : _IInterfaceWithSelfProxy -@@ -89,10 +98,13 @@ +@@ -104,10 +113,13 @@ class StructWithSelf: def __init__(self_, *, self: builtins.str) -> None: ''' @@ -20371,7 +21106,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -119,5 +131,30 @@ +@@ -134,5 +146,30 @@ "IInterfaceWithSelf", "StructWithSelf", ] @@ -20407,7 +21142,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/__init__.py --runtime-type-checking -@@ -42,10 +42,13 @@ +@@ -57,10 +57,13 @@ :param foo: @@ -20421,7 +21156,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -110,10 +113,13 @@ +@@ -125,10 +128,13 @@ def all_types(self) -> typing.Optional[_AllTypes_b08307c5]: return typing.cast(typing.Optional[_AllTypes_b08307c5], jsii.get(self, "allTypes")) @@ -20435,7 +21170,7 @@ exports[`Generated code for "jsii-calc": /python/src/js __all__ = [ "Default", -@@ -133,5 +139,18 @@ +@@ -148,5 +154,18 @@ from . import child from . import isolated from . import nested_submodule @@ -20459,7 +21194,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/back_references/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/back_references/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/back_references/__init__.py --runtime-type-checking -@@ -26,10 +26,13 @@ +@@ -41,10 +41,13 @@ class MyClassReference: def __init__(self, *, reference: _MyClass_a2fdc0b6) -> None: ''' @@ -20473,7 +21208,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -53,5 +56,12 @@ +@@ -68,5 +71,12 @@ __all__ = [ "MyClassReference", ] @@ -20491,7 +21226,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/child/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/child/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/child/__init__.py --runtime-type-checking -@@ -76,10 +76,13 @@ +@@ -91,10 +91,13 @@ class SomeStruct: def __init__(self, *, prop: SomeEnum) -> None: ''' @@ -20505,7 +21240,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -108,10 +111,13 @@ +@@ -123,10 +126,13 @@ class Structure: def __init__(self, *, bool: builtins.bool) -> None: ''' @@ -20519,7 +21254,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -146,10 +152,14 @@ +@@ -161,10 +167,14 @@ ) -> None: ''' :param prop: @@ -20534,7 +21269,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } if extra is not None: self._values["extra"] = extra -@@ -187,5 +197,27 @@ +@@ -202,5 +212,27 @@ "SomeStruct", "Structure", ] @@ -20567,7 +21302,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/submodule/param/__init__.py.diff 1`] = ` --- python/src/jsii_calc/submodule/param/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/submodule/param/__init__.py --runtime-type-checking -@@ -24,10 +24,13 @@ +@@ -39,10 +39,13 @@ class SpecialParameter: def __init__(self, *, value: builtins.str) -> None: ''' @@ -20581,7 +21316,7 @@ exports[`Generated code for "jsii-calc": /python/src/js } @builtins.property -@@ -51,5 +54,12 @@ +@@ -66,5 +69,12 @@ __all__ = [ "SpecialParameter", ] @@ -20599,7 +21334,7 @@ exports[`Generated code for "jsii-calc": /python/src/js exports[`Generated code for "jsii-calc": /python/src/jsii_calc/union/__init__.py.diff 1`] = ` --- python/src/jsii_calc/union/__init__.py --no-runtime-type-checking +++ python/src/jsii_calc/union/__init__.py --runtime-type-checking -@@ -26,10 +26,13 @@ +@@ -41,10 +41,13 @@ param: typing.Union["IResolvable", "Resolvable", _scope_jsii_calc_lib_c61f082f.IFriendly], ) -> None: ''' @@ -20613,7 +21348,7 @@ exports[`Generated code for "jsii-calc": /python/src/js @jsii.interface(jsii_type="jsii-calc.union.IResolvable") class IResolvable(typing_extensions.Protocol): -@@ -61,5 +64,11 @@ +@@ -76,5 +79,11 @@ "IResolvable", "Resolvable", ] diff --git a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt index 0cf20f9d30..23e2883694 100644 --- a/packages/jsii-pacmak/test/generated-code/requirements-dev.txt +++ b/packages/jsii-pacmak/test/generated-code/requirements-dev.txt @@ -1,2 +1,2 @@ -mypy==1.11.1 +mypy==1.11.2 pip==24.2 # required to use --config-settings diff --git a/packages/jsii-pacmak/test/util.test.ts b/packages/jsii-pacmak/test/util.test.ts index 6b9608c6c4..ba4c85a543 100644 --- a/packages/jsii-pacmak/test/util.test.ts +++ b/packages/jsii-pacmak/test/util.test.ts @@ -72,7 +72,7 @@ describe(retry, () => { test('behaves correctly if callback throws non-Error', async () => { // GIVEN - const alwaysFail = () => Promise.reject('Always'); + const alwaysFail = () => Promise.reject(new Error('Always')); // WHEN const result = retry( diff --git a/packages/jsii-reflect/lib/_memoized.ts b/packages/jsii-reflect/lib/_memoized.ts index 9bce919802..159dffbdd1 100644 --- a/packages/jsii-reflect/lib/_memoized.ts +++ b/packages/jsii-reflect/lib/_memoized.ts @@ -1,6 +1,5 @@ import { TypeSystem } from './type-system'; -/* eslint-disable @typescript-eslint/ban-types -- WeakMap demands T extends object */ const CACHE = new WeakMap>(); function memoizedGet(original: () => any, propertyKey: string): () => any { diff --git a/packages/jsii-rosetta/lib/languages/csharp.ts b/packages/jsii-rosetta/lib/languages/csharp.ts index 010903164e..f0e801ebb7 100644 --- a/packages/jsii-rosetta/lib/languages/csharp.ts +++ b/packages/jsii-rosetta/lib/languages/csharp.ts @@ -216,7 +216,7 @@ export class CSharpVisitor extends DefaultVisitor { opts: { isConstructor?: boolean } = {}, ): OTree { const methodName = opts.isConstructor - ? findEnclosingClassDeclaration(node)?.name?.text ?? 'MyClass' + ? (findEnclosingClassDeclaration(node)?.name?.text ?? 'MyClass') : renderer.updateContext({ propertyOrMethod: true }).convert(node.name); const retType = determineReturnType(renderer.typeChecker, node); diff --git a/packages/jsii-rosetta/lib/languages/record-references.ts b/packages/jsii-rosetta/lib/languages/record-references.ts index 801c470393..4aab190aaa 100644 --- a/packages/jsii-rosetta/lib/languages/record-references.ts +++ b/packages/jsii-rosetta/lib/languages/record-references.ts @@ -8,7 +8,7 @@ import { SubmoduleReference } from '../submodule-reference'; import { Spans } from '../typescript/visible-spans'; import { DefaultVisitor } from './default'; -// eslint-disable-next-line @typescript-eslint/no-empty-interface +// eslint-disable-next-line @typescript-eslint/no-empty-object-type interface RecordReferencesContext {} type RecordReferencesRenderer = AstRenderer; diff --git a/packages/jsii-rosetta/lib/o-tree.ts b/packages/jsii-rosetta/lib/o-tree.ts index 681928e8ac..0a1b22c4d6 100644 --- a/packages/jsii-rosetta/lib/o-tree.ts +++ b/packages/jsii-rosetta/lib/o-tree.ts @@ -98,7 +98,7 @@ export class OTree implements OTree { sink.write(x); } - const popIndent = sink.requestIndentChange(meVisible ? this.options.indent ?? 0 : 0); + const popIndent = sink.requestIndentChange(meVisible ? (this.options.indent ?? 0) : 0); let mark = sink.mark(); for (const child of this.children ?? []) { diff --git a/packages/jsii/lib/symbol-id.ts b/packages/jsii/lib/symbol-id.ts index 00e874b6e7..2c00f7662a 100644 --- a/packages/jsii/lib/symbol-id.ts +++ b/packages/jsii/lib/symbol-id.ts @@ -86,7 +86,7 @@ export function symbolIdentifier( // If this is a member symbol, replace the final '.' with a '#' const typeSymbol = isMember ? (inFileName ?? '').replace(/\.([^.]+)$/, '#$1') - : inFileName ?? ''; + : (inFileName ?? ''); return `${relFile}:${typeSymbol}`; } diff --git a/packages/jsii/lib/transforms/deprecated-remover.ts b/packages/jsii/lib/transforms/deprecated-remover.ts index 8e61176190..eb2413d087 100644 --- a/packages/jsii/lib/transforms/deprecated-remover.ts +++ b/packages/jsii/lib/transforms/deprecated-remover.ts @@ -140,9 +140,9 @@ export class DeprecatedRemover { this.typeChecker, bindings.getClassRelatedNode(typeInfo)!, typeInfo.base in assembly.types - ? bindings.getClassRelatedNode( + ? (bindings.getClassRelatedNode( assembly.types[typeInfo.base] as ClassType, - ) ?? typeInfo.base + ) ?? typeInfo.base) : typeInfo.base, ) : Transformation.removeBaseClass( @@ -181,9 +181,9 @@ export class DeprecatedRemover { this.typeChecker, bindings.getClassOrInterfaceRelatedNode(typeInfo)!, fqn in assembly.types - ? bindings.getInterfaceRelatedNode( + ? (bindings.getInterfaceRelatedNode( assembly.types[fqn] as InterfaceType, - ) ?? fqn + ) ?? fqn) : fqn, ), ); diff --git a/superchain/README.md b/superchain/README.md index 9d008d73c7..b0289df138 100644 --- a/superchain/README.md +++ b/superchain/README.md @@ -23,14 +23,14 @@ The following image tags are actively maintained and updated regularly. public.ecr.aws/jsii/superchain: ``` -| Image tag | Debian | Node | Python | -| ------------------------ | ---------- | ---- | ------ | -| `1-bookworm-slim` | `bookworm` | `18` | `3.11` | -| `1-bookworm-slim-node18` | `bookworm` | `18` | `3.11` | -| `1-bookworm-slim-node20` | `bookworm` | `20` | `3.11` | -| `1-bookworm-slim-node22` | `bookworm` | `22` | `3.11` | -| `1-bullseye-slim-node20` | `bookworm` | `20` | `3.9` | -| `1-bullseye-slim-node22` | `bookworm` | `22` | `3.9` | +| Image tag | Debian | Node | Python | +| ------------------------ | --------------- | ---- | ------ | +| `1-bookworm-slim` | `12` `bookworm` | `18` | `3.11` | +| `1-bookworm-slim-node18` | `12` `bookworm` | `18` | `3.11` | +| `1-bookworm-slim-node20` | `12` `bookworm` | `20` | `3.11` | +| `1-bookworm-slim-node22` | `12` `bookworm` | `22` | `3.11` | +| `1-bullseye-slim-node20` | `11` `bullseye` | `20` | `3.9` | +| `1-bullseye-slim-node22` | `11` `bullseye` | `22` | `3.9` | Any other tags should be *considered* deprecated or in the case of `nightly` images *experimental*. diff --git a/yarn.lock b/yarn.lock index 9dc06dcfeb..81eab2198e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -150,14 +150,28 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-class-properties@^7.8.3": +"@babel/plugin-syntax-class-properties@^7.12.13": version "7.12.13" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz#b5c987274c4a3a82b89714796931a6b53544ae10" integrity sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA== dependencies: "@babel/helper-plugin-utils" "^7.12.13" -"@babel/plugin-syntax-import-meta@^7.8.3": +"@babel/plugin-syntax-class-static-block@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz#195df89b146b4b78b3bf897fd7a257c84659d406" + integrity sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-import-attributes@^7.24.7": + version "7.24.7" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.24.7.tgz#b4f9ea95a79e6912480c4b626739f86a076624ca" + integrity sha512-hbX+lKKeUMGihnK8nvKqmXBInriT3GVjzXKFriV3YC6APGxMbP8RZNFwy91+hocLXq90Mta+HshoB31802bb8A== + dependencies: + "@babel/helper-plugin-utils" "^7.24.7" + +"@babel/plugin-syntax-import-meta@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz#ee601348c370fa334d2207be158777496521fd51" integrity sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g== @@ -178,7 +192,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.24.7" -"@babel/plugin-syntax-logical-assignment-operators@^7.8.3": +"@babel/plugin-syntax-logical-assignment-operators@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz#ca91ef46303530448b906652bac2e9fe9941f699" integrity sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig== @@ -192,7 +206,7 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-numeric-separator@^7.8.3": +"@babel/plugin-syntax-numeric-separator@^7.10.4": version "7.10.4" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz#b9b070b3e33570cd9fd07ba7fa91c0dd37b9af97" integrity sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug== @@ -220,7 +234,14 @@ dependencies: "@babel/helper-plugin-utils" "^7.8.0" -"@babel/plugin-syntax-top-level-await@^7.8.3": +"@babel/plugin-syntax-private-property-in-object@^7.14.5": + version "7.14.5" + resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz#0dc6671ec0ea22b6e94a1114f857970cd39de1ad" + integrity sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg== + dependencies: + "@babel/helper-plugin-utils" "^7.14.5" + +"@babel/plugin-syntax-top-level-await@^7.14.5": version "7.14.5" resolved "https://registry.yarnpkg.com/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz#c1cfdadc35a646240001f06138247b741c34d94c" integrity sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw== @@ -352,10 +373,10 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.8.0": - version "9.8.0" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.8.0.tgz#ae9bc14bb839713c5056f5018bcefa955556d3a4" - integrity sha512-MfluB7EUfxXtv3i/++oh89uzAr4PDI4nn201hsp+qaXqsjAWzinlZEHEfPgAX4doIlKvPG/i0A9dpKxOLII8yA== +"@eslint/js@9.9.0": + version "9.9.0" + resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.9.0.tgz#d8437adda50b3ed4401964517b64b4f59b0e2638" + integrity sha512-hhetes6ZHP3BlXLxmd8K2SNgkhNSi+UcecbnwWKwpP7kyi/uC75DJ1lOOBO3xrC4jyojtGE3YxKZPHfk4yrgug== "@eslint/object-schema@^2.1.4": version "2.1.4" @@ -785,12 +806,12 @@ "@jridgewell/resolve-uri" "^3.1.0" "@jridgewell/sourcemap-codec" "^1.4.14" -"@lerna/create@8.1.7": - version "8.1.7" - resolved "https://registry.yarnpkg.com/@lerna/create/-/create-8.1.7.tgz#72817a6a7db5cb549f0920c2bbaba8d873a1bce1" - integrity sha512-ch81CgU5pBNOiUCQx44F/ZtN4DxxJjUQtuytYRBFWJSHAJ+XPJtiC/yQ9zjr1I1yaUlmNYYblkopoOyziOdJ1w== +"@lerna/create@8.1.8": + version "8.1.8" + resolved "https://registry.yarnpkg.com/@lerna/create/-/create-8.1.8.tgz#be70d620f1d6b71e9d6b9d20049b784168b6ca19" + integrity sha512-wi72R01tgjBjzG2kjRyTHl4yCTKDfDMIXRyKz9E/FBa9SkFvUOAE4bdyY9MhEsRZmSWL7+CYE8Flv/HScRpBbA== dependencies: - "@npmcli/arborist" "7.5.3" + "@npmcli/arborist" "7.5.4" "@npmcli/package-json" "5.2.0" "@npmcli/run-script" "8.1.0" "@nx/devkit" ">=17.1.2 < 20" @@ -903,10 +924,10 @@ lru-cache "^10.0.1" socks-proxy-agent "^8.0.3" -"@npmcli/arborist@7.5.3": - version "7.5.3" - resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-7.5.3.tgz#88c51b124a1ec48d358897778af6ab5b0e05694d" - integrity sha512-7gbMdDNSYUzi0j2mpb6FoXRg3BxXWplMQZH1MZlvNjSdWFObaUz2Ssvo0Nlh2xmWks1OPo+gpsE6qxpT/5M7lQ== +"@npmcli/arborist@7.5.4": + version "7.5.4" + resolved "https://registry.yarnpkg.com/@npmcli/arborist/-/arborist-7.5.4.tgz#3dd9e531d6464ef6715e964c188e0880c471ac9b" + integrity sha512-nWtIc6QwwoUORCRNzKx4ypHqCk3drI+5aeYdMTQQiRCcn4lOOgfQh7WyZobGYTxXPSq1VwV53lkpN/BRlRk08g== dependencies: "@isaacs/string-locale-compare" "^1.1.0" "@npmcli/fs" "^3.1.1" @@ -1221,27 +1242,27 @@ read-package-json-fast "^2.0.3" which "^2.0.2" -"@nrwl/devkit@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-19.5.4.tgz#fdc89b6b722dbb5826eb9c33193a313d6c6a74ed" - integrity sha512-T3cRQErKfEyrx9x+xsnY4kg5+vmwPn3UQY1GwsPuuhqYeJn2NAQFzb8gcnZ6mSTqughum3eqp2nNDmpUkWO7tg== +"@nrwl/devkit@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nrwl/devkit/-/devkit-19.6.1.tgz#8fd3d703088d97c32dc34eb1f13acefaf6bac69b" + integrity sha512-aoS5RwtUqd8gUWgubOtQ4kzqO8UVjYxtecutvSnDN6gKyG2ylZcDR2OnWL+AB7HbVgRjm/6/QALdcaev9Ljd8w== dependencies: - "@nx/devkit" "19.5.4" + "@nx/devkit" "19.6.1" -"@nrwl/tao@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-19.5.4.tgz#cfc0f3f5aa6e304b2a9ed1e733a2f59373dd38a6" - integrity sha512-LNCi+2Rb17wNkUUdX2OQPRv9qOrstlmuAAA9VVcIcW78NdybjgWWvMIhf4NrAkjn7/uALrZdv22zyiGekmheDw== +"@nrwl/tao@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nrwl/tao/-/tao-19.6.1.tgz#a1082af4bbfcef652aff1105164f77eaa77abd81" + integrity sha512-nl/NcBRkHr5r0drCq9ROPcKx/Q7SioPvNMl7edo/PdjdKcmJ3gXqvgTxPjwbYH2/ScNX2yjm353qrNyffSs6Rw== dependencies: - nx "19.5.4" + nx "19.6.1" tslib "^2.3.0" -"@nx/devkit@19.5.4", "@nx/devkit@>=17.1.2 < 20": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/devkit/-/devkit-19.5.4.tgz#642272f65b8cb0a6d27317c7fc3b1529209e3ce1" - integrity sha512-0TG2iU0xVRuElLP2aLeRSKUynsC+UgHqE/FJW2IcglHngs2/Duw2A4HDUVVOxztkEQPmp736qkYSwFO0nlOGxg== +"@nx/devkit@19.6.1", "@nx/devkit@>=17.1.2 < 20": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/devkit/-/devkit-19.6.1.tgz#f4f7ad5bca8f017b68809ad9c749cdaf756e7fba" + integrity sha512-FGfPM9R7QdEGllNr7Jlx81QbiufNNRHehrJ/4aqftzHWT5ptYmH45bPnd/Wu0qDK4rg1c4PMrjEOLpyCAFXg1Q== dependencies: - "@nrwl/devkit" "19.5.4" + "@nrwl/devkit" "19.6.1" ejs "^3.1.7" enquirer "~2.3.6" ignore "^5.0.4" @@ -1251,55 +1272,55 @@ tslib "^2.3.0" yargs-parser "21.1.1" -"@nx/nx-darwin-arm64@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.5.4.tgz#e2e206c44ddb601d8188b5926f405004bc150881" - integrity sha512-s+OmSsYUtECmEKAdzSsYoO9vamx+njiP72eSZusmTh7fCJg+dW3dcifRkUf3h1dcM53hffXcmxKEoWxZMAeuXw== - -"@nx/nx-darwin-x64@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-19.5.4.tgz#2b0c72faaef454a51b5a6aa95ec8802fb76280bb" - integrity sha512-GjA6aThF9P7FR3OdNZn4g9c1bJeQMOdQmo2jaBaGmUPnOIZSEWinHkvh5g8vDg+jNwRdHKK84jJWWW0/o73iYQ== - -"@nx/nx-freebsd-x64@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.5.4.tgz#1ee91b36ece414d7e9ae5bdf097e27c9a6f662fc" - integrity sha512-KPVTmg2NpvON3+sh2pNWv2GJow5CL3fX2xBo4cI9D50DDZOD4fB68S2v5q6nLC1QWOwQcC0PLnSpoKaDB0PgQg== - -"@nx/nx-linux-arm-gnueabihf@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.5.4.tgz#fed20c0d38ac77a3e1b766e249de66ad74990f78" - integrity sha512-a535HwxVhTS+ngcoFxrsqmggpsKWquubILZhIeY/q+XW6nX61FEb/EqlMkc+aJLHD1LQBGax1W+j7YvTA/66Lw== - -"@nx/nx-linux-arm64-gnu@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.5.4.tgz#352e1dc92c63467d4536ac300df14bfa4dde0bfb" - integrity sha512-eRu/IoPB68MQeEmfyub+P79eDYvXOyNa706rp0JnDHL5LMw12kPF3MIeqc/v7o6xWakGHCSnTCulcqsl8HXryg== - -"@nx/nx-linux-arm64-musl@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.5.4.tgz#5aa0f9ace52c469f16e76b4af48f442203280c40" - integrity sha512-r5NNVngNwTe+zpUAAZAgCezDkjc0pi2zrr8VwiaRZsmVjhHtvvsXJgo1ONw5s2HjKoKuTFEa5jKTUlAHkaQ7Kg== - -"@nx/nx-linux-x64-gnu@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.5.4.tgz#97ed9caecb1a94ed03367e946d8bf6475cf5549a" - integrity sha512-8TWwjyp/bK2a/CHK2HuC7I8iITC9ytEvfru8/kw1mSyoK4kSDlzkL/1uDl536ULXLWORulfEzaGb61GynVc1vg== - -"@nx/nx-linux-x64-musl@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.5.4.tgz#d4e39ce08ac8834753787c39fef0bab89d4c5817" - integrity sha512-5Pf32iv9nnmSV/oOHd9k/5L45m3BooSj096G/ejAN3BHMr4CZIMhjDcQq9ZX7pAZFchU5zL0+dNClK70QfA7PA== - -"@nx/nx-win32-arm64-msvc@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.5.4.tgz#181ba1b180cbabe957d0514339a7798755ed6c52" - integrity sha512-fyKGfde4Pq9r5qQMLIleujq7B5ta86y8RSPUruoN6zaGrNg6waqbpMdZUjjsg9L7PP9RPaMHPMubC21OnQQomQ== - -"@nx/nx-win32-x64-msvc@19.5.4": - version "19.5.4" - resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.5.4.tgz#15507d7c6e28e14bedfb5506f9fb8d8c4482205a" - integrity sha512-gcAr5zZQKiAxHZ7iUOVeMLf/KIh4EFbF07Q0uSmgGmUJL1u3mZTjeG57V1AMZbTQESGY43rgoymqVYkghc5Jlw== +"@nx/nx-darwin-arm64@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-arm64/-/nx-darwin-arm64-19.6.1.tgz#d21bb4b19387a0aeb724c86d80f59127dbf900c8" + integrity sha512-xxAdyIUckvsIID0BnYCHM86s35n0tDsBYuoqpOFG+22PEk0bzoSVOyxeJQ5UKDCvXe5wa2MbcgyhbHKhj7Osnw== + +"@nx/nx-darwin-x64@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-darwin-x64/-/nx-darwin-x64-19.6.1.tgz#cbc95ac98ca55dd9c0a522012c7b4a1cd2100483" + integrity sha512-ISwb09KKtAydrAbyxwOjce8pdVzOSuzC068Uo8TcHp2Xao2b+N9zmkQquLzC+G4dgwxDxxVYoZcuZ6urRFV7Cg== + +"@nx/nx-freebsd-x64@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-freebsd-x64/-/nx-freebsd-x64-19.6.1.tgz#eada3946daf9d9aad2868636a90428b5ce3394a8" + integrity sha512-IzR+K0tW8A6kl95V6k8Pp8tknjiDGOUB+E2p8YN7UlYPP7gaBK+rojERF4V7jD5pEvSxrKMwuJoD+WH/b52TNA== + +"@nx/nx-linux-arm-gnueabihf@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm-gnueabihf/-/nx-linux-arm-gnueabihf-19.6.1.tgz#49ebe76eb63b025238309a915af0822e82f37552" + integrity sha512-8mHceXwpBIp1gF+hSKGg7XRYpcB9QN8YROSn4dzvDoUMEusOE27jzXKKS9dRkjdULYENKDkv0NbuhcoxoWx+KA== + +"@nx/nx-linux-arm64-gnu@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-gnu/-/nx-linux-arm64-gnu-19.6.1.tgz#24c95a34490face531736f97da3cbf7c3cc89988" + integrity sha512-eqxWqhUrFEz3Rnoz9RKhMlrCY6AF0AVGgTGto5TdB16kIgTA53i18bf9jaq2MSBZQHE1kySVUgPfxQQxPzWKaA== + +"@nx/nx-linux-arm64-musl@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-arm64-musl/-/nx-linux-arm64-musl-19.6.1.tgz#502ee375bb01b0f5fcd9e6c921c0c43679320886" + integrity sha512-3lfazErzsJgO8G2dEcuGmtJoi9fQ3CPvLA+RiE7CKBQ4a/5Zb1o2rqlZ1YTfnfiUcOh4knt7gWcXm16eSKbLoQ== + +"@nx/nx-linux-x64-gnu@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-gnu/-/nx-linux-x64-gnu-19.6.1.tgz#066dab4382b05eee56c7c1ebbf249fe4077f363e" + integrity sha512-Rt4NkuJZpRyVunRoCC5shaUqPk6wrMH3x55WEb0HBzlKjkItgrFpPInPS4hp9hFsJ8vX2AkBX2qrTWRaLMbOyQ== + +"@nx/nx-linux-x64-musl@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-linux-x64-musl/-/nx-linux-x64-musl-19.6.1.tgz#858b1d5c1ed756e32bff3d0505ce2f263ca8dff5" + integrity sha512-P0RnxCfcgb6t4l+WWVNlTDzqpcM/Du77EfgvNc3Z1mRLQMP4E5TkLt8J/aTTjh2GwtnP95oxQSOYBzg+sJwNPQ== + +"@nx/nx-win32-arm64-msvc@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-arm64-msvc/-/nx-win32-arm64-msvc-19.6.1.tgz#5a3b372cd9a95eb57e96797a24fb2b6c3da15a29" + integrity sha512-CFaRqK+Sv7Gi7d+WUJqFLV0t4D2ImnO7BoeZWnT6oEfIl94hikCtbu4693Fsu7eg37JMa+4xwdAUvOOq1rFhJg== + +"@nx/nx-win32-x64-msvc@19.6.1": + version "19.6.1" + resolved "https://registry.yarnpkg.com/@nx/nx-win32-x64-msvc/-/nx-win32-x64-msvc-19.6.1.tgz#ad9cd32c13eed36e50063522773ce3b7b7e6bbfb" + integrity sha512-l2vAK0/2c9oEAqI0KdeJkkkZlr72LeWV5zds/FIuFHBRyweJanplRelhD7t199BnGr2FfulOpFrc1TyYzvntkg== "@octokit/auth-token@^2.4.4": version "2.5.0" @@ -1821,11 +1842,11 @@ "@types/node" "*" "@types/node@*": - version "22.0.0" - resolved "https://registry.yarnpkg.com/@types/node/-/node-22.0.0.tgz#04862a2a71e62264426083abe1e27e87cac05a30" - integrity sha512-VT7KSYudcPOzP5Q0wfbowyNLaVR8QWUdw+088uFWwfvpY6uCWaXpqV6ieLAu9WBcnTa7H4Z5RLK8I5t2FuOcqw== + version "22.4.2" + resolved "https://registry.yarnpkg.com/@types/node/-/node-22.4.2.tgz#55fefb1c3dba2ecd7eb76738c6b80da75760523f" + integrity sha512-nAvM3Ey230/XzxtyDcJ+VjvlzpzoHwLsF7JaDRfoI0ytO0mVheerNmM45CtA0yOILXwXXxOrcUWH3wltX+7PSw== dependencies: - undici-types "~6.11.1" + undici-types "~6.19.2" "@types/node@^14.18.63": version "14.18.63" @@ -1833,9 +1854,9 @@ integrity sha512-fAtCfv4jJg+ExtXhvCkCqUKZ+4ok/JQk01qDKhL5BDDoS3AxKXhV5/MAVUZyQnSEd2GT92fkgZl0pz0Q0AzcIQ== "@types/node@^16.9.2": - version "16.18.104" - resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.104.tgz#33d5f4886c54133af0ff02445e57c5254025ee53" - integrity sha512-OF3keVCbfPlkzxnnDBUZJn1RiCJzKeadjiW0xTEb0G1SUJ5gDVb3qnzZr2T4uIFvsbKJbXy1v2DN7e2zaEY7jQ== + version "16.18.106" + resolved "https://registry.yarnpkg.com/@types/node/-/node-16.18.106.tgz#62228200da6d98365d2de5601f7230cdf041f0e2" + integrity sha512-YTgQUcpdXRc7iiEMutkkXl9WUx5lGUCVYvnfRg9CV+IA4l9epctEhCTbaw4KgzXaKYv8emvFJkEM65+MkNUhsQ== "@types/normalize-package-data@^2.4.0": version "2.4.4" @@ -1921,62 +1942,62 @@ dependencies: "@types/yargs-parser" "*" -"@typescript-eslint/eslint-plugin@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-7.18.0.tgz#b16d3cf3ee76bf572fdf511e79c248bdec619ea3" - integrity sha512-94EQTWZ40mzBc42ATNIBimBEDltSJ9RQHCC8vc/PDbxi4k8dVwUAv4o98dk50M1zB+JGFxp43FP7f8+FP8R6Sw== +"@typescript-eslint/eslint-plugin@^8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.2.0.tgz#bf50e9c8dac6bdf15dd1b52ca29448550903558e" + integrity sha512-02tJIs655em7fvt9gps/+4k4OsKULYGtLBPJfOsmOq1+3cdClYiF0+d6mHu6qDnTcg88wJBkcPLpQhq7FyDz0A== dependencies: "@eslint-community/regexpp" "^4.10.0" - "@typescript-eslint/scope-manager" "7.18.0" - "@typescript-eslint/type-utils" "7.18.0" - "@typescript-eslint/utils" "7.18.0" - "@typescript-eslint/visitor-keys" "7.18.0" + "@typescript-eslint/scope-manager" "8.2.0" + "@typescript-eslint/type-utils" "8.2.0" + "@typescript-eslint/utils" "8.2.0" + "@typescript-eslint/visitor-keys" "8.2.0" graphemer "^1.4.0" ignore "^5.3.1" natural-compare "^1.4.0" ts-api-utils "^1.3.0" -"@typescript-eslint/parser@^7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-7.18.0.tgz#83928d0f1b7f4afa974098c64b5ce6f9051f96a0" - integrity sha512-4Z+L8I2OqhZV8qA132M4wNL30ypZGYOQVBfMgxDH/K5UX0PNqTu1c6za9ST5r9+tavvHiTWmBnKzpCJ/GlVFtg== +"@typescript-eslint/parser@^8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-8.2.0.tgz#de3993304feb98576d9ffbf10c83ca1bcb68a5dd" + integrity sha512-j3Di+o0lHgPrb7FxL3fdEy6LJ/j2NE8u+AP/5cQ9SKb+JLH6V6UHDqJ+e0hXBkHP1wn1YDFjYCS9LBQsZDlDEg== dependencies: - "@typescript-eslint/scope-manager" "7.18.0" - "@typescript-eslint/types" "7.18.0" - "@typescript-eslint/typescript-estree" "7.18.0" - "@typescript-eslint/visitor-keys" "7.18.0" + "@typescript-eslint/scope-manager" "8.2.0" + "@typescript-eslint/types" "8.2.0" + "@typescript-eslint/typescript-estree" "8.2.0" + "@typescript-eslint/visitor-keys" "8.2.0" debug "^4.3.4" -"@typescript-eslint/scope-manager@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-7.18.0.tgz#c928e7a9fc2c0b3ed92ab3112c614d6bd9951c83" - integrity sha512-jjhdIE/FPF2B7Z1uzc6i3oWKbGcHb87Qw7AWj6jmEqNOfDFbJWtjt/XfwCpvNkpGWlcJaog5vTR+VV8+w9JflA== +"@typescript-eslint/scope-manager@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-8.2.0.tgz#4a4bd7e7df5522acc8795c3b6f21e8c41b951138" + integrity sha512-OFn80B38yD6WwpoHU2Tz/fTz7CgFqInllBoC3WP+/jLbTb4gGPTy9HBSTsbDWkMdN55XlVU0mMDYAtgvlUspGw== dependencies: - "@typescript-eslint/types" "7.18.0" - "@typescript-eslint/visitor-keys" "7.18.0" + "@typescript-eslint/types" "8.2.0" + "@typescript-eslint/visitor-keys" "8.2.0" -"@typescript-eslint/type-utils@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-7.18.0.tgz#2165ffaee00b1fbbdd2d40aa85232dab6998f53b" - integrity sha512-XL0FJXuCLaDuX2sYqZUUSOJ2sG5/i1AAze+axqmLnSkNEVMVYLF+cbwlB2w8D1tinFuSikHmFta+P+HOofrLeA== +"@typescript-eslint/type-utils@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/type-utils/-/type-utils-8.2.0.tgz#5cd7fef50f492e5a0f508bdd40678861a57c3549" + integrity sha512-g1CfXGFMQdT5S+0PSO0fvGXUaiSkl73U1n9LTK5aRAFnPlJ8dLKkXr4AaLFvPedW8lVDoMgLLE3JN98ZZfsj0w== dependencies: - "@typescript-eslint/typescript-estree" "7.18.0" - "@typescript-eslint/utils" "7.18.0" + "@typescript-eslint/typescript-estree" "8.2.0" + "@typescript-eslint/utils" "8.2.0" debug "^4.3.4" ts-api-utils "^1.3.0" -"@typescript-eslint/types@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-7.18.0.tgz#b90a57ccdea71797ffffa0321e744f379ec838c9" - integrity sha512-iZqi+Ds1y4EDYUtlOOC+aUmxnE9xS/yCigkjA7XpTKV6nCBd3Hp/PRGGmdwnfkV2ThMyYldP1wRpm/id99spTQ== +"@typescript-eslint/types@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-8.2.0.tgz#dfe9895a2812f7c6bf7af863054c22a67060420c" + integrity sha512-6a9QSK396YqmiBKPkJtxsgZZZVjYQ6wQ/TlI0C65z7vInaETuC6HAHD98AGLC8DyIPqHytvNuS8bBVvNLKyqvQ== -"@typescript-eslint/typescript-estree@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-7.18.0.tgz#b5868d486c51ce8f312309ba79bdb9f331b37931" - integrity sha512-aP1v/BSPnnyhMHts8cf1qQ6Q1IFwwRvAQGRvBFkWlo3/lH29OXA3Pts+c10nxRxIBrDnoMqzhgdwVe5f2D6OzA== +"@typescript-eslint/typescript-estree@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-8.2.0.tgz#fbdb93a1c7ac7f1f96ae2de4fc97cd64c60ae894" + integrity sha512-kiG4EDUT4dImplOsbh47B1QnNmXSoUqOjWDvCJw/o8LgfD0yr7k2uy54D5Wm0j4t71Ge1NkynGhpWdS0dEIAUA== dependencies: - "@typescript-eslint/types" "7.18.0" - "@typescript-eslint/visitor-keys" "7.18.0" + "@typescript-eslint/types" "8.2.0" + "@typescript-eslint/visitor-keys" "8.2.0" debug "^4.3.4" globby "^11.1.0" is-glob "^4.0.3" @@ -1984,22 +2005,22 @@ semver "^7.6.0" ts-api-utils "^1.3.0" -"@typescript-eslint/utils@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-7.18.0.tgz#bca01cde77f95fc6a8d5b0dbcbfb3d6ca4be451f" - integrity sha512-kK0/rNa2j74XuHVcoCZxdFBMF+aq/vH83CXAOHieC+2Gis4mF8jJXT5eAfyD3K0sAxtPuwxaIOIOvhwzVDt/kw== +"@typescript-eslint/utils@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/utils/-/utils-8.2.0.tgz#02d442285925f28d520587185f295f932702e733" + integrity sha512-O46eaYKDlV3TvAVDNcoDzd5N550ckSe8G4phko++OCSC1dYIb9LTc3HDGYdWqWIAT5qDUKphO6sd9RrpIJJPfg== dependencies: "@eslint-community/eslint-utils" "^4.4.0" - "@typescript-eslint/scope-manager" "7.18.0" - "@typescript-eslint/types" "7.18.0" - "@typescript-eslint/typescript-estree" "7.18.0" + "@typescript-eslint/scope-manager" "8.2.0" + "@typescript-eslint/types" "8.2.0" + "@typescript-eslint/typescript-estree" "8.2.0" -"@typescript-eslint/visitor-keys@7.18.0": - version "7.18.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-7.18.0.tgz#0564629b6124d67607378d0f0332a0495b25e7d7" - integrity sha512-cDF0/Gf81QpY3xYyJKDV14Zwdmid5+uuENhjH2EqFaF0ni+yAyq/LzMaIJdhNJXZI7uLzwIlA+V7oWoyn6Curg== +"@typescript-eslint/visitor-keys@8.2.0": + version "8.2.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-8.2.0.tgz#f6abb3b6508898a117175ddc11f9b9869cc96834" + integrity sha512-sbgsPMW9yLvS7IhCi8IpuK1oBmtbWUNP+hBdwl/I9nzqVsszGnNGti5r9dUtF5RLivHUFFIdRvLiTsPhzSyJ3Q== dependencies: - "@typescript-eslint/types" "7.18.0" + "@typescript-eslint/types" "8.2.0" eslint-visitor-keys "^3.4.3" "@webassemblyjs/ast@1.12.1", "@webassemblyjs/ast@^1.12.1": @@ -2454,9 +2475,9 @@ asap@^2.0.0: integrity sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA== async@^3.1.0, async@^3.2.3: - version "3.2.5" - resolved "https://registry.yarnpkg.com/async/-/async-3.2.5.tgz#ebd52a8fdaf7a2289a24df399f8d8485c8a46b66" - integrity sha512-baNZyqaaLhyLVKm/DlvdW051MSgO6b8eVfIezl9E5PqWxFgzLm/wQntEW4zOytVburDEr0JlALEpdOFwvErLsg== + version "3.2.6" + resolved "https://registry.yarnpkg.com/async/-/async-3.2.6.tgz#1b0728e14929d51b85b449b7f06e27c1145e38ce" + integrity sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA== asynckit@^0.4.0: version "0.4.0" @@ -2470,10 +2491,10 @@ available-typed-arrays@^1.0.7: dependencies: possible-typed-array-names "^1.0.0" -axios@^1.7.2: - version "1.7.2" - resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621" - integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw== +axios@^1.7.4: + version "1.7.4" + resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.4.tgz#4c8ded1b43683c8dd362973c393f3ede24052aa2" + integrity sha512-DukmaFRnY6AzAALSH4J2M3k6PkaC+MfaAGdEERRWcC9q3/TWQwLpHR8ZRLKTdQ3aBDL64EdluRDjJqKw+BPZEw== dependencies: follow-redirects "^1.15.6" form-data "^4.0.0" @@ -2537,22 +2558,25 @@ babel-plugin-jest-hoist@^29.6.3: "@types/babel__traverse" "^7.0.6" babel-preset-current-node-syntax@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.0.1.tgz#b4399239b89b2a011f9ddbe3e4f401fc40cff73b" - integrity sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ== + version "1.1.0" + resolved "https://registry.yarnpkg.com/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz#9a929eafece419612ef4ae4f60b1862ebad8ef30" + integrity sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw== dependencies: "@babel/plugin-syntax-async-generators" "^7.8.4" "@babel/plugin-syntax-bigint" "^7.8.3" - "@babel/plugin-syntax-class-properties" "^7.8.3" - "@babel/plugin-syntax-import-meta" "^7.8.3" + "@babel/plugin-syntax-class-properties" "^7.12.13" + "@babel/plugin-syntax-class-static-block" "^7.14.5" + "@babel/plugin-syntax-import-attributes" "^7.24.7" + "@babel/plugin-syntax-import-meta" "^7.10.4" "@babel/plugin-syntax-json-strings" "^7.8.3" - "@babel/plugin-syntax-logical-assignment-operators" "^7.8.3" + "@babel/plugin-syntax-logical-assignment-operators" "^7.10.4" "@babel/plugin-syntax-nullish-coalescing-operator" "^7.8.3" - "@babel/plugin-syntax-numeric-separator" "^7.8.3" + "@babel/plugin-syntax-numeric-separator" "^7.10.4" "@babel/plugin-syntax-object-rest-spread" "^7.8.3" "@babel/plugin-syntax-optional-catch-binding" "^7.8.3" "@babel/plugin-syntax-optional-chaining" "^7.8.3" - "@babel/plugin-syntax-top-level-await" "^7.8.3" + "@babel/plugin-syntax-private-property-in-object" "^7.14.5" + "@babel/plugin-syntax-top-level-await" "^7.14.5" babel-preset-jest@^28.1.3: version "28.1.3" @@ -2644,13 +2668,13 @@ braces@^3.0.3: fill-range "^7.1.1" browserslist@^4.21.10, browserslist@^4.23.1: - version "4.23.2" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.2.tgz#244fe803641f1c19c28c48c4b6ec9736eb3d32ed" - integrity sha512-qkqSyistMYdxAcw+CzbZwlBy8AGmS/eEWs+sEV5TnLRGDOL+C5M2EnH6tlZyg0YoAxGJAFKh61En9BR941GnHA== + version "4.23.3" + resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.23.3.tgz#debb029d3c93ebc97ffbc8d9cbb03403e227c800" + integrity sha512-btwCFJVjI4YWDNfau8RhZ+B1Q/VLoUITrm3RlP6y1tYGWIOa+InuYiRGXUBXo8nA1qKmHMyLB/iVQg5TT4eFoA== dependencies: - caniuse-lite "^1.0.30001640" - electron-to-chromium "^1.4.820" - node-releases "^2.0.14" + caniuse-lite "^1.0.30001646" + electron-to-chromium "^1.5.4" + node-releases "^2.0.18" update-browserslist-db "^1.1.0" bser@2.1.1: @@ -2762,10 +2786,10 @@ camelcase@^6.2.0, camelcase@^6.3.0: resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a" integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== -caniuse-lite@^1.0.30001640: - version "1.0.30001645" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001645.tgz#4c4b7427683dea1170a152cd1654be8d0da7bd71" - integrity sha512-GFtY2+qt91kzyMk6j48dJcwJVq5uTkk71XxE3RtScx7XWRLsO7bU44LOFkOZYR8w9YMS0UhPSYpN/6rAMImmLw== +caniuse-lite@^1.0.30001646: + version "1.0.30001651" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001651.tgz#52de59529e8b02b1aedcaaf5c05d9e23c0c28138" + integrity sha512-9Cf+Xv1jJNe1xPZLGuUXLNkE1BoDkqRqYyFJ9TDYSqhduqA4hu4oR9HluGoWYQC/aj8WHjsGVV+bwkh0+tegRg== case@^1.6.3: version "1.6.3" @@ -3612,10 +3636,10 @@ ejs@^3.1.7: dependencies: jake "^10.8.5" -electron-to-chromium@^1.4.820: - version "1.5.4" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.4.tgz#cd477c830dd6fca41fbd5465c1ff6ce08ac22343" - integrity sha512-orzA81VqLyIGUEA77YkVA1D+N+nNfl2isJVjjmOyrlxuooZ19ynb+dOlaDTqd/idKRS9lDCSBmtzM+kyCsMnkA== +electron-to-chromium@^1.5.4: + version "1.5.13" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.13.tgz#1abf0410c5344b2b829b7247e031f02810d442e6" + integrity sha512-lbBcvtIJ4J6sS4tb5TLp1b4LyfCdMkwStzXPyAgVgTRAsep4bvrAGaBOP7ZJtQMNJpSQ9SqG4brWOroNaQtm7Q== emittery@^0.10.2: version "0.10.2" @@ -3841,7 +3865,14 @@ eslint-import-resolver-typescript@^3.6.1: is-core-module "^2.11.0" is-glob "^4.0.3" -eslint-module-utils@^2.7.3, eslint-module-utils@^2.7.4: +eslint-module-utils@^2.7.3: + version "2.8.2" + resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.2.tgz#2ecad69d71e1fa81f17f7f24d5d3e46b168de663" + integrity sha512-3XnC5fDyc8M4J2E8pt8pmSVRX2M+5yWMCfI/kDZwauQeFgzQOuhcRBFKjTeJagqgk4sFKxe1mvNVnaWwImx/Tg== + dependencies: + debug "^3.2.7" + +eslint-module-utils@^2.7.4: version "2.8.1" resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.8.1.tgz#52f2404300c3bd33deece9d7372fb337cc1d7c34" integrity sha512-rXDXR3h7cs7dy9RNpUlQf80nX31XWJEyGq1tRMo+6GsO5VmTe4UTwtmonAD4ZkAsrfMVDA2wlGJ3790Ys+D49Q== @@ -3901,16 +3932,16 @@ eslint-visitor-keys@^4.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-4.0.0.tgz#e3adc021aa038a2a8e0b2f8b0ce8f66b9483b1fb" integrity sha512-OtIRv/2GyiF6o/d8K7MYKKbXrOUBIK6SfkIRM4Z0dY3w+LiQ0vy3F57m0Z71bjbyeiWFiHJ8brqnmE6H6/jEuw== -eslint@^9.8.0: - version "9.8.0" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.8.0.tgz#a4f4a090c8ea2d10864d89a6603e02ce9f649f0f" - integrity sha512-K8qnZ/QJzT2dLKdZJVX6W4XOwBzutMYmt0lqUS+JdXgd+HTYFlonFgkJ8s44d/zMPPCnOOk0kMWCApCPhiOy9A== +eslint@^9.9.0: + version "9.9.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.9.0.tgz#8d214e69ae4debeca7ae97daebbefe462072d975" + integrity sha512-JfiKJrbx0506OEerjK2Y1QlldtBxkAlLxT5OEcRF8uaQ86noDe2k31Vw9rnSWv+MXZHj7OOUV/dA0AhdLFcyvA== dependencies: "@eslint-community/eslint-utils" "^4.2.0" "@eslint-community/regexpp" "^4.11.0" "@eslint/config-array" "^0.17.1" "@eslint/eslintrc" "^3.1.0" - "@eslint/js" "9.8.0" + "@eslint/js" "9.9.0" "@humanwhocodes/module-importer" "^1.0.1" "@humanwhocodes/retry" "^0.3.0" "@nodelib/fs.walk" "^1.2.8" @@ -4209,9 +4240,9 @@ for-each@^0.3.3: is-callable "^1.1.3" foreground-child@^3.1.0: - version "3.2.1" - resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.2.1.tgz#767004ccf3a5b30df39bed90718bab43fe0a59f7" - integrity sha512-PXUUyLqrR2XCWICfv6ukppP96sdFwWbNEnfEMt7jNsISjMsvaLNinAHNDYyvkyU+SZG2BTSbT5NjG+vZslfGTA== + version "3.3.0" + resolved "https://registry.yarnpkg.com/foreground-child/-/foreground-child-3.3.0.tgz#0ac8644c06e431439f8561db8ecf29a7b5519c77" + integrity sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg== dependencies: cross-spawn "^7.0.0" signal-exit "^4.0.1" @@ -4759,9 +4790,9 @@ ignore-walk@^6.0.4: minimatch "^9.0.0" ignore@^5.0.4, ignore@^5.2.0, ignore@^5.3.1: - version "5.3.1" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.1.tgz#5073e554cd42c5b33b394375f538b8593e34d4ef" - integrity sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw== + version "5.3.2" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.3.2.tgz#3cd40e729f3643fd87cb04e50bf0eb722bc596f5" + integrity sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g== import-fresh@^3.2.1, import-fresh@^3.3.0: version "3.3.0" @@ -6088,13 +6119,13 @@ kleur@^3.0.3: resolved "https://registry.yarnpkg.com/kleur/-/kleur-3.0.3.tgz#a79c9ecc86ee1ce3fa6206d1216c501f147fc07e" integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w== -lerna@^8.1.7: - version "8.1.7" - resolved "https://registry.yarnpkg.com/lerna/-/lerna-8.1.7.tgz#096767c11cb510c4e368a648e2779192b6b06313" - integrity sha512-v2kkBn8Vqtroo30Pr5/JQ9MygRhnCsoI1jSOf3DxWmcTbkpC5U7c6rGr+7NPK6QrxKbC0/Cj4kuIBMb/7f79sQ== +lerna@^8.1.8: + version "8.1.8" + resolved "https://registry.yarnpkg.com/lerna/-/lerna-8.1.8.tgz#9edc9ce4fb4b6c7e22c994e9ef91d4e0370595b2" + integrity sha512-Rmo5ShMx73xM2CUcRixjmpZIXB7ZFlWEul1YvJyx/rH4onAwDHtUGD7Rx4NZYL8QSRiQHroglM2Oyq+WqA4BYg== dependencies: - "@lerna/create" "8.1.7" - "@npmcli/arborist" "7.5.3" + "@lerna/create" "8.1.8" + "@npmcli/arborist" "7.5.4" "@npmcli/package-json" "5.2.0" "@npmcli/run-script" "8.1.0" "@nx/devkit" ">=17.1.2 < 20" @@ -6575,9 +6606,9 @@ merge2@^1.3.0, merge2@^1.4.1: integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== micromatch@^4.0.4: - version "4.0.7" - resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.7.tgz#33e8190d9fe474a9895525f5618eee136d46c2e5" - integrity sha512-LPP/3KorzCwBxfeUuZmaR6bG2kdeHSbe0P2tY3FLRU4vYrjYz5hI4QZwV0njUx3jeuKe67YukQ1LSPZBKDqO/Q== + version "4.0.8" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.8.tgz#d66fa18f3a47076789320b9b1af32bd86d9fa202" + integrity sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA== dependencies: braces "^3.0.3" picomatch "^2.3.1" @@ -6894,7 +6925,7 @@ node-machine-id@1.1.12: resolved "https://registry.yarnpkg.com/node-machine-id/-/node-machine-id-1.1.12.tgz#37904eee1e59b320bb9c5d6c0a59f3b469cb6267" integrity sha512-QNABxbrPa3qEIfrE6GOJ7BYIuignnJw7iQ2YPbc3Nla1HzRJjXzZOiikfF8m7eAMfichLt3M4VgLOetqgDmgGQ== -node-releases@^2.0.14: +node-releases@^2.0.18: version "2.0.18" resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.18.tgz#f010e8d35e2fe8d6b2944f03f70213ecedc4ca3f" integrity sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g== @@ -7217,17 +7248,17 @@ npmlog@^6.0.0, npmlog@^6.0.2: gauge "^4.0.3" set-blocking "^2.0.0" -nx@19.5.4, "nx@>=17.1.2 < 20": - version "19.5.4" - resolved "https://registry.yarnpkg.com/nx/-/nx-19.5.4.tgz#8c14e9bf144f0740f9dcd2fc8a03512b99d715f8" - integrity sha512-zfxIFe+29Na6GKlmPPzQhCjnBv5HoLaT43mYZdHh3BPrVOzWBCXNwxWROG1ZK9IcUepwySWq7NI/H3w8BGPEGg== +nx@19.6.1, "nx@>=17.1.2 < 20": + version "19.6.1" + resolved "https://registry.yarnpkg.com/nx/-/nx-19.6.1.tgz#883fc5cd36fdbe10b14294d8d0a1bfe2872c469d" + integrity sha512-F7NH8/lMwd2ogPjvjMDGUJMaRuEc60DEmpd8U/3R7WgFRHWuF5ily1AKQiLfQg6V5ArQUrkBJesulTAnlHR7+g== dependencies: "@napi-rs/wasm-runtime" "0.2.4" - "@nrwl/tao" "19.5.4" + "@nrwl/tao" "19.6.1" "@yarnpkg/lockfile" "^1.1.0" "@yarnpkg/parsers" "3.0.0-rc.46" "@zkochan/js-yaml" "0.0.7" - axios "^1.7.2" + axios "^1.7.4" chalk "^4.1.0" cli-cursor "3.1.0" cli-spinners "2.6.1" @@ -7258,16 +7289,16 @@ nx@19.5.4, "nx@>=17.1.2 < 20": yargs "^17.6.2" yargs-parser "21.1.1" optionalDependencies: - "@nx/nx-darwin-arm64" "19.5.4" - "@nx/nx-darwin-x64" "19.5.4" - "@nx/nx-freebsd-x64" "19.5.4" - "@nx/nx-linux-arm-gnueabihf" "19.5.4" - "@nx/nx-linux-arm64-gnu" "19.5.4" - "@nx/nx-linux-arm64-musl" "19.5.4" - "@nx/nx-linux-x64-gnu" "19.5.4" - "@nx/nx-linux-x64-musl" "19.5.4" - "@nx/nx-win32-arm64-msvc" "19.5.4" - "@nx/nx-win32-x64-msvc" "19.5.4" + "@nx/nx-darwin-arm64" "19.6.1" + "@nx/nx-darwin-x64" "19.6.1" + "@nx/nx-freebsd-x64" "19.6.1" + "@nx/nx-linux-arm-gnueabihf" "19.6.1" + "@nx/nx-linux-arm64-gnu" "19.6.1" + "@nx/nx-linux-arm64-musl" "19.6.1" + "@nx/nx-linux-x64-gnu" "19.6.1" + "@nx/nx-linux-x64-musl" "19.6.1" + "@nx/nx-win32-arm64-msvc" "19.6.1" + "@nx/nx-win32-x64-msvc" "19.6.1" object-inspect@^1.13.1: version "1.13.2" @@ -7695,9 +7726,9 @@ possible-typed-array-names@^1.0.0: integrity sha512-d7Uw+eZoloe0EHDIYoe+bQ5WXnGMOpmiZFTuMWCwpjzzkL2nTjcKiAk4hh8TjnGye2TwWOk3UXucZ+3rbmBa8Q== postcss-selector-parser@^6.0.10: - version "6.1.1" - resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.1.tgz#5be94b277b8955904476a2400260002ce6c56e38" - integrity sha512-b4dlw/9V8A71rLIDsSwVmak9z2DuBUB7CA1/wSdelNEzqsjoSPeADTWNO09lpH49Diy3/JIZ2bSPB1dI3LJCHg== + version "6.1.2" + resolved "https://registry.yarnpkg.com/postcss-selector-parser/-/postcss-selector-parser-6.1.2.tgz#27ecb41fb0e3b6ba7a1ec84fff347f734c7929de" + integrity sha512-Q8qQfPiZ+THO/3ZrOrO0cJJKfpYCagtMUkXbnEfmgUjwXg6z/WBeOyS9APBBPCTSiDV+s4SwQGu8yFsiMRIudg== dependencies: cssesc "^3.0.0" util-deprecate "^1.0.2" @@ -7833,10 +7864,10 @@ pure-rand@^6.0.0: resolved "https://registry.yarnpkg.com/pure-rand/-/pure-rand-6.1.0.tgz#d173cf23258231976ccbdb05247c9787957604f2" integrity sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA== -pyright@^1.1.374: - version "1.1.374" - resolved "https://registry.yarnpkg.com/pyright/-/pyright-1.1.374.tgz#c6a77cded8261677fc022995a42f8ef19b843ff9" - integrity sha512-ISbC1YnYDYrEatoKKjfaA5uFIp0ddC/xw9aSlN/EkmwupXUMVn41Jl+G6wHEjRhC+n4abHZeGpEvxCUus/K9dA== +pyright@^1.1.377: + version "1.1.377" + resolved "https://registry.yarnpkg.com/pyright/-/pyright-1.1.377.tgz#75eedd2f3ecaef920d589cb149ffa3ccc78ac309" + integrity sha512-y6ENYuyZXTczPnPWZnqx78pE+ZgyIotEas2M/LFRTq3EfbgVk84EcvuSKLIy2DJeDKjKDxVP/LVmDNHabljD3g== optionalDependencies: fsevents "~2.3.3" @@ -8425,9 +8456,9 @@ spdx-expression-parse@^3.0.0: spdx-license-ids "^3.0.0" spdx-license-ids@^3.0.0: - version "3.0.18" - resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.18.tgz#22aa922dcf2f2885a6494a261f2d8b75345d0326" - integrity sha512-xxRs31BqRYHwiMzudOrpSiHtZ8i/GeionCBDSilhYRj+9gIcI8wCZTlXZKu9vZIVqViP3dcp9qE5G6AlIaD+TQ== + version "3.0.20" + resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-3.0.20.tgz#e44ed19ed318dd1e5888f93325cee800f0f51b89" + integrity sha512-jg25NiDV/1fLtSgEgyvVyDunvaNHbuwF9lfNV17gSmPFAlYzdfNBlLtLzXTevwkPj7DhGbmN9VnmJIgLnhvaBw== spdx-license-list@^6.9.0: version "6.9.0" @@ -8759,9 +8790,9 @@ terser-webpack-plugin@^5.3.10: terser "^5.26.0" terser@^5.26.0: - version "5.31.3" - resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.3.tgz#b24b7beb46062f4653f049eea4f0cd165d0f0c38" - integrity sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA== + version "5.31.6" + resolved "https://registry.yarnpkg.com/terser/-/terser-5.31.6.tgz#c63858a0f0703988d0266a82fcbf2d7ba76422b1" + integrity sha512-PQ4DAriWzKj+qgehQ7LK5bQqCFNMmlhjR2PFFLuqGCpuCAauxemVBWwWOxo3UIwWQx8+Pr61Df++r76wDmkQBg== dependencies: "@jridgewell/source-map" "^0.3.3" acorn "^8.8.2" @@ -9009,7 +9040,7 @@ typedarray@^0.0.6: resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" integrity sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA== -typescript-json-schema@^0.64.0: +typescript-json-schema@0.64.0: version "0.64.0" resolved "https://registry.yarnpkg.com/typescript-json-schema/-/typescript-json-schema-0.64.0.tgz#899b7da969eb79894c702cebc291d2b483810390" integrity sha512-Sew8llkYSzpxaMoGjpjD6NMFCr6DoWFHLs7Bz1LU48pzzi8ok8W+GZs9cG87IMBpC0UI7qwBMUI2um0LGxxLOg== @@ -9044,9 +9075,9 @@ typescript@~5.1.0: integrity sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA== uglify-js@^3.1.4: - version "3.19.1" - resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.1.tgz#2d5df6a0872c43da43187968308d7741d44b8056" - integrity sha512-y/2wiW+ceTYR2TSSptAhfnEtpLaQ4Ups5zrjB2d3kuVxHj16j/QJwPl5PvuGy9uARb39J0+iKxcRPvtpsx4A4A== + version "3.19.2" + resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.19.2.tgz#319ae26a5fbd18d03c7dc02496cfa1d6f1cd4307" + integrity sha512-S8KA6DDI47nQXJSi2ctQ629YzwOVs+bQML6DAtvy0wgNdpi+0ySpQK0g2pxBq2xfF2z3YCscu7NNA8nXT9PlIQ== unbox-primitive@^1.0.2: version "1.0.2" @@ -9058,10 +9089,10 @@ unbox-primitive@^1.0.2: has-symbols "^1.0.3" which-boxed-primitive "^1.0.2" -undici-types@~6.11.1: - version "6.11.1" - resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.11.1.tgz#432ea6e8efd54a48569705a699e62d8f4981b197" - integrity sha512-mIDEX2ek50x0OlRgxryxsenE5XaQD4on5U2inY7RApK3SOJpofyw7uW2AyfMKkhAxXIceo2DeWGVGwyvng1GNQ== +undici-types@~6.19.2: + version "6.19.8" + resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-6.19.8.tgz#35111c9d1437ab83a7cdc0abae2f26d88eda0a02" + integrity sha512-ve2KP6f/JnbPBFyobGHuerC9g1FYGn/F8n1LWTwNxCEzd6IfqTwUQcNXgEtmmQ6DlRrC1hrSrBnCZPokRrDHjw== unique-filename@^2.0.0: version "2.0.1" @@ -9200,9 +9231,9 @@ walker@^1.0.8: makeerror "1.0.12" watchpack@^2.4.1: - version "2.4.1" - resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.1.tgz#29308f2cac150fa8e4c92f90e0ec954a9fed7fff" - integrity sha512-8wrBCMtVhqcXP2Sup1ctSkga6uc2Bx0IIvKyT7yTFier5AXHooSI+QyQQAtTb7+E0IUCCKyTFmXqdqgum2XWGg== + version "2.4.2" + resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.2.tgz#2feeaed67412e7c33184e5a79ca738fbd38564da" + integrity sha512-TnbFSbcOCcDgjZ4piURLCbJ3nJhznVh9kw6F6iokjiFPl8ONxe9A6nMDVXDiNbrSfLILs6vB07F7wLBrwPYzJw== dependencies: glob-to-regexp "^0.4.1" graceful-fs "^4.1.2"