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 CHANGED
@@ -1 +1 @@
1
- 0788d22a41e10783adc30ba2842a75509b3e3a1c
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) { var _a; return !configs.isTestFile(fileName) && !fileName.includes((_a = configs.parsedTsConfig.options.outDir) !== null && _a !== void 0 ? _a : config_set_1.TS_JEST_OUT_DIR); })
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,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "26.5.3",
3
+ "version": "26.5.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "bin": {