type-coverage-core
Advanced tools
Comparing version 2.17.2 to 2.17.3
@@ -8,2 +8,3 @@ "use strict"; | ||
const fg = require("fast-glob"); | ||
const normalize = require("normalize-path"); | ||
/** | ||
@@ -138,7 +139,7 @@ * @public | ||
// https://github.com/mrmlnc/fast-glob#how-to-exclude-directory-from-reading | ||
const ignore = []; | ||
let ignore = []; | ||
for (const e of exclude) { | ||
ignore.push(e, `**/${e}`); | ||
} | ||
const rules = []; | ||
let rules = []; | ||
for (const file of include) { | ||
@@ -154,2 +155,4 @@ const currentPath = path.resolve(dirname, file); | ||
} | ||
rules = rules.map((r) => normalize(r)); | ||
ignore = ignore.map((r) => normalize(r)); | ||
const includeFiles = await fg(rules, { | ||
@@ -156,0 +159,0 @@ ignore, |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.17.2", | ||
"version": "2.17.3", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -13,2 +13,3 @@ "main": "dist/index.js", | ||
"minimatch": "3", | ||
"normalize-path": "3", | ||
"tslib": "1 || 2", | ||
@@ -15,0 +16,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
54140
1540
6
+ Addednormalize-path@3
+ Addednormalize-path@3.0.0(transitive)