Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

makit-recipe-tsc

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

makit-recipe-tsc - npm Package Compare versions

Comparing version 1.1.1 to 1.1.2

7

CHANGELOG.md

@@ -0,1 +1,8 @@

## [1.1.2](https://github.com/searchfe/makit-recipe-tsc/compare/v1.1.1...v1.1.2) (2021-03-05)
### Performance Improvements
* only emit target file ([9db13de](https://github.com/searchfe/makit-recipe-tsc/commit/9db13deef67a7ec34221f1cbee65af513311f6ee))
## [1.1.1](https://github.com/searchfe/makit-recipe-tsc/compare/v1.1.0...v1.1.1) (2021-02-25)

@@ -2,0 +9,0 @@

11

dist/core/compiler.js

@@ -54,8 +54,5 @@ "use strict";

this.fileNeedToRefreshMap[filePath] = true;
// throw error
const diagnostics = sourcefile.getPreEmitDiagnostics();
if (diagnostics.length > 0) {
throw new Error(project.formatDiagnosticsWithColorAndContext(diagnostics));
}
return project.emit();
return project.emit({
targetSourceFile: sourcefile
});
}

@@ -120,4 +117,2 @@ getDenpencies(content, filePath) {

});
// 先添加 baseDir 下的所有 d.ts,防止编译单文件时未加载全局变量/类型会报错
this.project.addSourceFilesAtPaths(this.baseDir + '/**/*.d.ts');
}

@@ -124,0 +119,0 @@ return this.project;

{
"name": "makit-recipe-tsc",
"version": "1.1.1",
"version": "1.1.2",
"discription": "makit-recipe-tsc",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is too big to display

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