Socket
Socket
Sign inDemoInstall

type-coverage-core

Package Overview
Dependencies
14
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.16.0 to 2.16.1

14

dist/core.js

@@ -43,2 +43,16 @@ "use strict";

const cache = typeCheckResult.cache[file];
if (cache) {
if (lintOptions.ignoreNested) {
cache.anys = cache.anys.filter((c) => c.kind !== 2 /* containsAny */);
}
if (lintOptions.ignoreAsAssertion) {
cache.anys = cache.anys.filter((c) => c.kind !== 3 /* unsafeAs */);
}
if (lintOptions.ignoreTypeAssertion) {
cache.anys = cache.anys.filter((c) => c.kind !== 4 /* unsafeTypeAssertion */);
}
if (lintOptions.ignoreNonNullAssertion) {
cache.anys = cache.anys.filter((c) => c.kind !== 5 /* unsafeNonNull */);
}
}
sourceFileInfos.push({

@@ -45,0 +59,0 @@ file,

2

package.json
{
"name": "type-coverage-core",
"version": "2.16.0",
"version": "2.16.1",
"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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc