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

vscode-languageclient

Package Overview
Dependencies
Maintainers
9
Versions
302
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-languageclient - npm Package Compare versions

Comparing version 1.2.0-prerelease.2 to 1.2.0-prerelease.3

17

lib/protocol.d.ts

@@ -857,11 +857,13 @@ import { RequestType, NotificationType } from 'vscode-jsonrpc';

/**
* The CompletionItem namespace provides functions to deal with
* completion items.
* The CompletionList namespace provides functions to deal with
* completion lists.
*/
export declare namespace CompletionList {
/**
* Create a completion item and seed it with a label.
* @param label The completion item's label
* Creates a new completion list.
*
* @param items The completion items.
* @param isIncomplete The list is not complete.
*/
function create(items: CompletionItem[], isIncomplete: boolean): CompletionList;
function create(items?: CompletionItem[], isIncomplete?: boolean): CompletionList;
}

@@ -871,6 +873,7 @@ /**

* parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response
* is of type [CompletionItem[]](#CompletionItem) or a Thenable that resolves to such.
* is of type [CompletionItem[]](#CompletionItem) or [CompletionList](#CompletionList)
* or a Thenable that resolves to such.
*/
export declare namespace CompletionRequest {
const type: RequestType<TextDocumentPosition, CompletionItem[], void>;
const type: RequestType<TextDocumentPosition, CompletionItem[] | CompletionList, void>;
}

@@ -877,0 +880,0 @@ /**

@@ -528,4 +528,4 @@ /* --------------------------------------------------------------------------------------------

/**
* The CompletionItem namespace provides functions to deal with
* completion items.
* The CompletionList namespace provides functions to deal with
* completion lists.
*/

@@ -535,4 +535,6 @@ var CompletionList;

/**
* Create a completion item and seed it with a label.
* @param label The completion item's label
* Creates a new completion list.
*
* @param items The completion items.
* @param isIncomplete The list is not complete.
*/

@@ -547,3 +549,4 @@ function create(items, isIncomplete) {

* parameter is of type [TextDocumentPosition](#TextDocumentPosition) the response
* is of type [CompletionItem[]](#CompletionItem) or a Thenable that resolves to such.
* is of type [CompletionItem[]](#CompletionItem) or [CompletionList](#CompletionList)
* or a Thenable that resolves to such.
*/

@@ -550,0 +553,0 @@ var CompletionRequest;

{
"name": "vscode-languageclient",
"description": "VSCode Language client implementation",
"version": "1.2.0-prerelease.2",
"version": "1.2.0-prerelease.3",
"author": "Microsoft Corporation",

@@ -6,0 +6,0 @@ "license": "MIT",

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