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

lsif-tsc

Package Overview
Dependencies
Maintainers
1
Versions
54
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lsif-tsc - npm Package Compare versions

Comparing version 0.6.0-next.9 to 0.6.0-next.10

1

lib/lsif.d.ts

@@ -183,2 +183,3 @@ import * as ts from 'typescript';

getSymbolId(symbol: ts.Symbol): SymbolId;
getSymbolAtLocation(node: ts.Node): ts.Symbol | undefined;
getTypeAtLocation(node: ts.Node): ts.Type;

@@ -185,0 +186,0 @@ getTypeOfSymbol(symbol: ts.Symbol, location?: ts.Node | (() => ts.Node | undefined)): ts.Type;

@@ -21,2 +21,3 @@ import * as ts from 'typescript';

function getParent(symbol: ts.Symbol): ts.Symbol | undefined;
function getTypeFromSymbolLink(symbol: ts.Symbol): ts.Type | undefined;
function is(value: ts.Symbol | ts.Type): value is ts.Symbol;

@@ -23,0 +24,0 @@ }

@@ -183,2 +183,11 @@ /* --------------------------------------------------------------------------------------------

Symbol.getParent = getParent;
function getTypeFromSymbolLink(symbol) {
// Symbol links are merged into transient symbols. See
// https://github.com/microsoft/TypeScript/blob/master/src/compiler/types.ts#L4871
if ((symbol.flags & ts.SymbolFlags.Transient) !== 0) {
return symbol.type;
}
return undefined;
}
Symbol.getTypeFromSymbolLink = getTypeFromSymbolLink;
function is(value) {

@@ -185,0 +194,0 @@ const sc = value;

2

package.json
{
"name": "lsif-tsc",
"description": "Tool to create an LSIF dump for TypeScript projects.",
"version": "0.6.0-next.9",
"version": "0.6.0-next.10",
"author": "Microsoft Corporation",

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

Sorry, the diff of this file is not supported yet

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

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