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 1.14.0 to 2.0.0

10

dist/index.js

@@ -9,3 +9,3 @@ "use strict";

const packageJson = tslib_1.__importStar(require("../package.json"));
const core_1 = require("./core");
const type_coverage_core_1 = require("type-coverage-core");
let suppressError = false;

@@ -26,3 +26,9 @@ const existsAsync = util.promisify(fs.exists);

suppressError = argv.suppressError;
const { correctCount, totalCount, anys } = await core_1.lint(argv.p || argv.project || '.', true, argv.debug, undefined, undefined, argv.strict, argv.cache, argv['ignore-catch'], argv['ignore-files']);
const { correctCount, totalCount, anys } = await type_coverage_core_1.lint(argv.p || argv.project || '.', {
debug: argv.debug,
strict: argv.strict,
enableCache: argv.cache,
ignoreCatch: argv['ignore-catch'],
ignoreFiles: argv['ignore-files']
});
const percent = Math.round(10000 * correctCount / totalCount) / 100;

@@ -29,0 +35,0 @@ const atLeast = await getAtLeast(argv);

43

package.json
{
"name": "type-coverage",
"version": "1.14.0",
"version": "2.0.0",
"description": "A CLI tool to check type coverage for typescript code",
"main": "dist/core.js",
"types": "dist/core.d.ts",
"repository": "https://github.com/plantain-00/type-coverage.git",
"author": "york yao <yaoao12306@outlook.com>",
"license": "MIT",
"devDependencies": {
"@commitlint/cli": "7.5.2",
"@commitlint/config-conventional": "7.5.0",
"@types/glob": "7.1.1",
"@types/jasmine": "3.3.12",
"@types/minimist": "1.2.0",
"@types/node": "11.13.5",
"clean-release": "2.7.0",
"clean-scripts": "1.9.2",
"jasmine": "3.4.0",
"markdownlint-cli": "0.15.0",
"no-unused-export": "1.7.0",
"rimraf": "2.6.3",
"standard": "12.0.1",
"tslint": "5.16.0",
"tslint-config-standard": "8.0.1",
"tslint-sonarts": "1.9.0"
},
"dependencies": {
"glob": "7.1.3",
"minimist": "1.2.0",
"tslib": "1",
"tsutils": "3",
"typescript": "2 || 3"
"type-coverage-core": "^2.0.0"
},
"scripts": {
"build": "clean-scripts build",
"lint": "clean-scripts lint",
"test": "clean-scripts test",
"fix": "clean-scripts fix"
},
"typeCoverage": {
"atLeast": 99
},
"files": [
"dist",
"bin"
],
"bin": {
"type-coverage": "bin/type-coverage"
}
},
"gitHead": "8253cb2f7556e8e199fc307ee8e29530cf3b93cd"
}
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