Socket
Socket
Sign inDemoInstall

type-coverage-core

Package Overview
Dependencies
25
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.25.0 to 2.25.1

4

dist/checker.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc