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

vscode-languageserver

Package Overview
Dependencies
Maintainers
11
Versions
268
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vscode-languageserver - npm Package Compare versions

Comparing version 7.0.0-next.11 to 7.0.0-next.12

lib/common/fileOperations.d.ts

5

lib/common/callHierarchy.d.ts
import { CallHierarchyItem, CallHierarchyPrepareParams, CallHierarchyIncomingCallsParams, CallHierarchyIncomingCall, CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCall } from 'vscode-languageserver-protocol';
import type { Feature, _Languages, ServerRequestHandler } from './server';
/**
* Shape of the call hierarchy feature
*
* @since 3.16.0 - proposed state
*/
export interface CallHierarchy {

@@ -4,0 +9,0 @@ callHierarchy: {

3

lib/common/callHierarchy.js

@@ -9,3 +9,3 @@ /* --------------------------------------------------------------------------------------------

const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
exports.CallHierarchyFeature = (Base) => {
const CallHierarchyFeature = (Base) => {
return class extends Base {

@@ -35,2 +35,3 @@ get callHierarchy() {

};
exports.CallHierarchyFeature = CallHierarchyFeature;
//# sourceMappingURL=callHierarchy.js.map

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

const Is = require("./utils/is");
exports.ConfigurationFeature = (Base) => {
const ConfigurationFeature = (Base) => {
return class extends Base {

@@ -34,2 +34,3 @@ getConfiguration(arg) {

};
exports.ConfigurationFeature = ConfigurationFeature;
//# sourceMappingURL=configuration.js.map
import { Proposed } from 'vscode-languageserver-protocol';
import type { Feature, _Languages, ServerRequestHandler } from './server';
/**
* Shape of the moniker feature
*
* @since 3.16.0 - proposed state
*/
export interface MonikerFeatureShape {

@@ -4,0 +9,0 @@ moniker: {

@@ -9,3 +9,3 @@ /* --------------------------------------------------------------------------------------------

const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
exports.MonikerFeature = (Base) => {
const MonikerFeature = (Base) => {
return class extends Base {

@@ -24,2 +24,3 @@ get moniker() {

};
exports.MonikerFeature = MonikerFeature;
//# sourceMappingURL=moniker.proposed.js.map

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

exports.attachWorkDone = attachWorkDone;
exports.ProgressFeature = (Base) => {
const ProgressFeature = (Base) => {
return class extends Base {

@@ -138,2 +138,3 @@ constructor() {

};
exports.ProgressFeature = ProgressFeature;
var ResultProgress;

@@ -140,0 +141,0 @@ (function (ResultProgress) {

import { SemanticTokens, SemanticTokensPartialResult, SemanticTokensDelta, SemanticTokensDeltaPartialResult, SemanticTokensParams, SemanticTokensDeltaParams, SemanticTokensRangeParams } from 'vscode-languageserver-protocol';
import type { Feature, _Languages, ServerRequestHandler } from './server';
/**
* Shape of the semantic token feature
*
* @since 3.16.0 - proposed state
*/
export interface SemanticTokensFeatureShape {

@@ -4,0 +9,0 @@ semanticTokens: {

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

const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
exports.SemanticTokensFeature = (Base) => {
const SemanticTokensFeature = (Base) => {
return class extends Base {

@@ -36,2 +36,3 @@ get semanticTokens() {

};
exports.SemanticTokensFeature = SemanticTokensFeature;
class SemanticTokensBuilder {

@@ -38,0 +39,0 @@ constructor() {

@@ -8,3 +8,4 @@ import { CancellationToken, ProtocolRequestType0, RequestHandler0, ProtocolRequestType, RequestHandler, GenericRequestHandler, StarRequestHandler, HandlerResult, ProtocolNotificationType0, NotificationHandler0, ProtocolNotificationType, NotificationHandler, GenericNotificationHandler, StarNotificationHandler, ProgressType, Disposable, InitializeParams, InitializeResult, InitializeError, InitializedParams, DidChangeConfigurationParams, DidChangeWatchedFilesParams, DidOpenTextDocumentParams, DidChangeTextDocumentParams, DidCloseTextDocumentParams, WillSaveTextDocumentParams, TextEdit, DidSaveTextDocumentParams, PublishDiagnosticsParams, HoverParams, Hover, CompletionParams, CompletionItem, CompletionList, SignatureHelpParams, SignatureHelp, DeclarationParams, Declaration, DeclarationLink, Location, DefinitionParams, Definition, DefinitionLink, TypeDefinitionParams, ImplementationParams, ReferenceParams, DocumentHighlightParams, DocumentHighlight, DocumentSymbolParams, SymbolInformation, DocumentSymbol, WorkspaceSymbolParams, CodeActionParams, Command, CodeAction, CodeLensParams, CodeLens, DocumentFormattingParams, DocumentRangeFormattingParams, DocumentOnTypeFormattingParams, RenameParams, WorkspaceEdit, PrepareRenameParams, Range, DocumentLinkParams, DocumentLink, DocumentColorParams, ColorInformation, ColorPresentationParams, ColorPresentation, FoldingRangeParams, FoldingRange, SelectionRangeParams, SelectionRange, ExecuteCommandParams, MessageActionItem, ClientCapabilities, ServerCapabilities, Logger, ProtocolConnection, TextDocumentContentChangeEvent, TextDocumentSaveReason, Event, MessageSignature, ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse, WorkDoneProgressParams, PartialResultParams, RegistrationType, RequestType0, RequestType, NotificationType0, NotificationType } from 'vscode-languageserver-protocol';

import { ShowDocumentFeatureShape } from './showDocument';
import { OnTypeRenameFeatureShape } from './onTypeRename';
import { FileOperationsFeatureShape } from './fileOperations';
import { LinkedEditingRangeFeatureShape } from './linkedEditingRange';
export interface TextDocumentsConfiguration<T> {

@@ -84,3 +85,3 @@ create(uri: string, languageId: string, version: number, content: string): T;

* Returns the document for the given URI. Returns undefined if
* the document is not mananged by this instance.
* the document is not managed by this instance.
*

@@ -112,3 +113,3 @@ * @param uri The text document's URI to retrieve.

*
* Use the correspnding events on the TextDocuments instance instead.
* Use the corresponding events on the TextDocuments instance instead.
*

@@ -120,3 +121,3 @@ * @param connection The connection to listen on.

/**
* Helps tracking error message. Equal occurences of the same
* Helps tracking error message. Equal occurrences of the same
* message are only stored once. This class is for example

@@ -174,3 +175,3 @@ * useful if text documents are validated in a loop and equal

* The RemoteConsole interface contains all functions to interact with
* the tools / clients console or log system. Interally it used `window/logMessage`
* the tools / clients console or log system. Internally it used `window/logMessage`
* notifications.

@@ -328,3 +329,3 @@ */

}
export declare type RemoteWorkspace = _RemoteWorkspace & Configuration & WorkspaceFolders;
export declare type RemoteWorkspace = _RemoteWorkspace & Configuration & WorkspaceFolders & FileOperationsFeatureShape;
/**

@@ -375,3 +376,3 @@ * Interface to log telemetry events. The events are actually send to the client

}
export declare type Languages = _Languages & CallHierarchy & SemanticTokensFeatureShape & OnTypeRenameFeatureShape;
export declare type Languages = _Languages & CallHierarchy & SemanticTokensFeatureShape & LinkedEditingRangeFeatureShape;
/**

@@ -684,2 +685,8 @@ * An empty interface for new proposed API.

/**
* Installs a handler for the `CodeAction` resolve request.
*
* @param handler The corresponding handler.
*/
onCodeActionResolve(handler: RequestHandler<CodeAction, CodeAction, void>): void;
/**
* Compute a list of [lenses](#CodeLens). This call should return as fast as possible and if

@@ -686,0 +693,0 @@ * computing the commands is expensive implementers should only return code lens objects with the

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

const showDocument_1 = require("./showDocument");
const onTypeRename_1 = require("./onTypeRename");
const fileOperations_1 = require("./fileOperations");
const linkedEditingRange_1 = require("./linkedEditingRange");
function null2Undefined(value) {

@@ -85,3 +86,3 @@ if (value === null) {

* Returns the document for the given URI. Returns undefined if
* the document is not mananged by this instance.
* the document is not managed by this instance.
*

@@ -119,3 +120,3 @@ * @param uri The text document's URI to retrieve.

*
* Use the correspnding events on the TextDocuments instance instead.
* Use the corresponding events on the TextDocuments instance instead.
*

@@ -181,3 +182,3 @@ * @param connection The connection to listen on.

/**
* Helps tracking error message. Equal occurences of the same
* Helps tracking error message. Equal occurrences of the same
* message are only stored once. This class is for example

@@ -470,3 +471,3 @@ * useful if text documents are validated in a loop and equal

}
const RemoteWorkspaceImpl = workspaceFolders_1.WorkspaceFoldersFeature(configuration_1.ConfigurationFeature(_RemoteWorkspaceImpl));
const RemoteWorkspaceImpl = fileOperations_1.FileOperationsFeature(workspaceFolders_1.WorkspaceFoldersFeature(configuration_1.ConfigurationFeature(_RemoteWorkspaceImpl)));
class TracerImpl {

@@ -546,3 +547,3 @@ constructor() {

exports._LanguagesImpl = _LanguagesImpl;
const LanguagesImpl = onTypeRename_1.OnTypeRenameFeature(semanticTokens_1.SemanticTokensFeature(callHierarchy_1.CallHierarchyFeature(_LanguagesImpl)));
const LanguagesImpl = linkedEditingRange_1.LinkedEditingRangeFeature(semanticTokens_1.SemanticTokensFeature(callHierarchy_1.CallHierarchyFeature(_LanguagesImpl)));
function combineConsoleFeatures(one, two) {

@@ -715,2 +716,5 @@ return function (Base) {

}),
onCodeActionResolve: (handler) => connection.onRequest(vscode_languageserver_protocol_1.CodeActionResolveRequest.type, (params, cancel) => {
return handler(params, cancel);
}),
onCodeLens: (handler) => connection.onRequest(vscode_languageserver_protocol_1.CodeLensRequest.type, (params, cancel) => {

@@ -717,0 +721,0 @@ return handler(params, cancel, progress_1.attachWorkDone(connection, params), progress_1.attachPartialResult(connection, params));

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

const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
exports.ShowDocumentFeature = (Base) => {
const ShowDocumentFeature = (Base) => {
return class extends Base {

@@ -17,2 +17,3 @@ showDocument(params) {

};
exports.ShowDocumentFeature = ShowDocumentFeature;
//# sourceMappingURL=showDocument.js.map

@@ -9,3 +9,3 @@ /* --------------------------------------------------------------------------------------------

const vscode_languageserver_protocol_1 = require("vscode-languageserver-protocol");
exports.WorkspaceFoldersFeature = (Base) => {
const WorkspaceFoldersFeature = (Base) => {
return class extends Base {

@@ -35,2 +35,3 @@ initialize(capabilities) {

};
exports.WorkspaceFoldersFeature = WorkspaceFoldersFeature;
//# sourceMappingURL=workspaceFolders.js.map
{
"name": "vscode-languageserver",
"description": "Language server implementation for node",
"version": "7.0.0-next.11",
"version": "7.0.0-next.12",
"author": "Microsoft Corporation",

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

"dependencies": {
"vscode-languageserver-protocol": "3.16.0-next.11"
"vscode-languageserver-protocol": "3.16.0-next.12"
},

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

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