ts-jest 29.2.1 → 29.2.2

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
- c4213aa1dd0f0a90f21d975c76687678d1de0842
1
+ f3df8dbe41fa9b05f310848253b7f1d8606c147a
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ### [29.2.2](https://github.com/kulshekhar/ts-jest/compare/v29.2.1...v29.2.2) (2024-07-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix(compiler): update memory cache after changing `module` value ([94db43f](https://github.com/kulshekhar/ts-jest/commit/94db43f)), closes [#4439](https://github.com/kulshekhar/ts-jest/issues/4439)
7
+
8
+
9
+
1
10
  ### [29.2.1](https://github.com/kulshekhar/ts-jest/compare/v29.2.0...v29.2.1) (2024-07-10)
2
11
 
3
12
 
@@ -133,10 +133,10 @@ var TsCompiler = /** @class */ (function () {
133
133
  };
134
134
  TsCompiler.prototype.getCompiledOutput = function (fileContent, fileName, options) {
135
135
  var e_1, _a;
136
- var moduleKind = this._initialCompilerOptions.module;
137
- var currentModuleKind = this._compilerOptions.module;
138
136
  var isEsmMode = this.configSet.useESM && options.supportsStaticESM;
139
137
  this._compilerOptions = this.fixupCompilerOptionsForModuleKind(this._initialCompilerOptions, isEsmMode);
138
+ var moduleKind = this._initialCompilerOptions.module;
139
+ var currentModuleKind = this._compilerOptions.module;
140
140
  if (this._languageService) {
141
141
  this._logger.debug({ fileName: fileName }, 'getCompiledOutput(): compiling using language service');
142
142
  // Must set memory cache before attempting to compile
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "29.2.1",
3
+ "version": "29.2.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "bin": {