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.17 to 0.1.18

dist/typescript-language-features/src/commands/openJsDocLink.d.ts

15

dist/service/main.d.ts

@@ -51,10 +51,11 @@ import * as lsp from "vscode-languageserver-protocol";

semanticTokensRange: (params: lsp.SemanticTokensRangeParams, token?: lsp.CancellationToken) => Promise<lsp.SemanticTokens>;
onShowDocument(handler: (params: lsp.ShowDocumentParams) => Promise<boolean>): lsp.Disposable;
onLogMessage(handler: (params: lsp.LogMessageParams) => void): lsp.Disposable;
onLogTrace(handler: (params: lsp.LogTraceParams) => void): lsp.Disposable;
onShowMessage(handler: (params: lsp.ShowMessageRequestParams) => Promise<lsp.MessageActionItem | null>): lsp.Disposable;
onApplyWorkspaceEdit(handler: (params: lsp.ApplyWorkspaceEditParams) => Promise<lsp.ApplyWorkspaceEditResult>): lsp.Disposable;
onWorkDoneProgress(handler: () => Promise<import("./types").WorkDoneProgressReporter>): lsp.Disposable;
onDiagnostics(handler: (params: lsp.PublishDiagnosticsParams) => Promise<void>): lsp.Disposable;
linkedEditingRange: (params: lsp.LinkedEditingRangeParams, token?: lsp.CancellationToken) => Promise<lsp.LinkedEditingRanges | null | undefined>;
onShowDocument: (handler: (params: lsp.ShowDocumentParams) => Promise<boolean>) => lsp.Disposable;
onLogMessage: (handler: (params: lsp.LogMessageParams) => void) => lsp.Disposable;
onLogTrace: (handler: (params: lsp.LogTraceParams) => void) => lsp.Disposable;
onShowMessage: (handler: (params: lsp.ShowMessageRequestParams) => Promise<lsp.MessageActionItem | null>) => lsp.Disposable;
onApplyWorkspaceEdit: (handler: (params: lsp.ApplyWorkspaceEditParams) => Promise<lsp.ApplyWorkspaceEditResult>) => lsp.Disposable;
onWorkDoneProgress: (handler: () => Promise<import("./types").WorkDoneProgressReporter>) => lsp.Disposable;
onDiagnostics: (handler: (params: lsp.PublishDiagnosticsParams) => Promise<void>) => lsp.Disposable;
};
//# sourceMappingURL=main.d.ts.map

@@ -27,11 +27,6 @@ import * as lsp from "vscode-languageserver-protocol";

export type EventName = keyof EventHandlersMapping;
export interface TSLanguageServiceEvents {
onShowDocument(handler: EventHandlersMapping["showDocument"]): lsp.Disposable;
onLogMessage(handler: EventHandlersMapping["logMessage"]): lsp.Disposable;
onLogTrace(handler: EventHandlersMapping["logTrace"]): lsp.Disposable;
onShowMessage(handler: EventHandlersMapping["showMessage"]): lsp.Disposable;
onApplyWorkspaceEdit(handler: EventHandlersMapping["applyWorkspaceEdit"]): lsp.Disposable;
onWorkDoneProgress(handler: EventHandlersMapping["workDoneProgress"]): lsp.Disposable;
onDiagnostics(handler: EventHandlersMapping["diagnostics"]): lsp.Disposable;
}
type UppercaseFirst<S extends string> = S extends `${infer H}${infer R}` ? `${Uppercase<H>}${R}` : Uppercase<S>;
export type TSLanguageServiceEvents = {
[K in keyof EventHandlersMapping as `on${UppercaseFirst<K>}`]: (handler: EventHandlersMapping[K]) => lsp.Disposable;
};
//# sourceMappingURL=types.d.ts.map

@@ -1,4 +0,4 @@

import { TSLanguageServiceDelegate } from "src/service/delegate";
import * as vscode from "vscode";
import * as lsp from "vscode-languageserver-protocol";
import { TSLanguageServiceDelegate } from "../service/delegate";
import { Disposable } from "../utils/dispose";

@@ -5,0 +5,0 @@ export declare enum LogLevel {

@@ -17,4 +17,4 @@ import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';

constructor(activeJsTsEditorTracker: ActiveJsTsEditorTracker, lazyClientHost: Lazy<TypeScriptServiceClientHost>);
execute(): void;
execute(uri: string): void;
}
//# sourceMappingURL=goToProjectConfiguration.d.ts.map

@@ -0,7 +1,7 @@

import { PluginManager } from '../tsServer/plugins';
import TypeScriptServiceClientHost from '../typeScriptServiceClientHost';
import { ActiveJsTsEditorTracker } from '../ui/activeJsTsEditorTracker';
import { Lazy } from '../utils/lazy';
import { PluginManager } from '../tsServer/plugins';
import { CommandManager } from './commandManager';
export declare function registerBaseCommands(commandManager: CommandManager, lazyClientHost: Lazy<TypeScriptServiceClientHost>, pluginManager: PluginManager, activeJsTsEditorTracker: ActiveJsTsEditorTracker): void;
//# sourceMappingURL=index.d.ts.map

@@ -45,3 +45,4 @@ import * as vscode from 'vscode';

readonly useSyntaxServer: SyntaxServerConfiguration;
readonly enableProjectWideIntellisenseOnWeb: boolean;
readonly webProjectWideIntellisenseEnabled: boolean;
readonly webProjectWideIntellisenseSuppressSemanticErrors: boolean;
readonly enableProjectDiagnostics: boolean;

@@ -74,4 +75,5 @@ readonly maxTsServerMemory: number;

protected readEnableTsServerTracing(configuration: vscode.WorkspaceConfiguration): boolean;
private readEnableProjectWideIntellisenseOnWeb;
private readWebProjectWideIntellisenseEnable;
private readWebProjectWideIntellisenseSuppressSemanticErrors;
}
//# sourceMappingURL=configuration.d.ts.map

@@ -12,3 +12,3 @@ export declare const file = "file";

export declare const officeScript = "office-script";
export declare const semanticSupportedSchemes: string[];
export declare function getSemanticSupportedSchemes(): string[];
/**

@@ -15,0 +15,0 @@ * File scheme for which JS/TS language feature should be disabled

import * as vscode from 'vscode';
import { CommandManager } from './commands/commandManager';
import { LanguageDescription } from './configuration/languageDescription';
import { DiagnosticKind } from './languageFeatures/diagnostics';
import FileConfigurationManager from './languageFeatures/fileConfigurationManager';
import { TelemetryReporter } from './logging/telemetry';
import TypeScriptServiceClient from './typescriptServiceClient';
import TypingsStatus from './ui/typingsStatus';
import { Disposable } from './utils/dispose';
import { LanguageDescription } from './configuration/languageDescription';
import { TelemetryReporter } from './logging/telemetry';
export default class LanguageProvider extends Disposable {

@@ -11,0 +11,0 @@ private readonly client;

@@ -11,5 +11,5 @@ import * as vscode from 'vscode';

export declare function inferredProjectCompilerOptions(projectType: ProjectType, serviceConfig: TypeScriptServiceConfiguration): Proto.ExternalProjectCompilerOptions;
export declare function openOrCreateConfig(projectType: ProjectType, rootPath: string, configuration: TypeScriptServiceConfiguration): Promise<vscode.TextEditor | null>;
export declare function openProjectConfigOrPromptToCreate(projectType: ProjectType, client: ITypeScriptServiceClient, rootPath: string, configFileName: string): Promise<void>;
export declare function openOrCreateConfig(projectType: ProjectType, rootPath: vscode.Uri, configuration: TypeScriptServiceConfiguration): Promise<vscode.TextEditor | null>;
export declare function openProjectConfigOrPromptToCreate(projectType: ProjectType, client: ITypeScriptServiceClient, rootPath: vscode.Uri, configFilePath: string): Promise<void>;
export declare function openProjectConfigForFile(projectType: ProjectType, client: ITypeScriptServiceClient, resource: vscode.Uri): Promise<void>;
//# sourceMappingURL=tsconfig.d.ts.map

@@ -15,2 +15,3 @@ import * as vscode from 'vscode';

private readonly synchronizer;
private readonly _tabResources;
constructor(client: ITypeScriptServiceClient, modeIds: readonly string[], onCaseInsensitiveFileSystem: boolean);

@@ -17,0 +18,0 @@ private readonly _onDelete;

@@ -67,4 +67,3 @@ import * as vscode from 'vscode';

'findSourceDefinition': [Proto.FileLocationRequestArgs, Proto.DefinitionResponse];
'getMoveToRefactoringFileSuggestions': [Proto.GetMoveToRefactoringFileSuggestionsRequestArgs, Proto.GetMoveToRefactoringFileSuggestionsResponse];
'getEditsForMoveToFileRefactor': [Proto.GetEditsForMoveToFileRefactorRequestArgs, Proto.GetEditsForMoveToFileRefactorResponse];
'getMoveToRefactoringFileSuggestions': [Proto.GetMoveToRefactoringFileSuggestionsRequestArgs, Proto.GetMoveToRefactoringFileSuggestions];
'linkedEditingRange': [Proto.FileLocationRequestArgs, Proto.LinkedEditingRangeResponse];

@@ -131,3 +130,3 @@ }

hasCapabilityForResource(resource: vscode.Uri, capability: ClientCapability): boolean;
getWorkspaceRootForResource(resource: vscode.Uri): string | undefined;
getWorkspaceRootForResource(resource: vscode.Uri): vscode.Uri | undefined;
readonly onTsServerStarted: vscode.Event<{

@@ -134,0 +133,0 @@ version: TypeScriptVersion;

@@ -22,6 +22,6 @@ import * as vscode from 'vscode';

}
export declare const emptyAuthority = "ts-nul-authority";
export declare const inMemoryResourcePrefix = "^";
export default class TypeScriptServiceClient extends Disposable implements ITypeScriptServiceClient {
private readonly context;
private readonly emptyAuthority;
private readonly inMemoryResourcePrefix;
private readonly _onReady?;

@@ -108,3 +108,3 @@ private _configuration;

toResource(filepath: string): vscode.Uri;
getWorkspaceRootForResource(resource: vscode.Uri): string | undefined;
getWorkspaceRootForResource(resource: vscode.Uri): vscode.Uri | undefined;
execute(command: keyof TypeScriptRequests, args: any, token: vscode.CancellationToken, config?: ExecConfig): Promise<ServerResponse.Response<Proto.Response>>;

@@ -111,0 +111,0 @@ executeWithoutWaitingForResponse(command: keyof TypeScriptRequests, args: any): void;

@@ -42,3 +42,4 @@ import * as vscode from "vscode";

convertSemanticTokens: (tokens: vscode.SemanticTokens) => lsp.SemanticTokens;
convertLinkedEditingRanges: (data: vscode.LinkedEditingRanges) => lsp.LinkedEditingRanges;
}
//# sourceMappingURL=converter.d.ts.map
{
"name": "@vtsls/language-service",
"description": "LSP wrapper for typescript extension of vscode",
"version": "0.1.17",
"version": "0.1.18",
"license": "MIT",

@@ -25,15 +25,15 @@ "engines": {

"dependencies": {
"@vscode/l10n": "^0.0.13",
"@vscode/l10n": "^0.0.14",
"@vtsls/vscode-fuzzy": "0.0.1",
"jsonc-parser": "^3.2.0",
"semver": "5.5.1",
"typescript": "^5.0.4",
"typescript": "5.1.3",
"vscode-languageserver-protocol": "^3.17.3",
"vscode-languageserver-textdocument": "^1.0.8",
"vscode-uri": "^3.0.7",
"@vtsls/vscode-fuzzy": "0.0.1"
"vscode-uri": "^3.0.7"
},
"devDependencies": {
"@types/semver": "^5.5.0",
"esbuild": "^0.17.16",
"vitest": "^0.30.1"
"esbuild": "^0.17.19",
"vitest": "^0.31.3"
},

@@ -40,0 +40,0 @@ "repository": {

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