Socket
Socket
Sign inDemoInstall

type-coverage-core

Package Overview
Dependencies
8
Maintainers
1
Versions
74
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.13.0 to 2.13.3

3

dist/checker.js

@@ -76,3 +76,4 @@ "use strict";

if (context.strict) {
if ((typescript_1.default.isAsExpression(node) || typescript_1.default.isTypeAssertion(node))) {
// include `foo as any` and `<any>foo`
if ((typescript_1.default.isAsExpression(node) || typescript_1.default.isTypeAssertion(node)) && node.type.kind !== typescript_1.default.SyntaxKind.AnyKeyword) {
// exclude `foo as const` and `<const>foo`

@@ -79,0 +80,0 @@ if (typescript_1.default.isTypeReferenceNode(node.type) && node.type.getText() === 'const') {

{
"name": "type-coverage-core",
"version": "2.13.0",
"version": "2.13.3",
"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