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

vscode-languageserver-protocol

Package Overview
Dependencies
Maintainers
11
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.17.0-next.17 to 3.17.0-next.18

lib/common/protocol.diagnostic.d.ts

52

lib/common/api.d.ts

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

}
import * as diag from './proposed.diagnostic';
import * as nb from './proposed.notebook';
export declare namespace Proposed {
type DiagnosticClientCapabilities = diag.DiagnosticClientCapabilities;
type $DiagnosticClientCapabilities = diag.$DiagnosticClientCapabilities;
type DiagnosticOptions = diag.DiagnosticOptions;
type DiagnosticRegistrationOptions = diag.DiagnosticRegistrationOptions;
type $DiagnosticServerCapabilities = diag.$DiagnosticServerCapabilities;
type DocumentDiagnosticParams = diag.DocumentDiagnosticParams;
type DiagnosticServerCancellationData = diag.DiagnosticServerCancellationData;
const DiagnosticServerCancellationData: typeof diag.DiagnosticServerCancellationData;
type DocumentDiagnosticReportKind = diag.DocumentDiagnosticReportKind;
const DocumentDiagnosticReportKind: typeof diag.DocumentDiagnosticReportKind;
type FullDocumentDiagnosticReport = diag.FullDocumentDiagnosticReport;
type RelatedFullDocumentDiagnosticReport = diag.RelatedFullDocumentDiagnosticReport;
type UnchangedDocumentDiagnosticReport = diag.UnchangedDocumentDiagnosticReport;
type RelatedUnchangedDocumentDiagnosticReport = diag.RelatedUnchangedDocumentDiagnosticReport;
type DocumentDiagnosticReport = diag.DocumentDiagnosticReport;
type DocumentDiagnosticReportPartialResult = diag.DocumentDiagnosticReportPartialResult;
const DocumentDiagnosticRequest: typeof diag.DocumentDiagnosticRequest;
type PreviousResultId = diag.PreviousResultId;
type WorkspaceDiagnosticParams = diag.WorkspaceDiagnosticParams;
type WorkspaceFullDocumentDiagnosticReport = diag.WorkspaceFullDocumentDiagnosticReport;
type WorkspaceUnchangedDocumentDiagnosticReport = diag.WorkspaceUnchangedDocumentDiagnosticReport;
type WorkspaceDocumentDiagnosticReport = diag.WorkspaceDocumentDiagnosticReport;
type WorkspaceDiagnosticReport = diag.WorkspaceDiagnosticReport;
type WorkspaceDiagnosticReportPartialResult = diag.WorkspaceDiagnosticReportPartialResult;
const WorkspaceDiagnosticRequest: typeof diag.WorkspaceDiagnosticRequest;
const DiagnosticRefreshRequest: typeof diag.DiagnosticRefreshRequest;
type $NotebookDocumentClientCapabilities = nb.$NotebookDocumentClientCapabilities;
type NotebookDocumentSyncClientCapabilities = nb.NotebookDocumentSyncClientCapabilities;
type $NotebookDocumentSyncServerCapabilities = nb.$NotebookDocumentSyncServerCapabilities;
type NotebookCellKind = nb.NotebookCellKind;
const NotebookCellKind: typeof nb.NotebookCellKind;
type NotebookCell = nb.NotebookCell;
const NotebookCell: typeof nb.NotebookCell;
type NotebookCellArrayChange = nb.NotebookCellArrayChange;
type NotebookDocument = nb.NotebookDocument;
const NotebookDocument: typeof nb.NotebookDocument;
type NotebookDocumentChangeEvent = nb.NotebookDocumentChangeEvent;
type NotebookDocumentIdentifier = nb.NotebookDocumentIdentifier;
type VersionedNotebookDocumentIdentifier = nb.VersionedNotebookDocumentIdentifier;
type NotebookDocumentSyncOptions = nb.NotebookDocumentSyncOptions;
type NotebookDocumentSyncRegistrationOptions = nb.NotebookDocumentSyncRegistrationOptions;
const NotebookDocumentSyncRegistrationType: typeof nb.NotebookDocumentSyncRegistrationType;
type DidOpenNotebookDocumentParams = nb.DidOpenNotebookDocumentParams;
const DidOpenNotebookDocumentNotification: typeof nb.DidOpenNotebookDocumentNotification;
type DidChangeNotebookDocumentParams = nb.DidChangeNotebookDocumentParams;
const DidChangeNotebookDocumentNotification: typeof nb.DidChangeNotebookDocumentNotification;
type DidSaveNotebookDocumentParams = nb.DidSaveNotebookDocumentParams;
const DidSaveNotebookDocumentNotification: typeof nb.DidSaveNotebookDocumentNotification;
type DidCloseNotebookDocumentParams = nb.DidCloseNotebookDocumentParams;
const DidCloseNotebookDocumentNotification: typeof nb.DidCloseNotebookDocumentNotification;
}

20

lib/common/api.js

@@ -17,3 +17,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Proposed = exports.LSPErrorCodes = exports.createProtocolConnection = void 0;
exports.LSPErrorCodes = exports.createProtocolConnection = void 0;
__exportStar(require("vscode-jsonrpc"), exports);

@@ -75,20 +75,2 @@ __exportStar(require("vscode-languageserver-types"), exports);

})(LSPErrorCodes = exports.LSPErrorCodes || (exports.LSPErrorCodes = {}));
const diag = require("./proposed.diagnostic");
const nb = require("./proposed.notebook");
var Proposed;
(function (Proposed) {
Proposed.DiagnosticServerCancellationData = diag.DiagnosticServerCancellationData;
Proposed.DocumentDiagnosticReportKind = diag.DocumentDiagnosticReportKind;
Proposed.DocumentDiagnosticRequest = diag.DocumentDiagnosticRequest;
Proposed.WorkspaceDiagnosticRequest = diag.WorkspaceDiagnosticRequest;
Proposed.DiagnosticRefreshRequest = diag.DiagnosticRefreshRequest;
Proposed.NotebookCellKind = nb.NotebookCellKind;
Proposed.NotebookCell = nb.NotebookCell;
Proposed.NotebookDocument = nb.NotebookDocument;
Proposed.NotebookDocumentSyncRegistrationType = nb.NotebookDocumentSyncRegistrationType;
Proposed.DidOpenNotebookDocumentNotification = nb.DidOpenNotebookDocumentNotification;
Proposed.DidChangeNotebookDocumentNotification = nb.DidChangeNotebookDocumentNotification;
Proposed.DidSaveNotebookDocumentNotification = nb.DidSaveNotebookDocumentNotification;
Proposed.DidCloseNotebookDocumentNotification = nb.DidCloseNotebookDocumentNotification;
})(Proposed = exports.Proposed || (exports.Proposed = {}));
//# sourceMappingURL=api.js.map

@@ -7,17 +7,28 @@ import { RequestHandler } from 'vscode-jsonrpc';

/**
* Whether implementation supports dynamic registration for folding range providers. If this is set to `true`
* the client supports the new `FoldingRangeRegistrationOptions` return value for the corresponding server
* capability as well.
* Whether implementation supports dynamic registration for folding range
* providers. If this is set to `true` the client supports the new
* `FoldingRangeRegistrationOptions` return value for the corresponding
* server capability as well.
*/
dynamicRegistration?: boolean;
/**
* The maximum number of folding ranges that the client prefers to receive per document. The value serves as a
* hint, servers are free to follow the limit.
* The maximum number of folding ranges that the client prefers to receive
* per document. The value serves as a hint, servers are free to follow the
* limit.
*/
rangeLimit?: uinteger;
/**
* If set, the client signals that it only supports folding complete lines. If set, client will
* ignore specified `startCharacter` and `endCharacter` properties in a FoldingRange.
* If set, the client signals that it only supports folding complete lines.
* If set, client will ignore specified `startCharacter` and `endCharacter`
* properties in a FoldingRange.
*/
lineFoldingOnly?: boolean;
/**
* If set, the client signals that it supports setting collapsedText on
* folding ranges to display instead of the default text.
*
* @since 3.17.0
* @proposed
*/
collapsedText?: boolean;
}

@@ -24,0 +35,0 @@ export interface FoldingRangeOptions extends WorkDoneProgressOptions {

@@ -9,3 +9,3 @@ "use strict";

exports.TypeHierarchySubtypesRequest = exports.TypeHierarchyPrepareRequest = exports.MonikerRequest = exports.MonikerKind = exports.UniquenessLevel = exports.WillDeleteFilesRequest = exports.DidDeleteFilesNotification = exports.WillRenameFilesRequest = exports.DidRenameFilesNotification = exports.WillCreateFilesRequest = exports.DidCreateFilesNotification = exports.FileOperationPatternKind = exports.LinkedEditingRangeRequest = exports.ShowDocumentRequest = exports.SemanticTokensRegistrationType = exports.SemanticTokensRefreshRequest = exports.SemanticTokensRangeRequest = exports.SemanticTokensDeltaRequest = exports.SemanticTokensRequest = exports.TokenFormat = exports.CallHierarchyPrepareRequest = exports.CallHierarchyOutgoingCallsRequest = exports.CallHierarchyIncomingCallsRequest = exports.WorkDoneProgressCancelNotification = exports.WorkDoneProgressCreateRequest = exports.WorkDoneProgress = exports.SelectionRangeRequest = exports.DeclarationRequest = exports.FoldingRangeRequest = exports.ColorPresentationRequest = exports.DocumentColorRequest = exports.ConfigurationRequest = exports.DidChangeWorkspaceFoldersNotification = exports.WorkspaceFoldersRequest = exports.TypeDefinitionRequest = exports.ImplementationRequest = exports.ApplyWorkspaceEditRequest = exports.ExecuteCommandRequest = exports.PrepareRenameRequest = exports.RenameRequest = exports.PrepareSupportDefaultBehavior = exports.DocumentOnTypeFormattingRequest = exports.DocumentRangeFormattingRequest = exports.DocumentFormattingRequest = exports.DocumentLinkResolveRequest = exports.DocumentLinkRequest = exports.CodeLensRefreshRequest = exports.CodeLensResolveRequest = exports.CodeLensRequest = exports.WorkspaceSymbolResolveRequest = void 0;
exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = void 0;
exports.DidCloseNotebookDocumentNotification = exports.DidSaveNotebookDocumentNotification = exports.DidChangeNotebookDocumentNotification = exports.NotebookCellArrayChange = exports.DidOpenNotebookDocumentNotification = exports.NotebookDocumentSyncRegistrationType = exports.NotebookDocument = exports.NotebookCell = exports.ExecutionSummary = exports.NotebookCellKind = exports.DiagnosticRefreshRequest = exports.WorkspaceDiagnosticRequest = exports.DocumentDiagnosticRequest = exports.DocumentDiagnosticReportKind = exports.DiagnosticServerCancellationData = exports.InlayHintRefreshRequest = exports.InlayHintResolveRequest = exports.InlayHintRequest = exports.InlineValueRefreshRequest = exports.InlineValueRequest = exports.TypeHierarchySupertypesRequest = void 0;
const messages_1 = require("./messages");

@@ -74,2 +74,19 @@ const vscode_languageserver_types_1 = require("vscode-languageserver-types");

Object.defineProperty(exports, "InlayHintRefreshRequest", { enumerable: true, get: function () { return protocol_inlayHint_1.InlayHintRefreshRequest; } });
const protocol_diagnostic_1 = require("./protocol.diagnostic");
Object.defineProperty(exports, "DiagnosticServerCancellationData", { enumerable: true, get: function () { return protocol_diagnostic_1.DiagnosticServerCancellationData; } });
Object.defineProperty(exports, "DocumentDiagnosticReportKind", { enumerable: true, get: function () { return protocol_diagnostic_1.DocumentDiagnosticReportKind; } });
Object.defineProperty(exports, "DocumentDiagnosticRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.DocumentDiagnosticRequest; } });
Object.defineProperty(exports, "WorkspaceDiagnosticRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.WorkspaceDiagnosticRequest; } });
Object.defineProperty(exports, "DiagnosticRefreshRequest", { enumerable: true, get: function () { return protocol_diagnostic_1.DiagnosticRefreshRequest; } });
const protocol_notebook_1 = require("./protocol.notebook");
Object.defineProperty(exports, "NotebookCellKind", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCellKind; } });
Object.defineProperty(exports, "ExecutionSummary", { enumerable: true, get: function () { return protocol_notebook_1.ExecutionSummary; } });
Object.defineProperty(exports, "NotebookCell", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCell; } });
Object.defineProperty(exports, "NotebookDocument", { enumerable: true, get: function () { return protocol_notebook_1.NotebookDocument; } });
Object.defineProperty(exports, "NotebookDocumentSyncRegistrationType", { enumerable: true, get: function () { return protocol_notebook_1.NotebookDocumentSyncRegistrationType; } });
Object.defineProperty(exports, "DidOpenNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidOpenNotebookDocumentNotification; } });
Object.defineProperty(exports, "NotebookCellArrayChange", { enumerable: true, get: function () { return protocol_notebook_1.NotebookCellArrayChange; } });
Object.defineProperty(exports, "DidChangeNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidChangeNotebookDocumentNotification; } });
Object.defineProperty(exports, "DidSaveNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidSaveNotebookDocumentNotification; } });
Object.defineProperty(exports, "DidCloseNotebookDocumentNotification", { enumerable: true, get: function () { return protocol_notebook_1.DidCloseNotebookDocumentNotification; } });
// @ts-ignore: to avoid inlining LocationLink as dynamic import

@@ -76,0 +93,0 @@ let __noDynamicImport;

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

@@ -22,3 +22,3 @@ "license": "MIT",

"vscode-jsonrpc": "8.0.0-next.8",
"vscode-languageserver-types": "3.17.0-next.10"
"vscode-languageserver-types": "3.17.0-next.11"
},

@@ -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