diff --git a/.chronus/changes/add-usage-2024-5-11-16-39-4.md b/.chronus/changes/add-usage-2024-5-11-16-39-4.md index 990536c1eaa..d6d426d765e 100644 --- a/.chronus/changes/add-usage-2024-5-11-16-39-4.md +++ b/.chronus/changes/add-usage-2024-5-11-16-39-4.md @@ -5,4 +5,4 @@ packages: - "@azure-tools/typespec-python" --- -Remove unnecessary doc for model which is only used for output \ No newline at end of file +Remove unnecessary doc for model which is only used for output diff --git a/.chronus/changes/added_overload-2024-5-14-15-43-45.md b/.chronus/changes/added_overload-2024-5-14-15-43-45.md new file mode 100644 index 00000000000..cc17beb29f2 --- /dev/null +++ b/.chronus/changes/added_overload-2024-5-14-15-43-45.md @@ -0,0 +1,7 @@ +--- +changeKind: fix +packages: + - "@autorest/python" +--- + +do not add api version validation decorator to overload function diff --git a/.chronus/changes/deserialization-fix-2024-4-24-16-48-41.md b/.chronus/changes/deserialization-fix-2024-4-24-16-48-41.md index 35cc9a594c4..086b0da307b 100644 --- a/.chronus/changes/deserialization-fix-2024-4-24-16-48-41.md +++ b/.chronus/changes/deserialization-fix-2024-4-24-16-48-41.md @@ -5,4 +5,4 @@ packages: - "@azure-tools/typespec-python" --- -Fix deserialization error for lro when return type has discriminator and succeed in initial response \ No newline at end of file +Fix deserialization error for lro when return type has discriminator and succeed in initial response diff --git a/.chronus/changes/fix_models_only-2024-5-11-21-50-18.md b/.chronus/changes/fix_models_only-2024-5-11-21-50-18.md index 4e107b6d161..a910c6e524e 100644 --- a/.chronus/changes/fix_models_only-2024-5-11-21-50-18.md +++ b/.chronus/changes/fix_models_only-2024-5-11-21-50-18.md @@ -4,4 +4,4 @@ packages: - "@autorest/python" --- -generate sdks without operations \ No newline at end of file +generate sdks without operations diff --git a/.chronus/changes/switch_to_rest-2024-4-30-12-59-16.md b/.chronus/changes/switch_to_rest-2024-4-30-12-59-16.md index 0368c675010..ac0992773e9 100644 --- a/.chronus/changes/switch_to_rest-2024-4-30-12-59-16.md +++ b/.chronus/changes/switch_to_rest-2024-4-30-12-59-16.md @@ -4,4 +4,4 @@ packages: - "@autorest/python" --- -remove support for deprecated azure.core.pipeline.transport requests and responses \ No newline at end of file +remove support for deprecated azure.core.pipeline.transport requests and responses diff --git a/.chronus/changes/typing-self-2024-5-6-13-0-58.md b/.chronus/changes/typing-self-2024-5-6-13-0-58.md index 031c59b05ff..1640e820e8e 100644 --- a/.chronus/changes/typing-self-2024-5-6-13-0-58.md +++ b/.chronus/changes/typing-self-2024-5-6-13-0-58.md @@ -5,4 +5,4 @@ packages: - "@azure-tools/typespec-python" --- -Change return type of `__aenter__/__enter__` to `Self` \ No newline at end of file +Change return type of `__aenter__/__enter__` to `Self` diff --git a/package.json b/package.json index 0ac7f3dd8f7..0758f739b79 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ "devDependencies": { "@azure-tools/cadl-ranch": "~0.12.7", "@actions/github": "6.0.0", - "@chronus/chronus": "^0.10.1", + "@chronus/chronus": "^0.10.2", "@chronus/github": "^0.3.2", "@typespec/prettier-plugin-typespec": "~0.55.0", "autorest": "3.6.3", diff --git a/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py b/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py index b9f820c3983..3d1196354fb 100644 --- a/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py +++ b/packages/autorest.python/autorest/codegen/serializers/builder_serializer.py @@ -189,6 +189,8 @@ def _get_json_response_template_to_status_codes( def _api_version_validation(builder: OperationType) -> str: + if builder.is_overload: + return "" retval: List[str] = [] if builder.added_on: retval.append(f' method_added_on="{builder.added_on}",') diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py index ca097a11089..7016f4a68b9 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/aio/operations/_operations.py @@ -61,10 +61,6 @@ def __init__(self, *args, **kwargs) -> None: self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -98,10 +94,6 @@ async def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -128,10 +120,6 @@ async def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -248,9 +236,6 @@ async def v2_in_interface(self, body: Union[_models.ModelV2, JSON, IO[bytes]], * class AddedClientOperationsMixin(AddedClientMixinABC): @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: _models.ModelV1, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -288,9 +273,6 @@ async def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: JSON, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -320,9 +302,6 @@ async def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: IO[bytes], *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -445,10 +424,6 @@ async def v1( return deserialized # type: ignore @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -482,10 +457,6 @@ async def v2( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -510,10 +481,6 @@ async def v2(self, body: JSON, *, content_type: str = "application/json", **kwar """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2(self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. diff --git a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py index 572fa86ef03..e5f53832e7a 100644 --- a/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py +++ b/packages/typespec-python/test/azure/generated/versioning-added/versioning/added/operations/_operations.py @@ -112,10 +112,6 @@ def __init__(self, *args, **kwargs): self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -149,10 +145,6 @@ def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2_in_interface. @@ -177,10 +169,6 @@ def v2_in_interface(self, body: JSON, *, content_type: str = "application/json", """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -297,9 +285,6 @@ def v2_in_interface(self, body: Union[_models.ModelV2, JSON, IO[bytes]], **kwarg class AddedClientOperationsMixin(AddedClientMixinABC): @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: _models.ModelV1, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -337,9 +322,6 @@ def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: JSON, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -369,9 +351,6 @@ def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: IO[bytes], *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -492,10 +471,6 @@ def v1(self, body: Union[_models.ModelV1, JSON, IO[bytes]], *, header_v2: str, * return deserialized # type: ignore @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -527,10 +502,6 @@ def v2(self, body: _models.ModelV2, *, content_type: str = "application/json", * """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -555,10 +526,6 @@ def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: An """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/aio/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/aio/operations/_operations.py index cd6f54f107c..9400316d035 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/aio/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/aio/operations/_operations.py @@ -60,10 +60,6 @@ def __init__(self, *args, **kwargs) -> None: self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -97,10 +93,6 @@ async def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: JSON, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -127,10 +119,6 @@ async def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2_in_interface( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -246,9 +234,6 @@ async def v2_in_interface(self, body: Union[_models.ModelV2, JSON, IO[bytes]], * class AddedClientOperationsMixin(AddedClientMixinABC): @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: _models.ModelV1, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -286,9 +271,6 @@ async def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: JSON, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -318,9 +300,6 @@ async def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) async def v1( self, body: IO[bytes], *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -442,10 +421,6 @@ async def v1( return deserialized # type: ignore @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -479,10 +454,6 @@ async def v2( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -507,10 +478,6 @@ async def v2(self, body: JSON, *, content_type: str = "application/json", **kwar """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) async def v2(self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. diff --git a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/operations/_operations.py b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/operations/_operations.py index 0e438122aa5..6b055195a45 100644 --- a/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/operations/_operations.py +++ b/packages/typespec-python/test/unbranded/generated/versioning-added/versioning/added/operations/_operations.py @@ -111,10 +111,6 @@ def __init__(self, *args, **kwargs): self._deserialize = input_args.pop(0) if input_args else kwargs.pop("deserializer") @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface( self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -148,10 +144,6 @@ def v2_in_interface( """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2_in_interface. @@ -176,10 +168,6 @@ def v2_in_interface(self, body: JSON, *, content_type: str = "application/json", """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2_in_interface( self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV2: @@ -295,9 +283,6 @@ def v2_in_interface(self, body: Union[_models.ModelV2, JSON, IO[bytes]], **kwarg class AddedClientOperationsMixin(AddedClientMixinABC): @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: _models.ModelV1, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -335,9 +320,6 @@ def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: JSON, *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -367,9 +349,6 @@ def v1( """ @overload - @api_version_validation( - params_added_on={"v2": ["header_v2"]}, - ) def v1( self, body: IO[bytes], *, header_v2: str, content_type: str = "application/json", **kwargs: Any ) -> _models.ModelV1: @@ -489,10 +468,6 @@ def v1(self, body: Union[_models.ModelV1, JSON, IO[bytes]], *, header_v2: str, * return deserialized # type: ignore @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: _models.ModelV2, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -524,10 +499,6 @@ def v2(self, body: _models.ModelV2, *, content_type: str = "application/json", * """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. @@ -552,10 +523,6 @@ def v2(self, body: JSON, *, content_type: str = "application/json", **kwargs: An """ @overload - @api_version_validation( - method_added_on="v2", - params_added_on={"v2": ["content_type", "accept"]}, - ) def v2(self, body: IO[bytes], *, content_type: str = "application/json", **kwargs: Any) -> _models.ModelV2: """v2. diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0500fade362..9f9d38ad7eb 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1,9 +1,5 @@ lockfileVersion: '6.0' -settings: - autoInstallPeers: true - excludeLinksFromLockfile: false - importers: .: @@ -15,8 +11,8 @@ importers: specifier: ~0.12.7 version: 0.12.7(@typespec/versioning@0.55.0) '@chronus/chronus': - specifier: ^0.10.1 - version: 0.10.1 + specifier: ^0.10.2 + version: 0.10.2 '@chronus/github': specifier: ^0.3.2 version: 0.3.3 @@ -177,7 +173,7 @@ packages: glob: 10.3.12 morgan: 1.10.0 multer: 1.4.5-lts.1 - picocolors: 1.0.0 + picocolors: 1.0.1 winston: 3.13.0 yargs: 17.7.2 transitivePeerDependencies: @@ -312,7 +308,7 @@ packages: morgan: 1.10.0 multer: 1.4.5-lts.1 node-fetch: 3.3.2 - picocolors: 1.0.0 + picocolors: 1.0.1 source-map-support: 0.5.21 winston: 3.13.0 xml2js: 0.5.0 @@ -665,7 +661,7 @@ packages: engines: {node: '>=6.9.0'} dependencies: '@babel/highlight': 7.24.2 - picocolors: 1.0.0 + picocolors: 1.0.1 /@babel/helper-validator-identifier@7.22.20: resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} @@ -678,7 +674,7 @@ packages: '@babel/helper-validator-identifier': 7.22.20 chalk: 2.4.2 js-tokens: 4.0.0 - picocolors: 1.0.0 + picocolors: 1.0.1 /@bcoe/v8-coverage@0.2.3: resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} @@ -708,6 +704,30 @@ packages: - supports-color dev: true + /@chronus/chronus@0.10.2: + resolution: {integrity: sha512-FMwmRpHtCogkZZe4DSU+tVlI50SKuIjMhy97h8LRgAS/Trx3F/vI+NZ+ObK1k2zmnckbBGoMXEdkqIDB+CMSdA==} + engines: {node: '>=16.0.0'} + hasBin: true + dependencies: + cross-spawn: 7.0.3 + globby: 14.0.1 + is-unicode-supported: 2.0.0 + micromatch: 4.0.5 + pacote: 18.0.6 + picocolors: 1.0.1 + pluralize: 8.0.0 + prompts: 2.4.2 + semver: 7.6.2 + source-map-support: 0.5.21 + std-env: 3.7.0 + yaml: 2.4.5 + yargs: 17.7.2 + zod: 3.23.8 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + /@chronus/github@0.3.3: resolution: {integrity: sha512-DM4wDktbk6YxKNfi5/2Sapcau43Vp4A0XClo6oQT5CrEjeDxUCs9ovxsRoWn1kEvLol5ujg2eIN8EZAD7DqpJQ==} engines: {node: '>=16.0.0'} @@ -904,7 +924,7 @@ packages: resolution: {integrity: sha512-7kZUAaLscfgbwBQRbvdMYaZOWyMEcPTH/tJjnyAWJ/dvvs9Ef+CERx/qJb9GExJpl1qipaDGn7KqHnFGGixd0w==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /@npmcli/git@5.0.6: @@ -917,7 +937,7 @@ packages: proc-log: 4.2.0 promise-inflight: 1.0.1 promise-retry: 2.0.1 - semver: 7.6.0 + semver: 7.6.2 which: 4.0.0 transitivePeerDependencies: - bluebird @@ -937,8 +957,8 @@ packages: engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dev: true - /@npmcli/package-json@5.0.3: - resolution: {integrity: sha512-cgsjCvld2wMqkUqvY+SZI+1ZJ7umGBYc9IAKfqJRKJCcs7hCQYxScUgdsyrRINk3VmdCYf9TXiLBHQ6ECTxhtg==} + /@npmcli/package-json@5.2.0: + resolution: {integrity: sha512-qe/kiqqkW0AGtvBjL8TJKZk/eBBSpnJkUWvHdQ9jM2lKHXRYYJuyNpJPlJw3c8QjC2ow6NZYiLExhUaeJelbxQ==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/git': 5.0.6 @@ -947,7 +967,7 @@ packages: json-parse-even-better-errors: 3.0.1 normalize-package-data: 6.0.0 proc-log: 4.2.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - bluebird dev: true @@ -964,12 +984,17 @@ packages: engines: {node: ^16.14.0 || >=18.0.0} dev: true + /@npmcli/redact@2.0.1: + resolution: {integrity: sha512-YgsR5jCQZhVmTJvjduTOIHph0L73pK8xwMVaDY0PatySqVM9AZj93jpoXYSJqfHFxFkN9dmqTw6OiqExsS3LPw==} + engines: {node: ^16.14.0 || >=18.0.0} + dev: true + /@npmcli/run-script@7.0.4: resolution: {integrity: sha512-9ApYM/3+rBt9V80aYg6tZfzj3UWdiYyCt7gJUD1VJKvWF5nwKDSICXbYIQbspFTq6TOpbsEtIC0LArB8d9PFmg==} engines: {node: ^16.14.0 || >=18.0.0} dependencies: '@npmcli/node-gyp': 3.0.0 - '@npmcli/package-json': 5.0.3 + '@npmcli/package-json': 5.2.0 '@npmcli/promise-spawn': 7.0.1 node-gyp: 10.1.0 which: 4.0.0 @@ -978,6 +1003,21 @@ packages: - supports-color dev: true + /@npmcli/run-script@8.1.0: + resolution: {integrity: sha512-y7efHHwghQfk28G2z3tlZ67pLG0XdfYbcVG26r7YIXALRsrVQcTq4/tdenSmdOrEsNahIYA/eh8aEVROWGFUDg==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + '@npmcli/node-gyp': 3.0.0 + '@npmcli/package-json': 5.2.0 + '@npmcli/promise-spawn': 7.0.1 + node-gyp: 10.1.0 + proc-log: 4.2.0 + which: 4.0.0 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + /@octokit/app@14.1.0: resolution: {integrity: sha512-g3uEsGOQCBl1+W1rgfwoRFUIR6PtvB2T1E4RpygeUU5LrLvlOqcxrt5lfykIeRpUPpupreGJUYl70fqMDXdTpw==} engines: {node: '>= 18'} @@ -1450,7 +1490,7 @@ packages: graphemer: 1.4.0 ignore: 5.3.1 natural-compare: 1.4.0 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -1539,7 +1579,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.3 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -1561,7 +1601,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.1.3) typescript: 5.1.3 transitivePeerDependencies: @@ -1583,7 +1623,7 @@ packages: globby: 11.1.0 is-glob: 4.0.3 minimatch: 9.0.4 - semver: 7.6.0 + semver: 7.6.2 ts-api-utils: 1.3.0(typescript@5.4.5) typescript: 5.4.5 transitivePeerDependencies: @@ -1603,7 +1643,7 @@ packages: '@typescript-eslint/types': 6.21.0 '@typescript-eslint/typescript-estree': 6.21.0(typescript@5.4.5) eslint: 8.57.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript @@ -1622,7 +1662,7 @@ packages: '@typescript-eslint/types': 7.8.0 '@typescript-eslint/typescript-estree': 7.8.0(typescript@5.4.5) eslint: 8.57.0 - semver: 7.6.0 + semver: 7.6.2 transitivePeerDependencies: - supports-color - typescript @@ -1654,13 +1694,13 @@ packages: change-case: 5.4.4 globby: 14.0.1 mustache: 4.2.0 - picocolors: 1.0.0 + picocolors: 1.0.1 prettier: 3.2.5 prompts: 2.4.2 - semver: 7.6.0 + semver: 7.6.2 vscode-languageserver: 9.0.1 vscode-languageserver-textdocument: 1.0.11 - yaml: 2.4.1 + yaml: 2.4.5 yargs: 17.7.2 dev: true @@ -2167,7 +2207,7 @@ packages: /builtins@5.1.0: resolution: {integrity: sha512-SW9lzGTLvWTP1AY8xeAMZimqDrIaSdLQUcVr9DMef51niJ022Ri87SwRRKYm4A6iHfkPaiVUu/Duw2Wc4J7kKg==} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /busboy@1.6.0: @@ -3032,7 +3072,7 @@ packages: read-pkg-up: 7.0.1 regexp-tree: 0.1.27 regjsparser: 0.10.0 - semver: 7.6.0 + semver: 7.6.2 strip-indent: 3.0.0 transitivePeerDependencies: - supports-color @@ -3601,7 +3641,7 @@ packages: foreground-child: 3.1.1 jackspeak: 2.3.0 minimatch: 9.0.4 - minipass: 7.0.3 + minipass: 7.0.4 path-scurry: 1.10.1 dev: true @@ -3618,6 +3658,7 @@ packages: /glob@7.2.3: resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + deprecated: Glob versions prior to v9 are no longer supported dependencies: fs.realpath: 1.0.0 inflight: 1.0.6 @@ -4343,7 +4384,7 @@ packages: lodash.isstring: 4.0.1 lodash.once: 4.1.1 ms: 2.1.3 - semver: 7.6.0 + semver: 7.6.2 dev: true /jsprim@1.4.2: @@ -4506,7 +4547,7 @@ packages: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} engines: {node: '>=10'} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /make-fetch-happen@13.0.0: @@ -4683,11 +4724,6 @@ packages: engines: {node: '>=8'} dev: true - /minipass@7.0.3: - resolution: {integrity: sha512-LhbbwCfz3vsb12j/WkWQPZfKTsgqIe1Nf/ti1pKjYESGLHIVjWU96G9/ljLH4F9mWNVhlQOm0VySdAWzf05dpg==} - engines: {node: '>=16 || 14 >=14.17'} - dev: true - /minipass@7.0.4: resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} engines: {node: '>=16 || 14 >=14.17'} @@ -4849,7 +4885,7 @@ packages: make-fetch-happen: 13.0.0 nopt: 7.2.0 proc-log: 3.0.0 - semver: 7.6.0 + semver: 7.6.2 tar: 6.2.1 which: 4.0.0 transitivePeerDependencies: @@ -4883,7 +4919,7 @@ packages: dependencies: hosted-git-info: 7.0.1 is-core-module: 2.13.1 - semver: 7.6.0 + semver: 7.6.2 validate-npm-package-license: 3.0.4 dev: true @@ -4903,7 +4939,7 @@ packages: resolution: {integrity: sha512-W29RiK/xtpCGqn6f3ixfRYGk+zRyr+Ew9F2E20BfXxT5/euLdA/Nm7fO7OeTGuAmTs30cpgInyJ0cYe708YTZw==} engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0} dependencies: - semver: 7.6.0 + semver: 7.6.2 dev: true /npm-normalize-package-bin@3.0.1: @@ -4917,7 +4953,7 @@ packages: dependencies: hosted-git-info: 7.0.1 proc-log: 4.2.0 - semver: 7.6.0 + semver: 7.6.2 validate-npm-package-name: 5.0.0 dev: true @@ -4935,7 +4971,7 @@ packages: npm-install-checks: 6.3.0 npm-normalize-package-bin: 3.0.1 npm-package-arg: 11.0.2 - semver: 7.6.0 + semver: 7.6.2 dev: true /npm-registry-fetch@16.2.1: @@ -4954,6 +4990,22 @@ packages: - supports-color dev: true + /npm-registry-fetch@17.1.0: + resolution: {integrity: sha512-5+bKQRH0J1xG1uZ1zMNvxW0VEyoNWgJpY9UDuluPFLKDfJ9u2JmmjmTJV1srBGQOROfdBMiVvnH2Zvpbm+xkVA==} + engines: {node: ^16.14.0 || >=18.0.0} + dependencies: + '@npmcli/redact': 2.0.1 + jsonparse: 1.3.1 + make-fetch-happen: 13.0.0 + minipass: 7.0.4 + minipass-fetch: 3.0.4 + minizlib: 2.1.2 + npm-package-arg: 11.0.2 + proc-log: 4.2.0 + transitivePeerDependencies: + - supports-color + dev: true + /oauth-sign@0.9.0: resolution: {integrity: sha512-fexhUFFPTGV8ybAtSIGbV6gOkSv8UtRbDBnAyLQw4QPKkgNlsH2ByPGtMUqdWkos6YCRmAqViwgZrJc/mRDzZQ==} dev: true @@ -5176,6 +5228,33 @@ packages: - supports-color dev: true + /pacote@18.0.6: + resolution: {integrity: sha512-+eK3G27SMwsB8kLIuj4h1FUhHtwiEUo21Tw8wNjmvdlpOEr613edv+8FUsTj/4F/VN5ywGE19X18N7CC2EJk6A==} + engines: {node: ^16.14.0 || >=18.0.0} + hasBin: true + dependencies: + '@npmcli/git': 5.0.6 + '@npmcli/installed-package-contents': 2.0.2 + '@npmcli/package-json': 5.2.0 + '@npmcli/promise-spawn': 7.0.1 + '@npmcli/run-script': 8.1.0 + cacache: 18.0.2 + fs-minipass: 3.0.3 + minipass: 7.0.4 + npm-package-arg: 11.0.2 + npm-packlist: 8.0.2 + npm-pick-manifest: 9.0.0 + npm-registry-fetch: 17.1.0 + proc-log: 4.2.0 + promise-retry: 2.0.1 + sigstore: 2.3.0 + ssri: 10.0.5 + tar: 6.2.1 + transitivePeerDependencies: + - bluebird + - supports-color + dev: true + /parent-module@1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} engines: {node: '>=6'} @@ -5222,7 +5301,7 @@ packages: engines: {node: '>=16 || 14 >=14.17'} dependencies: lru-cache: 10.2.0 - minipass: 7.0.3 + minipass: 7.0.4 dev: true /path-scurry@1.10.2: @@ -5253,6 +5332,9 @@ packages: /picocolors@1.0.0: resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + /picocolors@1.0.1: + resolution: {integrity: sha512-anP1Z8qwhkbmu7MFP5iTt+wQKXgwzf7zTyGlcdzabySa9vd0Xt392U0rVmz9poOaBj0uHJKyyo9/upk0HrEQew==} + /picomatch@2.3.1: resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} engines: {node: '>=8.6'} @@ -5690,6 +5772,12 @@ packages: dependencies: lru-cache: 6.0.0 + /semver@7.6.2: + resolution: {integrity: sha512-FNAIBWCx9qcRhoHcgcJ0gvU7SN1lYU2ZXuSfl04bSC5OpvDHFyJCjdNHomPXxjQlCBU67YW64PzY7/VIEH7F2w==} + engines: {node: '>=10'} + hasBin: true + dev: true + /send@0.18.0: resolution: {integrity: sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==} engines: {node: '>= 0.8.0'} @@ -6394,7 +6482,7 @@ packages: dependencies: browserslist: 4.23.0 escalade: 3.1.2 - picocolors: 1.0.0 + picocolors: 1.0.1 dev: true /uri-js@4.4.1: @@ -6679,6 +6767,12 @@ packages: engines: {node: '>= 14'} hasBin: true + /yaml@2.4.5: + resolution: {integrity: sha512-aBx2bnqDzVOyNKfsysjA2ms5ZlnjSAW2eG3/L5G/CSujfjLJTJsEw1bGw8kCf04KodQWk1pxlGnZ56CRxiawmg==} + engines: {node: '>= 14'} + hasBin: true + dev: true + /yargs-parser@20.2.4: resolution: {integrity: sha512-WOkpgNhPTlE73h4VFAFsOnomJVaovO8VqLDzy5saChRBFQFBoMYirowyW+Q9HB4HFF4Z7VZTiG3iSzJJA29yRA==} engines: {node: '>=10'} @@ -6740,3 +6834,11 @@ packages: /zod@3.22.4: resolution: {integrity: sha512-iC+8Io04lddc+mVqQ9AZ7OQ2MrUKGN+oIQyq1vemgt46jwCwLfhq7/pwnBnNXXXZb8VTVLKwp9EDkx+ryxIWmg==} dev: true + + /zod@3.23.8: + resolution: {integrity: sha512-XBx9AXhXktjUqnepgTiE5flcKIYWi/rme0Eaj+5Y0lftuGBq+jyRu/md4WnuxqgP1ubdpNCsYEYPxrzVHD8d6g==} + dev: true + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false