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.2.1 to 0.2.2

tsconfig.publish.json

36

lib/protocol.d.ts

@@ -422,9 +422,2 @@ import * as lsp from 'vscode-languageserver-protocol';

}
/**
* The LSP defines the result of a `textDocument/definition` request as
* `Location | Location[]. In the SIP we allow to use range ids as well.
*/
export declare type DeclarationResultTypeSingle = RangeId | lsp.Location;
export declare type DeclarationResultTypeMany = (RangeId | lsp.Location)[];
export declare type DeclarationResultType = DeclarationResultTypeSingle | DeclarationResultTypeMany;
export interface DeclarationResult extends V {

@@ -438,12 +431,5 @@ /**

*/
result: DeclarationResultType;
result?: (RangeId | lsp.Location)[];
}
/**
* The LSP defines the result of a `textDocument/definition` request as
* `Location | Location[]. In the SIP we allow to use range ids as well.
*/
export declare type DefinitionResultTypeSingle = RangeId | lsp.Location;
export declare type DefinitionResultTypeMany = (RangeId | lsp.Location)[];
export declare type DefinitionResultType = DefinitionResultTypeSingle | DefinitionResultTypeMany;
/**
* A vertex representing a definition result.

@@ -459,12 +445,5 @@ */

*/
result: DefinitionResultType;
result?: (RangeId | lsp.Location)[];
}
/**
* The LSP defines the result of a `textDocument/typeDefinition` request as
* `Location | Location[]. In the SIP we allow to use range ids as well.
*/
export declare type TypeDefinitionResultTypeSingle = RangeId | lsp.Location;
export declare type TypeDefinitionResultTypeMany = (RangeId | lsp.Location)[];
export declare type TypeDefinitionResultType = TypeDefinitionResultTypeSingle | TypeDefinitionResultTypeMany;
/**
* A vertex representing a type definition result.

@@ -480,3 +459,3 @@ */

*/
result: TypeDefinitionResultType;
result?: (RangeId | lsp.Location)[];
}

@@ -599,6 +578,7 @@ /**

export declare enum ItemEdgeProperties {
declaration = "declaration",
definition = "definition",
reference = "reference",
referenceResults = "referenceResults"
declarations = "declarations",
definitions = "definitions",
references = "references",
referenceResults = "referenceResults",
implementationResults = "implementationResults"
}

@@ -605,0 +585,0 @@ export interface ItemEdge<S extends V, T extends V> extends E<S, T, EdgeLabels.item> {

@@ -88,7 +88,8 @@ "use strict";

(function (ItemEdgeProperties) {
ItemEdgeProperties["declaration"] = "declaration";
ItemEdgeProperties["definition"] = "definition";
ItemEdgeProperties["reference"] = "reference";
ItemEdgeProperties["declarations"] = "declarations";
ItemEdgeProperties["definitions"] = "definitions";
ItemEdgeProperties["references"] = "references";
ItemEdgeProperties["referenceResults"] = "referenceResults";
ItemEdgeProperties["implementationResults"] = "implementationResults";
})(ItemEdgeProperties = exports.ItemEdgeProperties || (exports.ItemEdgeProperties = {}));
//# sourceMappingURL=protocol.js.map
{
"name": "lsif-protocol",
"version": "0.2.1",
"description": "Typescript implementation of the LSIF protocol",
"version": "0.2.2",
"author": "Microsoft Corporation",

@@ -23,9 +23,9 @@ "license": "MIT",

"scripts": {
"compile": "node ../build/bin/tsc -p ./tsconfig.json",
"compile:prod": "node ../build/bin/tsc -p ./tsconfig.prod.json",
"watch": "node ../build/bin/tsc -w -p ./tsconfig.json",
"compile": "node ../build/bin/tsc -b ./tsconfig.json",
"compile:publish": "node ../build/bin/tsc -p ./tsconfig.publish.json",
"watch": "node ../build/bin/tsc -b ./tsconfig.json -w",
"clean": "node ../node_modules/rimraf/bin.js lib",
"prepublishOnly": "npm run clean && npm run compile:prod",
"prepublishOnly": "npm run clean && npm run compile:publish",
"postpublish": "node ../build/bin/post-publish.js"
}
}
}
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