type-coverage
Advanced tools
Comparing version 1.14.0 to 2.0.0
@@ -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); |
{ | ||
"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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2
0
2
4388
4
71
1
0
1
+ Addedtype-coverage-core@^2.0.0
+ Added@nodelib/fs.scandir@2.1.5(transitive)
+ Added@nodelib/fs.stat@2.0.5(transitive)
+ Added@nodelib/fs.walk@1.2.8(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedbraces@3.0.3(transitive)
+ Addedfast-glob@3.3.2(transitive)
+ Addedfastq@1.17.1(transitive)
+ Addedfill-range@7.1.1(transitive)
+ Addedglob-parent@5.1.2(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-glob@4.0.3(transitive)
+ Addedis-number@7.0.0(transitive)
+ Addedmerge2@1.4.1(transitive)
+ Addedmicromatch@4.0.8(transitive)
+ Addedminimatch@9.0.5(transitive)
+ Addednormalize-path@3.0.0(transitive)
+ Addedpicomatch@2.3.1(transitive)
+ Addedqueue-microtask@1.2.3(transitive)
+ Addedreusify@1.0.4(transitive)
+ Addedrun-parallel@1.2.0(transitive)
+ Addedto-regex-range@5.0.1(transitive)
+ Addedtslib@2.7.0(transitive)
+ Addedtype-coverage-core@2.29.1(transitive)
+ Addedtypescript@5.6.2(transitive)
- Removedglob@7.1.3
- Removedtslib@1
- Removedtsutils@3
- Removedtypescript@2 || 3
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedfs.realpath@1.0.0(transitive)
- Removedglob@7.1.3(transitive)
- Removedinflight@1.0.6(transitive)
- Removedinherits@2.0.4(transitive)
- Removedminimatch@3.1.2(transitive)
- Removedonce@1.4.0(transitive)
- Removedpath-is-absolute@1.0.1(transitive)
- Removedtypescript@3.9.10(transitive)
- Removedwrappy@1.0.2(transitive)