ts-jest 26.5.3 → 26.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.ts-jest-digest +1 -1
- package/CHANGELOG.md +9 -0
- package/dist/compiler/language-service.js +1 -2
- package/package.json +1 -1
package/.ts-jest-digest
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
efcca87b12004d3912dbf12aca8fa516d965d1c0
|
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
## [26.5.4](https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4) (2021-03-17)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#2457](https://github.com/kulshekhar/ts-jest/issues/2457)) ([1dc731a](https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246)), closes [#2445](https://github.com/kulshekhar/ts-jest/issues/2445)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
1
10
|
## [26.5.3](https://github.com/kulshekhar/ts-jest/compare/v26.5.2...v26.5.3) (2021-03-03)
|
|
2
11
|
|
|
3
12
|
|
|
@@ -73,7 +73,6 @@ var fs_1 = require("fs");
|
|
|
73
73
|
var path_1 = require("path");
|
|
74
74
|
var memoize = require("lodash/memoize");
|
|
75
75
|
var mkdirp = require("mkdirp");
|
|
76
|
-
var config_set_1 = require("../config/config-set");
|
|
77
76
|
var constants_1 = require("../constants");
|
|
78
77
|
var messages_1 = require("../utils/messages");
|
|
79
78
|
var json_1 = require("../utils/json");
|
|
@@ -114,7 +113,7 @@ exports.initializeLanguageServiceInstance = function (configs, logger) {
|
|
|
114
113
|
catch (e) { }
|
|
115
114
|
}
|
|
116
115
|
configs.parsedTsConfig.fileNames
|
|
117
|
-
.filter(function (fileName) {
|
|
116
|
+
.filter(function (fileName) { return constants_1.TS_TSX_REGEX.test(path_1.extname(fileName)) && !configs.isTestFile(fileName); })
|
|
118
117
|
.forEach(function (fileName) {
|
|
119
118
|
memoryCache.files.set(fileName, {
|
|
120
119
|
version: 0,
|