type-coverage-core
Advanced tools
Comparing version 2.15.0 to 2.15.1
@@ -6,4 +6,4 @@ "use strict"; | ||
const path = require("path"); | ||
const minimatch_1 = require("minimatch"); | ||
const ts_lib_utils_1 = require("ts-lib-utils"); | ||
const minimatch = require("minimatch"); | ||
const tsconfig_1 = require("./tsconfig"); | ||
const checker_1 = require("./checker"); | ||
@@ -18,3 +18,3 @@ const dependencies_1 = require("./dependencies"); | ||
const lintOptions = { ...defaultLintOptions, ...options }; | ||
const { rootNames, compilerOptions } = await ts_lib_utils_1.getProjectRootNamesAndCompilerOptions(project); | ||
const { rootNames, compilerOptions } = await tsconfig_1.getProjectRootNamesAndCompilerOptions(project); | ||
const program = ts.createProgram(rootNames, compilerOptions, undefined, lintOptions.oldProgram); | ||
@@ -39,3 +39,3 @@ const checker = program.getTypeChecker(); | ||
} | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch_1.default(file, f))) { | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch(file, f))) { | ||
continue; | ||
@@ -165,3 +165,3 @@ } | ||
} | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch_1.default(file, f))) { | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch(file, f))) { | ||
continue; | ||
@@ -168,0 +168,0 @@ } |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.15.0", | ||
"version": "2.15.1", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -11,4 +11,4 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"glob": "7", | ||
"minimatch": "3", | ||
"ts-lib-utils": "^2.15.0", | ||
"tslib": "1 || 2", | ||
@@ -15,0 +15,0 @@ "tsutils": "3" |
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
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
51656
18
1481
3
+ Addedglob@7
+ Addedfs.realpath@1.0.0(transitive)
+ Addedglob@7.2.3(transitive)
+ Addedinflight@1.0.6(transitive)
+ Addedinherits@2.0.4(transitive)
+ Addedonce@1.4.0(transitive)
+ Addedpath-is-absolute@1.0.1(transitive)
+ Addedwrappy@1.0.2(transitive)
- Removedts-lib-utils@^2.15.0
- Removedts-lib-utils@2.18.0(transitive)