Skip to content

[lldb-dap] Upgrade @types/node to fix TS2386 in node/module.d.ts #126994

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 13, 2025

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 Mar 8, 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 Mar 20, 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 Apr 2, 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 Apr 17, 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 Apr 30, 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