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

lsif-protocol

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lsif-protocol - npm Package Compare versions

Comparing version 0.6.0-next.1 to 0.6.0-next.2

45

lib/protocol.d.ts

@@ -86,2 +86,3 @@ import * as lsp from 'vscode-languageserver-protocol';

source = "source",
capabilities = "capabilities",
project = "project",

@@ -529,2 +530,44 @@ range = "range",

/**
* The LSP capabilities a dump supports
*/
export interface Capabilities extends V {
label: VertexLabels.capabilities;
/**
* The dump has support for hover
*/
hoverProvider: boolean;
/**
* The dump has support for goto declaration.
*/
declarationProvider: boolean;
/**
* The dump has support for goto definition.
*/
definitionProvider: boolean;
/**
* The dump has support for goto type definition.
*/
typeDefinitionProvider: boolean;
/**
* The dump has support for find references.
*/
referencesProvider: boolean;
/**
* The dump has support for document symbols.
*/
documentSymbolProvider: boolean;
/**
* The dump has support for folding ranges.
*/
foldingRangeProvider: boolean;
/**
* The dump has support for diagnostics.
*/
diagnosticProvider: boolean;
}
export declare namespace Capabilities {
const descriptor: VertexDescriptor<Capabilities>;
function is(value: any): value is CatalogInfo;
}
/**
* A project vertex.

@@ -854,3 +897,3 @@ */

*/
export declare type Vertex = MetaData | Event | Source | CatalogInfo | Project | Document | Moniker | PackageInformation | ResultSet | Range | DocumentSymbolResult | FoldingRangeResult | DocumentLinkResult | DiagnosticResult | DefinitionResult | DeclarationResult | TypeDefinitionResult | HoverResult | ReferenceResult | ImplementationResult;
export declare type Vertex = MetaData | Event | Source | CatalogInfo | Capabilities | Project | Document | Moniker | PackageInformation | ResultSet | Range | DocumentSymbolResult | FoldingRangeResult | DocumentLinkResult | DiagnosticResult | DefinitionResult | DeclarationResult | TypeDefinitionResult | HoverResult | ReferenceResult | ImplementationResult;
export declare namespace Vertex {

@@ -857,0 +900,0 @@ function getDescriptor(vertexOrVertexLabel: Vertex | VertexLabels): VertexDescriptor<V>;

@@ -7,4 +7,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.Vertex = exports.HoverResult = exports.ImplementationResult = exports.ReferenceResult = exports.TypeDefinitionResult = exports.DefinitionResult = exports.DeclarationResult = exports.DocumentLinkResult = exports.FoldingRangeResult = exports.DiagnosticResult = exports.DocumentSymbolResult = exports.RangeBasedDocumentSymbol = exports.PackageInformation = exports.Moniker = exports.UniquenessLevel = exports.MonikerKind = exports.Document = exports.Project = exports.CatalogueInfo = exports.Source = exports.RepositoryIndexInfo = exports.RepositoryInfo = exports.MetaData = exports.ToolState = exports.ToolInfo = exports.Location = exports.ReferenceRange = exports.DeclarationRange = exports.DefinitionRange = exports.Range = exports.RangeTag = exports.UnknownTag = exports.ReferenceTag = exports.DefinitionTag = exports.DeclarationTag = exports.RangeTagTypes = exports.ResultSet = exports.MonikerAttachEvent = exports.DocumentEvent = exports.ProjectEvent = exports.Event = exports.EventScope = exports.EventKind = exports.V = exports.VertexDescriptor = exports.VertexLabels = exports.Element = exports.ElementTypes = exports.Id = exports.uinteger = void 0;
exports.Edge = exports.textDocument_implementation = exports.textDocument_references = exports.textDocument_hover = exports.textDocument_typeDefinition = exports.textDocument_definition = exports.textDocument_declaration = exports.textDocument_diagnostic = exports.textDocument_documentLink = exports.textDocument_foldingRange = exports.textDocument_documentSymbol = exports.packageInformation = exports.attach = exports.moniker = exports.item = exports.next = exports.contains = exports.ItemEdgeProperties = exports.E1N = exports.E11 = exports.EdgeDescriptor = exports.Cardinality = exports.EdgeLabels = void 0;
exports.HoverResult = exports.ImplementationResult = exports.ReferenceResult = exports.TypeDefinitionResult = exports.DefinitionResult = exports.DeclarationResult = exports.DocumentLinkResult = exports.FoldingRangeResult = exports.DiagnosticResult = exports.DocumentSymbolResult = exports.RangeBasedDocumentSymbol = exports.PackageInformation = exports.Moniker = exports.UniquenessLevel = exports.MonikerKind = exports.Document = exports.Project = exports.Capabilities = exports.CatalogueInfo = exports.Source = exports.RepositoryIndexInfo = exports.RepositoryInfo = exports.MetaData = exports.ToolState = exports.ToolInfo = exports.Location = exports.ReferenceRange = exports.DeclarationRange = exports.DefinitionRange = exports.Range = exports.RangeTag = exports.UnknownTag = exports.ReferenceTag = exports.DefinitionTag = exports.DeclarationTag = exports.RangeTagTypes = exports.ResultSet = exports.MonikerAttachEvent = exports.DocumentEvent = exports.ProjectEvent = exports.Event = exports.EventScope = exports.EventKind = exports.V = exports.VertexDescriptor = exports.VertexLabels = exports.Element = exports.ElementTypes = exports.Id = exports.uinteger = void 0;
exports.Edge = exports.textDocument_implementation = exports.textDocument_references = exports.textDocument_hover = exports.textDocument_typeDefinition = exports.textDocument_definition = exports.textDocument_declaration = exports.textDocument_diagnostic = exports.textDocument_documentLink = exports.textDocument_foldingRange = exports.textDocument_documentSymbol = exports.packageInformation = exports.attach = exports.moniker = exports.item = exports.next = exports.contains = exports.ItemEdgeProperties = exports.E1N = exports.E11 = exports.EdgeDescriptor = exports.Cardinality = exports.EdgeLabels = exports.Vertex = void 0;
const lsp = require("vscode-languageserver-protocol");

@@ -242,2 +242,3 @@ var Is;

VertexLabels["source"] = "source";
VertexLabels["capabilities"] = "capabilities";
VertexLabels["project"] = "project";

@@ -639,2 +640,20 @@ VertexLabels["range"] = "range";

})(CatalogueInfo = exports.CatalogueInfo || (exports.CatalogueInfo = {}));
var Capabilities;
(function (Capabilities) {
Capabilities.descriptor = new VertexDescriptor(Object.assign({}, V.descriptor.description, {
label: VertexLabels.property(VertexLabels.capabilities),
hoverProvider: new BooleanProperty(),
declarationProvider: new BooleanProperty(),
definitionProvider: new BooleanProperty(),
referencesProvider: new BooleanProperty(),
typeDefinitionProvider: new BooleanProperty(),
documentSymbolProvider: new BooleanProperty(),
foldingRangeProvider: new BooleanProperty(),
diagnosticProvider: new BooleanProperty()
}));
function is(value) {
return Capabilities.descriptor.validate(value);
}
Capabilities.is = is;
})(Capabilities = exports.Capabilities || (exports.Capabilities = {}));
var Project;

@@ -641,0 +660,0 @@ (function (Project) {

2

package.json
{
"name": "lsif-protocol",
"description": "Typescript implementation of the LSIF protocol",
"version": "0.6.0-next.1",
"version": "0.6.0-next.2",
"author": "Microsoft Corporation",

@@ -6,0 +6,0 @@ "license": "MIT",

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