ts-jest 26.5.5 → 26.5.6

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
- f76f642c9fd8b73dc7283c31e47a0605a2211608
1
+ 23a45c3c610603c5fb7b5956ee7a94657fb32b21
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## [26.5.6](https://github.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6) (2021-05-05)
2
+
3
+
4
+ ### Code Refactoring
5
+
6
+ * refactor(config): show warning message for `sourceMap: false` ([#2557](https://github.com/kulshekhar/ts-jest/pull/2557)) ([cf60990](https://github.com/kulshekhar/ts-jest/commit/cf609900e2c5937755123bd08ca2c5f2ff5e0651)).
7
+
8
+
9
+
1
10
  ## [26.5.5](https://github.com/kulshekhar/ts-jest/compare/v26.5.4...v26.5.5) (2021-04-15)
2
11
 
3
12
 
@@ -330,6 +330,11 @@ var ConfigSet = (function () {
330
330
  }
331
331
  config.compilerOptions = __assign(__assign({}, config.compilerOptions), compilerOptions);
332
332
  var result = ts.parseJsonConfigFileContent(config, ts.sys, basePath, undefined, configFileName);
333
+ if (result.options.sourceMap === false) {
334
+ this.logger.warn(messages_1.interpolate("Got `sourceMap: false` from tsconfig file \"{{path}}\". This will disable source map support in ts-jest 27. Please set `sourceMap: true` in your tsconfig file \"{{path}}\" if you want to keep source map support on", {
335
+ path: result.options.configFilePath,
336
+ }));
337
+ }
333
338
  var forcedOptions = this._overriddenCompilerOptions;
334
339
  var finalOptions = result.options;
335
340
  if (finalOptions.target === undefined) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "26.5.5",
3
+ "version": "26.5.6",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "bin": {