type-coverage-core
Advanced tools
Comparing version 2.25.0 to 2.25.1
@@ -147,2 +147,3 @@ "use strict"; | ||
function checkNode(node, context) { | ||
var _a; | ||
if (node === undefined) { | ||
@@ -164,3 +165,3 @@ return; | ||
} | ||
if (ts.isIdentifier(node)) { | ||
if (ts.isIdentifier(node) || ((_a = ts.isPrivateIdentifier) === null || _a === void 0 ? void 0 : _a.call(ts, node))) { | ||
if (context.catchVariables[node.escapedText]) { | ||
@@ -728,3 +729,2 @@ return; | ||
ts.SyntaxKind.CaretEqualsToken, | ||
ts.SyntaxKind.PrivateIdentifier, | ||
ts.SyntaxKind.BreakKeyword, | ||
@@ -731,0 +731,0 @@ ts.SyntaxKind.CaseKeyword, |
@@ -6,3 +6,3 @@ "use strict"; | ||
const path = require("path"); | ||
const minimatch = require("minimatch"); | ||
const minimatch_1 = require("minimatch"); | ||
const tsconfig_1 = require("./tsconfig"); | ||
@@ -41,3 +41,3 @@ const checker_1 = require("./checker"); | ||
} | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch(file, f))) { | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => (0, minimatch_1.default)(file, f))) { | ||
continue; | ||
@@ -217,3 +217,3 @@ } | ||
} | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch(file, f))) { | ||
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => (0, minimatch_1.default)(file, f))) { | ||
continue; | ||
@@ -220,0 +220,0 @@ } |
{ | ||
"name": "type-coverage-core", | ||
"version": "2.25.0", | ||
"version": "2.25.1", | ||
"description": "A library to check type coverage for typescript code", | ||
@@ -12,3 +12,3 @@ "main": "dist/index.js", | ||
"fast-glob": "3", | ||
"minimatch": "3 || 4 || 5 || 6 || 7", | ||
"minimatch": "3 || 4 || 5 || 6 || 7 || 8", | ||
"normalize-path": "3", | ||
@@ -15,0 +15,0 @@ "tslib": "1 || 2", |
58408
+ Addedminimatch@8.0.4(transitive)
+ Addedtypescript@5.5.2(transitive)
- Removedminimatch@7.4.6(transitive)
- Removedtypescript@5.5.3(transitive)