Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@qualified/lsp-connection

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qualified/lsp-connection - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

4

lib/cjs/connection.d.ts

@@ -76,2 +76,6 @@ import type { Message, MessageConnection, NotificationHandler } from "vscode-jsonrpc";

configurationChanged: (params: import("vscode-languageserver-protocol").DidChangeConfigurationParams) => void;
/**
* Notify that the client detected changes to files.
*/
watchedFilesChanged: (params: import("vscode-languageserver-protocol").DidChangeWatchedFilesParams) => void;
/** If supported, request completion at a given text document position. */

@@ -78,0 +82,0 @@ getCompletion: (params: import("vscode-languageserver-protocol").CompletionParams) => Promise<import("vscode-languageserver-protocol").CompletionList | import("vscode-languageserver-protocol").CompletionItem[] | null>;

@@ -123,2 +123,6 @@ "use strict";

configurationChanged: notifier(vscode_languageserver_protocol_1.DidChangeConfigurationNotification.type),
/**
* Notify that the client detected changes to files.
*/
watchedFilesChanged: notifier(vscode_languageserver_protocol_1.DidChangeWatchedFilesNotification.type),
/** If supported, request completion at a given text document position. */

@@ -125,0 +129,0 @@ getCompletion: maybeReq(() => !!capabilities.completionProvider, vscode_languageserver_protocol_1.CompletionRequest.type),

@@ -76,2 +76,6 @@ import type { Message, MessageConnection, NotificationHandler } from "vscode-jsonrpc";

configurationChanged: (params: import("vscode-languageserver-protocol").DidChangeConfigurationParams) => void;
/**
* Notify that the client detected changes to files.
*/
watchedFilesChanged: (params: import("vscode-languageserver-protocol").DidChangeWatchedFilesParams) => void;
/** If supported, request completion at a given text document position. */

@@ -78,0 +82,0 @@ getCompletion: (params: import("vscode-languageserver-protocol").CompletionParams) => Promise<import("vscode-languageserver-protocol").CompletionList | import("vscode-languageserver-protocol").CompletionItem[] | null>;

@@ -1,2 +0,2 @@

import { CodeActionRequest, CodeLensRequest, CodeLensResolveRequest, CompletionRequest, CompletionResolveRequest, DeclarationRequest, DefinitionRequest, DidChangeConfigurationNotification, DidChangeTextDocumentNotification, DidCloseTextDocumentNotification, DidOpenTextDocumentNotification, DidSaveTextDocumentNotification, DocumentColorRequest, DocumentHighlightRequest, DocumentLinkRequest, DocumentLinkResolveRequest, DocumentSymbolRequest, ExitNotification, FoldingRangeRequest, HoverRequest, ImplementationRequest, InitializeRequest, InitializedNotification, LogMessageNotification, PublishDiagnosticsNotification, ReferencesRequest, RegistrationRequest, SelectionRangeRequest, ShowMessageNotification, ShutdownRequest, SignatureHelpRequest, TextDocumentSyncKind, TypeDefinitionRequest, UnregistrationRequest, WorkspaceSymbolRequest, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, } from "vscode-languageserver-protocol";
import { CodeActionRequest, CodeLensRequest, CodeLensResolveRequest, CompletionRequest, CompletionResolveRequest, DeclarationRequest, DefinitionRequest, DidChangeConfigurationNotification, DidChangeTextDocumentNotification, DidChangeWatchedFilesNotification, DidCloseTextDocumentNotification, DidOpenTextDocumentNotification, DidSaveTextDocumentNotification, DocumentColorRequest, DocumentHighlightRequest, DocumentLinkRequest, DocumentLinkResolveRequest, DocumentSymbolRequest, ExitNotification, FoldingRangeRequest, HoverRequest, ImplementationRequest, InitializeRequest, InitializedNotification, LogMessageNotification, PublishDiagnosticsNotification, ReferencesRequest, RegistrationRequest, SelectionRangeRequest, ShowMessageNotification, ShutdownRequest, SignatureHelpRequest, TextDocumentSyncKind, TypeDefinitionRequest, UnregistrationRequest, WillSaveTextDocumentNotification, WillSaveTextDocumentWaitUntilRequest, WorkspaceSymbolRequest, } from "vscode-languageserver-protocol";
/**

@@ -120,2 +120,6 @@ * Wrap JSON RPC `MessageConnection` to provide typed methods for LSP.

configurationChanged: notifier(DidChangeConfigurationNotification.type),
/**
* Notify that the client detected changes to files.
*/
watchedFilesChanged: notifier(DidChangeWatchedFilesNotification.type),
/** If supported, request completion at a given text document position. */

@@ -122,0 +126,0 @@ getCompletion: maybeReq(() => !!capabilities.completionProvider, CompletionRequest.type),

4

package.json

@@ -10,3 +10,3 @@ {

],
"version": "0.2.0",
"version": "0.2.1",
"license": "MIT",

@@ -30,2 +30,2 @@ "homepage": "https://github.com/qualified/lsps#readme",

}
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc