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

@volar/vue-language-service-types

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volar/vue-language-service-types - npm Package Compare versions

Comparing version 0.34.7 to 0.34.8

42

out/index.d.ts

@@ -26,3 +26,2 @@ import type * as vscode from 'vscode-languageserver-protocol';

export declare type EmbeddedLanguageServicePlugin = {
triggerCharacters?: string[];
doValidation?(document: TextDocument, options: {

@@ -34,7 +33,3 @@ semantic?: boolean;

}): NullableResult<vscode.Diagnostic[]>;
doComplete?(document: TextDocument, position: vscode.Position, context?: vscode.CompletionContext): NullableResult<vscode.CompletionList>;
doCompleteResolve?(item: vscode.CompletionItem, newPosition?: vscode.Position): NotNullableResult<vscode.CompletionItem>;
doHover?(document: TextDocument, position: vscode.Position): NullableResult<vscode.Hover>;
findDefinition?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LocationLink[]>;
findTypeDefinition?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LocationLink[]>;
findImplementations?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LocationLink[]>;

@@ -47,11 +42,5 @@ findReferences?(document: TextDocument, position: vscode.Position): NullableResult<vscode.Location[]>;

findWorkspaceSymbols?(query: string): NullableResult<vscode.SymbolInformation[]>;
doCodeActions?(document: TextDocument, range: vscode.Range, context: vscode.CodeActionContext): NullableResult<vscode.CodeAction[]>;
doCodeActionResolve?(codeAction: vscode.CodeAction): NotNullableResult<vscode.CodeAction>;
doCodeLens?(document: TextDocument): NullableResult<vscode.CodeLens[]>;
doCodeLensResolve?(codeLens: vscode.CodeLens): NotNullableResult<vscode.CodeLens>;
doExecuteCommand?(command: string, args: any[], context: ExecuteCommandContext): NotNullableResult<void>;
findDocumentColors?(document: TextDocument): NullableResult<vscode.ColorInformation[]>;
getColorPresentations?(document: TextDocument, color: vscode.Color, range: vscode.Range): NullableResult<vscode.ColorPresentation[]>;
doRenamePrepare?(document: TextDocument, position: vscode.Position): NullableResult<vscode.Range | vscode.ResponseError<void>>;
doRename?(document: TextDocument, position: vscode.Position, newName: string): NullableResult<vscode.WorkspaceEdit>;
doFileRename?(oldUri: string, newUri: string): NullableResult<vscode.WorkspaceEdit>;

@@ -62,7 +51,32 @@ getFoldingRanges?(document: TextDocument): NullableResult<vscode.FoldingRange[]>;

format?(document: TextDocument, range: vscode.Range, options: vscode.FormattingOptions): NullableResult<vscode.TextEdit[]>;
definition?: {
on?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LocationLink[]>;
onType?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LocationLink[]>;
};
complete?: {
triggerCharacters?: string[];
isAdditional?: boolean;
on?(document: TextDocument, position: vscode.Position, context?: vscode.CompletionContext): NullableResult<vscode.CompletionList>;
resolve?(item: vscode.CompletionItem, newPosition?: vscode.Position): NotNullableResult<vscode.CompletionItem>;
};
rename?: {
prepare?(document: TextDocument, position: vscode.Position): NullableResult<vscode.Range | vscode.ResponseError<void>>;
on?(document: TextDocument, position: vscode.Position, newName: string): NullableResult<vscode.WorkspaceEdit>;
};
codeAction?: {
on?(document: TextDocument, range: vscode.Range, context: vscode.CodeActionContext): NullableResult<vscode.CodeAction[]>;
resolve?(codeAction: vscode.CodeAction): NotNullableResult<vscode.CodeAction>;
};
codeLens?: {
on?(document: TextDocument): NullableResult<vscode.CodeLens[]>;
resolve?(codeLens: vscode.CodeLens): NotNullableResult<vscode.CodeLens>;
};
callHierarchy?: {
doPrepare(document: TextDocument, position: vscode.Position): NullableResult<vscode.CallHierarchyItem[]>;
getIncomingCalls(item: vscode.CallHierarchyItem): NotNullableResult<vscode.CallHierarchyIncomingCall[]>;
getOutgoingCalls(item: vscode.CallHierarchyItem): NotNullableResult<vscode.CallHierarchyOutgoingCall[]>;
prepare(document: TextDocument, position: vscode.Position): NullableResult<vscode.CallHierarchyItem[]>;
onIncomingCalls(item: vscode.CallHierarchyItem): NotNullableResult<vscode.CallHierarchyIncomingCall[]>;
onOutgoingCalls(item: vscode.CallHierarchyItem): NotNullableResult<vscode.CallHierarchyOutgoingCall[]>;
};
inlayHints?: {
on?(document: TextDocument, range: vscode.Range): NullableResult<vscode.InlayHint[]>;
};
findLinkedEditingRanges?(document: TextDocument, position: vscode.Position): NullableResult<vscode.LinkedEditingRanges>;

@@ -69,0 +83,0 @@ doAutoInsert?(document: TextDocument, position: vscode.Position, context: {

{
"name": "@volar/vue-language-service-types",
"version": "0.34.7",
"version": "0.34.8",
"main": "out/index.js",

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

},
"gitHead": "308b7dc440031c2f7adf0d4564f8cfd7417523e5"
"gitHead": "5e0ee87d99bffc121f410f6b7f42fd863fe01f77"
}
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