From e1e40a563d0cde000cae5eac18d8ce5316cb3e1f Mon Sep 17 00:00:00 2001 From: Mary Gao Date: Wed, 7 Jun 2023 21:16:48 +0800 Subject: [PATCH] Re-enable the rpc cases & Bump compiler to v0.55 (#1881) * Re-enable the rpc cases * Bump the compiler version * Regen int and smoke testing * Update the code * Remove the useless one --- common/config/rush/pnpm-lock.yaml | 780 ++++++++++-------- .../generated/lro/src/operations/lROs.ts | 3 +- packages/typespec-test/package.json | 20 +- .../generated/openapi/v1.1/openapi.json | 119 +-- .../authoring/generated/openapi/openapi.json | 87 +- .../generated/openapi/openapi.json | 30 +- .../src/confidentialLedgerClient.ts | 2 +- .../openapi/2022-11-01-preview/openapi.json | 49 +- .../generated/openapi/openapi.json | 18 +- .../generated/openapi/2022-12-01/openapi.json | 218 ++++- .../generated/openapi/openapi.json | 14 +- .../playfab/generated/openapi/openapi.json | 43 +- .../typespec-ts/review/playfab.api.md | 4 +- .../generated/typespec-ts/src/models.ts | 1 + .../generated/typespec-ts/src/outputModels.ts | 1 + packages/typespec-ts/package.json | 17 +- .../test/commands/cadl-ranch-list.ts | 8 +- packages/typespec-ts/test/commands/run.ts | 6 +- .../generated/lro/lroRPC/README.md | 6 +- .../lro/lroRPC/src/clientDefinitions.ts | 2 +- .../generated/lro/lroRPC/src/index.ts | 6 +- .../{specsAzureCoreLroRpc.ts => rpcClient.ts} | 10 +- .../mediaTypes/src/mediaTypesClient.ts | 2 +- .../generated/overload/src/overloadClient.ts | 2 +- .../sharedRoute/src/clientDefinitions.ts | 4 + .../sharedRoute/src/sharedRouteClient.ts | 2 +- 26 files changed, 862 insertions(+), 592 deletions(-) rename packages/typespec-ts/test/integration/generated/lro/lroRPC/src/{specsAzureCoreLroRpc.ts => rpcClient.ts} (73%) diff --git a/common/config/rush/pnpm-lock.yaml b/common/config/rush/pnpm-lock.yaml index a4b29b2d80..dd63516d85 100644 --- a/common/config/rush/pnpm-lock.yaml +++ b/common/config/rush/pnpm-lock.yaml @@ -77,22 +77,22 @@ importers: yargs: ^17.4.1 dependencies: '@autorest/codemodel': 4.19.3 - '@autorest/extension-base': 3.5.1 + '@autorest/extension-base': 3.5.2 '@autorest/testmodeler': 2.5.1 '@azure-rest/core-client': 1.1.3 '@azure-tools/codegen': 2.9.2 '@azure-tools/rlc-common': link:../rlc-common '@azure/core-auth': 1.4.0 - '@azure/core-client': 1.7.2 + '@azure/core-client': 1.7.3 '@azure/core-http': 1.2.6 '@azure/core-http-compat': 1.3.0 '@azure/core-lro': 2.5.3 '@azure/core-paging': 1.5.0 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/core-tracing': 1.0.1 '@azure/logger': 1.0.4 - '@types/lodash': 4.14.194 - dotenv: 16.0.3 + '@types/lodash': 4.14.195 + dotenv: 16.1.4 fs-extra: 11.1.1 handlebars: 4.7.7 lodash: 4.17.21 @@ -104,26 +104,26 @@ importers: '@azure/abort-controller': 1.1.0 '@azure/core-util': 1.3.2 '@azure/core-xml': 1.3.3 - '@microsoft.azure/autorest.testserver': 3.3.46 + '@microsoft.azure/autorest.testserver': 3.3.47 '@types/chai': 4.3.5 '@types/chai-as-promised': 7.1.5 '@types/fs-extra': 9.0.13 '@types/js-yaml': 3.12.1 '@types/mocha': 5.2.7 - '@types/node': 18.16.13 + '@types/node': 18.16.16 '@types/prettier': 1.19.1 '@types/sinon': 10.0.15 '@types/xmlbuilder': 0.0.34 '@types/yargs': 17.0.24 - '@typescript-eslint/eslint-plugin': 5.59.6_hrzo544y7ygaq2nap7kmpxcgnm - '@typescript-eslint/parser': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq + '@typescript-eslint/eslint-plugin': 5.59.9_bz5ctcqt5kim47t3go7qof4jqu + '@typescript-eslint/parser': 5.59.9_binxsscxvozjxebftqdoazsxm4 autorest: 3.6.3 buffer: 6.0.3 chai: 4.3.7 chai-as-promised: 7.1.1_chai@4.3.7 chalk: 4.1.2 directory-tree: 2.4.0 - eslint: 8.40.0 + eslint: 8.42.0 karma: 6.4.2 karma-chrome-launcher: 3.2.0 karma-mocha: 2.0.1 @@ -137,13 +137,13 @@ importers: puppeteer: 3.3.0 rimraf: 3.0.2 sinon: 10.0.1 - source-map-loader: 1.1.3_webpack@5.83.1 + source-map-loader: 1.1.3_webpack@5.85.1 ts-node: 8.10.2_typescript@5.0.4 - tslib: 2.5.2 + tslib: 2.5.3 typescript: 5.0.4 wait-port: 0.2.14 - webpack: 5.83.1_webpack-cli@4.10.0 - webpack-cli: 4.10.0_webpack@5.83.1 + webpack: 5.85.1_webpack-cli@4.10.0 + webpack-cli: 4.10.0_webpack@5.85.1 yargs: 17.7.2 ../../packages/rlc-common: @@ -166,61 +166,61 @@ importers: ts-morph: 15.1.0 devDependencies: '@types/fs-extra': 8.1.2 - '@types/lodash': 4.14.194 - '@types/node': 18.16.13 - eslint: 8.40.0 + '@types/lodash': 4.14.195 + '@types/node': 18.16.16 + eslint: 8.42.0 fs-extra: 10.1.0 prettier: 2.7.1 rimraf: 3.0.2 - ts-node: 10.9.1_obvymrsoq75xwrgsowh2gvt4sq + ts-node: 10.9.1_7pk5zqybkp63ari366oqmheeyy typescript: 5.0.4 ../../packages/typespec-test: specifiers: - '@azure-tools/typespec-autorest': ~0.30.0 - '@azure-tools/typespec-azure-core': ~0.30.0 - '@azure-tools/typespec-client-generator-core': ~0.30.0 + '@azure-tools/typespec-autorest': '>=0.31.0 <1.0.0' + '@azure-tools/typespec-azure-core': '>=0.31.0 <1.0.0' + '@azure-tools/typespec-client-generator-core': '>=0.31.0 <1.0.0' '@azure-tools/typespec-ts': workspace:^0.13.1 '@types/mocha': ^5.2.7 '@types/node': ^18.0.0 - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/openapi': ~0.44.0 - '@typespec/openapi3': ~0.44.0 - '@typespec/prettier-plugin-typespec': ~0.44.0 - '@typespec/rest': ~0.44.0 - '@typespec/versioning': ~0.44.0 + '@typespec/compiler': '>=0.45.0 <1.0.0' + '@typespec/http': '>=0.45.0 <1.0.0' + '@typespec/openapi': '>=0.45.0 <1.0.0' + '@typespec/openapi3': '>=0.45.0 <1.0.0' + '@typespec/prettier-plugin-typespec': '>=0.45.0 <1.0.0' + '@typespec/rest': '>=0.45.0 <1.0.0' + '@typespec/versioning': '>=0.45.0 <1.0.0' prettier: 2.7.1 ts-node: ^8.5.2 typescript: ~5.0.0 dependencies: - '@azure-tools/typespec-autorest': 0.30.0_shu3yi33bhw2wwh3ig52gyudt4 - '@azure-tools/typespec-azure-core': 0.30.1_wihkxl52pkwnxc25ba2weeyzd4 - '@azure-tools/typespec-client-generator-core': 0.30.0_wihkxl52pkwnxc25ba2weeyzd4 + '@azure-tools/typespec-autorest': 0.31.0_ddygnytqzjuz67fkwwl57qjgj4 + '@azure-tools/typespec-azure-core': 0.31.0_ld33g56kghysohxgqfdp3eirni + '@azure-tools/typespec-client-generator-core': 0.31.0_hnoss6yc5ygqgtqmmrhzjd46a4 '@azure-tools/typespec-ts': link:../typespec-ts - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/openapi': 0.44.0_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/openapi3': 0.44.0_avswljoapttvtv2tgwnve3owrq - '@typespec/prettier-plugin-typespec': 0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/openapi': 0.45.0_ld33g56kghysohxgqfdp3eirni + '@typespec/openapi3': 0.45.0_gmtvipmg5rk4nyxiaquq4mpq74 + '@typespec/prettier-plugin-typespec': 0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 prettier: 2.7.1 devDependencies: '@types/mocha': 5.2.7 - '@types/node': 18.16.13 + '@types/node': 18.16.16 ts-node: 8.10.2_typescript@5.0.4 typescript: 5.0.4 ../../packages/typespec-ts: specifiers: '@azure-rest/core-client': ^1.1.3 - '@azure-tools/cadl-ranch': ~0.4.17 + '@azure-tools/cadl-ranch': ^0.4.17 '@azure-tools/cadl-ranch-expect': ^0.3.2 - '@azure-tools/cadl-ranch-specs': ~0.15.4 + '@azure-tools/cadl-ranch-specs': ^0.15.4 '@azure-tools/rlc-common': workspace:^0.13.1 - '@azure-tools/typespec-azure-core': '>=0.30.0 <1.0.0' - '@azure-tools/typespec-client-generator-core': '>=0.30.0 <1.0.0' + '@azure-tools/typespec-azure-core': '>=0.31.0 <1.0.0' + '@azure-tools/typespec-client-generator-core': '>=0.31.0 <1.0.0' '@azure/core-auth': ^1.3.2 '@azure/core-lro': ^2.5.3 '@azure/core-paging': ^1.5.0 @@ -233,10 +233,10 @@ importers: '@types/prettier': ^2.6.0 '@typescript-eslint/eslint-plugin': ^5.58.0 '@typescript-eslint/parser': ^5.58.0 - '@typespec/compiler': '>=0.44.0 <1.0.0' - '@typespec/http': ~0.44.0 - '@typespec/rest': '>=0.44.0 <1.0.0' - '@typespec/versioning': '>=0.44.0 <1.0.0' + '@typespec/compiler': '>=0.45.0 <1.0.0' + '@typespec/http': '>=0.45.0 <1.0.0' + '@typespec/rest': '>=0.45.0 <1.0.0' + '@typespec/versioning': '>=0.45.0 <1.0.0' chai: ^4.3.6 chalk: ^4.0.0 cross-env: ^7.0.3 @@ -252,41 +252,41 @@ importers: typescript: ~5.0.0 dependencies: '@azure-tools/rlc-common': link:../rlc-common - '@azure-tools/typespec-azure-core': 0.30.1_wihkxl52pkwnxc25ba2weeyzd4 - '@azure-tools/typespec-client-generator-core': 0.30.0_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/compiler': 0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@azure-tools/typespec-azure-core': 0.31.0_ld33g56kghysohxgqfdp3eirni + '@azure-tools/typespec-client-generator-core': 0.31.0_hnoss6yc5ygqgtqmmrhzjd46a4 + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 fs-extra: 11.1.1 prettier: 2.7.1 ts-morph: 15.1.0 - tslib: 2.5.2 + tslib: 2.5.3 devDependencies: '@azure-rest/core-client': 1.1.3 - '@azure-tools/cadl-ranch': 0.4.17_3cjqqgv4r33nr5whoygb4gr3p4 - '@azure-tools/cadl-ranch-expect': 0.3.2_nwoy7fm4y4huu6dyos7frmr6pu - '@azure-tools/cadl-ranch-specs': 0.15.4_65s3k7ck74zvi5mstuqazcphke + '@azure-tools/cadl-ranch': 0.4.18_ktwtpaam5xesuqjt2py72vpnse + '@azure-tools/cadl-ranch-expect': 0.3.2_hnoss6yc5ygqgtqmmrhzjd46a4 + '@azure-tools/cadl-ranch-specs': 0.15.5_swxial34iuifaiwwr3nb3i6t5y '@azure/core-auth': 1.4.0 '@azure/core-lro': 2.5.3 '@azure/core-paging': 1.5.0 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/logger': 1.0.4 '@types/chai': 4.3.5 '@types/fs-extra': 9.0.13 '@types/mocha': 9.1.1 - '@types/node': 18.16.13 - '@types/prettier': 2.7.2 - '@typescript-eslint/eslint-plugin': 5.59.6_hrzo544y7ygaq2nap7kmpxcgnm - '@typescript-eslint/parser': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 + '@types/node': 18.16.16 + '@types/prettier': 2.7.3 + '@typescript-eslint/eslint-plugin': 5.59.9_bz5ctcqt5kim47t3go7qof4jqu + '@typescript-eslint/parser': 5.59.9_binxsscxvozjxebftqdoazsxm4 chai: 4.3.7 chalk: 4.1.2 cross-env: 7.0.3 - eslint: 8.40.0 + eslint: 8.42.0 mkdirp: 2.1.6 mocha: 9.2.2 rimraf: 3.0.2 - ts-node: 10.9.1_obvymrsoq75xwrgsowh2gvt4sq + ts-node: 10.9.1_7pk5zqybkp63ari366oqmheeyy typescript: 5.0.4 packages: @@ -299,8 +299,8 @@ packages: js-yaml: 4.0.0 dev: false - /@autorest/extension-base/3.5.1: - resolution: {integrity: sha512-xTfl2oZNEeZV13YMVeJpwObPJh7KFuJ28G2VvsYz1ljTkcCituf/kdPsom+BiSeDGoImaqgzEIDfetXcb3D0YQ==} + /@autorest/extension-base/3.5.2: + resolution: {integrity: sha512-brpRtQ34mo/SZPTWrOUYvDHOKbvDa9eX5N15qd0OGLX8q3y29nXjhokMVoink4w1jW+8p2KXy2emMIZL14s+HQ==} engines: {node: '>=12.0.0'} dependencies: '@azure-tools/codegen': 2.9.2 @@ -317,9 +317,9 @@ packages: engines: {node: '>=14.0.0'} dependencies: '@azure/core-auth': 1.4.0 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/core-util': 1.3.2 - tslib: 2.5.2 + tslib: 2.5.3 transitivePeerDependencies: - supports-color @@ -339,10 +339,10 @@ packages: deep-equal: 2.2.1 express: 4.18.2 express-promise-router: 4.1.1_express@4.18.2 - glob: 10.2.5 + glob: 10.2.7 morgan: 1.10.0 picocolors: 1.0.0 - winston: 3.8.2 + winston: 3.9.0 yargs: 17.7.2 transitivePeerDependencies: - '@types/express' @@ -354,13 +354,28 @@ packages: dependencies: '@azure/identity': 3.2.2 '@azure/storage-blob': 12.14.0 - '@types/node': 18.16.13 + '@types/node': 18.16.16 transitivePeerDependencies: - encoding - supports-color dev: true - /@azure-tools/cadl-ranch-expect/0.3.2_nwoy7fm4y4huu6dyos7frmr6pu: + /@azure-tools/cadl-ranch-expect/0.3.2_hnoss6yc5ygqgtqmmrhzjd46a4: + resolution: {integrity: sha512-yVJZtvQSIe4Oe6+bYBuKpBY/IPtL6NvPHPhX8okgwVSRB9PE38HdXZPfk36TRoWLT3Tfqv7sYHwYDJuLSGHj9w==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@typespec/compiler': ~0.44.0 + '@typespec/http': ~0.44.0 + '@typespec/rest': ~0.44.0 + '@typespec/versioning': ~0.44.0 + dependencies: + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 + dev: true + + /@azure-tools/cadl-ranch-expect/0.3.2_lo5yopo6pnnzthkwwrmbvaekz4: resolution: {integrity: sha512-yVJZtvQSIe4Oe6+bYBuKpBY/IPtL6NvPHPhX8okgwVSRB9PE38HdXZPfk36TRoWLT3Tfqv7sYHwYDJuLSGHj9w==} engines: {node: '>=16.0.0'} peerDependencies: @@ -372,11 +387,11 @@ packages: '@typespec/compiler': 0.44.0 '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 dev: true - /@azure-tools/cadl-ranch-specs/0.15.4_65s3k7ck74zvi5mstuqazcphke: - resolution: {integrity: sha512-aLUbZ83IsmNtItDCfPlET9xjt5Ug8ZIPUBk+3x4QZYhPuD6gfPyCXBb2LoXwfYx+oMgMFG6htxftALYaj5ZDvA==} + /@azure-tools/cadl-ranch-specs/0.15.5_swxial34iuifaiwwr3nb3i6t5y: + resolution: {integrity: sha512-GLSsZzsxj2Fx3Wthqm/4EcBLiNqezsvHuwTWNpU0Ka+GmNdW/Gf40QzJquEj4rAkQsTL9PnZMAlOqK+xS1Veww==} engines: {node: '>=16.0.0'} peerDependencies: '@azure-tools/cadl-ranch-expect': ~0.3.2 @@ -386,28 +401,28 @@ packages: '@typespec/rest': ~0.44.0 '@typespec/versioning': ~0.44.0 dependencies: - '@azure-tools/cadl-ranch': 0.4.17_3cjqqgv4r33nr5whoygb4gr3p4 + '@azure-tools/cadl-ranch': 0.4.18_ktwtpaam5xesuqjt2py72vpnse '@azure-tools/cadl-ranch-api': 0.2.5 - '@azure-tools/cadl-ranch-expect': 0.3.2_nwoy7fm4y4huu6dyos7frmr6pu - '@azure-tools/typespec-azure-core': 0.30.1_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@azure-tools/cadl-ranch-expect': 0.3.2_hnoss6yc5ygqgtqmmrhzjd46a4 + '@azure-tools/typespec-azure-core': 0.31.0_ld33g56kghysohxgqfdp3eirni + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 transitivePeerDependencies: - '@types/express' - encoding - supports-color dev: true - /@azure-tools/cadl-ranch/0.4.17_3cjqqgv4r33nr5whoygb4gr3p4: - resolution: {integrity: sha512-jl36gp5SRT3C4YZGPn0HIm6ZPQ8XRA9fbVUAQgu/rJiXn6tL+DRl22s+YRM/y8N4W5bFm4lhgQ3DtlHvPHNc7w==} + /@azure-tools/cadl-ranch/0.4.18_ktwtpaam5xesuqjt2py72vpnse: + resolution: {integrity: sha512-f3vTXer1ydWSq8udRnQPDovfM+xx5eDi5YevvfcfDNHC3rMoDruDboEjv9WRGbnCAjYFOdYGoGLTRzs1Wor1Nw==} engines: {node: '>=16.0.0'} hasBin: true dependencies: '@azure-tools/cadl-ranch-api': 0.2.5 '@azure-tools/cadl-ranch-coverage-sdk': 0.2.4 - '@azure-tools/cadl-ranch-expect': 0.3.2_nwoy7fm4y4huu6dyos7frmr6pu + '@azure-tools/cadl-ranch-expect': 0.3.2_lo5yopo6pnnzthkwwrmbvaekz4 '@azure/identity': 3.2.2 '@types/js-yaml': 4.0.5 '@typespec/compiler': 0.44.0 @@ -418,7 +433,7 @@ packages: deep-equal: 2.2.1 express: 4.18.2 express-promise-router: 4.1.1_express@4.18.2 - glob: 10.2.5 + glob: 10.2.7 jackspeak: 2.1.1 js-yaml: 4.1.0 morgan: 1.10.0 @@ -426,7 +441,7 @@ packages: picocolors: 1.0.0 prettier: 2.8.8 source-map-support: 0.5.21 - winston: 3.8.2 + winston: 3.9.0 xml2js: 0.5.0 yargs: 17.7.2 transitivePeerDependencies: @@ -455,64 +470,66 @@ packages: engines: {node: '>=14.0.0'} dependencies: '@azure/core-auth': 1.4.0 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/core-util': 1.3.2 '@azure/logger': 1.0.4 transitivePeerDependencies: - supports-color dev: true - /@azure-tools/typespec-autorest/0.30.0_shu3yi33bhw2wwh3ig52gyudt4: - resolution: {integrity: sha512-Eww0EecO7te6r89djVK+mhcDJbCTjVUz3YneoCbuSftyAVGoj+OJPMS4fbkrKFKLpmV+b3YKGTH5e52jtD4YYA==} + /@azure-tools/typespec-autorest/0.31.0_ddygnytqzjuz67fkwwl57qjgj4: + resolution: {integrity: sha512-l/C4HyGr0ByC7FnlsoorXDIp46pbDxVPbq59XNX9sKJJ8p2297BJv7FdPlLi0BXGjEmzy93Ag4hoH9H/u54AhQ==} engines: {node: '>=16.0.0'} peerDependencies: - '@azure-tools/typespec-azure-core': ~0.30.0 - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/openapi': ~0.44.0 - '@typespec/rest': ~0.44.0 - '@typespec/versioning': ~0.44.0 - dependencies: - '@azure-tools/typespec-azure-core': 0.30.1_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/openapi': 0.44.0_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@azure-tools/typespec-azure-core': ~0.31.0 + '@typespec/compiler': ~0.45.0 + '@typespec/http': ~0.45.0 + '@typespec/openapi': ~0.45.0 + '@typespec/rest': ~0.45.0 + '@typespec/versioning': ~0.45.0 + dependencies: + '@azure-tools/typespec-azure-core': 0.31.0_ld33g56kghysohxgqfdp3eirni + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/openapi': 0.45.0_ld33g56kghysohxgqfdp3eirni + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 dev: false - /@azure-tools/typespec-azure-core/0.30.1_wihkxl52pkwnxc25ba2weeyzd4: - resolution: {integrity: sha512-FvdsQrxyAxBfC0lmF2qdWmQklFO/CDpuCWTNfPjiVnokkZM9IDiln3YA2SeZjrQXQR4tSLaJVlUTm7ML7S/65Q==} + /@azure-tools/typespec-azure-core/0.31.0_ld33g56kghysohxgqfdp3eirni: + resolution: {integrity: sha512-sfJyRKGzQeBAm0Tw/CWFnWnHnxZDVbkXXLHeLb76VbRwkAu1P65eENRXXQTkUX5+PxnQH7qU/3MD5WT42AFsyA==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/rest': ~0.44.0 + '@typespec/compiler': ~0.45.0 + '@typespec/http': ~0.45.0 + '@typespec/rest': ~0.45.0 dependencies: - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/lint': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/lint': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 - /@azure-tools/typespec-client-generator-core/0.30.0_wihkxl52pkwnxc25ba2weeyzd4: - resolution: {integrity: sha512-2CyCrIPXL/k6vXGWixWCYlA8gENErIUncdN9IFUBlqyqWlgb8GBpjl2RhIqbQCo2PGS6U3s1NEdZffzD0tNSdw==} + /@azure-tools/typespec-client-generator-core/0.31.0_hnoss6yc5ygqgtqmmrhzjd46a4: + resolution: {integrity: sha512-+4HQ1WOgxGjwdUHahuQCvBccKVwLDFXpiYd1Gem0xCjC96YXdAMMoHK4LKXZV5v+ktd/9vgqU84R4/APJNWBAw==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/rest': ~0.44.0 - dependencies: - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/lint': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 + '@typespec/compiler': ~0.45.0 + '@typespec/http': ~0.45.0 + '@typespec/rest': ~0.45.0 + '@typespec/versioning': ~0.45.0 + dependencies: + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/lint': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 dev: false /@azure/abort-controller/1.1.0: resolution: {integrity: sha512-TrRLIoSQVzfAJX9H1JeFjzAoDGcoK1IYX1UImfceTZpsyYfWr09Ss1aHW1y5TrrR3iq6RZLBwJ3E24uwPhwahw==} engines: {node: '>=12.0.0'} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 /@azure/core-asynciterator-polyfill/1.0.2: resolution: {integrity: sha512-3rkP4LnnlWawl0LZptJOdXNrT/fHp2eQMadoasa6afspXdpGrtPZuAQc2PD0cpgyuoXtUWyC3tv7xfntjGS5Dw==} @@ -524,19 +541,19 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - tslib: 2.5.2 + tslib: 2.5.3 - /@azure/core-client/1.7.2: - resolution: {integrity: sha512-ye5554gnVnXdfZ64hptUtETgacXoRWxYv1JF5MctoAzTSH5dXhDPZd9gOjDPyWMcLIk58pnP5+p5vGX6PYn1ag==} + /@azure/core-client/1.7.3: + resolution: {integrity: sha512-kleJ1iUTxcO32Y06dH9Pfi9K4U+Tlb111WXEnbt7R/ne+NLRwppZiTGJuTD5VVoxTMK5NTbEtm5t2vcdNCFe2g==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.4.0 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/core-tracing': 1.0.1 '@azure/core-util': 1.3.2 '@azure/logger': 1.0.4 - tslib: 2.5.2 + tslib: 2.5.3 transitivePeerDependencies: - supports-color @@ -545,8 +562,8 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - '@azure/core-client': 1.7.2 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-client': 1.7.3 + '@azure/core-rest-pipeline': 1.11.0 transitivePeerDependencies: - supports-color dev: false @@ -565,8 +582,8 @@ packages: form-data: 3.0.1 node-fetch: 2.6.11 process: 0.11.10 - tough-cookie: 4.1.2 - tslib: 2.5.2 + tough-cookie: 4.1.3 + tslib: 2.5.3 tunnel: 0.0.6 uuid: 8.3.2 xml2js: 0.4.23 @@ -574,8 +591,8 @@ packages: - encoding dev: false - /@azure/core-http/3.0.1: - resolution: {integrity: sha512-A3x+um3cAPgQe42Lu7Iv/x8/fNjhL/nIoEfqFxfn30EyxK6zC13n+OUxzZBRC0IzQqssqIbt4INf5YG7lYYFtw==} + /@azure/core-http/3.0.2: + resolution: {integrity: sha512-o1wR9JrmoM0xEAa0Ue7Sp8j+uJvmqYaGoHOCT5qaVYmvgmnZDC0OvQimPA/JR3u77Sz6D1y3Xmk1y69cDU9q9A==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 @@ -588,7 +605,7 @@ packages: form-data: 4.0.0 node-fetch: 2.6.11 process: 0.11.10 - tslib: 2.5.2 + tslib: 2.5.3 tunnel: 0.0.6 uuid: 8.3.2 xml2js: 0.5.0 @@ -603,16 +620,16 @@ packages: '@azure/abort-controller': 1.1.0 '@azure/core-util': 1.3.2 '@azure/logger': 1.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /@azure/core-paging/1.5.0: resolution: {integrity: sha512-zqWdVIt+2Z+3wqxEOGzR5hXFZ8MGKK52x4vFLw8n58pR6ZfKRx3EXYTxTaYxYHc/PexPUTyimcTWFJbji9Z6Iw==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 - /@azure/core-rest-pipeline/1.10.3: - resolution: {integrity: sha512-AMQb0ttiGJ0MIV/r+4TVra6U4+90mPeOveehFnrqKlo7dknPJYdJ61wOzYJXJjDxF8LcCtSogfRelkq+fCGFTw==} + /@azure/core-rest-pipeline/1.11.0: + resolution: {integrity: sha512-nB4KXl6qAyJmBVLWA7SakT4tzpYZTCk4pvRBeI+Ye0WYSOrlTqlMhc4MSS/8atD3ufeYWdkN380LLoXlUUzThw==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 @@ -623,7 +640,7 @@ packages: form-data: 4.0.0 http-proxy-agent: 5.0.0 https-proxy-agent: 5.0.1 - tslib: 2.5.2 + tslib: 2.5.3 transitivePeerDependencies: - supports-color @@ -633,7 +650,7 @@ packages: dependencies: '@opencensus/web-types': 0.0.7 '@opentelemetry/api': 1.0.0-rc.0 - tslib: 2.5.2 + tslib: 2.5.3 dev: false /@azure/core-tracing/1.0.0-preview.13: @@ -641,28 +658,28 @@ packages: engines: {node: '>=12.0.0'} dependencies: '@opentelemetry/api': 1.4.1 - tslib: 2.5.2 + tslib: 2.5.3 dev: true /@azure/core-tracing/1.0.1: resolution: {integrity: sha512-I5CGMoLtX+pI17ZdiFJZgxMJApsK6jjfm85hpgp3oazCdq5Wxgh4wMr7ge/TTWW1B5WBuvIOI1fMU/FrOAMKrw==} engines: {node: '>=12.0.0'} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 /@azure/core-util/1.3.2: resolution: {integrity: sha512-2bECOUh88RvL1pMZTcc6OzfobBeWDBf5oBbhjIhT1MV9otMVWCzpOJkkiKtrnO88y5GGBelgY8At73KGAdbkeQ==} engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - tslib: 2.5.2 + tslib: 2.5.3 /@azure/core-xml/1.3.3: resolution: {integrity: sha512-Go/xGz7nGqVINsD9O7gOfe8uiR1S+IFcw9WTUPJHSzoFT6F5ZWjXIIlSikLZm77TtmxzXGnQYjjiZIoIZ4x14A==} engines: {node: '>=14.0.0'} dependencies: - fast-xml-parser: 4.2.2 - tslib: 2.5.2 + fast-xml-parser: 4.2.4 + tslib: 2.5.3 dev: true /@azure/identity/3.2.2: @@ -671,19 +688,19 @@ packages: dependencies: '@azure/abort-controller': 1.1.0 '@azure/core-auth': 1.4.0 - '@azure/core-client': 1.7.2 - '@azure/core-rest-pipeline': 1.10.3 + '@azure/core-client': 1.7.3 + '@azure/core-rest-pipeline': 1.11.0 '@azure/core-tracing': 1.0.1 '@azure/core-util': 1.3.2 '@azure/logger': 1.0.4 - '@azure/msal-browser': 2.37.0 + '@azure/msal-browser': 2.37.1 '@azure/msal-common': 9.1.1 - '@azure/msal-node': 1.17.2 + '@azure/msal-node': 1.17.3 events: 3.3.0 jws: 4.0.0 open: 8.4.2 stoppable: 1.1.0 - tslib: 2.5.2 + tslib: 2.5.3 uuid: 8.3.2 transitivePeerDependencies: - supports-color @@ -693,17 +710,17 @@ packages: resolution: {integrity: sha512-ustrPY8MryhloQj7OWGe+HrYx+aoiOxzbXTtgblbV3xwCqpzUK36phH3XNHQKj3EPonyFUuDTfR3qFhTEAuZEg==} engines: {node: '>=14.0.0'} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 - /@azure/msal-browser/2.37.0: - resolution: {integrity: sha512-YNGD/W/tw/5wDWlXOfmrVILaxVsorVLxYU2ovmL1PDvxkdudbQRyGk/76l4emqgDAl/kPQeqyivxjOU6w1YfvQ==} + /@azure/msal-browser/2.37.1: + resolution: {integrity: sha512-EoKQISEpIY39Ru1OpWkeFZBcwp6Y0bG81bVmdyy4QJebPPDdVzfm62PSU0XFIRc3bqjZ4PBKBLMYLuo9NZYAow==} engines: {node: '>=0.8.0'} dependencies: - '@azure/msal-common': 13.0.0 + '@azure/msal-common': 13.1.0 dev: true - /@azure/msal-common/13.0.0: - resolution: {integrity: sha512-GqCOg5H5bouvLij9NFXFkh+asRRxsPBRwnTDsfK7o0KcxYHJbuidKw8/VXpycahGXNxgtuhqtK/n5he+5NhyEA==} + /@azure/msal-common/13.1.0: + resolution: {integrity: sha512-wj+ULrRB0HTuMmtrMjg8j3guCx32GE2BCPbsMCZkHgL1BZetC3o/Su5UJEQMX1HNc9CrIaQNx5WaKWHygYDe0g==} engines: {node: '>=0.8.0'} dev: true @@ -712,11 +729,11 @@ packages: engines: {node: '>=0.8.0'} dev: true - /@azure/msal-node/1.17.2: - resolution: {integrity: sha512-l8edYnA2LQj4ue3pjxVz1Qy4HuU5xbcoebfe2bGTRvBL9Q6n2Df47aGftkLIyimD1HxHuA4ZZOe23a/HshoYXw==} + /@azure/msal-node/1.17.3: + resolution: {integrity: sha512-slsa+388bQQWnWH1V91KL+zV57rIp/0OQFfF0EmVMY8gnEIkAnpWWFUVBTTMbxEyjEFMk5ZW9xiHvHBcYFHzDw==} engines: {node: 10 || 12 || 14 || 16 || 18} dependencies: - '@azure/msal-common': 13.0.0 + '@azure/msal-common': 13.1.0 jsonwebtoken: 9.0.0 uuid: 8.3.2 dev: true @@ -726,13 +743,13 @@ packages: engines: {node: '>=14.0.0'} dependencies: '@azure/abort-controller': 1.1.0 - '@azure/core-http': 3.0.1 + '@azure/core-http': 3.0.2 '@azure/core-lro': 2.5.3 '@azure/core-paging': 1.5.0 '@azure/core-tracing': 1.0.0-preview.13 '@azure/logger': 1.0.4 events: 3.3.0 - tslib: 2.5.2 + tslib: 2.5.3 transitivePeerDependencies: - encoding dev: true @@ -780,13 +797,13 @@ packages: engines: {node: '>=10.0.0'} dev: true - /@eslint-community/eslint-utils/4.4.0_eslint@8.40.0: + /@eslint-community/eslint-utils/4.4.0_eslint@8.42.0: resolution: {integrity: sha512-1/sA4dwrzBAyeUoQ6oxahHKmrZvsnLCg4RfxW3ZFGGmQkSNQPFNLV9CUEFQP1x9EYXHTo5p6xdhZM1Ne9p/AfA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || >=8.0.0 dependencies: - eslint: 8.40.0 + eslint: 8.42.0 eslint-visitor-keys: 3.4.1 dev: true @@ -812,13 +829,13 @@ packages: - supports-color dev: true - /@eslint/js/8.40.0: - resolution: {integrity: sha512-ElyB54bJIhXQYVKjDSvCkPO1iU1tSAeVQJbllWJq1XQSmmA4dgFk8CbiBGpiOPxleE48vDogxCtmMYku4HSVLA==} + /@eslint/js/8.42.0: + resolution: {integrity: sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@humanwhocodes/config-array/0.11.8: - resolution: {integrity: sha512-UybHIJzJnR5Qc/MsD9Kr+RpO2h+/P1GhOwdiLPXK5TWk5sgTdu88bTD9UP+CKbPPh5Rni1u0GjAdYQLemG8g+g==} + /@humanwhocodes/config-array/0.11.10: + resolution: {integrity: sha512-KVVjQmNUepDVGXNuoRRdmmEjruj0KfiGSbS8LVc12LMsWDQzRXJ0qdhN8L8uUigKpfEHRhlaQFY0ib1tnUbNeQ==} engines: {node: '>=10.10.0'} dependencies: '@humanwhocodes/object-schema': 1.2.1 @@ -890,8 +907,8 @@ packages: '@jridgewell/sourcemap-codec': 1.4.15 dev: true - /@microsoft.azure/autorest.testserver/3.3.46: - resolution: {integrity: sha512-ne6zSqSQWTSx1dVWoQ77jxSrRppNsoWVjAZAxHbxPAUy+N34cM0UocYfMoqLlghDoMqM8xVMWAdG/ReNuvdBAg==} + /@microsoft.azure/autorest.testserver/3.3.47: + resolution: {integrity: sha512-JouYNKArKhMnn6AORgTGU8w4F3p4uQWrZzWKqG5jZ/vJ8RI4zdfBvHoSZcOY7BTw2OtveJgYosxH7WMHcG3ETg==} engines: {node: '>=10'} hasBin: true dependencies: @@ -911,8 +928,8 @@ packages: request-promise-native: 1.0.9_request@2.88.2 source-map-support: 0.5.21 underscore: 1.13.6 - winston: 3.8.2 - xml2js: 0.4.23 + winston: 3.9.0 + xml2js: 0.5.0 yargs: 17.7.2 transitivePeerDependencies: - '@types/express' @@ -1052,21 +1069,21 @@ packages: /@types/cors/2.8.13: resolution: {integrity: sha512-RG8AStHlUiV5ysZQKq97copd2UmVYw3/pRMLefISZ3S1hK104Cwm7iLQ3fTKx+lsUH2CE8FlLaYeEA2LSeqYUA==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: true /@types/eslint-scope/3.7.4: resolution: {integrity: sha512-9K4zoImiZc3HlIp6AVUDE4CWYx22a+lhSZMYNpbjW04+YF0KWj4pJXnEMjdnFTiQibFFmElcsasJXDbdI/EPhA==} dependencies: - '@types/eslint': 8.37.0 + '@types/eslint': 8.40.0 '@types/estree': 1.0.1 dev: true - /@types/eslint/8.37.0: - resolution: {integrity: sha512-Piet7dG2JBuDIfohBngQ3rCt7MgO9xCO4xIMKxBThCq5PNRB91IjlJ10eJVwfoNtvTErmxLzwBZ7rHZtbOMmFQ==} + /@types/eslint/8.40.0: + resolution: {integrity: sha512-nbq2mvc/tBrK9zQQuItvjJl++GTN5j06DaPtp3hZCpngmG6Q3xoyEmd0TwZI0gAy/G1X0zhGBbr2imsGFdFV0g==} dependencies: '@types/estree': 1.0.1 - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.12 dev: true /@types/estree/1.0.1: @@ -1076,13 +1093,13 @@ packages: /@types/fs-extra/8.1.2: resolution: {integrity: sha512-SvSrYXfWSc7R4eqnOzbQF4TZmfpNSM9FrSWLU3EUnWBuyZqNBOrv1B1JA3byUDPUl9z4Ab3jeZG2eDdySlgNMg==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: true /@types/fs-extra/9.0.13: resolution: {integrity: sha512-nEnwB++1u5lVDM2UI4c1+5R+FYaKfaAzS4OococimjVm3nQw3TuzH5UNsocrcTBbhnerblyHj4A49qXbIiZdpA==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: true /@types/js-yaml/3.12.1: @@ -1093,12 +1110,12 @@ packages: resolution: {integrity: sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==} dev: true - /@types/json-schema/7.0.11: - resolution: {integrity: sha512-wOuvG1SN4Us4rez+tylwwwCV1psiNVOkJeM3AUWUNWg/jDQY2+HE/444y5gc+jBmRqASOm2Oeh5c1axHobwRKQ==} + /@types/json-schema/7.0.12: + resolution: {integrity: sha512-Hr5Jfhc9eYOQNPYO5WLDq/n4jqijdHNlDXjuAQkkt+mWdQR+XJToOHrsD4cPaMXpn6KO7y2+wM8AZEs8VpBLVA==} dev: true - /@types/lodash/4.14.194: - resolution: {integrity: sha512-r22s9tAS7imvBt2lyHC9B8AGwWnXaYb1tY09oyLkXDs4vArpYJzw09nj8MLx5VfciBPGIb+ZwG0ssYnEPJxn/g==} + /@types/lodash/4.14.195: + resolution: {integrity: sha512-Hwx9EUgdwf2GLarOjQp5ZH8ZmblzcbTBC2wtQWNKARBSxM9ezRIAUpeDTgoQRAFB0+8CNWXVA9+MaSOzOF3nPg==} /@types/mocha/5.2.7: resolution: {integrity: sha512-NYrtPht0wGzhwe9+/idPaBB+TqkY9AhTvOLMkThm0IoEfLaiVQZwBwyJ5puCkO3AUCWrmcoePjp2mbFocKy4SQ==} @@ -1111,18 +1128,18 @@ packages: /@types/node-fetch/2.6.4: resolution: {integrity: sha512-1ZX9fcN4Rvkvgv4E6PAY5WXUFWFcRWxZa3EW83UjycOB9ljJCedb2CupIP4RZMEwF/M3eTcCihbBRgwtGbg5Rg==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 form-data: 3.0.1 - /@types/node/18.16.13: - resolution: {integrity: sha512-uZRomboV1vBL61EBXneL4j9/hEn+1Yqa4LQdpGrKmXFyJmVfWc9JV9+yb2AlnOnuaDnb2PDO3hC6/LKmzJxP1A==} + /@types/node/18.16.16: + resolution: {integrity: sha512-NpaM49IGQQAUlBhHMF82QH80J08os4ZmyF9MkpCzWAGuOHqE4gTEbhzd7L3l5LmWuZ6E0OiC1FweQ4tsiW35+g==} /@types/prettier/1.19.1: resolution: {integrity: sha512-5qOlnZscTn4xxM5MeGXAMOsIOIKIbh9e85zJWfBRVPlRMEVawzoPhINYbRGkBZCI8LxvBe7tJCdWiarA99OZfQ==} dev: true - /@types/prettier/2.7.2: - resolution: {integrity: sha512-KufADq8uQqo1pYKVIYzfKbJfBAc0sOeXqGbFaSpv8MRmC/zXgowNZmFcbngndGk922QDmOASEXUZCaY48gs4cg==} + /@types/prettier/2.7.3: + resolution: {integrity: sha512-+68kP9yzs4LMp7VNh8gdzMSPZFL44MLGqiHWvttYJe+6qnuVr4Ek9wSBQoveqY/r+LwjCcU29kNVkidwim+kYA==} dev: true /@types/semver/7.5.0: @@ -1146,13 +1163,13 @@ packages: /@types/tunnel/0.0.1: resolution: {integrity: sha512-AOqu6bQu5MSWwYvehMXLukFHnupHrpZ8nvgae5Ggie9UwzDR1CCwoXgSSWNZJuyOlCdfdsWMA5F2LlmvyoTv8A==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: false /@types/tunnel/0.0.3: resolution: {integrity: sha512-sOUTGn6h1SfQ+gbgqC364jLFBw2lnFqkgF3q0WovEHRLMrVD1sd5aufqi/aJObLekJO+Aq5z646U4Oxy6shXMA==} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: true /@types/xmlbuilder/0.0.34: @@ -1173,12 +1190,12 @@ packages: resolution: {integrity: sha512-Cn6WYCm0tXv8p6k+A8PvbDG763EDpBoTzHdA+Q/MF6H3sapGjCm9NzoaJncJS9tUKSuCoDs9XHxYYsQDgxR6kw==} requiresBuild: true dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 dev: true optional: true - /@typescript-eslint/eslint-plugin/5.59.6_hrzo544y7ygaq2nap7kmpxcgnm: - resolution: {integrity: sha512-sXtOgJNEuRU5RLwPUb1jxtToZbgvq3M6FPpY4QENxoOggK+UpTxUBpj6tD8+Qh2g46Pi9We87E+eHnUw8YcGsw==} + /@typescript-eslint/eslint-plugin/5.59.9_bz5ctcqt5kim47t3go7qof4jqu: + resolution: {integrity: sha512-4uQIBq1ffXd2YvF7MAvehWKW3zVv/w+mSfRAu+8cKbfj3nwzyqJLNcZJpQ/WZ1HLbJDiowwmQ6NO+63nCA+fqA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: '@typescript-eslint/parser': ^5.0.0 @@ -1189,12 +1206,12 @@ packages: optional: true dependencies: '@eslint-community/regexpp': 4.5.1 - '@typescript-eslint/parser': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq - '@typescript-eslint/scope-manager': 5.59.6 - '@typescript-eslint/type-utils': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq - '@typescript-eslint/utils': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq + '@typescript-eslint/parser': 5.59.9_binxsscxvozjxebftqdoazsxm4 + '@typescript-eslint/scope-manager': 5.59.9 + '@typescript-eslint/type-utils': 5.59.9_binxsscxvozjxebftqdoazsxm4 + '@typescript-eslint/utils': 5.59.9_binxsscxvozjxebftqdoazsxm4 debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.42.0 grapheme-splitter: 1.0.4 ignore: 5.2.4 natural-compare-lite: 1.4.0 @@ -1205,8 +1222,8 @@ packages: - supports-color dev: true - /@typescript-eslint/parser/5.59.6_3qfatcekpgbllh6uk5ivyhkbxq: - resolution: {integrity: sha512-7pCa6al03Pv1yf/dUg/s1pXz/yGMUBAw5EeWqNTFiSueKvRNonze3hma3lhdsOrQcaOXhbk5gKu2Fludiho9VA==} + /@typescript-eslint/parser/5.59.9_binxsscxvozjxebftqdoazsxm4: + resolution: {integrity: sha512-FsPkRvBtcLQ/eVK1ivDiNYBjn3TGJdXy2fhXX+rc7czWl4ARwnpArwbihSOHI2Peg9WbtGHrbThfBUkZZGTtvQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 @@ -1215,26 +1232,26 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/scope-manager': 5.59.6 - '@typescript-eslint/types': 5.59.6 - '@typescript-eslint/typescript-estree': 5.59.6_typescript@5.0.4 + '@typescript-eslint/scope-manager': 5.59.9 + '@typescript-eslint/types': 5.59.9 + '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.0.4 debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.42.0 typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/scope-manager/5.59.6: - resolution: {integrity: sha512-gLbY3Le9Dxcb8KdpF0+SJr6EQ+hFGYFl6tVY8VxLPFDfUZC7BHFw+Vq7bM5lE9DwWPfx4vMWWTLGXgpc0mAYyQ==} + /@typescript-eslint/scope-manager/5.59.9: + resolution: {integrity: sha512-8RA+E+w78z1+2dzvK/tGZ2cpGigBZ58VMEHDZtpE1v+LLjzrYGc8mMaTONSxKyEkz3IuXFM0IqYiGHlCsmlZxQ==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.59.6 - '@typescript-eslint/visitor-keys': 5.59.6 + '@typescript-eslint/types': 5.59.9 + '@typescript-eslint/visitor-keys': 5.59.9 dev: true - /@typescript-eslint/type-utils/5.59.6_3qfatcekpgbllh6uk5ivyhkbxq: - resolution: {integrity: sha512-A4tms2Mp5yNvLDlySF+kAThV9VTBPCvGf0Rp8nl/eoDX9Okun8byTKoj3fJ52IJitjWOk0fKPNQhXEB++eNozQ==} + /@typescript-eslint/type-utils/5.59.9_binxsscxvozjxebftqdoazsxm4: + resolution: {integrity: sha512-ksEsT0/mEHg9e3qZu98AlSrONAQtrSTljL3ow9CGej8eRo7pe+yaC/mvTjptp23Xo/xIf2mLZKC6KPv4Sji26Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: '*' @@ -1243,23 +1260,23 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/typescript-estree': 5.59.6_typescript@5.0.4 - '@typescript-eslint/utils': 5.59.6_3qfatcekpgbllh6uk5ivyhkbxq + '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.0.4 + '@typescript-eslint/utils': 5.59.9_binxsscxvozjxebftqdoazsxm4 debug: 4.3.4 - eslint: 8.40.0 + eslint: 8.42.0 tsutils: 3.21.0_typescript@5.0.4 typescript: 5.0.4 transitivePeerDependencies: - supports-color dev: true - /@typescript-eslint/types/5.59.6: - resolution: {integrity: sha512-tH5lBXZI7T2MOUgOWFdVNUILsI02shyQvfzG9EJkoONWugCG77NDDa1EeDGw7oJ5IvsTAAGVV8I3Tk2PNu9QfA==} + /@typescript-eslint/types/5.59.9: + resolution: {integrity: sha512-uW8H5NRgTVneSVTfiCVffBb8AbwWSKg7qcA4Ot3JI3MPCJGsB4Db4BhvAODIIYE5mNj7Q+VJkK7JxmRhk2Lyjw==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /@typescript-eslint/typescript-estree/5.59.6_typescript@5.0.4: - resolution: {integrity: sha512-vW6JP3lMAs/Tq4KjdI/RiHaaJSO7IUsbkz17it/Rl9Q+WkQ77EOuOnlbaU8kKfVIOJxMhnRiBG+olE7f3M16DA==} + /@typescript-eslint/typescript-estree/5.59.9_typescript@5.0.4: + resolution: {integrity: sha512-pmM0/VQ7kUhd1QyIxgS+aRvMgw+ZljB3eDb+jYyp6d2bC0mQWLzUDF+DLwCTkQ3tlNyVsvZRXjFyV0LkU/aXjA==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: typescript: '*' @@ -1267,8 +1284,8 @@ packages: typescript: optional: true dependencies: - '@typescript-eslint/types': 5.59.6 - '@typescript-eslint/visitor-keys': 5.59.6 + '@typescript-eslint/types': 5.59.9 + '@typescript-eslint/visitor-keys': 5.59.9 debug: 4.3.4 globby: 11.1.0 is-glob: 4.0.3 @@ -1279,19 +1296,19 @@ packages: - supports-color dev: true - /@typescript-eslint/utils/5.59.6_3qfatcekpgbllh6uk5ivyhkbxq: - resolution: {integrity: sha512-vzaaD6EXbTS29cVH0JjXBdzMt6VBlv+hE31XktDRMX1j3462wZCJa7VzO2AxXEXcIl8GQqZPcOPuW/Z1tZVogg==} + /@typescript-eslint/utils/5.59.9_binxsscxvozjxebftqdoazsxm4: + resolution: {integrity: sha512-1PuMYsju/38I5Ggblaeb98TOoUvjhRvLpLa1DoTOFaLWqaXl/1iQ1eGurTXgBY58NUdtfTXKP5xBq7q9NDaLKg==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} peerDependencies: eslint: ^6.0.0 || ^7.0.0 || ^8.0.0 dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.40.0 - '@types/json-schema': 7.0.11 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.42.0 + '@types/json-schema': 7.0.12 '@types/semver': 7.5.0 - '@typescript-eslint/scope-manager': 5.59.6 - '@typescript-eslint/types': 5.59.6 - '@typescript-eslint/typescript-estree': 5.59.6_typescript@5.0.4 - eslint: 8.40.0 + '@typescript-eslint/scope-manager': 5.59.9 + '@typescript-eslint/types': 5.59.9 + '@typescript-eslint/typescript-estree': 5.59.9_typescript@5.0.4 + eslint: 8.42.0 eslint-scope: 5.1.1 semver: 7.5.1 transitivePeerDependencies: @@ -1299,11 +1316,11 @@ packages: - typescript dev: true - /@typescript-eslint/visitor-keys/5.59.6: - resolution: {integrity: sha512-zEfbFLzB9ETcEJ4HZEEsCR9HHeNku5/Qw1jSS5McYJv5BR+ftYXwFFAH5Al+xkGaZEqowMwl7uoJjQb1YSPF8Q==} + /@typescript-eslint/visitor-keys/5.59.9: + resolution: {integrity: sha512-bT7s0td97KMaLwpEBckbzj/YohnvXtqbe2XgqNvTl6RJVakY5mvENOTPvw5u66nljfZxthESpDozs86U+oLY8Q==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dependencies: - '@typescript-eslint/types': 5.59.6 + '@typescript-eslint/types': 5.59.9 eslint-visitor-keys: 3.4.1 dev: true @@ -1327,6 +1344,27 @@ packages: vscode-languageserver: 8.1.0 vscode-languageserver-textdocument: 1.0.8 yargs: 17.7.2 + dev: true + + /@typespec/compiler/0.45.0: + resolution: {integrity: sha512-5fYU2kEEYQ+Z8pIqUMNTb3lFkrgoqgWTa3EgHoeUAcNHjxMVvL/EhnFuGcixYFJuRSD8Z42J5u88lRoXVvOmbQ==} + engines: {node: '>=16.0.0'} + hasBin: true + dependencies: + '@babel/code-frame': 7.21.4 + ajv: 8.12.0 + change-case: 4.1.2 + globby: 13.1.4 + js-yaml: 4.1.0 + mkdirp: 2.1.6 + mustache: 4.2.0 + node-watch: 0.7.3 + picocolors: 1.0.0 + prettier: 2.8.8 + prompts: 2.4.2 + vscode-languageserver: 8.1.0 + vscode-languageserver-textdocument: 1.0.8 + yargs: 17.7.2 /@typespec/http/0.44.0_@typespec+compiler@0.44.0: resolution: {integrity: sha512-isIcg0/fidnbUeSp9qX1ir5XXThrKrdhwXle1Y4f+sR0DcTf4gJSEesjiZkV+Ea7u5nHjJ3/f+/Stp6XyuwOZw==} @@ -1335,48 +1373,57 @@ packages: '@typespec/compiler': ~0.44.0 dependencies: '@typespec/compiler': 0.44.0 + dev: true - /@typespec/lint/0.44.0_@typespec+compiler@0.44.0: - resolution: {integrity: sha512-IEmaP7+PLDQOeZPqwH0XZe+Llt1P/SUzIj4zLEARBaAbBSGmekwUrXRlwrrDyZEPmmsnuIRuZNuXolG+REUh5g==} + /@typespec/http/0.45.0_@typespec+compiler@0.45.0: + resolution: {integrity: sha512-D9B+CzDqoIvlerQL5R7k367R5pwvX5Ic/6YE3bkMzfq9G40TRz5ExpOf+ASmgRbKrWjm/0ppdE4IlRMCI6qFmA==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 + '@typespec/compiler': ~0.45.0 dependencies: - '@typespec/compiler': 0.44.0 + '@typespec/compiler': 0.45.0 - /@typespec/openapi/0.44.0_wihkxl52pkwnxc25ba2weeyzd4: - resolution: {integrity: sha512-uZ8rZ4cIWDsBKGbmUODu5HjAimnePmajQ5xO5QJGji9E/nK8LuEsJEnQA/qXaahEbiZTwZCH5J+ooPFLbEzXEA==} + /@typespec/lint/0.45.0_@typespec+compiler@0.45.0: + resolution: {integrity: sha512-dACuEDQD1CFLftiKIcbWrARMb7lKEXMKE+GzsSa39Xogxv4FH6wc932tPwcMXXTdpfDO2dWUoquEcvXHxUAYKQ==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/rest': ~0.44.0 + '@typespec/compiler': ~0.45.0 dependencies: - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - dev: false + '@typespec/compiler': 0.45.0 - /@typespec/openapi3/0.44.0_avswljoapttvtv2tgwnve3owrq: - resolution: {integrity: sha512-VhjwPFFgBPY1eSn3OoerinxLGDldmHVp2NzQLMIT48n1/7MXTzxzggoKNRt3NXjkqM/C3YvoE0kYzpQLUa5JFQ==} + /@typespec/openapi/0.45.0_ld33g56kghysohxgqfdp3eirni: + resolution: {integrity: sha512-6W6DMCiXb2iLH4TLgI/u8FFS5v/oBu0DZF2BER6Pzx6v5mURmYGjXiwrQ+DrkOXtqb0YLZMuDU1s9CXQe6P87Q==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 - '@typespec/http': ~0.44.0 - '@typespec/openapi': ~0.44.0 - '@typespec/rest': ~0.44.0 - '@typespec/versioning': ~0.44.0 + '@typespec/compiler': ~0.45.0 + '@typespec/http': ~0.45.0 + '@typespec/rest': ~0.45.0 dependencies: - '@typespec/compiler': 0.44.0 - '@typespec/http': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/openapi': 0.44.0_wihkxl52pkwnxc25ba2weeyzd4 - '@typespec/rest': 0.44.0_@typespec+compiler@0.44.0 - '@typespec/versioning': 0.44.0_@typespec+compiler@0.44.0 + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + dev: false + + /@typespec/openapi3/0.45.0_gmtvipmg5rk4nyxiaquq4mpq74: + resolution: {integrity: sha512-D5zBr88a+jpYFRGt01tGR0PiiLE6tazyAvayQ3+MCByZbHeQ+YDCmKgf6lbGtHbN4p1FqBhK+JrzH/42cXHYEw==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@typespec/compiler': ~0.45.0 + '@typespec/http': ~0.45.0 + '@typespec/openapi': ~0.45.0 + '@typespec/rest': ~0.45.0 + '@typespec/versioning': ~0.45.0 + dependencies: + '@typespec/compiler': 0.45.0 + '@typespec/http': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/openapi': 0.45.0_ld33g56kghysohxgqfdp3eirni + '@typespec/rest': 0.45.0_@typespec+compiler@0.45.0 + '@typespec/versioning': 0.45.0_@typespec+compiler@0.45.0 js-yaml: 4.1.0 dev: false - /@typespec/prettier-plugin-typespec/0.44.0: - resolution: {integrity: sha512-dDvvW446FcqOkDuLV8wepTpyZT5y0sI2Crhmp7kUbqpU2GznKd8hkxLVRXQxlUtga63vqiEYuZwvFd109OWttQ==} + /@typespec/prettier-plugin-typespec/0.45.0: + resolution: {integrity: sha512-nQKKllFpfT1fBiXKIYyYiJhtYMisJBvoOcQL9bPzUYyTQOaUnq9Os52+aMWaZOTUD4tBV+UNgoKNus7PYjldMg==} dependencies: prettier: 2.8.8 dev: false @@ -1388,14 +1435,23 @@ packages: '@typespec/compiler': ~0.44.0 dependencies: '@typespec/compiler': 0.44.0 + dev: true - /@typespec/versioning/0.44.0_@typespec+compiler@0.44.0: - resolution: {integrity: sha512-7Z+1wV3XM4W+QbkWFVyOsoQXtS9y4aUcpq5rbLtUCUTvI26IcTOv94b2+HbPJl2x7j3o+KYfvVLVj8fiCqxXJg==} + /@typespec/rest/0.45.0_@typespec+compiler@0.45.0: + resolution: {integrity: sha512-u9vFmXvoKdkffh0I2LDDPAKNpILuaxu/aaMRdLEw1Zfmes2mWDruReMjPU8piRB+hE5eDDxU4INPtudy2D61tA==} engines: {node: '>=16.0.0'} peerDependencies: - '@typespec/compiler': ~0.44.0 + '@typespec/compiler': ~0.45.0 dependencies: - '@typespec/compiler': 0.44.0 + '@typespec/compiler': 0.45.0 + + /@typespec/versioning/0.45.0_@typespec+compiler@0.45.0: + resolution: {integrity: sha512-Hocyi9AAuPu9az7Aw4GiWk5CUhq9CQBx8KEDVqIEBI1AvZACPNqJU02TClSyMSKWZY6V/2Gb8lxvPyNvyiF8Hw==} + engines: {node: '>=16.0.0'} + peerDependencies: + '@typespec/compiler': ~0.45.0 + dependencies: + '@typespec/compiler': 0.45.0 /@ungap/promise-all-settled/1.1.2: resolution: {integrity: sha512-sL/cEvJWAnClXw0wHk85/2L0G6Sj8UB0Ctc1TEMbKSsmpRosqhwj9gWgFRZSrBr2f9tiXISwNhCPmlfqUqyb9Q==} @@ -1507,14 +1563,14 @@ packages: '@xtuc/long': 4.2.2 dev: true - /@webpack-cli/configtest/1.2.0_zxpcxwribp5uzusrpggy7w6ofu: + /@webpack-cli/configtest/1.2.0_ekrh43i5aq25hbbhtzjy3txrbi: resolution: {integrity: sha512-4FB8Tj6xyVkyqjj1OaTqCjXYULB9FMkqQ8yGrZjRDrYh0nOE+7Lhs45WioWQQMV+ceFlE368Ukhe6xdvJM9Egg==} peerDependencies: webpack: 4.x.x || 5.x.x webpack-cli: 4.x.x dependencies: - webpack: 5.83.1_webpack-cli@4.10.0 - webpack-cli: 4.10.0_webpack@5.83.1 + webpack: 5.85.1_webpack-cli@4.10.0 + webpack-cli: 4.10.0_webpack@5.85.1 dev: true /@webpack-cli/info/1.5.0_webpack-cli@4.10.0: @@ -1523,7 +1579,7 @@ packages: webpack-cli: 4.x.x dependencies: envinfo: 7.8.1 - webpack-cli: 4.10.0_webpack@5.83.1 + webpack-cli: 4.10.0_webpack@5.85.1 dev: true /@webpack-cli/serve/1.7.0_webpack-cli@4.10.0: @@ -1535,7 +1591,7 @@ packages: webpack-dev-server: optional: true dependencies: - webpack-cli: 4.10.0_webpack@5.83.1 + webpack-cli: 4.10.0_webpack@5.85.1 dev: true /@xtuc/ieee754/1.2.0: @@ -1825,15 +1881,15 @@ packages: resolution: {integrity: sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==} dev: true - /browserslist/4.21.5: - resolution: {integrity: sha512-tUkiguQGW7S3IhB7N+c2MV/HZPSCPAAiYBZXLsBhFB/PCy6ZKKsZrmBayHV9fdGV/ARIfJ14NkxKzRDjvp7L6w==} + /browserslist/4.21.7: + resolution: {integrity: sha512-BauCXrQ7I2ftSqd2mvKHGo85XR0u7Ru3C/Hxsy/0TkfCtjrmAbPdzLGasmoiBxplpDXlPvdjX9u7srIMfgasNA==} engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} hasBin: true dependencies: - caniuse-lite: 1.0.30001488 - electron-to-chromium: 1.4.401 - node-releases: 2.0.10 - update-browserslist-db: 1.0.11_browserslist@4.21.5 + caniuse-lite: 1.0.30001495 + electron-to-chromium: 1.4.423 + node-releases: 2.0.12 + update-browserslist-db: 1.0.11_browserslist@4.21.7 dev: true /buffer-crc32/0.2.13: @@ -1889,22 +1945,22 @@ packages: resolution: {integrity: sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw==} dependencies: pascal-case: 3.1.2 - tslib: 2.5.2 + tslib: 2.5.3 /camelcase/6.3.0: resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} dev: true - /caniuse-lite/1.0.30001488: - resolution: {integrity: sha512-NORIQuuL4xGpIy6iCCQGN4iFjlBXtfKWIenlUuyZJumLRIindLb7wXM+GO8erEhb7vXfcnf4BAg2PrSDN5TNLQ==} + /caniuse-lite/1.0.30001495: + resolution: {integrity: sha512-F6x5IEuigtUfU5ZMQK2jsy5JqUUlEFRVZq8bO2a+ysq5K7jD6PPc9YXZj78xDNS3uNchesp1Jw47YXEqr+Viyg==} dev: true /capital-case/1.0.4: resolution: {integrity: sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A==} dependencies: no-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 upper-case-first: 2.0.2 /caseless/0.12.0: @@ -1963,7 +2019,7 @@ packages: path-case: 3.0.4 sentence-case: 3.0.4 snake-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /check-error/1.0.2: resolution: {integrity: sha512-BrgHpW9NURQgzoNyjfq0Wu6VFO6D7IZEmJNdtgNqpzGG8RuNFHt2jQxWlAs4HMe119chBnv+34syEZtc6IhLtA==} @@ -2111,7 +2167,7 @@ packages: resolution: {integrity: sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ==} dependencies: no-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 upper-case: 2.0.2 /content-disposition/0.5.4: @@ -2198,6 +2254,7 @@ packages: /data-uri-to-buffer/4.0.1: resolution: {integrity: sha512-0R9ikRb668HB7QDxT1vkpuUBtqc53YyAwMwGeUFKRojY/NWKvdZ+9UYtRfGmhqNbRkTSVpMbmyhXipFFv2cb/A==} engines: {node: '>= 12'} + dev: true /date-format/4.0.14: resolution: {integrity: sha512-39BOQLs9ZjKh0/patS9nrT8wc3ioX3/eA/zgbKNopnF2wCqJEoxywwwElATYvRsXdnOxA/OQeQoFZ3rFjVajhg==} @@ -2346,10 +2403,10 @@ packages: resolution: {integrity: sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w==} dependencies: no-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 - /dotenv/16.0.3: - resolution: {integrity: sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ==} + /dotenv/16.1.4: + resolution: {integrity: sha512-m55RtE8AsPeJBpOIFKihEmqUcoVncQIwo7x9U8ZwLEZw9ZpXboz2c+rvog+jUaJvVrZ5kBOeYQBX5+8Aa/OZQw==} engines: {node: '>=12'} dev: false @@ -2370,8 +2427,8 @@ packages: resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} dev: true - /electron-to-chromium/1.4.401: - resolution: {integrity: sha512-AswqHsYyEbfSn0x87n31Na/xttUqEAg7NUjpiyxC20MaWKLyadOYHMzyLdF78N1iw+FK8/2KHLpZxRdyRILgtA==} + /electron-to-chromium/1.4.423: + resolution: {integrity: sha512-y4A7YfQcDGPAeSWM1IuoWzXpg9RY1nwHzHSwRtCSQFp9FgAVDgdWlFf0RbdWfLWQ2WUI+bddUgk5RgTjqRE6FQ==} dev: true /emoji-regex/8.0.0: @@ -2397,8 +2454,8 @@ packages: once: 1.4.0 dev: true - /engine.io-parser/5.0.6: - resolution: {integrity: sha512-tjuoZDMAdEhVnSFleYPCtdL2GXwVTGtNjoeJd9IhIG3C1xs9uwxqRNEu5WpnDZCaozwVlK/nuQhpodhXSIMaxw==} + /engine.io-parser/5.0.7: + resolution: {integrity: sha512-P+jDFbvK6lE3n1OL+q9KuzdOFWkkZ/cMV9gol/SbVfpyqfvrfrFTOFJ6fQm2VC3PZHlU3QPhVwmbsCnauHF2MQ==} engines: {node: '>=10.0.0'} dev: true @@ -2408,13 +2465,13 @@ packages: dependencies: '@types/cookie': 0.4.1 '@types/cors': 2.8.13 - '@types/node': 18.16.13 + '@types/node': 18.16.16 accepts: 1.3.8 base64id: 2.0.0 cookie: 0.4.2 cors: 2.8.5 debug: 4.3.4 - engine.io-parser: 5.0.6 + engine.io-parser: 5.0.7 ws: 8.11.0 transitivePeerDependencies: - bufferutil @@ -2422,8 +2479,8 @@ packages: - utf-8-validate dev: true - /enhanced-resolve/5.14.0: - resolution: {integrity: sha512-+DCows0XNwLDcUhbFJPdlQEVnT2zXlCv7hPxemTz86/O+B/hCQ+mb7ydkPKiflpVraqLPCAfu7lDy+hBXueojw==} + /enhanced-resolve/5.14.1: + resolution: {integrity: sha512-Vklwq2vDKtl0y/vtwjSesgJ5MYS7Etuk5txS8VdKL4AOS1aUlD96zqIfsOSLQsdv3xgMRbtkWM8eG9XDfKUPow==} engines: {node: '>=10.13.0'} dependencies: graceful-fs: 4.2.11 @@ -2564,16 +2621,16 @@ packages: engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} dev: true - /eslint/8.40.0: - resolution: {integrity: sha512-bvR+TsP9EHL3TqNtj9sCNJVAFK3fBN8Q7g5waghxyRsPLIMwL73XSKnZFK0hk/O2ANC+iAoq6PWMQ+IfBAJIiQ==} + /eslint/8.42.0: + resolution: {integrity: sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==} engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0} hasBin: true dependencies: - '@eslint-community/eslint-utils': 4.4.0_eslint@8.40.0 + '@eslint-community/eslint-utils': 4.4.0_eslint@8.42.0 '@eslint-community/regexpp': 4.5.1 '@eslint/eslintrc': 2.0.3 - '@eslint/js': 8.40.0 - '@humanwhocodes/config-array': 0.11.8 + '@eslint/js': 8.42.0 + '@humanwhocodes/config-array': 0.11.10 '@humanwhocodes/module-importer': 1.0.1 '@nodelib/fs.walk': 1.2.8 ajv: 6.12.6 @@ -2592,13 +2649,12 @@ packages: find-up: 5.0.0 glob-parent: 6.0.2 globals: 13.20.0 - grapheme-splitter: 1.0.4 + graphemer: 1.4.0 ignore: 5.2.4 import-fresh: 3.3.0 imurmurhash: 0.1.4 is-glob: 4.0.3 is-path-inside: 3.0.3 - js-sdsl: 4.4.0 js-yaml: 4.1.0 json-stable-stringify-without-jsonify: 1.0.1 levn: 0.4.1 @@ -2762,8 +2818,8 @@ packages: resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true - /fast-xml-parser/4.2.2: - resolution: {integrity: sha512-DLzIPtQqmvmdq3VUKR7T6omPK/VCRNqgFlGtbESfyhcH2R4I8EzK1/K6E8PkRCK2EabWrUHK32NjYRbEFnnz0Q==} + /fast-xml-parser/4.2.4: + resolution: {integrity: sha512-fbfMDvgBNIdDJLdLOwacjFAPYt67tr31H9ZhWSm45CDAxvd0I6WTlSOUo7K2P/K5sA5JgMKG64PI3DMcaFdWpQ==} hasBin: true dependencies: strnum: 1.0.5 @@ -2795,6 +2851,7 @@ packages: dependencies: node-domexception: 1.0.0 web-streams-polyfill: 3.2.1 + dev: true /file-entry-cache/6.0.1: resolution: {integrity: sha512-7Gps/XWymbLk2QLYK4NzpMOrYjMhdIxXuIvy2QBsLE6ljuodKvdkWs/cpyJJ3CVIVpH0Oi1Hvg1ovbMzLdFBBg==} @@ -2930,6 +2987,7 @@ packages: engines: {node: '>=12.20.0'} dependencies: fetch-blob: 3.2.0 + dev: true /forwarded/0.2.0: resolution: {integrity: sha512-buRG0fpBtRHSTCOASe6hD258tEubFoRLb4ZNA6NxMVHNw2gOcwHo9wyablzMzOA5z9xA9L1KNjk/Nt6MT9aYow==} @@ -3057,14 +3115,14 @@ packages: resolution: {integrity: sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw==} dev: true - /glob/10.2.5: - resolution: {integrity: sha512-Gj+dFYPZ5hc5dazjXzB0iHg2jKWJZYMjITXYPBRQ/xc2Buw7H0BINknRTwURJ6IC6MEFpYbLvtgVb3qD+DwyuA==} + /glob/10.2.7: + resolution: {integrity: sha512-jTKehsravOJo8IJxUGfZILnkvVJM/MOfHRs8QcXolVef2zNI9Tqyy5+SeuOAZd3upViEZQLyFpQhYiHLrMUNmA==} engines: {node: '>=16 || 14 >=14.17'} hasBin: true dependencies: foreground-child: 3.1.1 jackspeak: 2.1.1 - minimatch: 9.0.0 + minimatch: 9.0.1 minipass: 6.0.2 path-scurry: 1.9.2 dev: true @@ -3151,6 +3209,10 @@ packages: resolution: {integrity: sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ==} dev: true + /graphemer/1.4.0: + resolution: {integrity: sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==} + dev: true + /growl/1.10.5: resolution: {integrity: sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA==} engines: {node: '>=4.x'} @@ -3235,7 +3297,7 @@ packages: resolution: {integrity: sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q==} dependencies: capital-case: 1.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /hosted-git-info/2.8.9: resolution: {integrity: sha512-mxIDAb9Lsm6DoOJ7xH+5+X4y1LU/4Hi50L9C5sIswK3JzULS4bwk1FvjdBgvYR4bzT4tuUQiC15FE2f5HbLvYw==} @@ -3619,15 +3681,11 @@ packages: resolution: {integrity: sha512-7vuh85V5cdDofPyxn58nrPjBktZo0u9x1g8WtjQol+jZDaE+fhN+cIvTj11GndBnMnyfrUOG1sZQxCdjKh+DKg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/node': 18.16.13 + '@types/node': 18.16.16 merge-stream: 2.0.0 supports-color: 8.1.1 dev: true - /js-sdsl/4.4.0: - resolution: {integrity: sha512-FfVSdx6pJ41Oa+CF7RDaFmTnCaFhua+SNYQX74riGOpl96x+2jQCqEfQ2bnXu/5DPCqlRuiqyvTJM0Qjz26IVg==} - dev: true - /js-tokens/4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} @@ -3790,7 +3848,7 @@ packages: qjobs: 1.2.0 range-parser: 1.2.1 rimraf: 3.0.2 - socket.io: 4.6.1 + socket.io: 4.6.2 source-map: 0.6.1 tmp: 0.2.1 ua-parser-js: 0.7.35 @@ -3917,7 +3975,7 @@ packages: /lower-case/2.0.2: resolution: {integrity: sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg==} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 /lru-cache/6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} @@ -3925,8 +3983,8 @@ packages: dependencies: yallist: 4.0.0 - /lru-cache/9.1.1: - resolution: {integrity: sha512-65/Jky17UwSb0BuB9V+MyDpsOtXKmYwzhyl+cOa9XUiI4uV2Ouy/2voFP3+al0BjZbJgMBD8FojMpAf+Z+qn4A==} + /lru-cache/9.1.2: + resolution: {integrity: sha512-ERJq3FOzJTxBbFjZ7iDs+NiK4VI9Wz+RdrrAB8dio1oV+YvdPzUEE4QNiT2VD51DkIbCYRUUzCRkssXCHqSnKQ==} engines: {node: 14 || >=16.14} dev: true @@ -4013,8 +4071,8 @@ packages: dependencies: brace-expansion: 2.0.1 - /minimatch/9.0.0: - resolution: {integrity: sha512-0jJj8AvgKqWN05mrwuqi8QYKx1WmYSUoKSxu5Qhs9prezTz10sxAHGNZe9J9cqIJzta8DWsleh2KaVaLl6Ru2w==} + /minimatch/9.0.1: + resolution: {integrity: sha512-0jWhJpD/MdhPXwPuiRkCbfYfSKp2qnn2eOc279qI7f+osl/l+prKSrvhg157zSYvx/1nmgn2NqdT6k2Z7zSH9w==} engines: {node: '>=16 || 14 >=14.17'} dependencies: brace-expansion: 2.0.1 @@ -4151,7 +4209,7 @@ packages: resolution: {integrity: sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg==} dependencies: lower-case: 2.0.2 - tslib: 2.5.2 + tslib: 2.5.3 /node-cmd/3.0.0: resolution: {integrity: sha512-SBvtm39iEkhEEDbUowR0O2YVaqpbD2nRvQ3fxXP/Tn1FgRpZAaUb8yKeEtFulBIv+xTHDodOKkj4EXIBANj+AQ==} @@ -4160,6 +4218,7 @@ packages: /node-domexception/1.0.0: resolution: {integrity: sha512-/jKZoMpw0F8GRwl4/eLROPA3cfcXtLApP0QzLmUT/HuPCZWyB7IY9ZrMeKw2O/nFIqPQB3PVM9aYm0F312AXDQ==} engines: {node: '>=10.5.0'} + dev: true /node-fetch/2.6.11: resolution: {integrity: sha512-4I6pdBY1EthSqDmJkiNk3JIT8cswwR9nfeW/cPdUagJYEQG7R95WRH74wpz7ma8Gh/9dI9FP+OU+0E4FvtA55w==} @@ -4179,6 +4238,7 @@ packages: data-uri-to-buffer: 4.0.1 fetch-blob: 3.2.0 formdata-polyfill: 4.0.10 + dev: true /node-fetch/3.3.1: resolution: {integrity: sha512-cRVc/kyto/7E5shrWca1Wsea4y6tL9iYJE5FBCius3JQfb/4P4I295PfhgbJQBLTx6lATE4z+wK0rPM4VS2uow==} @@ -4189,8 +4249,8 @@ packages: formdata-polyfill: 4.0.10 dev: true - /node-releases/2.0.10: - resolution: {integrity: sha512-5GFldHPXVG/YZmFzJvKK2zDSzPKhEp0+ZR5SVaoSag9fsL5YgHbUHDfnG5494ISANDcK4KwPXAx2xqVEydmd7w==} + /node-releases/2.0.12: + resolution: {integrity: sha512-QzsYKWhXTWx8h1kIvqfnC++o0pEmpRQA/aenALsL2F4pqNVr7YzcdMlDij5WBnwftRbJCNJL/O7zdKaxKPHqgQ==} dev: true /node-watch/0.7.3: @@ -4356,7 +4416,7 @@ packages: resolution: {integrity: sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A==} dependencies: dot-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /parent-module/1.0.1: resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} @@ -4382,7 +4442,7 @@ packages: resolution: {integrity: sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g==} dependencies: no-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /path-browserify/1.0.1: resolution: {integrity: sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g==} @@ -4391,7 +4451,7 @@ packages: resolution: {integrity: sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg==} dependencies: dot-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /path-exists/4.0.0: resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} @@ -4421,7 +4481,7 @@ packages: resolution: {integrity: sha512-qSDLy2aGFPm8i4rsbHd4MNyTcrzHFsLQykrtbuGRknZZCBBVXSv2tSCDN2Cg6Rt/GFRw8GoW9y9Ecw5rIPG1sg==} engines: {node: '>=16 || 14 >=14.17'} dependencies: - lru-cache: 9.1.1 + lru-cache: 9.1.2 minipass: 6.0.2 dev: true @@ -4815,7 +4875,7 @@ packages: resolution: {integrity: sha512-pvjEHOgWc9OWA/f/DE3ohBWTD6EleVLf7iFUkoSwAxttdBhB9QUebQgxER2kWueOvRJXPHNnyrvvh9eZINB8Eg==} engines: {node: '>= 10.13.0'} dependencies: - '@types/json-schema': 7.0.11 + '@types/json-schema': 7.0.12 ajv: 6.12.6 ajv-keywords: 3.5.2_ajv@6.12.6 dev: true @@ -4855,7 +4915,7 @@ packages: resolution: {integrity: sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg==} dependencies: no-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 upper-case-first: 2.0.2 /serialize-javascript/6.0.0: @@ -4966,7 +5026,7 @@ packages: resolution: {integrity: sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg==} dependencies: dot-case: 3.0.4 - tslib: 2.5.2 + tslib: 2.5.3 /socket.io-adapter/2.5.2: resolution: {integrity: sha512-87C3LO/NOMc+eMcpcxUBebGjkpMDkNBS9tf7KJqcDsmL936EChtVva71Dw2q4tQcuVC+hAUy4an2NO/sYXmwRA==} @@ -4977,8 +5037,8 @@ packages: - utf-8-validate dev: true - /socket.io-parser/4.2.2: - resolution: {integrity: sha512-DJtziuKypFkMMHCm2uIshOYC7QaylbtzQwiMYDuCKy3OPkjLzu4B2vAhTlqipRHHzrI0NJeBAizTK7X+6m1jVw==} + /socket.io-parser/4.2.4: + resolution: {integrity: sha512-/GbIKmo8ioc+NIWIhwdecY0ge+qVBSMdgxGygevmdHj24bsfgtCmcUUcQ5ZzcylGFHsN3k4HB4Cgkl96KVnuew==} engines: {node: '>=10.0.0'} dependencies: '@socket.io/component-emitter': 3.1.0 @@ -4987,8 +5047,8 @@ packages: - supports-color dev: true - /socket.io/4.6.1: - resolution: {integrity: sha512-KMcaAi4l/8+xEjkRICl6ak8ySoxsYG+gG6/XfRCPJPQ/haCRIJBTL4wIl8YCsmtaBovcAXGLOShyVWQ/FG8GZA==} + /socket.io/4.6.2: + resolution: {integrity: sha512-Vp+lSks5k0dewYTfwgPT9UeGGd+ht7sCpB7p0e83VgO4X/AHYWhXITMrNk/pg8syY2bpx23ptClCQuHhqi2BgQ==} engines: {node: '>=10.0.0'} dependencies: accepts: 1.3.8 @@ -4996,14 +5056,14 @@ packages: debug: 4.3.4 engine.io: 6.4.2 socket.io-adapter: 2.5.2 - socket.io-parser: 4.2.2 + socket.io-parser: 4.2.4 transitivePeerDependencies: - bufferutil - supports-color - utf-8-validate dev: true - /source-map-loader/1.1.3_webpack@5.83.1: + /source-map-loader/1.1.3_webpack@5.85.1: resolution: {integrity: sha512-6YHeF+XzDOrT/ycFJNI53cgEsp/tHTMl37hi7uVyqFAlTXW109JazaQCkbc+jjoL2637qkH1amLi+JzrIpt5lA==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -5014,7 +5074,7 @@ packages: loader-utils: 2.0.4 schema-utils: 3.1.2 source-map: 0.6.1 - webpack: 5.83.1_webpack-cli@4.10.0 + webpack: 5.85.1_webpack-cli@4.10.0 whatwg-mimetype: 2.3.0 dev: true @@ -5235,7 +5295,7 @@ packages: readable-stream: 3.6.2 dev: true - /terser-webpack-plugin/5.3.9_webpack@5.83.1: + /terser-webpack-plugin/5.3.9_webpack@5.85.1: resolution: {integrity: sha512-ZuXsqE07EcggTWQjXUj+Aot/OMcD0bMKGgF63f7UxYcu5/AJF53aIpK1YoP5xR9l6s/Hy2b+t1AM0bLNPRuhwA==} engines: {node: '>= 10.13.0'} peerDependencies: @@ -5255,12 +5315,12 @@ packages: jest-worker: 27.5.1 schema-utils: 3.1.2 serialize-javascript: 6.0.1 - terser: 5.17.4 - webpack: 5.83.1_webpack-cli@4.10.0 + terser: 5.17.7 + webpack: 5.85.1_webpack-cli@4.10.0 dev: true - /terser/5.17.4: - resolution: {integrity: sha512-jcEKZw6UPrgugz/0Tuk/PVyLAPfMBJf5clnGueo45wTweoV8yh7Q7PEkhkJ5uuUbC7zAxEcG3tqNr1bstkQ8nw==} + /terser/5.17.7: + resolution: {integrity: sha512-/bi0Zm2C6VAexlGgLlVxA0P2lru/sdLyfCVaRMfKVo9nWxbmz7f/sD8VPybPeSUJaJcwmCJis9pBIhcVcG1QcQ==} engines: {node: '>=10'} hasBin: true dependencies: @@ -5308,8 +5368,8 @@ packages: punycode: 2.3.0 dev: true - /tough-cookie/4.1.2: - resolution: {integrity: sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==} + /tough-cookie/4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} engines: {node: '>=6'} dependencies: psl: 1.9.0 @@ -5332,7 +5392,7 @@ packages: code-block-writer: 11.0.3 dev: false - /ts-node/10.9.1_obvymrsoq75xwrgsowh2gvt4sq: + /ts-node/10.9.1_7pk5zqybkp63ari366oqmheeyy: resolution: {integrity: sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==} hasBin: true peerDependencies: @@ -5351,7 +5411,7 @@ packages: '@tsconfig/node12': 1.0.11 '@tsconfig/node14': 1.0.3 '@tsconfig/node16': 1.0.4 - '@types/node': 18.16.13 + '@types/node': 18.16.16 acorn: 8.8.2 acorn-walk: 8.2.0 arg: 4.1.3 @@ -5382,8 +5442,8 @@ packages: resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} dev: true - /tslib/2.5.2: - resolution: {integrity: sha512-5svOrSA2w3iGFDs1HibEVBGbDrAY82bFQ3HZ3ixB+88nsbsWQoKqDRb5UBYAUPEzbBn6dAp5gRNXglySbx1MlA==} + /tslib/2.5.3: + resolution: {integrity: sha512-mSxlJJwl3BMEQCUNnxXBU9jP4JBktcEGhURcPR6VQVlnP0FdDEsIaz0C35dXNGLyRfrATNofF0F5p2KPxQgB+w==} /tsutils/3.21.0_typescript@5.0.4: resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} @@ -5499,13 +5559,13 @@ packages: engines: {node: '>= 0.8'} dev: true - /update-browserslist-db/1.0.11_browserslist@4.21.5: + /update-browserslist-db/1.0.11_browserslist@4.21.7: resolution: {integrity: sha512-dCwEFf0/oT85M1fHBg4F0jtLwJrutGoHSQXCh7u4o2t1drG+c0a9Flnqww6XUKSfQMPpJBRjU8d4RXB09qtvaA==} hasBin: true peerDependencies: browserslist: '>= 4.21.0' dependencies: - browserslist: 4.21.5 + browserslist: 4.21.7 escalade: 3.1.1 picocolors: 1.0.0 dev: true @@ -5513,12 +5573,12 @@ packages: /upper-case-first/2.0.2: resolution: {integrity: sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg==} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 /upper-case/2.0.2: resolution: {integrity: sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg==} dependencies: - tslib: 2.5.2 + tslib: 2.5.3 /uri-js/4.4.1: resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} @@ -5631,11 +5691,12 @@ packages: /web-streams-polyfill/3.2.1: resolution: {integrity: sha512-e0MO3wdXWKrLbL0DgGnUV7WHVuw9OUvL4hjgnPkIeEvESk74gAITi5G606JtZPp39cd8HA9VQzCIvA49LpPN5Q==} engines: {node: '>= 8'} + dev: true /webidl-conversions/3.0.1: resolution: {integrity: sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ==} - /webpack-cli/4.10.0_webpack@5.83.1: + /webpack-cli/4.10.0_webpack@5.85.1: resolution: {integrity: sha512-NLhDfH/h4O6UOy+0LSso42xvYypClINuMNBVVzX4vX98TmTaTUxwRbXdhucbFMd2qLaCTcLq/PdYrvi8onw90w==} engines: {node: '>=10.13.0'} hasBin: true @@ -5656,7 +5717,7 @@ packages: optional: true dependencies: '@discoveryjs/json-ext': 0.5.7 - '@webpack-cli/configtest': 1.2.0_zxpcxwribp5uzusrpggy7w6ofu + '@webpack-cli/configtest': 1.2.0_ekrh43i5aq25hbbhtzjy3txrbi '@webpack-cli/info': 1.5.0_webpack-cli@4.10.0 '@webpack-cli/serve': 1.7.0_webpack-cli@4.10.0 colorette: 2.0.20 @@ -5666,12 +5727,12 @@ packages: import-local: 3.1.0 interpret: 2.2.0 rechoir: 0.7.1 - webpack: 5.83.1_webpack-cli@4.10.0 - webpack-merge: 5.8.0 + webpack: 5.85.1_webpack-cli@4.10.0 + webpack-merge: 5.9.0 dev: true - /webpack-merge/5.8.0: - resolution: {integrity: sha512-/SaI7xY0831XwP6kzuwhKWVKDP9t1QY1h65lAFLbZqMPIuYcD9QAW4u9STIbU9kaJbPBB/geU/gLr1wDjOhQ+Q==} + /webpack-merge/5.9.0: + resolution: {integrity: sha512-6NbRQw4+Sy50vYNTw7EyOn41OZItPiXB8GNv3INSoe3PSFaHJEz3SHTrYVaRm2LilNGnFUzh0FAwqPEmU/CwDg==} engines: {node: '>=10.0.0'} dependencies: clone-deep: 4.0.1 @@ -5683,8 +5744,8 @@ packages: engines: {node: '>=10.13.0'} dev: true - /webpack/5.83.1_webpack-cli@4.10.0: - resolution: {integrity: sha512-TNsG9jDScbNuB+Lb/3+vYolPplCS3bbEaJf+Bj0Gw4DhP3ioAflBb1flcRt9zsWITyvOhM96wMQNRWlSX52DgA==} + /webpack/5.85.1_webpack-cli@4.10.0: + resolution: {integrity: sha512-xTb7MRf4LY8Z5rzn7aIx4TDrwYJrjcHnIfU1TqtyZOoObyuGSpAUwIvVuqq5wPnv7WEgQr8UvO1q/dgoGG4HjA==} engines: {node: '>=10.13.0'} hasBin: true peerDependencies: @@ -5700,9 +5761,9 @@ packages: '@webassemblyjs/wasm-parser': 1.11.6 acorn: 8.8.2 acorn-import-assertions: 1.9.0_acorn@8.8.2 - browserslist: 4.21.5 + browserslist: 4.21.7 chrome-trace-event: 1.0.3 - enhanced-resolve: 5.14.0 + enhanced-resolve: 5.14.1 es-module-lexer: 1.2.1 eslint-scope: 5.1.1 events: 3.3.0 @@ -5714,9 +5775,9 @@ packages: neo-async: 2.6.2 schema-utils: 3.1.2 tapable: 2.2.1 - terser-webpack-plugin: 5.3.9_webpack@5.83.1 + terser-webpack-plugin: 5.3.9_webpack@5.85.1 watchpack: 2.4.0 - webpack-cli: 4.10.0_webpack@5.83.1 + webpack-cli: 4.10.0_webpack@5.85.1 webpack-sources: 3.2.3 transitivePeerDependencies: - '@swc/core' @@ -5793,8 +5854,8 @@ packages: triple-beam: 1.3.0 dev: true - /winston/3.8.2: - resolution: {integrity: sha512-MsE1gRx1m5jdTTO9Ld/vND4krP2To+lgDoMEHGGa4HIlAUyXJtfc7CxQcGXVyz2IBpw5hbFkj2b/AtUdQwyRew==} + /winston/3.9.0: + resolution: {integrity: sha512-jW51iW/X95BCW6MMtZWr2jKQBP4hV5bIDq9QrIjfDk6Q9QuxvTKEAlpUNAzP+HYHFFCeENhph16s0zEunu4uuQ==} engines: {node: '>= 12.0.0'} dependencies: '@colors/colors': 1.5.0 @@ -5867,6 +5928,7 @@ packages: dependencies: sax: 1.2.4 xmlbuilder: 11.0.1 + dev: false /xml2js/0.5.0: resolution: {integrity: sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==} diff --git a/packages/autorest.typescript/test/integration/generated/lro/src/operations/lROs.ts b/packages/autorest.typescript/test/integration/generated/lro/src/operations/lROs.ts index abe49d27b0..1507d85d35 100644 --- a/packages/autorest.typescript/test/integration/generated/lro/src/operations/lROs.ts +++ b/packages/autorest.typescript/test/integration/generated/lro/src/operations/lROs.ts @@ -365,8 +365,7 @@ export class LROsImpl implements LROs { OperationState >(lro, { restoreFrom: options?.resumeFrom, - intervalInMs: options?.updateIntervalInMs, - resourceLocationConfig: "azure-async-operation" + intervalInMs: options?.updateIntervalInMs }); await poller.poll(); return poller; diff --git a/packages/typespec-test/package.json b/packages/typespec-test/package.json index 9fb0d0b3a6..0b8092a2a4 100644 --- a/packages/typespec-test/package.json +++ b/packages/typespec-test/package.json @@ -3,17 +3,17 @@ "version": "1.0.0", "type": "module", "dependencies": { - "@typespec/compiler": "~0.44.0", + "@typespec/compiler": ">=0.45.0 <1.0.0", "@azure-tools/typespec-ts": "workspace:^0.13.1", - "@typespec/http": "~0.44.0", - "@typespec/rest": "~0.44.0", - "@typespec/openapi": "~0.44.0", - "@typespec/versioning": "~0.44.0", - "@azure-tools/typespec-azure-core": "~0.30.0", - "@azure-tools/typespec-autorest": "~0.30.0", - "@azure-tools/typespec-client-generator-core": "~0.30.0", - "@typespec/openapi3": "~0.44.0", - "@typespec/prettier-plugin-typespec": "~0.44.0", + "@typespec/http": ">=0.45.0 <1.0.0", + "@typespec/rest": ">=0.45.0 <1.0.0", + "@typespec/openapi": ">=0.45.0 <1.0.0", + "@typespec/versioning": ">=0.45.0 <1.0.0", + "@azure-tools/typespec-azure-core": ">=0.31.0 <1.0.0", + "@azure-tools/typespec-autorest": ">=0.31.0 <1.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.31.0 <1.0.0", + "@typespec/openapi3": ">=0.45.0 <1.0.0", + "@typespec/prettier-plugin-typespec": ">=0.45.0 <1.0.0", "prettier": "2.7.1" }, "devDependencies": { diff --git a/packages/typespec-test/test/anomalyDetector/generated/openapi/v1.1/openapi.json b/packages/typespec-test/test/anomalyDetector/generated/openapi/v1.1/openapi.json index bf53b05fde..d29b16e0ef 100644 --- a/packages/typespec-test/test/anomalyDetector/generated/openapi/v1.1/openapi.json +++ b/packages/typespec-test/test/anomalyDetector/generated/openapi/v1.1/openapi.json @@ -28,6 +28,7 @@ "name": "ApiVersion", "in": "path", "required": true, + "description": "Api Version", "type": "string", "enum": [ "v1.1" @@ -76,8 +77,8 @@ "in": "path", "required": true, "description": "ID of a batch detection result.", - "format": "uuid", - "type": "string" + "type": "string", + "format": "uuid" } ], "responses": { @@ -590,8 +591,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", - "description": "Error message for the current timestamp." + "description": "Error message for the current timestamp.", + "x-typespec-name": "Multivariate.ErrorResponse[]" } }, "description": "Anomaly status and information.", @@ -626,8 +627,8 @@ "$ref": "#/definitions/Multivariate.AnomalyInterpretation" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyInterpretation[]", - "description": "Interpretation of this anomalous timestamp." + "description": "Interpretation of this anomalous timestamp.", + "x-typespec-name": "Multivariate.AnomalyInterpretation[]" } }, "description": "Detailed information of the anomalous timestamp.", @@ -645,8 +646,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "The correlated variables that have correlation changes under an anomaly." + "description": "The correlated variables that have correlation changes under an anomaly.", + "x-typespec-name": "string[]" } }, "description": "Correlation changes among the anomalous variables" @@ -688,8 +689,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable Status." + "description": "Variable Status.", + "x-typespec-name": "Multivariate.VariableState[]" } }, "description": "Diagnostics information to help inspect the states of model or variable." @@ -772,8 +773,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", "description": "Error messages when failed to create a model.", + "x-typespec-name": "Multivariate.ErrorResponse[]", "readOnly": true }, "diagnosticsInfo": { @@ -797,8 +798,8 @@ "$ref": "#/definitions/Multivariate.AnomalyDetectionModel" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyDetectionModel[]", - "description": "List of models." + "description": "List of models.", + "x-typespec-name": "Multivariate.AnomalyDetectionModel[]" }, "currentCount": { "type": "integer", @@ -831,8 +832,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "This indicates the number of passes of the entire training dataset the\nalgorithm has completed." + "description": "This indicates the number of passes of the entire training dataset the\nalgorithm has completed.", + "x-typespec-name": "int32[]" }, "trainLosses": { "type": "array", @@ -840,8 +841,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "List of metrics used to assess how the model fits the training data for each\nepoch." + "description": "List of metrics used to assess how the model fits the training data for each\nepoch.", + "x-typespec-name": "float32[]" }, "validationLosses": { "type": "array", @@ -849,8 +850,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "List of metrics used to assess how the model fits the validation set for each\nepoch." + "description": "List of metrics used to assess how the model fits the validation set for each\nepoch.", + "x-typespec-name": "float32[]" }, "latenciesInSeconds": { "type": "array", @@ -858,8 +859,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Latency for each epoch. " + "description": "Latency for each epoch. ", + "x-typespec-name": "float32[]" } }, "description": "Model status." @@ -939,8 +940,8 @@ "$ref": "#/definitions/Multivariate.ErrorResponse" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.ErrorResponse[]", - "description": "Error message when detection is failed." + "description": "Error message when detection is failed.", + "x-typespec-name": "Multivariate.ErrorResponse[]" }, "variableStates": { "type": "array", @@ -948,8 +949,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable Status." + "description": "Variable Status.", + "x-typespec-name": "Multivariate.VariableState[]" }, "setupInfo": { "$ref": "#/definitions/Multivariate.MultivariateBatchDetectionOptions", @@ -1012,8 +1013,8 @@ "$ref": "#/definitions/Multivariate.AnomalyState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyState[]", - "description": "Detection result for each timestamp." + "description": "Detection result for each timestamp.", + "x-typespec-name": "Multivariate.AnomalyState[]" } }, "description": "Detection results for the given resultId.", @@ -1032,8 +1033,8 @@ "$ref": "#/definitions/Multivariate.VariableValues" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableValues[]", - "description": "This contains the inference data, including the name, timestamps(ISO 8601) and\nvalues of variables." + "description": "This contains the inference data, including the name, timestamps(ISO 8601) and\nvalues of variables.", + "x-typespec-name": "Multivariate.VariableValues[]" }, "topContributorCount": { "type": "integer", @@ -1056,8 +1057,8 @@ "$ref": "#/definitions/Multivariate.VariableState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.VariableState[]", - "description": "Variable Status." + "description": "Variable Status.", + "x-typespec-name": "Multivariate.VariableState[]" }, "results": { "type": "array", @@ -1065,8 +1066,8 @@ "$ref": "#/definitions/Multivariate.AnomalyState" }, "x-ms-identifiers": [], - "x-typespec-name": "Multivariate.AnomalyState[]", - "description": "Anomaly status and information." + "description": "Anomaly status and information.", + "x-typespec-name": "Multivariate.AnomalyState[]" } }, "description": "Results of last detection." @@ -1133,8 +1134,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Timestamps of last detection request" + "description": "Timestamps of last detection request", + "x-typespec-name": "string[]" }, "values": { "type": "array", @@ -1142,8 +1143,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "Values of variables." + "description": "Values of variables.", + "x-typespec-name": "float32[]" } }, "description": "Variable values.", @@ -1312,8 +1313,8 @@ "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, "x-ms-identifiers": [], - "x-typespec-name": "Univariate.TimeSeriesPoint[]", - "description": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the change point detection result." + "description": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the change point detection result.", + "x-typespec-name": "Univariate.TimeSeriesPoint[]" }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1360,8 +1361,8 @@ "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "isChangePoint contains change point properties for each input point. True means\nan anomaly either negative or positive has been detected. The index of the\narray is consistent with the input series." + "description": "isChangePoint contains change point properties for each input point. True means\nan anomaly either negative or positive has been detected. The index of the\narray is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "confidenceScores": { "type": "array", @@ -1369,8 +1370,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "the change point confidence of each point" + "description": "the change point confidence of each point", + "x-typespec-name": "float32[]" } }, "description": "The response of change point detection." @@ -1384,8 +1385,8 @@ "$ref": "#/definitions/Univariate.TimeSeriesPoint" }, "x-ms-identifiers": [], - "x-typespec-name": "Univariate.TimeSeriesPoint[]", - "description": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there is duplicated timestamp, the API will not work. In such\ncase, an error message will be returned." + "description": "Time series data points. Points should be sorted by timestamp in ascending\norder to match the anomaly detection result. If the data is not sorted\ncorrectly or there is duplicated timestamp, the API will not work. In such\ncase, an error message will be returned.", + "x-typespec-name": "Univariate.TimeSeriesPoint[]" }, "granularity": { "$ref": "#/definitions/Univariate.TimeGranularity", @@ -1440,8 +1441,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "ExpectedValues contain expected value for each input point. The index of the\narray is consistent with the input series." + "description": "ExpectedValues contain expected value for each input point. The index of the\narray is consistent with the input series.", + "x-typespec-name": "float32[]" }, "upperMargins": { "type": "array", @@ -1449,8 +1450,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "UpperMargins contain upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which equals to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in response can be filtered by\nupperBoundary and lowerBoundary. By adjusting marginScale value, less\nsignificant anomalies can be filtered in client side. The index of the array is\nconsistent with the input series." + "description": "UpperMargins contain upper margin of each input point. UpperMargin is used to\ncalculate upperBoundary, which equals to expectedValue + (100 -\nmarginScale)*upperMargin. Anomalies in response can be filtered by\nupperBoundary and lowerBoundary. By adjusting marginScale value, less\nsignificant anomalies can be filtered in client side. The index of the array is\nconsistent with the input series.", + "x-typespec-name": "float32[]" }, "lowerMargins": { "type": "array", @@ -1458,32 +1459,32 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "LowerMargins contain lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which equals to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones in client side. The index of the array is consistent with the input\nseries." + "description": "LowerMargins contain lower margin of each input point. LowerMargin is used to\ncalculate lowerBoundary, which equals to expectedValue - (100 -\nmarginScale)*lowerMargin. Points between the boundary can be marked as normal\nones in client side. The index of the array is consistent with the input\nseries.", + "x-typespec-name": "float32[]" }, "isAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "IsAnomaly contains anomaly properties for each input point. True means an\nanomaly either negative or positive has been detected. The index of the array\nis consistent with the input series." + "description": "IsAnomaly contains anomaly properties for each input point. True means an\nanomaly either negative or positive has been detected. The index of the array\nis consistent with the input series.", + "x-typespec-name": "boolean[]" }, "isNegativeAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "IsNegativeAnomaly contains anomaly status in negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series." + "description": "IsNegativeAnomaly contains anomaly status in negative direction for each input\npoint. True means a negative anomaly has been detected. A negative anomaly\nmeans the point is detected as an anomaly and its real value is smaller than\nthe expected one. The index of the array is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "isPositiveAnomaly": { "type": "array", "items": { "type": "boolean" }, - "x-typespec-name": "boolean[]", - "description": "IsPositiveAnomaly contain anomaly status in positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series." + "description": "IsPositiveAnomaly contain anomaly status in positive direction for each input\npoint. True means a positive anomaly has been detected. A positive anomaly\nmeans the point is detected as an anomaly and its real value is larger than the\nexpected one. The index of the array is consistent with the input series.", + "x-typespec-name": "boolean[]" }, "severity": { "type": "array", @@ -1491,8 +1492,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "The severity score for each input point. The larger the value is, the more\nsever the anomaly is. For normal points, the \"severity\" is always 0." + "description": "The severity score for each input point. The larger the value is, the more\nsever the anomaly is. For normal points, the \"severity\" is always 0.", + "x-typespec-name": "float32[]" } }, "description": "The response of entire anomaly detection.", diff --git a/packages/typespec-test/test/authoring/generated/openapi/openapi.json b/packages/typespec-test/test/authoring/generated/openapi/openapi.json index a1c01b08f4..20ea0c9333 100644 --- a/packages/typespec-test/test/authoring/generated/openapi/openapi.json +++ b/packages/typespec-test/test/authoring/generated/openapi/openapi.json @@ -66,8 +66,8 @@ "$ref": "#/definitions/Project" }, "x-ms-identifiers": [], - "x-typespec-name": "Project[]", - "description": "The Project items on this page" + "description": "The Project items on this page", + "x-typespec-name": "Project[]" }, "nextLink": { "type": "string", @@ -131,7 +131,7 @@ "description": "The request has succeeded.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -144,7 +144,7 @@ "description": "The request has succeeded and a new resource has been created as a result.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -226,7 +226,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -294,7 +294,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -336,7 +336,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -387,7 +387,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -436,8 +436,8 @@ "$ref": "#/definitions/Deployment" }, "x-ms-identifiers": [], - "x-typespec-name": "Deployment[]", - "description": "The Deployment items on this page" + "description": "The Deployment items on this page", + "x-typespec-name": "Deployment[]" }, "nextLink": { "type": "string", @@ -551,7 +551,7 @@ "description": "The request has succeeded.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -564,7 +564,7 @@ "description": "The request has succeeded and a new resource has been created as a result.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -614,7 +614,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -786,7 +786,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -916,8 +916,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -927,8 +927,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -956,13 +955,11 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Azure.Core.Foundations.OperationState": { "type": "string", + "description": "Enum describing allowed operation states.", "enum": [ "InProgress", "Succeeded", @@ -971,7 +968,29 @@ ], "x-ms-enum": { "name": "OperationState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation has failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation has been canceled by the user." + } + ] } }, "Deployment": { @@ -1023,8 +1042,8 @@ "$ref": "#/definitions/JobWarning" }, "x-ms-identifiers": [], - "x-typespec-name": "JobWarning[]", - "description": "The warnings that were encountered while executing the job." + "description": "The warnings that were encountered while executing the job.", + "x-typespec-name": "JobWarning[]" }, "errors": { "$ref": "#/definitions/Azure.Core.Foundations.Error", @@ -1092,8 +1111,8 @@ "$ref": "#/definitions/JobWarning" }, "x-ms-identifiers": [], - "x-typespec-name": "JobWarning[]", - "description": "The warnings that were encountered while executing the job." + "description": "The warnings that were encountered while executing the job.", + "x-typespec-name": "JobWarning[]" }, "errors": { "$ref": "#/definitions/Azure.Core.Foundations.Error", @@ -1155,8 +1174,8 @@ "$ref": "#/definitions/SupportedLanguage" }, "x-ms-identifiers": [], - "x-typespec-name": "SupportedLanguage[]", - "description": "The SupportedLanguage items on this page" + "description": "The SupportedLanguage items on this page", + "x-typespec-name": "SupportedLanguage[]" }, "nextLink": { "type": "string", @@ -1179,8 +1198,8 @@ "$ref": "#/definitions/TrainingConfigVersion" }, "x-ms-identifiers": [], - "x-typespec-name": "TrainingConfigVersion[]", - "description": "The TrainingConfigVersion items on this page" + "description": "The TrainingConfigVersion items on this page", + "x-typespec-name": "TrainingConfigVersion[]" }, "nextLink": { "type": "string", @@ -1383,8 +1402,8 @@ "$ref": "#/definitions/JobWarning" }, "x-ms-identifiers": [], - "x-typespec-name": "JobWarning[]", - "description": "The warnings that were encountered while executing the job." + "description": "The warnings that were encountered while executing the job.", + "x-typespec-name": "JobWarning[]" }, "errors": { "$ref": "#/definitions/Azure.Core.Foundations.Error", @@ -1466,8 +1485,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" }, "Azure.Core.MaxPageSizeQueryParameter": { diff --git a/packages/typespec-test/test/confidentialLedger/generated/openapi/openapi.json b/packages/typespec-test/test/confidentialLedger/generated/openapi/openapi.json index 566e0ab19e..bf75d39991 100644 --- a/packages/typespec-test/test/confidentialLedger/generated/openapi/openapi.json +++ b/packages/typespec-test/test/confidentialLedger/generated/openapi/openapi.json @@ -422,8 +422,8 @@ "in": "path", "required": true, "description": "The user id, either an AAD object ID or certificate fingerprint.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -457,8 +457,8 @@ "in": "path", "required": true, "description": "The user id, either an AAD object ID or certificate fingerprint.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true } ], "responses": { @@ -495,8 +495,8 @@ "in": "path", "required": true, "description": "The user id, either an AAD object ID or certificate fingerprint.", - "x-ms-skip-url-encoding": true, - "type": "string" + "type": "string", + "x-ms-skip-url-encoding": true }, { "name": "resource", @@ -562,8 +562,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -573,8 +573,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -602,10 +601,7 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Collection": { "type": "object", @@ -755,8 +751,8 @@ "$ref": "#/definitions/LedgerEntry" }, "x-ms-identifiers": [], - "x-typespec-name": "LedgerEntry[]", - "description": "Array of ledger entries." + "description": "Array of ledger entries.", + "x-typespec-name": "LedgerEntry[]" }, "state": { "$ref": "#/definitions/LedgerQueryState", @@ -845,8 +841,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" }, "CollectionIdParameter": { diff --git a/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/src/confidentialLedgerClient.ts b/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/src/confidentialLedgerClient.ts index a3238f96f6..7e507e01a3 100644 --- a/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/src/confidentialLedgerClient.ts +++ b/packages/typespec-test/test/confidentialLedger/generated/typespec-ts/src/confidentialLedgerClient.ts @@ -8,7 +8,7 @@ import { ConfidentialLedgerClient } from "./clientDefinitions"; /** * Initialize a new instance of `ConfidentialLedgerClient` - * @param ledgerUri - The parameter ledgerUri + * @param ledgerUri - Represent a URL string as described by https://url.spec.whatwg.org/ * @param credentials - uniquely identify client credential * @param options - the parameter for all optional parameters */ diff --git a/packages/typespec-test/test/contoso/generated/openapi/2022-11-01-preview/openapi.json b/packages/typespec-test/test/contoso/generated/openapi/2022-11-01-preview/openapi.json index e644543116..9252968d4d 100644 --- a/packages/typespec-test/test/contoso/generated/openapi/2022-11-01-preview/openapi.json +++ b/packages/typespec-test/test/contoso/generated/openapi/2022-11-01-preview/openapi.json @@ -41,8 +41,8 @@ "$ref": "#/definitions/Widget" }, "x-ms-identifiers": [], - "x-typespec-name": "Widget[]", - "description": "The Widget items on this page" + "description": "The Widget items on this page", + "x-typespec-name": "Widget[]" }, "nextLink": { "type": "string", @@ -142,7 +142,7 @@ "description": "The request has succeeded.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -155,7 +155,7 @@ "description": "The request has succeeded and a new resource has been created as a result.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -201,7 +201,7 @@ "description": "The request has been accepted for processing, but processing has not yet completed.", "headers": { "Operation-Location": { - "description": "The location of an instance of OperationStatus", + "description": "The location for monitoring the operation state.", "type": "string", "format": "uri" } @@ -337,8 +337,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -348,8 +348,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -377,13 +376,11 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Azure.Core.Foundations.OperationState": { "type": "string", + "description": "Enum describing allowed operation states.", "enum": [ "InProgress", "Succeeded", @@ -392,7 +389,29 @@ ], "x-ms-enum": { "name": "OperationState", - "modelAsString": true + "modelAsString": true, + "values": [ + { + "name": "InProgress", + "value": "InProgress", + "description": "The operation is in progress." + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "The operation has completed successfully." + }, + { + "name": "Failed", + "value": "Failed", + "description": "The operation has failed." + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "The operation has been canceled by the user." + } + ] } }, "FakedSharedModel": { @@ -490,8 +509,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" } } diff --git a/packages/typespec-test/test/multiclient/generated/openapi/openapi.json b/packages/typespec-test/test/multiclient/generated/openapi/openapi.json index b4775dcc53..1c097f6985 100644 --- a/packages/typespec-test/test/multiclient/generated/openapi/openapi.json +++ b/packages/typespec-test/test/multiclient/generated/openapi/openapi.json @@ -40,8 +40,8 @@ "items": { "$ref": "#/definitions/Resource" }, - "x-typespec-name": "Resource[]", - "description": "The Resource items on this page" + "description": "The Resource items on this page", + "x-typespec-name": "Resource[]" }, "nextLink": { "type": "string", @@ -287,8 +287,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -298,8 +298,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -327,10 +326,7 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Resource": { "type": "object", @@ -365,8 +361,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" } } diff --git a/packages/typespec-test/test/openai/generated/openapi/2022-12-01/openapi.json b/packages/typespec-test/test/openai/generated/openapi/2022-12-01/openapi.json index aeb5236a96..2281cf8969 100644 --- a/packages/typespec-test/test/openai/generated/openapi/2022-12-01/openapi.json +++ b/packages/typespec-test/test/openai/generated/openapi/2022-12-01/openapi.json @@ -58,8 +58,171 @@ } }, "tags": [], - "paths": {}, + "paths": { + "/deployments/{deploymentId}/completions": { + "post": { + "operationId": "GetCompletions", + "description": "Return the completions for a given prompt.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "deploymentId", + "in": "path", + "required": true, + "description": "deployment id of the deployed model", + "type": "string" + }, + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/Completions.CompletionsOptions" + }, + "required": true + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "headers": { + "apim-request-id": { + "description": "Request ID for troubleshooting purposes", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/Completions.Completions" + } + }, + "default": { + "description": "An unexpected error response.", + "headers": { + "x-ms-error-code": { + "description": "String error code indicating what went wrong.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + } + } + }, + "x-ms-convenient-api": true + } + }, + "/deployments/{deploymentId}/embeddings": { + "post": { + "operationId": "GetEmbeddings", + "description": "Return the embeddings for a given prompt.", + "parameters": [ + { + "$ref": "#/parameters/Azure.Core.Foundations.ApiVersionParameter" + }, + { + "name": "deploymentId", + "in": "path", + "required": true, + "description": "deployment id of the deployed model", + "type": "string" + }, + { + "name": "body", + "in": "body", + "schema": { + "$ref": "#/definitions/Embeddings.EmbeddingsOptions" + }, + "required": true + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/Embeddings.Embeddings" + } + }, + "default": { + "description": "An unexpected error response.", + "headers": { + "x-ms-error-code": { + "description": "String error code indicating what went wrong.", + "type": "string" + } + }, + "schema": { + "$ref": "#/definitions/Azure.Core.Foundations.ErrorResponse" + } + } + }, + "x-ms-convenient-api": true + } + } + }, "definitions": { + "Azure.Core.Foundations.Error": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "message": { + "type": "string", + "description": "A human-readable representation of the error." + }, + "target": { + "type": "string", + "description": "The target of the error." + }, + "details": { + "type": "array", + "items": { + "$ref": "#/definitions/Azure.Core.Foundations.Error" + }, + "x-ms-identifiers": [], + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "An object containing more specific information than the current object about the error." + } + }, + "description": "The error object.", + "required": [ + "code", + "message" + ] + }, + "Azure.Core.Foundations.ErrorResponse": { + "type": "object", + "properties": { + "error": { + "$ref": "#/definitions/Azure.Core.Foundations.Error", + "description": "The error object." + } + }, + "description": "A response containing error details.", + "required": [ + "error" + ] + }, + "Azure.Core.Foundations.InnerError": { + "type": "object", + "properties": { + "code": { + "type": "string", + "description": "One of a server-defined set of error codes." + }, + "innererror": { + "$ref": "#/definitions/Azure.Core.Foundations.InnerError", + "description": "Inner error." + } + }, + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." + }, "Completions.Choice": { "type": "object", "properties": { @@ -115,8 +278,8 @@ "$ref": "#/definitions/Completions.Choice" }, "x-ms-identifiers": [], - "x-typespec-name": "Completions.Choice[]", - "description": "Array of choices returned containing text completions to prompts sent" + "description": "Array of choices returned containing text completions to prompts sent", + "x-typespec-name": "Completions.Choice[]" }, "usage": { "$ref": "#/definitions/Completions.CompletionsUsage", @@ -137,8 +300,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Tokens" + "description": "Tokens", + "x-typespec-name": "string[]" }, "token_logprobs": { "type": "array", @@ -146,8 +309,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "LogProbs of Tokens" + "description": "LogProbs of Tokens", + "x-typespec-name": "float32[]" }, "top_logprobs": { "type": "array", @@ -160,8 +323,8 @@ "x-typespec-name": "Record" }, "x-ms-identifiers": [], - "x-typespec-name": "Record[]", - "description": "Top LogProbs" + "description": "Top LogProbs", + "x-typespec-name": "Record[]" }, "text_offset": { "type": "array", @@ -169,8 +332,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "int32[]", - "description": "Text offset" + "description": "Text offset", + "x-typespec-name": "int32[]" } }, "description": "LogProbs model within completion choice" @@ -183,8 +346,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "An optional prompt to complete from, encoded as a string, a list of strings, or\na list of token lists. Defaults to <|endoftext|>. The prompt to complete from.\nIf you would like to provide multiple prompts, use the POST variant of this\nmethod. Note that <|endoftext|> is the document separator that the model sees\nduring training, so if a prompt is not specified the model will generate as if\nfrom the beginning of a new document. Maximum allowed size of string list is\n2048." + "description": "An optional prompt to complete from, encoded as a string, a list of strings, or\na list of token lists. Defaults to <|endoftext|>. The prompt to complete from.\nIf you would like to provide multiple prompts, use the POST variant of this\nmethod. Note that <|endoftext|> is the document separator that the model sees\nduring training, so if a prompt is not specified the model will generate as if\nfrom the beginning of a new document. Maximum allowed size of string list is\n2048.", + "x-typespec-name": "string[]" }, "max_tokens": { "type": "integer", @@ -207,8 +370,8 @@ "type": "integer", "format": "int32" }, - "x-typespec-name": "Record", - "description": "Defaults to null. Modify the likelihood of specified tokens appearing in the\ncompletion. Accepts a json object that maps tokens (specified by their token ID\nin the GPT tokenizer) to an associated bias value from -100 to 100. You can use\nthis tokenizer tool (which works for both GPT-2 and GPT-3) to convert text to\ntoken IDs. Mathematically, the bias is added to the logits generated by the\nmodel prior to sampling. The exact effect will vary per model, but values\nbetween -1 and 1 should decrease or increase likelihood of selection; values\nlike -100 or 100 should result in a ban or exclusive selection of the relevant\ntoken. As an example, you can pass {\"50256\" : -100} to prevent the\n<|endoftext|> token from being generated." + "description": "Defaults to null. Modify the likelihood of specified tokens appearing in the\ncompletion. Accepts a json object that maps tokens (specified by their token ID\nin the GPT tokenizer) to an associated bias value from -100 to 100. You can use\nthis tokenizer tool (which works for both GPT-2 and GPT-3) to convert text to\ntoken IDs. Mathematically, the bias is added to the logits generated by the\nmodel prior to sampling. The exact effect will vary per model, but values\nbetween -1 and 1 should decrease or increase likelihood of selection; values\nlike -100 or 100 should result in a ban or exclusive selection of the relevant\ntoken. As an example, you can pass {\"50256\" : -100} to prevent the\n<|endoftext|> token from being generated.", + "x-typespec-name": "Record" }, "user": { "type": "string", @@ -237,8 +400,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "A sequence which indicates the end of the current document." + "description": "A sequence which indicates the end of the current document.", + "x-typespec-name": "string[]" }, "completion_config": { "type": "string", @@ -329,8 +492,8 @@ "type": "number", "format": "float" }, - "x-typespec-name": "float32[]", - "description": "List of embeddings value for the input prompt. These represents a measurement of releated of text strings" + "description": "List of embeddings value for the input prompt. These represents a measurement of releated of text strings", + "x-typespec-name": "float32[]" }, "index": { "type": "integer", @@ -364,8 +527,8 @@ "$ref": "#/definitions/Embeddings.EmbeddingItem" }, "x-ms-identifiers": [], - "x-typespec-name": "Embeddings.EmbeddingItem[]", - "description": "Embedding values for the prompts submitted in the request" + "description": "Embedding values for the prompts submitted in the request", + "x-typespec-name": "Embeddings.EmbeddingItem[]" }, "model": { "type": "string", @@ -445,5 +608,16 @@ } } }, - "parameters": {} + "parameters": { + "Azure.Core.Foundations.ApiVersionParameter": { + "name": "api-version", + "in": "query", + "required": true, + "description": "The API version to use for this operation.", + "x-ms-client-name": "apiVersion", + "type": "string", + "minLength": 1, + "x-ms-parameter-location": "method" + } + } } diff --git a/packages/typespec-test/test/parametrizedHost/generated/openapi/openapi.json b/packages/typespec-test/test/parametrizedHost/generated/openapi/openapi.json index b15113e2e6..aa5cef0203 100644 --- a/packages/typespec-test/test/parametrizedHost/generated/openapi/openapi.json +++ b/packages/typespec-test/test/parametrizedHost/generated/openapi/openapi.json @@ -132,8 +132,8 @@ "$ref": "#/definitions/Azure.Core.Foundations.Error" }, "x-ms-identifiers": [], - "x-typespec-name": "Azure.Core.Foundations.Error[]", - "description": "An array of details about specific errors that led to this reported error." + "description": "An array of details about specific errors that led to this reported error.", + "x-typespec-name": "Azure.Core.Foundations.Error[]" }, "innererror": { "$ref": "#/definitions/Azure.Core.Foundations.InnerError", @@ -143,8 +143,7 @@ "description": "The error object.", "required": [ "code", - "message", - "details" + "message" ] }, "Azure.Core.Foundations.ErrorResponse": { @@ -172,10 +171,7 @@ "description": "Inner error." } }, - "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses.", - "required": [ - "code" - ] + "description": "An object containing more specific information about the error. As per Microsoft One API guidelines - https://github.com/Microsoft/api-guidelines/blob/vNext/Guidelines.md#7102-error-condition-responses." }, "Collection": { "type": "object", @@ -238,8 +234,8 @@ "required": true, "description": "The API version to use for this operation.", "x-ms-client-name": "apiVersion", - "minLength": 1, "type": "string", + "minLength": 1, "x-ms-parameter-location": "method" } } diff --git a/packages/typespec-test/test/playfab/generated/openapi/openapi.json b/packages/typespec-test/test/playfab/generated/openapi/openapi.json index 647d7046d1..cb00e5061f 100644 --- a/packages/typespec-test/test/playfab/generated/openapi/openapi.json +++ b/packages/typespec-test/test/playfab/generated/openapi/openapi.json @@ -852,8 +852,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Names of the files to have their pending uploads aborted." + "description": "Names of the files to have their pending uploads aborted.", + "x-typespec-name": "string[]" }, "ProfileVersion": { "type": "number", @@ -1132,8 +1132,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Names of the files to be deleted." + "description": "Names of the files to be deleted.", + "x-typespec-name": "string[]" }, "ProfileVersion": { "type": "number", @@ -1269,8 +1269,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-'\nand '.'" + "description": "Names of the files to be finalized. Restricted to a-Z, 0-9, '(', ')', '_', '-'\nand '.'", + "x-typespec-name": "string[]" }, "ProfileVersion": { "type": "number", @@ -1489,8 +1489,8 @@ "$ref": "#/definitions/LinkedPlayerIdentity" }, "x-ms-identifiers": [], - "x-typespec-name": "LinkedPlayerIdentity[]", - "description": "List of player identities currently linked to the master_player_account." + "description": "List of player identities currently linked to the master_player_account.", + "x-typespec-name": "LinkedPlayerIdentity[]" } } }, @@ -1579,8 +1579,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'" + "description": "Names of the files to be set. Restricted to a-Z, 0-9, '(', ')', '_', '-' and '.'", + "x-typespec-name": "string[]" }, "ProfileVersion": { "type": "number", @@ -1629,8 +1629,8 @@ "$ref": "#/definitions/InitiateFileUploadMetadata" }, "x-ms-identifiers": [], - "x-typespec-name": "InitiateFileUploadMetadata[]", - "description": "Collection of file names and upload urls" + "description": "Collection of file names and upload urls", + "x-typespec-name": "InitiateFileUploadMetadata[]" } } }, @@ -1817,8 +1817,8 @@ "$ref": "#/definitions/SetObject" }, "x-ms-identifiers": [], - "x-typespec-name": "SetObject[]", - "description": "Collection of objects to set on the profile." + "description": "Collection of objects to set on the profile.", + "x-typespec-name": "SetObject[]" } }, "description": "Sets JSON objects on the requested entity profile. May include a version number\nto be used to perform optimistic concurrency operations during update. If the\ncurrent version differs from the version in the request the request will be\nignored. If no version is set on the request then the value will always be\nupdated if the values differ. Using the version value does not guarantee a\nwrite though, ConcurrentEditError may still occur if multiple clients are\nattempting to update the same profile. ", @@ -1858,8 +1858,8 @@ "$ref": "#/definitions/SetObjectInfo" }, "x-ms-identifiers": [], - "x-typespec-name": "SetObjectInfo[]", - "description": "New version of the entity profile." + "description": "New version of the entity profile.", + "x-typespec-name": "SetObjectInfo[]" } } }, @@ -1914,8 +1914,8 @@ "$ref": "#/definitions/EventContents" }, "x-ms-identifiers": [], - "x-typespec-name": "EventContents[]", - "description": "Collection of events to write to PlayStream." + "description": "Collection of events to write to PlayStream.", + "x-typespec-name": "EventContents[]" } }, "required": [ @@ -1947,8 +1947,8 @@ "items": { "type": "string" }, - "x-typespec-name": "string[]", - "description": "The unique identifiers assigned by the server to the events, in the same order\nas the events in the request. Only returned if FlushToPlayStream option is\ntrue." + "description": "The unique identifiers assigned by the server to the events, in the same order\nas the events in the request. Only returned if FlushToPlayStream option is\ntrue.", + "x-typespec-name": "string[]" } } }, @@ -2175,7 +2175,8 @@ }, "object": { "type": "object", - "properties": {} + "properties": {}, + "description": "Represent a model" } }, "parameters": {} diff --git a/packages/typespec-test/test/playfab/generated/typespec-ts/review/playfab.api.md b/packages/typespec-test/test/playfab/generated/typespec-ts/review/playfab.api.md index 31ba9a925f..337504e86b 100644 --- a/packages/typespec-test/test/playfab/generated/typespec-ts/review/playfab.api.md +++ b/packages/typespec-test/test/playfab/generated/typespec-ts/review/playfab.api.md @@ -907,12 +907,12 @@ export interface LoginPlayerResultOutput { status?: string; } -// @public (undocumented) +// @public interface Object_2 { } export { Object_2 as Object } -// @public (undocumented) +// @public export interface ObjectOutput { } diff --git a/packages/typespec-test/test/playfab/generated/typespec-ts/src/models.ts b/packages/typespec-test/test/playfab/generated/typespec-ts/src/models.ts index 205340b8bd..49af2d837e 100644 --- a/packages/typespec-test/test/playfab/generated/typespec-ts/src/models.ts +++ b/packages/typespec-test/test/playfab/generated/typespec-ts/src/models.ts @@ -23,6 +23,7 @@ export interface GetEntityTokenRequest { Entity?: object; } +/** Represent a model */ export interface Object {} /** Combined entity type and ID structure which uniquely identifies a single entity. */ diff --git a/packages/typespec-test/test/playfab/generated/typespec-ts/src/outputModels.ts b/packages/typespec-test/test/playfab/generated/typespec-ts/src/outputModels.ts index a688528e60..573606f0c2 100644 --- a/packages/typespec-test/test/playfab/generated/typespec-ts/src/outputModels.ts +++ b/packages/typespec-test/test/playfab/generated/typespec-ts/src/outputModels.ts @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. +/** Represent a model */ export interface ObjectOutput {} /** Combined entity type and ID structure which uniquely identifies a single entity. */ diff --git a/packages/typespec-ts/package.json b/packages/typespec-ts/package.json index e4a7f1066d..eff360c21e 100644 --- a/packages/typespec-ts/package.json +++ b/packages/typespec-ts/package.json @@ -33,7 +33,6 @@ "@types/fs-extra": "^9.0.13", "@typescript-eslint/eslint-plugin": "^5.58.0", "@typescript-eslint/parser": "^5.58.0", - "@typespec/http": "~0.44.0", "chai": "^4.3.6", "mkdirp": "^2.1.2", "eslint": "^8.9.0", @@ -42,9 +41,9 @@ "ts-node": "^10.9.1", "typescript": "~5.0.0", "prettier": "~2.7.1", - "@azure-tools/cadl-ranch-specs": "~0.15.4", + "@azure-tools/cadl-ranch-specs": "^0.15.4", "@azure-tools/cadl-ranch-expect": "^0.3.2", - "@azure-tools/cadl-ranch": "~0.4.17", + "@azure-tools/cadl-ranch": "^0.4.17", "chalk": "^4.0.0", "@azure-rest/core-client": "^1.1.3", "@azure/core-auth": "^1.3.2", @@ -55,12 +54,12 @@ "@azure/logger": "^1.0.4" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": ">=0.30.0 <1.0.0", - "@azure-tools/typespec-client-generator-core": ">=0.30.0 <1.0.0", - "@typespec/compiler": ">=0.44.0 <1.0.0", - "@typespec/http": ">=0.44.0 <1.0.0", - "@typespec/rest": ">=0.44.0 <1.0.0", - "@typespec/versioning": ">=0.44.0 <1.0.0" + "@azure-tools/typespec-azure-core": ">=0.31.0 <1.0.0", + "@azure-tools/typespec-client-generator-core": ">=0.31.0 <1.0.0", + "@typespec/compiler": ">=0.45.0 <1.0.0", + "@typespec/http": ">=0.45.0 <1.0.0", + "@typespec/rest": ">=0.45.0 <1.0.0", + "@typespec/versioning": ">=0.45.0 <1.0.0" }, "dependencies": { "prettier": "^2.6.1", diff --git a/packages/typespec-ts/test/commands/cadl-ranch-list.ts b/packages/typespec-ts/test/commands/cadl-ranch-list.ts index 779ce70921..61ddcb3d49 100644 --- a/packages/typespec-ts/test/commands/cadl-ranch-list.ts +++ b/packages/typespec-ts/test/commands/cadl-ranch-list.ts @@ -53,10 +53,10 @@ export const cadls: CadlRanchConfig[] = [ outputPath: "lro/lroCore", inputPath: "azure/core/lro/standard" }, - // { - // outputPath: "lro/lroRPC", - // inputPath: "azure/core/lro/rpc" - // }, + { + outputPath: "lro/lroRPC", + inputPath: "azure/core/lro/rpc" + }, { outputPath: "models/inheritance", inputPath: "type/model/inheritance" diff --git a/packages/typespec-ts/test/commands/run.ts b/packages/typespec-ts/test/commands/run.ts index 50aa96b29d..619a833d06 100644 --- a/packages/typespec-ts/test/commands/run.ts +++ b/packages/typespec-ts/test/commands/run.ts @@ -32,7 +32,11 @@ export async function runTypespec(config: CadlRanchConfig) { } } const typespecCommand = `cd ${outputPath} && npx tsp`; - const commandArguments: string[] = ["compile", `${typespecPath}`]; + const commandArguments: string[] = [ + "compile", + `${typespecPath}`, + "--config tspconfig.yaml" + ]; const command = `${typespecCommand} ${commandArguments.join(" ")}`; console.log(command); try { diff --git a/packages/typespec-ts/test/integration/generated/lro/lroRPC/README.md b/packages/typespec-ts/test/integration/generated/lro/lroRPC/README.md index 9113bd84ec..449cd63741 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroRPC/README.md +++ b/packages/typespec-ts/test/integration/generated/lro/lroRPC/README.md @@ -1,4 +1,4 @@ -# SpecsAzureCoreLroRpc REST client library for JavaScript +# Rpc REST client library for JavaScript Illustrates bodies templated with Azure Core with long-running operation @@ -20,13 +20,13 @@ Key links: ### Install the `@msinternal/lro-rpc` package -Install the SpecsAzureCoreLroRpc REST client REST client library for JavaScript with `npm`: +Install the Rpc REST client REST client library for JavaScript with `npm`: ```bash npm install @msinternal/lro-rpc ``` -### Create and authenticate a `SpecsAzureCoreLroRpcClient` +### Create and authenticate a `RpcClient` To use an [Azure Active Directory (AAD) token credential](https://github.com/Azure/azure-sdk-for-js/blob/main/sdk/identity/identity/samples/AzureIdentityExamples.md#authenticating-with-a-pre-fetched-access-token), provide an instance of the desired credential type obtained from the diff --git a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/clientDefinitions.ts b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/clientDefinitions.ts index dc1c1cf240..570a699aa3 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/clientDefinitions.ts +++ b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/clientDefinitions.ts @@ -74,6 +74,6 @@ export interface Routes { ): GetPoll; } -export type SpecsAzureCoreLroRpcClient = Client & { +export type RpcClient = Client & { path: Routes; }; diff --git a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/index.ts b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/index.ts index 9110a92762..a7fe6b746f 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/index.ts +++ b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/index.ts @@ -1,9 +1,9 @@ // Copyright (c) Microsoft Corporation. // Licensed under the MIT license. -import SpecsAzureCoreLroRpc from "./specsAzureCoreLroRpc"; +import RpcClient from "./rpcClient"; -export * from "./specsAzureCoreLroRpc"; +export * from "./rpcClient"; export * from "./parameters"; export * from "./responses"; export * from "./clientDefinitions"; @@ -12,4 +12,4 @@ export * from "./models"; export * from "./outputModels"; export * from "./pollingHelper"; -export default SpecsAzureCoreLroRpc; +export default RpcClient; diff --git a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/specsAzureCoreLroRpc.ts b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/rpcClient.ts similarity index 73% rename from packages/typespec-ts/test/integration/generated/lro/lroRPC/src/specsAzureCoreLroRpc.ts rename to packages/typespec-ts/test/integration/generated/lro/lroRPC/src/rpcClient.ts index 008e5ba075..8731397397 100644 --- a/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/specsAzureCoreLroRpc.ts +++ b/packages/typespec-ts/test/integration/generated/lro/lroRPC/src/rpcClient.ts @@ -3,15 +3,13 @@ import { getClient, ClientOptions } from "@azure-rest/core-client"; import { logger } from "./logger"; -import { SpecsAzureCoreLroRpcClient } from "./clientDefinitions"; +import { RpcClient } from "./clientDefinitions"; /** - * Initialize a new instance of `SpecsAzureCoreLroRpcClient` + * Initialize a new instance of `RpcClient` * @param options - the parameter for all optional parameters */ -export default function createClient( - options: ClientOptions = {} -): SpecsAzureCoreLroRpcClient { +export default function createClient(options: ClientOptions = {}): RpcClient { const baseUrl = options.baseUrl ?? `http://localhost:3000`; options.apiVersion = options.apiVersion ?? "2022-12-01-preview"; const userAgentInfo = `azsdk-js-lro-rpc-rest/1.0.0`; @@ -29,7 +27,7 @@ export default function createClient( }, }; - const client = getClient(baseUrl, options) as SpecsAzureCoreLroRpcClient; + const client = getClient(baseUrl, options) as RpcClient; return client; } diff --git a/packages/typespec-ts/test/integration/generated/mediaTypes/src/mediaTypesClient.ts b/packages/typespec-ts/test/integration/generated/mediaTypes/src/mediaTypesClient.ts index d239fc40d6..b810a2a526 100644 --- a/packages/typespec-ts/test/integration/generated/mediaTypes/src/mediaTypesClient.ts +++ b/packages/typespec-ts/test/integration/generated/mediaTypes/src/mediaTypesClient.ts @@ -7,7 +7,7 @@ import { MediaTypesClient } from "./clientDefinitions"; /** * Initialize a new instance of `MediaTypesClient` - * @param $host - The parameter $host + * @param $host - A sequence of textual characters. * @param options - the parameter for all optional parameters */ export default function createClient( diff --git a/packages/typespec-ts/test/integration/generated/overload/src/overloadClient.ts b/packages/typespec-ts/test/integration/generated/overload/src/overloadClient.ts index 103bcf87d7..2baaf7b9c8 100644 --- a/packages/typespec-ts/test/integration/generated/overload/src/overloadClient.ts +++ b/packages/typespec-ts/test/integration/generated/overload/src/overloadClient.ts @@ -7,7 +7,7 @@ import { OverloadClient } from "./clientDefinitions"; /** * Initialize a new instance of `OverloadClient` - * @param $host - The parameter $host + * @param $host - A sequence of textual characters. * @param options - the parameter for all optional parameters */ export default function createClient( diff --git a/packages/typespec-ts/test/integration/generated/sharedRoute/src/clientDefinitions.ts b/packages/typespec-ts/test/integration/generated/sharedRoute/src/clientDefinitions.ts index 19040ee1ea..2514dbac98 100644 --- a/packages/typespec-ts/test/integration/generated/sharedRoute/src/clientDefinitions.ts +++ b/packages/typespec-ts/test/integration/generated/sharedRoute/src/clientDefinitions.ts @@ -24,6 +24,7 @@ import { import { Client, StreamableMethod } from "@azure-rest/core-client"; export interface ListByResourceGroup { + /** different query & header parameters */ post( options: ListByResourceGroupParameters ): StreamableMethod; @@ -33,6 +34,7 @@ export interface ListByResourceGroup { } export interface UpdateInt { + /** different request bodies */ post(options: UpdateIntParameters): StreamableMethod; post( options: UpdateStringParameters @@ -40,6 +42,7 @@ export interface UpdateInt { } export interface ReturnsInt { + /** different responses */ post(options: ReturnsIntParameters): StreamableMethod; post( options: ReturnsStringParameters @@ -47,6 +50,7 @@ export interface ReturnsInt { } export interface ProcessInt { + /** different request and response bodies */ post(options: ProcessIntParameters): StreamableMethod; post( options: ProcessStringParameters diff --git a/packages/typespec-ts/test/integration/generated/sharedRoute/src/sharedRouteClient.ts b/packages/typespec-ts/test/integration/generated/sharedRoute/src/sharedRouteClient.ts index ed579b358d..ee894be8a8 100644 --- a/packages/typespec-ts/test/integration/generated/sharedRoute/src/sharedRouteClient.ts +++ b/packages/typespec-ts/test/integration/generated/sharedRoute/src/sharedRouteClient.ts @@ -7,7 +7,7 @@ import { SharedRouteClient } from "./clientDefinitions"; /** * Initialize a new instance of `SharedRouteClient` - * @param $host - The parameter $host + * @param $host - A sequence of textual characters. * @param options - the parameter for all optional parameters */ export default function createClient(