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

type-coverage

Package Overview
Dependencies
Maintainers
1
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-coverage - npm Package Compare versions

Comparing version 1.3.1 to 1.3.2

19

dist/core.js

@@ -208,2 +208,4 @@ "use strict";

case typescript_1.default.SyntaxKind.UndefinedKeyword:
case typescript_1.default.SyntaxKind.UniqueKeyword:
case typescript_1.default.SyntaxKind.UnknownKeyword:
case typescript_1.default.SyntaxKind.FromKeyword:

@@ -334,2 +336,8 @@ case typescript_1.default.SyntaxKind.GlobalKeyword:

break;
case typescript_1.default.SyntaxKind.OptionalType:
break;
case typescript_1.default.SyntaxKind.RestType:
const restTypeNode = node;
handleNode(restTypeNode.type, file, sourceFile);
break;
case typescript_1.default.SyntaxKind.UnionType:

@@ -343,2 +351,13 @@ const unionTypeNode = node;

break;
case typescript_1.default.SyntaxKind.ConditionalType:
const conditionalTypeNode = node;
handleNode(conditionalTypeNode.checkType, file, sourceFile);
handleNode(conditionalTypeNode.extendsType, file, sourceFile);
handleNode(conditionalTypeNode.trueType, file, sourceFile);
handleNode(conditionalTypeNode.falseType, file, sourceFile);
break;
case typescript_1.default.SyntaxKind.InferType:
const inferTypeNode = node;
handleNode(inferTypeNode.typeParameter, file, sourceFile);
break;
case typescript_1.default.SyntaxKind.ParenthesizedType:

@@ -345,0 +364,0 @@ const parenthesizedTypeNode = node;

2

package.json
{
"name": "type-coverage",
"version": "1.3.1",
"version": "1.3.2",
"description": "A CLI tool to check type coverage for typescript code",

@@ -5,0 +5,0 @@ "main": "dist/core.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