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.22.0 to 2.23.0

7

dist/core.js

@@ -30,3 +30,3 @@ "use strict";

let file = sourceFile.fileName;
if (!file.includes('node_modules') && (!lintOptions.files || lintOptions.files.includes(file))) {
if (!file.includes('node_modules')) {
if (!lintOptions.absolutePath) {

@@ -38,2 +38,5 @@ file = path.relative(process.cwd(), file);

}
if (lintOptions.files && !lintOptions.files.includes(file)) {
continue;
}
if (ignoreFileGlobs && ignoreFileGlobs.some((f) => minimatch(file, f))) {

@@ -115,3 +118,2 @@ continue;

ignoreEmptyType: lintOptions.ignoreEmptyType,
reportSemanticError: lintOptions.reportSemanticError,
};

@@ -254,3 +256,2 @@ sourceFile.forEachChild(node => {

ignoreEmptyType: lintOptions.ignoreEmptyType,
reportSemanticError: lintOptions.reportSemanticError,
};

@@ -257,0 +258,0 @@ sourceFile.forEachChild(node => {

@@ -41,2 +41,3 @@ import * as ts from 'typescript';

absolutePath?: boolean;
reportSemanticError: boolean;
}

@@ -73,3 +74,2 @@ interface CommonOptions {

ignoreEmptyType: boolean;
reportSemanticError: boolean;
}

@@ -76,0 +76,0 @@ export interface FileContext extends CommonOptions {

{
"name": "type-coverage-core",
"version": "2.22.0",
"version": "2.23.0",
"description": "A library to check type coverage for typescript code",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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