From 3d34a86c48e935074cc6433c15e023ba8d97d0cf Mon Sep 17 00:00:00 2001 From: Pan Shao <97225342+pshao25@users.noreply.github.com> Date: Mon, 2 Dec 2024 15:11:53 +0800 Subject: [PATCH] Remove self dependency and fix security issue (#5189) * Remove self dependency and fix security issue * update --------- Co-authored-by: Pan Shao --- package-lock.json | 13 ++++--------- src/TypeSpec.Extension/Emitter.Csharp/package.json | 2 +- 2 files changed, 5 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9552d6f3071..c9b45ecd257 100644 --- a/package-lock.json +++ b/package-lock.json @@ -2167,13 +2167,12 @@ } }, "node_modules/@typespec/http-client-csharp": { - "version": "0.1.9-alpha.20241127.1", - "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241127.1.tgz", - "integrity": "sha512-V4FpPI4YUbS/Sy4jBZGnZVzfWUp4KykD2eLPnsLT61GgfoH2x3aafsuFffFtKrpRjkjvoUYAtHduZ3wUDxUu8A==", + "version": "0.1.9-alpha.20241201.2", + "resolved": "https://registry.npmjs.org/@typespec/http-client-csharp/-/http-client-csharp-0.1.9-alpha.20241201.2.tgz", + "integrity": "sha512-xo2Tb7OftVgtnTKAV8AqAKCg0+3e9ZFLwuzjMVoMypTwUovR5NhCyKILG7WUb5X3mFvJrVIjyvp46G2eDC5HOw==", "dev": true, "license": "MIT", "dependencies": { - "@typespec/http-client-csharp": "file:", "json-serialize-refs": "0.1.0-0" }, "peerDependencies": { @@ -2186,10 +2185,6 @@ "@typespec/versioning": ">=0.62.0 <1.0.0 || ~0.63.0-0" } }, - "node_modules/@typespec/http-client-csharp/node_modules/@typespec/http-client-csharp": { - "resolved": "node_modules/@typespec/http-client-csharp", - "link": true - }, "node_modules/@typespec/library-linter": { "version": "0.62.0", "resolved": "https://registry.npmjs.org/@typespec/library-linter/-/library-linter-0.62.0.tgz", @@ -7803,7 +7798,7 @@ "license": "MIT", "dependencies": { "@autorest/csharp": "3.0.0-beta.20240625.4", - "@typespec/http-client-csharp": "0.1.9-alpha.20241127.1" + "@typespec/http-client-csharp": "0.1.9-alpha.20241201.2" }, "devDependencies": { "@azure-tools/typespec-autorest": "0.48.0", diff --git a/src/TypeSpec.Extension/Emitter.Csharp/package.json b/src/TypeSpec.Extension/Emitter.Csharp/package.json index 45417d2eeff..8defe20fd39 100644 --- a/src/TypeSpec.Extension/Emitter.Csharp/package.json +++ b/src/TypeSpec.Extension/Emitter.Csharp/package.json @@ -35,7 +35,7 @@ ], "dependencies": { "@autorest/csharp": "3.0.0-beta.20240625.4", - "@typespec/http-client-csharp": "0.1.9-alpha.20241127.1" + "@typespec/http-client-csharp": "0.1.9-alpha.20241201.2" }, "peerDependencies": { "@azure-tools/typespec-azure-core": ">=0.48.0 <1.0.0",