Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@codemirror/lsp-client

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@codemirror/lsp-client - npm Package Compare versions

Comparing version
6.2.2
to
6.2.3
+8
-0
CHANGELOG.md

@@ -0,1 +1,9 @@

## 6.2.3 (2026-04-15)
### Bug fixes
Don't crash when trying to jump to a symbol that the server does not provide a location for.
Fix the argument passed to cancel requests.
## 6.2.2 (2026-03-02)

@@ -2,0 +10,0 @@

+1
-1
{
"name": "@codemirror/lsp-client",
"version": "6.2.2",
"version": "6.2.3",
"description": "Language server protocol client for CodeMirror",

@@ -5,0 +5,0 @@ "keywords": [

# @codemirror/lsp-client [![NPM version](https://img.shields.io/npm/v/@codemirror/lsp-client.svg)](https://www.npmjs.org/package/@codemirror/lsp-client)
[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#lsp-client) | [**ISSUES**](https://github.com/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/v6/) | [**CHANGELOG**](https://github.com/codemirror/lsp-client/blob/main/CHANGELOG.md) ]
[ [**WEBSITE**](https://codemirror.net/) | [**DOCS**](https://codemirror.net/docs/ref/#lsp-client) | [**ISSUES**](https://code.haverbeke.berlin/codemirror/dev/issues) | [**FORUM**](https://discuss.codemirror.net/c/v6/) | [**CHANGELOG**](https://code.haverbeke.berlin/codemirror/lsp-client/src/branch/main/CHANGELOG.md) ]

@@ -13,3 +13,3 @@ This package implements a language server protocol (LSP) client for

This code is released under an
[MIT license](https://github.com/codemirror/lsp-client/tree/main/LICENSE).
[MIT license](https://code.haverbeke.berlin/codemirror/lsp-client/tree/main/LICENSE).

@@ -16,0 +16,0 @@ We aim to be an inclusive, welcoming community. To make that explicit,

@@ -431,3 +431,3 @@ import type * as lsp from "vscode-languageserver-protocol"

let found = this.requests.find(r => r.params === params)
if (found) this.notification("$/cancelRequest", found.id)
if (found) this.notification("$/cancelRequest", {id: found.id})
}

@@ -434,0 +434,0 @@

@@ -38,4 +38,5 @@ import type * as lsp from "vscode-languageserver-protocol"

plugin.client.withMapping(mapping => type.get(plugin, view.state.selection.main.head).then(response => {
if (!response) return
let loc = Array.isArray(response) ? response[0] : response
if (!loc) return
return (loc.uri == plugin.uri ? Promise.resolve(view) : plugin.client.workspace.displayFile(loc.uri)).then(target => {

@@ -42,0 +43,0 @@ if (!target) return

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display