From 9406f17c160af1b17cc6a95916629d77befc97d8 Mon Sep 17 00:00:00 2001 From: Mike Harder Date: Fri, 26 Jan 2024 01:03:30 -0800 Subject: [PATCH] [TypeSpec] Upgrade to 0.52.0 (#27541) --- eng/tools/typespec-validation/package.json | 2 +- package-lock.json | 174 ++++++++++----------- package.json | 4 +- 3 files changed, 83 insertions(+), 97 deletions(-) diff --git a/eng/tools/typespec-validation/package.json b/eng/tools/typespec-validation/package.json index 11a126acd43d..556fb34b14d3 100644 --- a/eng/tools/typespec-validation/package.json +++ b/eng/tools/typespec-validation/package.json @@ -18,7 +18,7 @@ "@types/debug": "^4.1.8", "@types/mocha": "^10.0.2", "@types/node": "^18.16.18", - "typescript": "~5.1.3" + "typescript": "~5.3.3" }, "scripts": { "postinstall": "tsc", diff --git a/package-lock.json b/package-lock.json index 05fa747b8fdc..1683247d80f1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "": { "name": "azure-rest-api-specs", "devDependencies": { - "@azure-tools/typespec-apiview": "0.4.5", + "@azure-tools/typespec-apiview": "0.4.4", "@azure-tools/typespec-autorest": "0.38.0", "@azure-tools/typespec-azure-core": "0.38.0", "@azure-tools/typespec-azure-resource-manager": "0.38.0", @@ -14,7 +14,7 @@ "@azure-tools/typespec-providerhub": "0.38.1", "@azure/avocado": "^0.8.4", "@typespec/compiler": "0.52.0", - "@typespec/http": "0.52.1", + "@typespec/http": "0.52.0", "@typespec/openapi": "0.52.0", "@typespec/openapi3": "0.52.0", "@typespec/rest": "0.52.0", @@ -32,9 +32,9 @@ } }, "eng/tools/node_modules/@types/node": { - "version": "18.19.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.14.tgz", - "integrity": "sha512-EnQ4Us2rmOS64nHDWr0XqAD8DsO6f3XR6lf9UIIrZQpUzPVdN/oPuEzfDWNHSyXLvoGgjuEm/sPwFGSSs35Wtg==", + "version": "18.19.10", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.10.tgz", + "integrity": "sha512-IZD8kAM02AW1HRDTPOlz3npFava678pr8Ie9Vp8uRhBROXAv8MXT2pCnGZZAKYdromsNQLHQcfWQ6EOatVLtqA==", "dev": true, "dependencies": { "undici-types": "~5.26.4" @@ -71,19 +71,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "eng/tools/node_modules/typescript": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz", - "integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==", - "dev": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, "eng/tools/typespec-validation": { "name": "@azure-tools/typespec-validation", "version": "0.0.1", @@ -103,7 +90,7 @@ "@types/node": "^18.16.18", "globby": "^13.1.1", "mocha": "^10.2.0", - "typescript": "~5.1.3" + "typescript": "~5.3.3" }, "engines": { "node": "^16.17.0 || ^18.3.0 || ^20.0.0" @@ -123,59 +110,58 @@ } }, "node_modules/@azure-tools/typespec-autorest": { - "version": "0.38.1", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.38.1.tgz", - "integrity": "sha512-3aG5+eTCc/VqDxVBrrE2+wAnobGczt4foaxP6hIzwtBICj2vj83GFDi59l7OItkvYPooUbl3dIcLmS54F9P2ZQ==", + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-autorest/-/typespec-autorest-0.38.0.tgz", + "integrity": "sha512-lBxuAtmE9kCeafSqwsiAp1sjVTEl4PdxxLq22zbQag2/ISLjVAXCae62+qULzqpY7pbDU03f/4tjvf4W7EPwXQ==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-azure-core": "~0.39.0", - "@azure-tools/typespec-client-generator-core": "~0.39.0", - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0", - "@typespec/openapi": "~0.53.0", - "@typespec/rest": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@azure-tools/typespec-azure-core": "~0.38.0", + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/openapi": "~0.52.0", + "@typespec/rest": "~0.52.0", + "@typespec/versioning": "~0.52.0" } }, "node_modules/@azure-tools/typespec-azure-core": { - "version": "0.39.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.39.0.tgz", - "integrity": "sha512-M7CwPdTRUu6jGiEbZg4K/ikUjJxoBJ8ii393dDoxCBhwsYElRm7rCtdzuLJ584gSNZkGtR/1Jd2wl3xRoaCqXg==", + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-core/-/typespec-azure-core-0.38.0.tgz", + "integrity": "sha512-ASM+njC2lpzPykzw2OicWIaAOH+OBe3bVMrufEnINBjlr7owAtudvjrTLLWmAVMBciL/YOF579KdyjxTbaxJ5A==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0", - "@typespec/rest": "~0.53.0" + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/rest": "~0.52.0" } }, "node_modules/@azure-tools/typespec-azure-resource-manager": { - "version": "0.39.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.39.0.tgz", - "integrity": "sha512-vX7Xxg5lnSxFArVFR7MTLqGJkiYuwaaA6w2q4N735kAgfGe+VFpOF/EqkChGnz4/iqDSDMwT3cr39oV4tmJnPw==", + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-azure-resource-manager/-/typespec-azure-resource-manager-0.38.0.tgz", + "integrity": "sha512-jWMwIzT5WCokIW0IOTi/yqc5UsO47Mw+k9CGBwSmggYug/hmDELz+AfNyL/0T+rM2eF+5R/IrMKFI4Hq/OE9vQ==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.39.0", - "@azure-tools/typespec-azure-core": "~0.39.0", - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0", - "@typespec/openapi": "~0.53.0", - "@typespec/rest": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@azure-tools/typespec-autorest": "~0.38.0", + "@azure-tools/typespec-azure-core": "~0.38.0", + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/openapi": "~0.52.0", + "@typespec/rest": "~0.52.0", + "@typespec/versioning": "~0.52.0" } }, "node_modules/@azure-tools/typespec-client-generator-core": { - "version": "0.39.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.39.0.tgz", - "integrity": "sha512-DuAviDFN7/KjBq8O2euRG3YyEHoIBfXMVn7wXqDgrlrqQd74/n7BfXt9sEj3mLrEER/J/P87SCagt0DB2cCl6g==", + "version": "0.38.0", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-client-generator-core/-/typespec-client-generator-core-0.38.0.tgz", + "integrity": "sha512-DUDIHJikz3Ai8uPk3vKFoMkkGPUxoD5DbGdwkN/pQxaL6Aze8HV4LGEOGtvaIu0SsGjCX9G3XPAXoBoupYgXbw==", "dev": true, "dependencies": { "change-case": "~5.3.0", @@ -185,29 +171,29 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0", - "@typespec/rest": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/rest": "~0.52.0", + "@typespec/versioning": "~0.52.0" } }, "node_modules/@azure-tools/typespec-providerhub": { - "version": "0.39.0", - "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.39.0.tgz", - "integrity": "sha512-0oLgnanALvc228hZomsjmaiZVUFqtJ0BItCwB2pNPe9P8rc46L0rVH+LGdyrmUfu3IsGjucidHt1LxR/+0LF4w==", + "version": "0.38.1", + "resolved": "https://registry.npmjs.org/@azure-tools/typespec-providerhub/-/typespec-providerhub-0.38.1.tgz", + "integrity": "sha512-nP3zrkBAWPzHIlASF2QxTCXB61UkknDM7iM2mJjTEtyuLrADud3KMlAJIBoKS83KvLpiSMdD8UottjLY4iOIDQ==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@azure-tools/typespec-autorest": "~0.39", - "@azure-tools/typespec-azure-core": "~0.39", - "@azure-tools/typespec-azure-resource-manager": "~0.39", - "@typespec/compiler": "~0.53", - "@typespec/http": "~0.53", - "@typespec/openapi": "~0.53", - "@typespec/rest": "~0.53", - "@typespec/versioning": "~0.53" + "@azure-tools/typespec-autorest": "~0.38.0", + "@azure-tools/typespec-azure-core": "~0.38.0", + "@azure-tools/typespec-azure-resource-manager": "~0.38.0", + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/openapi": "~0.52.0", + "@typespec/rest": "~0.52.0", + "@typespec/versioning": "~0.52.0" } }, "node_modules/@azure-tools/typespec-validation": { @@ -676,9 +662,9 @@ "dev": true }, "node_modules/@typespec/compiler": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.53.0.tgz", - "integrity": "sha512-07zb6mXwMX7ps7q+ubwBNb8Vz4ewmqrymAwnWZcl40r2VMsyZIQZM9ZPao87imCA+fWiPOKblIzRB7OVq3XOPg==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/compiler/-/compiler-0.52.0.tgz", + "integrity": "sha512-36cZ5RWxRjL4SUe41KjPh3j3RQibpUoOzHcSllQJ3ByTSZdXv1zckMHLiRfaAbTXUADSAn2GMs4ZO3s8GdOGIQ==", "dev": true, "dependencies": { "@babel/code-frame": "~7.23.5", @@ -804,34 +790,34 @@ } }, "node_modules/@typespec/http": { - "version": "0.52.1", - "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.52.1.tgz", - "integrity": "sha512-2i7t6eSKi96F/zt1w0yJvhRhubYej0F9o8jDRhPA+TZI6SAxcv/Vyi+lkKnkOcu90HPH7b8T+YNizudb00BO6A==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/http/-/http-0.52.0.tgz", + "integrity": "sha512-8UluHzYV3zZFSRuKYeQombaJzYMAq8lcM7ysOY6zxmagRxv/L2LAG5iMu7iSrM48I7PR+WVhXSonRA0xhHctfw==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0" + "@typespec/compiler": "~0.52.0" } }, "node_modules/@typespec/openapi": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.53.0.tgz", - "integrity": "sha512-FRHb6Wi4Yf1HGm3EnhhXZ0Bw+EIPam6ptxRy7NDRxyMnzHsOphGcv8mDIZk6MPSy8xPasbFNwaRC1TXpxVhQBw==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi/-/openapi-0.52.0.tgz", + "integrity": "sha512-2Otnu9glehxvp6TU7NOHEniBDDKufV03XTmeVGgGEmu/j+cveAMg8lA1/O0RBpS2oHGsCFnMEuPcR8M1c0LI+Q==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0" + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0" } }, "node_modules/@typespec/openapi3": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.53.0.tgz", - "integrity": "sha512-wcgwYJP/UPwuYlJbCSbhI3+G+RnZaaj5xwUEDD2QPkIhIiwhETyuXaN0ZFTSQWUTmypXt/e21KPUwHO03RpIdA==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/openapi3/-/openapi3-0.52.0.tgz", + "integrity": "sha512-PPhNdpKQD2iHJemOaRUhnaeFWa4ApW4HtcZI+jrg4hyNSIwDYxL0OwwRohKjRUKM98iacpXvEh+5rKtkPiY2Qw==", "dev": true, "dependencies": { "yaml": "~2.3.4" @@ -840,35 +826,35 @@ "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0", - "@typespec/openapi": "~0.53.0", - "@typespec/versioning": "~0.53.0" + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0", + "@typespec/openapi": "~0.52.0", + "@typespec/versioning": "~0.52.0" } }, "node_modules/@typespec/rest": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.53.0.tgz", - "integrity": "sha512-aA75Ol2pRvUjtRqQvFHmFG52pkeif3m+tboLAT00AekTxOPZ3rqQmlE12ne4QF8KjgHA6denqH4f/XyDoRJOJQ==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/rest/-/rest-0.52.0.tgz", + "integrity": "sha512-dLsY0fS60IVaAt4eCRcvEqorX/miPVV33du3dETTYYmbHtfEbvBKgTj/m6OH4noey7oaihlvLz5kYyLv8Am7zA==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0", - "@typespec/http": "~0.53.0" + "@typespec/compiler": "~0.52.0", + "@typespec/http": "~0.52.0" } }, "node_modules/@typespec/versioning": { - "version": "0.53.0", - "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.53.0.tgz", - "integrity": "sha512-nrrLXCWPDrrClAfpCMzQ3YPTbKQmjPC3LSeMjq+wPiMq+1PW95ulOGD4QiCBop+4wKhMCJHnqqSzVauT1LjdvQ==", + "version": "0.52.0", + "resolved": "https://registry.npmjs.org/@typespec/versioning/-/versioning-0.52.0.tgz", + "integrity": "sha512-Vr4WHaZiDOxJqRp8/u6X0R45E+rFKEprYmSZX0o5bzetj0cVjOIEbQZvDJCif1Uz0S3K0KKfqf/kYmdYWMJ7Dw==", "dev": true, "engines": { "node": ">=18.0.0" }, "peerDependencies": { - "@typespec/compiler": "~0.53.0" + "@typespec/compiler": "~0.52.0" } }, "node_modules/ajv": { @@ -1259,9 +1245,9 @@ } }, "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "version": "1.16.0", + "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.16.0.tgz", + "integrity": "sha512-ifCoaXsDrsdkWTtiNJX5uzHDsrck5TzfKKDcuFFTIrrc/BS076qgEIfoIy1VeZqViznfKiysPYTh/QeHtnIsYA==", "dev": true, "dependencies": { "reusify": "^1.0.4" diff --git a/package.json b/package.json index 93fef34ba52b..34bd9eb8e297 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "azure-rest-api-specs", "devDependencies": { - "@azure-tools/typespec-apiview": "0.4.5", + "@azure-tools/typespec-apiview": "0.4.4", "@azure-tools/typespec-autorest": "0.38.0", "@azure-tools/typespec-azure-core": "0.38.0", "@azure-tools/typespec-azure-resource-manager": "0.38.0", @@ -9,7 +9,7 @@ "@azure-tools/typespec-providerhub": "0.38.1", "@azure/avocado": "^0.8.4", "@typespec/compiler": "0.52.0", - "@typespec/http": "0.52.1", + "@typespec/http": "0.52.0", "@typespec/openapi": "0.52.0", "@typespec/openapi3": "0.52.0", "@typespec/rest": "0.52.0",