type-coverage-core
Advanced tools
Comparing version 2.21.0 to 2.21.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const tslib_1 = require("tslib"); | ||
(0, tslib_1.__exportStar)(require("./core"), exports); | ||
(0, tslib_1.__exportStar)(require("./interfaces"), exports); | ||
tslib_1.__exportStar(require("./core"), exports); | ||
tslib_1.__exportStar(require("./interfaces"), exports); |
@@ -20,2 +20,12 @@ "use strict"; | ||
const rootNames = await getRootNames(config, dirname); | ||
if (compilerOptions.baseUrl) { | ||
if (compilerOptions.baseUrl === '.' | ||
|| compilerOptions.baseUrl === '..' | ||
|| compilerOptions.baseUrl.startsWith(`.${path.sep}`) | ||
|| compilerOptions.baseUrl.startsWith(`..${path.sep}`) | ||
|| compilerOptions.baseUrl.startsWith('./') | ||
|| compilerOptions.baseUrl.startsWith('../')) { | ||
compilerOptions.baseUrl = path.resolve(path.resolve(process.cwd(), dirname), compilerOptions.baseUrl); | ||
} | ||
} | ||
return { rootNames, compilerOptions }; | ||
@@ -22,0 +32,0 @@ } |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.21.0", | ||
"version": "2.21.1", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"fast-glob": "3", | ||
"minimatch": "3", | ||
"minimatch": "3 || 4 || 5", | ||
"normalize-path": "3", | ||
@@ -15,0 +15,0 @@ "tslib": "1 || 2", |
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
56641
1598
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedminimatch@5.1.6(transitive)
- Removedbrace-expansion@1.1.11(transitive)
- Removedconcat-map@0.0.1(transitive)
- Removedminimatch@3.1.2(transitive)
Updatedminimatch@3 || 4 || 5