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.21.0 to 2.21.1

4

dist/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
(0, tslib_1.__exportStar)(require("./core"), exports);
(0, tslib_1.__exportStar)(require("./interfaces"), exports);
tslib_1.__exportStar(require("./core"), exports);
tslib_1.__exportStar(require("./interfaces"), exports);

@@ -20,2 +20,12 @@ "use strict";

const rootNames = await getRootNames(config, dirname);
if (compilerOptions.baseUrl) {
if (compilerOptions.baseUrl === '.'
|| compilerOptions.baseUrl === '..'
|| compilerOptions.baseUrl.startsWith(`.${path.sep}`)
|| compilerOptions.baseUrl.startsWith(`..${path.sep}`)
|| compilerOptions.baseUrl.startsWith('./')
|| compilerOptions.baseUrl.startsWith('../')) {
compilerOptions.baseUrl = path.resolve(path.resolve(process.cwd(), dirname), compilerOptions.baseUrl);
}
}
return { rootNames, compilerOptions };

@@ -22,0 +32,0 @@ }

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

@@ -12,3 +12,3 @@ "main": "dist/index.js",

"fast-glob": "3",
"minimatch": "3",
"minimatch": "3 || 4 || 5",
"normalize-path": "3",

@@ -15,0 +15,0 @@ "tslib": "1 || 2",

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