New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vscode-languageserver-protocol

Package Overview
Dependencies
Maintainers
11
Versions
131
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.17.0-next.20 to 3.17.0

6

lib/browser/main.js

@@ -8,3 +8,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -11,0 +15,0 @@ if (k2 === undefined) k2 = k;

@@ -56,3 +56,4 @@ import type { integer } from 'vscode-languageserver-types';

}
export declare type LSPErrorCodes = integer;
export declare namespace Proposed {
}

@@ -8,3 +8,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -11,0 +15,0 @@ if (k2 === undefined) k2 = k;

9

lib/common/protocol.$.d.ts

@@ -1,8 +0,1 @@

import { LogTraceParams, SetTraceParams } from 'vscode-jsonrpc';
import { ProtocolNotificationType } from './messages';
export declare namespace SetTraceNotification {
const type: ProtocolNotificationType<SetTraceParams, void>;
}
export declare namespace LogTraceNotification {
const type: ProtocolNotificationType<LogTraceParams, void>;
}
export {};

@@ -7,14 +7,31 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.LogTraceNotification = exports.SetTraceNotification = void 0;
const vscode_jsonrpc_1 = require("vscode-jsonrpc");
const messages_1 = require("./messages");
const api_1 = require("./api");
// This file is used to define the $ notification partly specified in JSON-RPC
// so that we generate proper data for them in the meta model.
// @ts-ignore 6196
var SetTraceNotification;
(function (SetTraceNotification) {
SetTraceNotification.type = new messages_1.ProtocolNotificationType('$/setTrace');
})(SetTraceNotification = exports.SetTraceNotification || (exports.SetTraceNotification = {}));
})(SetTraceNotification || (SetTraceNotification = {}));
// @ts-ignore 6196
var LogTraceNotification;
(function (LogTraceNotification) {
LogTraceNotification.type = new messages_1.ProtocolNotificationType('$/logTrace');
})(LogTraceNotification = exports.LogTraceNotification || (exports.LogTraceNotification = {}));
})(LogTraceNotification || (LogTraceNotification = {}));
// @ts-ignore 6196
const $ErrorCodes = vscode_jsonrpc_1.ErrorCodes;
// @ts-ignore 6196
const $LSPErrorCodes = api_1.LSPErrorCodes;
// @ts-ignore 6196
var CancelNotification;
(function (CancelNotification) {
CancelNotification.type = new messages_1.ProtocolNotificationType('$/cancelRequest');
})(CancelNotification || (CancelNotification = {}));
// @ts-ignore 6196
var ProgressNotification;
(function (ProgressNotification) {
ProgressNotification.type = new messages_1.ProtocolNotificationType('$/progress');
})(ProgressNotification || (ProgressNotification = {}));
//# sourceMappingURL=protocol.$.js.map

@@ -15,3 +15,3 @@ import { RequestHandler, HandlerResult, CancellationToken } from 'vscode-jsonrpc';

export declare namespace ConfigurationRequest {
const type: ProtocolRequestType<ConfigurationParams & PartialResultParams, LSPAny[], never, void, void>;
const type: ProtocolRequestType<ConfigurationParams & PartialResultParams, any[], never, void, void>;
type HandlerSignature = RequestHandler<ConfigurationParams, LSPAny[], void>;

@@ -18,0 +18,0 @@ type MiddlewareSignature = (params: ConfigurationParams, token: CancellationToken, next: HandlerSignature) => HandlerResult<LSPAny[], void>;

@@ -9,3 +9,2 @@ import { RequestHandler0, RequestHandler, ProgressType } from 'vscode-jsonrpc';

* @since 3.17.0
* @proposed
*/

@@ -28,3 +27,2 @@ export declare type DiagnosticClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -47,3 +45,2 @@ export declare type DiagnosticWorkspaceClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -72,3 +69,2 @@ export declare type DiagnosticOptions = WorkDoneProgressOptions & {

* @since 3.17.0
* @proposed
*/

@@ -83,3 +79,2 @@ export declare type DiagnosticRegistrationOptions = TextDocumentRegistrationOptions & DiagnosticOptions & StaticRegistrationOptions;

* @since 3.17.0
* @proposed
*/

@@ -91,3 +86,2 @@ export declare type DiagnosticServerCancellationData = {

* @since 3.17.0
* @proposed
*/

@@ -101,3 +95,2 @@ export declare namespace DiagnosticServerCancellationData {

* @since 3.17.0
* @proposed
*/

@@ -122,3 +115,2 @@ export declare type DocumentDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {

* @since 3.17.0
* @proposed
*/

@@ -142,3 +134,2 @@ export declare namespace DocumentDiagnosticReportKind {

* @since 3.17.0
* @proposed
*/

@@ -165,3 +156,2 @@ export declare type FullDocumentDiagnosticReport = {

* @since 3.17.0
* @proposed
*/

@@ -177,3 +167,2 @@ export declare type RelatedFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {

* @since 3.17.0
* @proposed
*/

@@ -189,3 +178,2 @@ relatedDocuments?: {

* @since 3.17.0
* @proposed
*/

@@ -210,3 +198,2 @@ export declare type UnchangedDocumentDiagnosticReport = {

* @since 3.17.0
* @proposed
*/

@@ -222,3 +209,2 @@ export declare type RelatedUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {

* @since 3.17.0
* @proposed
*/

@@ -237,3 +223,2 @@ relatedDocuments?: {

* @since 3.17.0
* @proposed
*/

@@ -245,3 +230,2 @@ export declare type DocumentDiagnosticReport = RelatedFullDocumentDiagnosticReport | RelatedUnchangedDocumentDiagnosticReport;

* @since 3.17.0
* @proposed
*/

@@ -257,3 +241,2 @@ export declare type DocumentDiagnosticReportPartialResult = {

* @since 3.17.0
* @proposed
*/

@@ -270,3 +253,2 @@ export declare namespace DocumentDiagnosticRequest {

* @since 3.17.0
* @proposed
*/

@@ -288,3 +270,2 @@ export declare type PreviousResultId = {

* @since 3.17.0
* @proposed
*/

@@ -306,3 +287,2 @@ export declare type WorkspaceDiagnosticParams = WorkDoneProgressParams & PartialResultParams & {

* @since 3.17.0
* @proposed
*/

@@ -324,3 +304,2 @@ export declare type WorkspaceFullDocumentDiagnosticReport = FullDocumentDiagnosticReport & {

* @since 3.17.0
* @proposed
*/

@@ -342,3 +321,2 @@ export declare type WorkspaceUnchangedDocumentDiagnosticReport = UnchangedDocumentDiagnosticReport & {

* @since 3.17.0
* @proposed
*/

@@ -350,3 +328,2 @@ export declare type WorkspaceDocumentDiagnosticReport = WorkspaceFullDocumentDiagnosticReport | WorkspaceUnchangedDocumentDiagnosticReport;

* @since 3.17.0
* @proposed
*/

@@ -360,3 +337,2 @@ export declare type WorkspaceDiagnosticReport = {

* @since 3.17.0
* @proposed
*/

@@ -370,3 +346,2 @@ export declare type WorkspaceDiagnosticReportPartialResult = {

* @since 3.17.0
* @proposed
*/

@@ -383,3 +358,2 @@ export declare namespace WorkspaceDiagnosticRequest {

* @since 3.17.0
* @proposed
*/

@@ -386,0 +360,0 @@ export declare namespace DiagnosticRefreshRequest {

@@ -13,3 +13,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -28,3 +27,2 @@ var DiagnosticServerCancellationData;

* @since 3.17.0
* @proposed
*/

@@ -48,3 +46,2 @@ var DocumentDiagnosticReportKind;

* @since 3.17.0
* @proposed
*/

@@ -61,3 +58,2 @@ var DocumentDiagnosticRequest;

* @since 3.17.0
* @proposed
*/

@@ -74,3 +70,2 @@ var WorkspaceDiagnosticRequest;

* @since 3.17.0
* @proposed
*/

@@ -77,0 +72,0 @@ var DiagnosticRefreshRequest;

@@ -29,3 +29,2 @@ import { RequestHandler } from 'vscode-jsonrpc';

* @since 3.17.0
* @proposed
*/

@@ -44,3 +43,2 @@ foldingRangeKind?: {

* @since 3.17.0
* @proposed
*/

@@ -53,3 +51,2 @@ foldingRange?: {

* @since 3.17.0
* @proposed
*/

@@ -56,0 +53,0 @@ collapsedText?: boolean;

@@ -9,3 +9,2 @@ import { RequestHandler, RequestHandler0 } from 'vscode-jsonrpc';

* @since 3.17.0
* @proposed
*/

@@ -32,3 +31,2 @@ export declare type InlayHintClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -51,3 +49,2 @@ export declare type InlayHintWorkspaceClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -65,3 +62,2 @@ export declare type InlayHintOptions = WorkDoneProgressOptions & {

* @since 3.17.0
* @proposed
*/

@@ -73,3 +69,2 @@ export declare type InlayHintRegistrationOptions = InlayHintOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;

* @since 3.17.0
* @proposed
*/

@@ -92,3 +87,2 @@ export declare type InlayHintParams = WorkDoneProgressParams & {

* @since 3.17.0
* @proposed
*/

@@ -106,3 +100,2 @@ export declare namespace InlayHintRequest {

* @since 3.17.0
* @proposed
*/

@@ -116,3 +109,2 @@ export declare namespace InlayHintResolveRequest {

* @since 3.17.0
* @proposed
*/

@@ -119,0 +111,0 @@ export declare namespace InlayHintRefreshRequest {

@@ -15,3 +15,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -29,3 +28,2 @@ var InlayHintRequest;

* @since 3.17.0
* @proposed
*/

@@ -39,3 +37,2 @@ var InlayHintResolveRequest;

* @since 3.17.0
* @proposed
*/

@@ -42,0 +39,0 @@ var InlayHintRefreshRequest;

@@ -9,3 +9,2 @@ import { TextDocumentIdentifier, Range, InlineValue, InlineValueContext } from 'vscode-languageserver-types';

* @since 3.17.0
* @proposed
*/

@@ -22,3 +21,2 @@ export declare type InlineValueClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -41,3 +39,2 @@ export declare type InlineValueWorkspaceClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -49,3 +46,2 @@ export declare type InlineValueOptions = WorkDoneProgressOptions;

* @since 3.17.0
* @proposed
*/

@@ -57,3 +53,2 @@ export declare type InlineValueRegistrationOptions = InlineValueOptions & TextDocumentRegistrationOptions & StaticRegistrationOptions;

* @since 3.17.0
* @proposed
*/

@@ -81,3 +76,2 @@ export declare type InlineValueParams = WorkDoneProgressParams & {

* @since 3.17.0
* @proposed
*/

@@ -91,3 +85,2 @@ export declare namespace InlineValueRequest {

* @since 3.17.0
* @proposed
*/

@@ -94,0 +87,0 @@ export declare namespace InlineValueRefreshRequest {

@@ -15,3 +15,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -25,3 +24,2 @@ var InlineValueRequest;

* @since 3.17.0
* @proposed
*/

@@ -28,0 +26,0 @@ var InlineValueRefreshRequest;

@@ -97,3 +97,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -113,3 +112,2 @@ var TextDocumentFilter;

* @since 3.17.0
* @proposed
*/

@@ -129,3 +127,2 @@ var NotebookDocumentFilter;

* @since 3.17.0
* @proposed
*/

@@ -220,3 +217,2 @@ var NotebookCellTextDocumentFilter;

* @since 3.17.0
* @proposed
*/

@@ -758,3 +754,2 @@ var PositionEncodingKind;

* @since 3.17.0
* @proposed
*/

@@ -761,0 +756,0 @@ var WorkspaceSymbolResolveRequest;

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

import { URI, integer, DocumentUri, uinteger, LSPObject, TextDocumentItem, TextDocumentIdentifier, VersionedTextDocumentIdentifier } from 'vscode-languageserver-types';
import { URI, integer, DocumentUri, uinteger, TextDocumentItem, TextDocumentIdentifier, VersionedTextDocumentIdentifier, LSPObject } from 'vscode-languageserver-types';
import { ProtocolNotificationType, RegistrationType } from './messages';

@@ -8,3 +8,2 @@ import type { StaticRegistrationOptions, NotebookDocumentFilter, TextDocumentContentChangeEvent } from './protocol';

* @since 3.17.0
* @proposed
*/

@@ -28,3 +27,2 @@ export declare type NotebookDocumentSyncClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -69,3 +67,2 @@ export declare namespace NotebookCellKind {

* @since 3.17.0
* @proposed
*/

@@ -84,2 +81,4 @@ export declare type NotebookCell = {

* Additional metadata stored with the cell.
*
* Note: should always be an object literal (e.g. LSPObject)
*/

@@ -102,3 +101,2 @@ metadata?: LSPObject;

* @since 3.17.0
* @proposed
*/

@@ -122,2 +120,4 @@ export declare type NotebookDocument = {

* document.
*
* Note: should always be an object literal (e.g. LSPObject)
*/

@@ -138,3 +138,2 @@ metadata?: LSPObject;

* @since 3.17.0
* @proposed
*/

@@ -151,3 +150,2 @@ export declare type NotebookDocumentIdentifier = {

* @since 3.17.0
* @proposed
*/

@@ -178,3 +176,2 @@ export declare type VersionedNotebookDocumentIdentifier = {

* @since 3.17.0
* @proposed
*/

@@ -222,3 +219,2 @@ export declare type NotebookDocumentSyncOptions = {

* @since 3.17.0
* @proposed
*/

@@ -234,3 +230,2 @@ export declare type NotebookDocumentSyncRegistrationOptions = NotebookDocumentSyncOptions & StaticRegistrationOptions;

* @since 3.17.0
* @proposed
*/

@@ -252,3 +247,2 @@ export declare type DidOpenNotebookDocumentParams = {

* @since 3.17.0
* @proposed
*/

@@ -264,3 +258,2 @@ export declare namespace DidOpenNotebookDocumentNotification {

* @since 3.17.0
* @proposed
*/

@@ -289,3 +282,2 @@ export declare type NotebookCellArrayChange = {

* @since 3.17.0
* @proposed
*/

@@ -295,2 +287,4 @@ export declare type NotebookDocumentChangeEvent = {

* The changed meta data if any.
*
* Note: should always be an object literal (e.g. LSPObject)
*/

@@ -338,3 +332,2 @@ metadata?: LSPObject;

* @since 3.17.0
* @proposed
*/

@@ -374,3 +367,2 @@ export declare type DidChangeNotebookDocumentParams = {

* @since 3.17.0
* @proposed
*/

@@ -387,3 +379,2 @@ export declare type DidSaveNotebookDocumentParams = {

* @since 3.17.0
* @proposed
*/

@@ -398,3 +389,2 @@ export declare namespace DidSaveNotebookDocumentNotification {

* @since 3.17.0
* @proposed
*/

@@ -416,3 +406,2 @@ export declare type DidCloseNotebookDocumentParams = {

* @since 3.17.0
* @proposed
*/

@@ -419,0 +408,0 @@ export declare namespace DidCloseNotebookDocumentNotification {

@@ -15,3 +15,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -161,3 +160,2 @@ var NotebookCellKind;

* @since 3.17.0
* @proposed
*/

@@ -194,3 +192,2 @@ var DidOpenNotebookDocumentNotification;

* @since 3.17.0
* @proposed
*/

@@ -206,3 +203,2 @@ var DidSaveNotebookDocumentNotification;

* @since 3.17.0
* @proposed
*/

@@ -209,0 +205,0 @@ var DidCloseNotebookDocumentNotification;

@@ -7,3 +7,2 @@ import { RequestHandler } from 'vscode-jsonrpc';

* @since 3.17.0
* @proposed
*/

@@ -22,3 +21,2 @@ export declare type TypeHierarchyClientCapabilities = {

* @since 3.17.0
* @proposed
*/

@@ -30,3 +28,2 @@ export declare type TypeHierarchyOptions = WorkDoneProgressOptions;

* @since 3.17.0
* @proposed
*/

@@ -38,3 +35,2 @@ export declare type TypeHierarchyRegistrationOptions = TextDocumentRegistrationOptions & TypeHierarchyOptions & StaticRegistrationOptions;

* @since 3.17.0
* @proposed
*/

@@ -47,3 +43,2 @@ export declare type TypeHierarchyPrepareParams = TextDocumentPositionParams & WorkDoneProgressParams;

* @since 3.17.0
* @proposed
*/

@@ -59,3 +54,2 @@ export declare namespace TypeHierarchyPrepareRequest {

* @since 3.17.0
* @proposed
*/

@@ -69,3 +63,2 @@ export declare type TypeHierarchySupertypesParams = WorkDoneProgressParams & PartialResultParams & {

* @since 3.17.0
* @proposed
*/

@@ -81,3 +74,2 @@ export declare namespace TypeHierarchySupertypesRequest {

* @since 3.17.0
* @proposed
*/

@@ -91,3 +83,2 @@ export declare type TypeHierarchySubtypesParams = WorkDoneProgressParams & PartialResultParams & {

* @since 3.17.0
* @proposed
*/

@@ -94,0 +85,0 @@ export declare namespace TypeHierarchySubtypesRequest {

@@ -14,3 +14,2 @@ "use strict";

* @since 3.17.0
* @proposed
*/

@@ -26,3 +25,2 @@ var TypeHierarchyPrepareRequest;

* @since 3.17.0
* @proposed
*/

@@ -38,3 +36,2 @@ var TypeHierarchySupertypesRequest;

* @since 3.17.0
* @proposed
*/

@@ -41,0 +38,0 @@ var TypeHierarchySubtypesRequest;

@@ -8,3 +8,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -11,0 +15,0 @@ if (k2 === undefined) k2 = k;

{
"name": "vscode-languageserver-protocol",
"description": "VSCode Language Server Protocol implementation",
"version": "3.17.0-next.20",
"version": "3.17.0",
"author": "Microsoft Corporation",

@@ -21,4 +21,4 @@ "license": "MIT",

"dependencies": {
"vscode-jsonrpc": "8.0.0-next.8",
"vscode-languageserver-types": "3.17.0-next.12"
"vscode-jsonrpc": "8.0.0",
"vscode-languageserver-types": "3.17.0"
},

@@ -25,0 +25,0 @@ "scripts": {

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

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