Socket
Socket
Sign inDemoInstall

type-coverage

Package Overview
Dependencies
Maintainers
1
Versions
131
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 2.21.2 to 2.22.0

8

dist/index.js

@@ -41,2 +41,3 @@ "use strict";

--no-detail-when-failed boolean? not show detail message when the CLI failed
--report-semantic-error boolean? report typescript semantic error
`);

@@ -55,3 +56,3 @@ }

}
const { atLeast, debug, detail, enableCache, ignoreCatch, ignoreFiles, ignoreUnread, is, project, strict, update, updateIfHigher, ignoreNested, ignoreAsAssertion, ignoreTypeAssertion, ignoreNonNullAssertion, ignoreObject, ignoreEmptyType, showRelativePath, historyFile, noDetailWhenFailed, } = await getTarget(argv);
const { atLeast, debug, detail, enableCache, ignoreCatch, ignoreFiles, ignoreUnread, is, project, strict, update, updateIfHigher, ignoreNested, ignoreAsAssertion, ignoreTypeAssertion, ignoreNonNullAssertion, ignoreObject, ignoreEmptyType, showRelativePath, historyFile, noDetailWhenFailed, reportSemanticError, } = await getTarget(argv);
const { correctCount, totalCount, anys } = await (0, type_coverage_core_1.lint)(project, {

@@ -65,3 +66,3 @@ debug,

ignoreNested,
ignoreAsAssertion: ignoreAsAssertion,
ignoreAsAssertion,
ignoreTypeAssertion,

@@ -71,2 +72,3 @@ ignoreNonNullAssertion,

ignoreEmptyType,
reportSemanticError,
});

@@ -145,2 +147,3 @@ const percent = Math.floor(10000 * correctCount / totalCount) / 100;

const noDetailWhenFailed = getArgOrCfgVal(['no-detail-when-failed', 'noDetailWhenFailed']);
const reportSemanticError = getArgOrCfgVal(['report-semantic-error', 'reportSemanticError']);
return {

@@ -168,2 +171,3 @@ atLeast,

noDetailWhenFailed,
reportSemanticError,
};

@@ -170,0 +174,0 @@ }

{
"name": "type-coverage",
"version": "2.21.2",
"version": "2.22.0",
"description": "A CLI tool to check type coverage for typescript code",

@@ -10,3 +10,3 @@ "repository": "https://github.com/plantain-00/type-coverage.git",

"minimist": "1",
"type-coverage-core": "^2.21.2"
"type-coverage-core": "^2.22.0"
},

@@ -13,0 +13,0 @@ "publishConfig": {

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