Socket
Socket
Sign inDemoInstall

type-coverage-core

Package Overview
Dependencies
Maintainers
1
Versions
75
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-coverage-core - npm Package Compare versions

Comparing version 2.15.0 to 2.15.1

dist/tsconfig.d.ts

10

dist/core.js

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc