Skip to content

Conversation

@JDevlieghere
Copy link
Member

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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009

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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
@llvmbot
Copy link
Member

llvmbot commented Feb 13, 2025

@llvm/pr-subscribers-lldb

Author: Jonas Devlieghere (JDevlieghere)

Changes

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&lt;string&gt;;

[1] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009


Full diff: https://github.com/llvm/llvm-project/pull/126994.diff

2 Files Affected:

  • (modified) lldb/tools/lldb-dap/package-lock.json (+7-6)
  • (modified) lldb/tools/lldb-dap/package.json (+1-1)
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",

@JDevlieghere JDevlieghere merged commit 73ab0c0 into llvm:main Feb 13, 2025
10 checks passed
@JDevlieghere JDevlieghere deleted the upgrade-types/node branch February 13, 2025 03:09
flovent pushed a commit to flovent/llvm-project that referenced this pull request Feb 13, 2025
…m#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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
joaosaffran pushed a commit to joaosaffran/llvm-project that referenced this pull request Feb 14, 2025
…m#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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
sivan-shani pushed a commit to sivan-shani/llvm-project that referenced this pull request Feb 24, 2025
…m#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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
SquallATF pushed a commit to SquallATF/llvm-project that referenced this pull request Jun 13, 2025
…m#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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
SquallATF pushed a commit to SquallATF/llvm-project that referenced this pull request Jul 14, 2025
…m#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] microsoft/TypeScript#59259 (comment)
[2] https://github.com/llvm/vscode-lldb/actions/runs/13298213337/job/37134713009
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants