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

@vtsls/language-service

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vtsls/language-service - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

dist/share/commandsConverter.d.ts

10

dist/service/codeAction.d.ts
import * as vscode from "vscode";
import * as lsp from "vscode-languageserver-protocol";
import { CommandsShimService } from "../shims/commands";
import { CodeActionRegistryHandle } from "../shims/languageFeatures";

@@ -13,12 +12,5 @@ import { TSLspConverter } from "../utils/converter";

export declare class CodeActionCache extends Disposable {
static readonly id = "_vtsls.codeActionCacheCommand";
constructor(commands: CommandsShimService);
private readonly codeActionCache;
store(items: (vscode.Command | vscode.CodeAction)[], providerId: number): {
data: CodeActionData;
command: {
command: string;
title: string;
arguments: CodeActionData[];
};
}[];

@@ -35,3 +27,3 @@ resolveData(data?: any): ({

private cache;
constructor(registry: CodeActionRegistryHandle, commands: CommandsShimService, converter: TSLspConverter, clientCapabilities: lsp.ClientCapabilities);
constructor(registry: CodeActionRegistryHandle, converter: TSLspConverter, clientCapabilities: lsp.ClientCapabilities);
codeAction(doc: vscode.TextDocument, params: Omit<lsp.CodeActionParams, "textDocument">, token: lsp.CancellationToken): Promise<(lsp.Command | lsp.CodeAction)[] | null>;

@@ -38,0 +30,0 @@ codeActionResolve(item: lsp.CodeAction, token: lsp.CancellationToken): Promise<lsp.CodeAction>;

@@ -38,2 +38,3 @@ export declare class API {

static readonly v510: API;
static readonly v520: API;
static fromVersionString(versionString: string): API;

@@ -40,0 +41,0 @@ private constructor();

@@ -5,8 +5,12 @@ import * as vscode from "vscode";

import * as types from "../shims/types";
export declare class TSLspConverter {
declare class LspInvariantConverter {
convertTextEdit: (edit: vscode.TextEdit) => lsp.TextEdit;
convertPositionToLsp: (pos: vscode.Position) => lsp.Position;
convertRangeToLsp: (range: vscode.Range) => lsp.Range;
convertPositionFromLsp: (position: lsp.Position) => vscode.Position;
convertRangeFromLsp: (range: lsp.Range) => vscode.Range;
}
export declare class TSLspConverter extends LspInvariantConverter {
private readonly clientCapabilities;
constructor(clientCapabilities: lsp.ClientCapabilities);
convertTextEdit: (edit: vscode.TextEdit) => lsp.TextEdit;
convertPosition: (pos: vscode.Position) => lsp.Position;
convertRange: (range: vscode.Range) => lsp.Range;
convertWorkspaceEdit: (edit: vscode.WorkspaceEdit) => lsp.WorkspaceEdit;

@@ -45,2 +49,3 @@ convertTextDocuemntFromLsp: (textDocument: TextDocument) => vscode.TextDocument;

}
export {};
//# sourceMappingURL=converter.d.ts.map
{
"name": "@vtsls/language-service",
"description": "LSP wrapper for typescript extension of vscode",
"version": "0.1.18",
"version": "0.1.19",
"license": "MIT",

@@ -6,0 +6,0 @@ "engines": {

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

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

Sorry, the diff of this file is not supported yet

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