ts-jest 28.0.0-next.3 → 28.0.0

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
- fbf09f35f81a3ca3c5993075f6e3bd4218b3feb0
1
+ 8fe34073b4722909e5054517258d5da2209f949e
package/CHANGELOG.md CHANGED
@@ -1,56 +1,18 @@
1
- # [28.0.0-next.3](https://github.com/kulshekhar/ts-jest/compare/v28.0.0-next.2...v28.0.0-next.3) (2022-04-29)
1
+ # [28.0.0](https://github.com/kulshekhar/ts-jest/compare/v28.0.0-next.3...v28.0.0) (2022-05-02)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * **compiler:** bring back compiled output with inline sourcemap ([#3483](https://github.com/kulshekhar/ts-jest/issues/3483)) ([e96d5b3](https://github.com/kulshekhar/ts-jest/commit/e96d5b3c94348774011ac76e91bf746a3429ade0)), closes [#3482](https://github.com/kulshekhar/ts-jest/issues/3482)
7
-
8
-
9
-
10
- # [28.0.0-next.2](https://github.com/kulshekhar/ts-jest/compare/v28.0.0-next.1...v28.0.0-next.2) (2022-04-27)
11
-
12
-
13
- ### Bug Fixes
14
-
15
- * revert deprecation message for `TsJestTransformer` ([#3466](https://github.com/kulshekhar/ts-jest/issues/3466)) ([cefa0da](https://github.com/kulshekhar/ts-jest/commit/cefa0da660c4f99cf6595e253981af6855bcc80c))
6
+ * **legacy** invoke Babel `processAsync` for `babel-jest` in ESM mode instead of `process` ([#3430](https://github.com/kulshekhar/ts-jest/issues/3430)) ([0d7356c](https://github.com/kulshekhar/ts-jest/commit/0d7356cd767a924e5b57e3a93679eef4ca8fae51))
16
7
 
17
8
 
18
9
  ### Features
19
10
 
20
11
  * **presets:** add presets for legacy mode ([#3465](https://github.com/kulshekhar/ts-jest/issues/3465)) ([543b4ad](https://github.com/kulshekhar/ts-jest/commit/543b4ad729d20fbd46a2de5cd4660dc50b94ebe7))
21
-
22
-
23
-
24
- # [28.0.0-next.1](https://github.com/kulshekhar/ts-jest/compare/v28.0.0-next.0...v28.0.0-next.1) (2022-04-26)
25
-
26
-
27
- ### Features
28
-
29
12
  * mark `ConfigSet` as legacy ([#3456](https://github.com/kulshekhar/ts-jest/issues/3456)) ([a986729](https://github.com/kulshekhar/ts-jest/commit/a98672977a679d1ed882605a3e71ed405432ffdc))
30
13
  * mark `TsCompiler` and `TsJestCompiler` as legacy ([#3457](https://github.com/kulshekhar/ts-jest/issues/3457)) ([0f2fe30](https://github.com/kulshekhar/ts-jest/commit/0f2fe306762d8549bd29737becd4aed14a650427))
31
14
  * remove `path-mapping` AST transformer ([#3455](https://github.com/kulshekhar/ts-jest/issues/3455)) ([f566869](https://github.com/kulshekhar/ts-jest/commit/f5668698f8fab78b3008d936aa5001f134f530e2))
32
15
  * set Jest peer dependencies to v28 ([#3454](https://github.com/kulshekhar/ts-jest/issues/3454)) ([1e880ff](https://github.com/kulshekhar/ts-jest/commit/1e880fffe82bca231d1d23f6508f4ab4bc31e03e))
33
-
34
-
35
- ### BREAKING CHANGES
36
-
37
- * `path-mapping` AST transformer is no longer shipped in `ts-jest` v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.
38
- * Any imports `ts-jest/dist/compiler/ts-compiler` should change to `ts-jest/dist/legacy/compiler/ts-compiler`
39
- * Any imports `ts-jest/dist/compiler/ts-jest-compiler` should change to `ts-jest/dist/legacy/compiler/ts-jest-compiler`
40
- * Any imports `ts-jest/dist/config/config-set` should change to `ts-jest/dist/legacy/config/config-set
41
-
42
-
43
-
44
- # [28.0.0-next.0](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v28.0.0-next.0) (2022-04-24)
45
-
46
-
47
- ### Bug Fixes
48
-
49
- * **legacy** invoke Babel `processAsync` for `babel-jest` in ESM mode instead of `process` ([#3430](https://github.com/kulshekhar/ts-jest/issues/3430)) ([0d7356c](https://github.com/kulshekhar/ts-jest/commit/0d7356cd767a924e5b57e3a93679eef4ca8fae51))
50
-
51
-
52
- ### Features
53
-
54
16
  * **core:** drop support for Node.js 10 ([#3332](https://github.com/kulshekhar/ts-jest/issues/3332)) ([7a9aa61](https://github.com/kulshekhar/ts-jest/commit/7a9aa615ea0be881105676a17d5bd655afdc27f5))
55
17
  * **core:** remove `mocked` testing util ([#3333](https://github.com/kulshekhar/ts-jest/issues/3333)) ([2d9017d](https://github.com/kulshekhar/ts-jest/commit/2d9017ddfea39f45aa991876b314d1dbe4a36aad))
56
18
  * **core:** remove `ts-jest/utils` sub path export ([#3334](https://github.com/kulshekhar/ts-jest/issues/3334)) ([9f253d3](https://github.com/kulshekhar/ts-jest/commit/9f253d31dfcefa35ae00049d0d2dc4a3fe1b2f34))
@@ -59,23 +21,15 @@
59
21
 
60
22
  ### BREAKING CHANGES
61
23
 
62
- * Minimum support TypeScript version is now **4.3** since Jest 28 requires it
63
- * Jest 28 is required
24
+ * `path-mapping` AST transformer is no longer shipped in `ts-jest` v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.
25
+ * Any imports `ts-jest/dist/compiler/ts-compiler` should change to `ts-jest/dist/legacy/compiler/ts-compiler`
26
+ * Any imports `ts-jest/dist/compiler/ts-jest-compiler` should change to `ts-jest/dist/legacy/compiler/ts-jest-compiler`
27
+ * Any imports `ts-jest/dist/config/config-set` should change to `ts-jest/dist/legacy/config/config-set`
28
+ * Minimum support `TypeScript` version is now **4.3** since Jest 28 requires it.
29
+ * **Jest 28** is required.
64
30
  * **core:** Any imports `ts-jest/utils` should be replaced with `ts-jest`.
65
31
  * **core:** Starting from Jest 27.4, `mocked` has been integrated into Jest repo.
66
- * **core:** Support for Node.js v10 has been removed as Jest drops support for it
67
- * All presets now will they are preserved for refactored codes. If you wish to use the old codes, please do the following
68
- *
69
- ```diff
70
- // jest.config.js
71
- module.exports = {
72
- // [...]
73
- - preset: 'ts-jest', // or 'js-with-babel'/'js-with-ts'
74
- + transform: {
75
- '^.+\\.tsx?$': 'ts-jest/legacy' // or '^.+\\.[tj]sx?$': 'ts-jest' to use legacy codes
76
- }
77
- }
78
- ```
32
+ * **core:** Support for Node.js v10 has been removed as Jest drops support for it.
79
33
 
80
34
 
81
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ts-jest",
3
- "version": "28.0.0-next.3",
3
+ "version": "28.0.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "bin": {
@@ -102,7 +102,7 @@
102
102
  "@types/lodash.memoize": "4.x",
103
103
  "@types/lodash.set": "4.x",
104
104
  "@types/micromatch": "4.x",
105
- "@types/node": "17.0.29",
105
+ "@types/node": "17.0.30",
106
106
  "@types/node-fetch": "^3.0.3",
107
107
  "@types/react": "18.x",
108
108
  "@types/rimraf": "^3.0.2",