New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

tsd-lite

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tsd-lite - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

2

build/tsdLite.js

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

const compilerOptions = (0, utils_1.resolveCompilerOptions)(testFilePath);
const program = ts.createProgram([testFilePath], compilerOptions);
const program = ts.createProgram([testFilePath], compilerOptions || {});
const syntacticDiagnostics = program.getSyntacticDiagnostics();

@@ -21,0 +21,0 @@ if (syntacticDiagnostics.length !== 0) {

import * as ts from "@tsd/typescript";
export declare function resolveCompilerOptions(searchPath: string): ts.CompilerOptions;
export declare function resolveCompilerOptions(searchPath: string): ts.CompilerOptions | undefined;

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

if (configPath === undefined) {
return { compilerOptions: {}, configDiagnostics: [] };
return;
}

@@ -13,0 +13,0 @@ const sourceFile = ts.readJsonConfigFile(configPath, ts.sys.readFile);

@@ -5,2 +5,10 @@ # Changelog

## [0.4.1](https://github.com/mrazauskas/tsd-lite/compare/v0.4.0...v0.4.1) (2022-01-17)
### Bug Fixes
- resolve compiler options correctly if `tsconfig.json` is not found.
## [0.4.0](https://github.com/mrazauskas/tsd-lite/compare/v0.3.0...v0.4.0) (2022-01-17)
### ⚠ BREAKING CHANGES

@@ -7,0 +15,0 @@

{
"name": "tsd-lite",
"version": "0.4.0",
"version": "0.4.1",
"description": "Test your TypeScript types easily",

@@ -5,0 +5,0 @@ "license": "MIT",

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