Socket
Socket
Sign inDemoInstall

type-coverage

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

type-coverage - npm Package Compare versions

Comparing version 1.0.11 to 1.0.12

9

dist/tsconfig.js

@@ -51,11 +51,12 @@ "use strict";

for (const file of include) {
const stats = await statAsync(file);
const currentPath = path.resolve(basename, file);
const stats = await statAsync(currentPath);
if (stats === undefined) {
rules.push(path.resolve(basename, file));
rules.push(currentPath);
}
else if (stats.isDirectory()) {
rules.push(`${file.endsWith('/') ? file.substring(0, file.length - 1) : file}/**/*.{ts,tsx}`);
rules.push(`${currentPath.endsWith('/') ? currentPath.substring(0, currentPath.length - 1) : currentPath}/**/*.{ts,tsx}`);
}
else if (stats.isFile()) {
rules.push(file);
rules.push(currentPath);
}

@@ -62,0 +63,0 @@ }

{
"name": "type-coverage",
"version": "1.0.11",
"version": "1.0.12",
"description": "A CLI tool to check type coverage for typescript code",

@@ -5,0 +5,0 @@ "main": "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