https://github.com/JDevlieghere created https://github.com/llvm/llvm-project/pull/126994
Upgrade @types/node to work around an issue in TypeScript [1] that caused our "publish to VSCode Marketplace" github action [2] to fail: ``` node_modules/@types/node/module.d.ts:290:13 - error TS2386: Overload signatures must all be optional or required. 290 resolve?(specified: string, parent?: string | URL): Promise<string>; ``` [1] https://github.com/microsoft/TypeScript/pull/59259#issuecomment-2228833941 [2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009 >From 7c38982f00449cbb243efab14f990eec625ec32c Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere <jo...@devlieghere.com> Date: Wed, 12 Feb 2025 17:17:11 -0800 Subject: [PATCH] [lldb-dap] Upgrade @types/node to fix TS2386 in node/module.d.ts Upgrade @types/node to work around an issue in TypeScript [1] that caused our "publish to VSCode Marketplace" github action [2] to fail: ``` node_modules/@types/node/module.d.ts:290:13 - error TS2386: Overload signatures must all be optional or required. 290 resolve?(specified: string, parent?: string | URL): Promise<string>; ``` [1] https://github.com/microsoft/TypeScript/pull/59259#issuecomment-2228833941 [2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009 --- lldb/tools/lldb-dap/package-lock.json | 13 +++++++------ lldb/tools/lldb-dap/package.json | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/lldb/tools/lldb-dap/package-lock.json b/lldb/tools/lldb-dap/package-lock.json index 4c18474241421..ab5c7dc33a8e5 100644 --- a/lldb/tools/lldb-dap/package-lock.json +++ b/lldb/tools/lldb-dap/package-lock.json @@ -1,15 +1,15 @@ { "name": "lldb-dap", - "version": "0.2.9", + "version": "0.2.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "lldb-dap", - "version": "0.2.9", + "version": "0.2.10", "license": "Apache 2.0 License with LLVM exceptions", "devDependencies": { - "@types/node": "^18.11.18", + "@types/node": "^18.19.41", "@types/vscode": "1.75.0", "@vscode/vsce": "^3.2.2", "prettier": "^3.4.2", @@ -389,10 +389,11 @@ } }, "node_modules/@types/node": { - "version": "18.19.6", - "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.6.tgz", - "integrity": "sha512-X36s5CXMrrJOs2lQCdDF68apW4Rfx9ixYMawlepwmE4Anezv/AV2LSpKD1Ub8DAc+urp5bk0BGZ6NtmBitfnsg==", + "version": "18.19.75", + "resolved": "https://registry.npmjs.org/@types/node/-/node-18.19.75.tgz", + "integrity": "sha512-UIksWtThob6ZVSyxcOqCLOUNg/dyO1Qvx4McgeuhrEtHTLFTf7BBhEazaE4K806FGTPtzd/2sE90qn4fVr7cyw==", "dev": true, + "license": "MIT", "dependencies": { "undici-types": "~5.26.4" } diff --git a/lldb/tools/lldb-dap/package.json b/lldb/tools/lldb-dap/package.json index 12d143babfd73..31d808eda4c35 100644 --- a/lldb/tools/lldb-dap/package.json +++ b/lldb/tools/lldb-dap/package.json @@ -27,7 +27,7 @@ "Debuggers" ], "devDependencies": { - "@types/node": "^18.11.18", + "@types/node": "^18.19.41", "@types/vscode": "1.75.0", "@vscode/vsce": "^3.2.2", "prettier-plugin-curly": "^0.3.1", _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits