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

vscode-languageserver-protocol

Package Overview
Dependencies
Maintainers
9
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-languageserver-protocol - npm Package Compare versions

Comparing version 3.5.0-next.3 to 3.5.0-next.4

8

lib/main.d.ts

@@ -42,3 +42,3 @@ import { ErrorCodes, ResponseError, CancellationToken, CancellationTokenSource, Disposable, Event, Emitter, Trace, SetTraceNotification, LogTraceNotification, Message, NotificationMessage, RequestMessage, MessageType as RPCMessageType, RequestType, RequestType0, RequestHandler, RequestHandler0, GenericRequestHandler, StarRequestHandler, NotificationType, NotificationType0, NotificationHandler, NotificationHandler0, GenericNotificationHandler, StarNotificationHandler, MessageReader, MessageWriter, Logger, ConnectionStrategy, StreamMessageReader, StreamMessageWriter, IPCMessageReader, IPCMessageWriter, createClientPipeTransport, createServerPipeTransport, generateRandomPipeName, DataCallback, createClientSocketTransport, createServerSocketTransport, Tracer } from 'vscode-jsonrpc';

}
export interface ProtocolConnetion {
export interface ProtocolConnection {
/**

@@ -176,2 +176,6 @@ * Sends a request and returns a promise resolving to the result of the request.

}
export declare function createProtocolConnection(reader: MessageReader, writer: MessageWriter, logger: Logger, strategy?: ConnectionStrategy): ProtocolConnetion;
/**
* @deprecated Use ProtocolConnection instead.
*/
export declare type ProtocolConnetion = ProtocolConnection;
export declare function createProtocolConnection(reader: MessageReader, writer: MessageWriter, logger: Logger, strategy?: ConnectionStrategy): ProtocolConnection;

@@ -0,0 +0,0 @@ /* --------------------------------------------------------------------------------------------

@@ -39,5 +39,9 @@ import { RequestType } from 'vscode-jsonrpc';

/**
* The color information to request presentations for.
* The color to request presentations for.
*/
colorInfo: ColorInformation;
color: Color;
/**
* The range where the color would be inserted. Serves as a context.
*/
range: Range;
}

@@ -44,0 +48,0 @@ /**

@@ -0,0 +0,0 @@ /* --------------------------------------------------------------------------------------------

@@ -0,0 +0,0 @@ import { RequestType, RequestHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';

@@ -0,0 +0,0 @@ /* --------------------------------------------------------------------------------------------

@@ -811,3 +811,7 @@ import { RequestType, RequestType0, NotificationType, NotificationType0 } from 'vscode-jsonrpc';

* and the server must not try to read the document's truth using the document's
* uri.
* uri. Open in this sense means it is managed by the client. It doesn't necessarily
* mean that its content is presented in an editor. An open notification must not
* be sent more than once without a corresponding close notification send before.
* This means open and close notification must be balanced and the max open count
* is one.
*/

@@ -861,5 +865,8 @@ export declare namespace DidOpenTextDocumentNotification {

* The document close notification is sent from the client to the server when
* the document got closed in the client. The document's truth now exists
* where the document's uri points to (e.g. if the document's uri is a file uri
* the truth now exists on disk).
* the document got closed in the client. The document's truth now exists where
* the document's uri points to (e.g. if the document's uri is a file uri the
* truth now exists on disk). As with the open notification the close notification
* is about managing the document's content. Receiving a close notification
* doesn't mean that the document was open in an editor before. A close
* notification requires a previous open notifaction to be sent.
*/

@@ -866,0 +873,0 @@ export declare namespace DidCloseTextDocumentNotification {

@@ -177,3 +177,7 @@ /* --------------------------------------------------------------------------------------------

* and the server must not try to read the document's truth using the document's
* uri.
* uri. Open in this sense means it is managed by the client. It doesn't necessarily
* mean that its content is presented in an editor. An open notification must not
* be sent more than once without a corresponding close notification send before.
* This means open and close notification must be balanced and the max open count
* is one.
*/

@@ -194,5 +198,8 @@ var DidOpenTextDocumentNotification;

* The document close notification is sent from the client to the server when
* the document got closed in the client. The document's truth now exists
* where the document's uri points to (e.g. if the document's uri is a file uri
* the truth now exists on disk).
* the document got closed in the client. The document's truth now exists where
* the document's uri points to (e.g. if the document's uri is a file uri the
* truth now exists on disk). As with the open notification the close notification
* is about managing the document's content. Receiving a close notification
* doesn't mean that the document was open in an editor before. A close
* notification requires a previous open notifaction to be sent.
*/

@@ -199,0 +206,0 @@ var DidCloseTextDocumentNotification;

@@ -0,0 +0,0 @@ import { RequestType0, RequestHandler0, NotificationType, NotificationHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';

@@ -0,0 +0,0 @@ /* --------------------------------------------------------------------------------------------

@@ -0,0 +0,0 @@ export declare function boolean(value: any): value is boolean;

@@ -0,0 +0,0 @@ /* --------------------------------------------------------------------------------------------

{
"name": "vscode-languageserver-protocol",
"description": "VSCode Language Server Protocol implementation",
"version": "3.5.0-next.3",
"version": "3.5.0-next.4",
"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