chore(deps): update dependency ts-jest to v29 #671
+177
−41
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
24.3.0
->29.3.0
Release Notes
kulshekhar/ts-jest (ts-jest)
v29.3.0
Compare Source
Features
module
values forisolatedModules: true
(f372121)Bug Fixes
customConditions
toundefined
inTsCompiler
(b091d70), closes #4620Code Refactoring
RawCompilerOptions
interface (2b1b6cd)isolatedModules
(7dfef71)v29.2.6
Compare Source
v29.2.5
Compare Source
v29.2.4
Compare Source
v29.2.3
Compare Source
v29.2.2
Compare Source
v29.2.1
Compare Source
v29.2.0
Compare Source
Bug Fixes
Features
presets
totransform
config (22fb027)Code refactoring
TsJestTransformerOptions
type everywhere possibly (7d001be)react-app
to use Vite (827c8ad)v29.1.5
Compare Source
v29.1.4
Compare Source
v29.1.3
Compare Source
v29.1.2
Compare Source
v29.1.1
Compare Source
Security Fixes
semver
to7.5.3
v29.1.0
Compare Source
Features
29.0.5 (2023-01-13)
Reverts
tsJestConfig
is different (#3966)" (185eb18), closes #396629.0.4 (2023-01-10)
Bug Fixes
tsJestConfig
is different (#3966) (a445638)json5
to2.2.3
(#3976)(b9f7809)29.0.3 (2022-09-28)
Bug Fixes
globals
with transformer config correctly (#3842) (9c9fd60), closes #3841Features
useESM
option topathsToModuleNameMapper
options (#3792) (eabe906)29.0.2 (2022-09-23)
Bug Fixes
ts-jest
as optional inConfigGlobals
(#3816) (cbb88bb), closes #3815config:init
command (#3825) (21b94db)29.0.1 (2022-09-13)
Bug Fixes
Features
ts-jest
options viatransform
config (#3805) (664b0f2)v29.0.5
Compare Source
v29.0.4
Compare Source
v29.0.3
Compare Source
v29.0.2
Compare Source
v29.0.1
Compare Source
v29.0.0
Compare Source
Features
DEPRECATIONS
ts-jest
config underglobals
is now deprecated. Please define the config via transformer config instead.BREAKING CHANGES
v28.0.8
Compare Source
Bug Fixes
.mts
to be processed (#3713) (effae71), closes #3702v28.0.7
Compare Source
Bug Fixes
@jest/types
to be an optional peer dependency (#3690) (8a8c3fa), closes #3689v28.0.6
Compare Source
Bug Fixes
diagnostics: false
(#3647) (9a9bc02), closes #3638useCaseSensitiveFileNames
wherever needed (#3683) (c40bc34), closes #3665@jest/types
as peer dependency (#3633) (24567e1)v28.0.5
Compare Source
Bug Fixes
reject
(#3618) (7dd01ff), closes #3507v28.0.4
Compare Source
Bug Fixes
@types/jest
from peer deps (#3592) (b66b656)v28.0.3
Compare Source
Bug Fixes
json5
(#3528) (b31f5ba)v28.0.2
Compare Source
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), closes #3476v28.0.1
Compare Source
Bug Fixes
v28.0.0
Compare Source
Bug Fixes
processAsync
forbabel-jest
in ESM mode instead ofprocess
(#3430) (0d7356c)Features
ConfigSet
as legacy (#3456) (a986729)TsCompiler
andTsJestCompiler
as legacy (#3457) (0f2fe30)path-mapping
AST transformer (#3455) (f566869)mocked
testing util (#3333) (2d9017d)ts-jest/utils
sub path export (#3334) (9f253d3)TsJestTransformer
as legacy (#3451) (b090179)BREAKING CHANGES
path-mapping
AST transformer is no longer shipped ints-jest
v28. Please use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.ts-jest/dist/compiler/ts-compiler
should change tots-jest/dist/legacy/compiler/ts-compiler
ts-jest/dist/compiler/ts-jest-compiler
should change tots-jest/dist/legacy/compiler/ts-jest-compiler
ts-jest/dist/config/config-set
should change tots-jest/dist/legacy/config/config-set
TypeScript
version is now 4.3 since Jest 28 requires it.ts-jest/utils
should be replaced withts-jest
.mocked
has been integrated into Jest repo.27.1.5 (2022-05-17)
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), fixes #347627.1.4 (2022-03-24)
Bug Fixes
esbuild
from peer dependency (#3360) (8c8c1ca), closes #3346.cjs
extension (#3361) (5e5ac4a), closes #333527.1.3 (2022-01-14)
Bug Fixes
27.1.2 (2021-12-15)
Bug Fixes
esbuild
type to avoid importingesbuild
directly (#3147) (9ace0a9)27.1.1 (2021-12-07)
Bug Fixes
afterProcess
hook (#3132) (2b6b86e)esbuild
as optional peer dependency (#3129) (20258de)v27.1.5
Compare Source
Bug Fixes
Array.sort
in hoisting transformer (#3498) (e400a6e), fixes #3476v27.1.4
Compare Source
Bug Fixes
esbuild
from peer dependency (#3360) (8c8c1ca), closes #3346.cjs
extension (#3361) (5e5ac4a), closes #3335v27.1.3
Compare Source
Bug Fixes
v27.1.2
Compare Source
Bug Fixes
esbuild
type to avoid importingesbuild
directly (#3147) (9ace0a9)v27.1.1
Compare Source
Bug Fixes
afterProcess
hook (#3132) (2b6b86e)esbuild
as optional peer dependency (#3129) (20258de)v27.1.0
Compare Source
Features
processAsync
andgetCacheKeyAsync
(#3047) (571a880)ts-jest
public apis fromindex.js
(#3080) (53175dd), closes #3045Code Refactoring
mocked
util function (#3102) (55e69f1)compiler
option (#3087) (cc42daf)path-mapping
AST transformer (#3088) (d8f6b96)factory
API forhoisting
AST transformer (#3058) (a72f51d)DEPRECATIONS
path-mapping
AST transformer is deprecated and will be removed in v28.0.0. One should use an alternative one like https://github.com/LeDDGroup/typescript-transform-paths instead.mocked
function is deprecated and will be removed in v28.0.0. The function has been integrated intojest-mock
package as a part of Jest 27.4.0, see https://github.com/facebook/jest/pull/12089. One should use the one from Jest instead27.0.7 (2021-10-16)
Bug Fixes
lodash
import (#2978) (8b60679), closes #297727.0.6 (2021-10-14)
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #295427.0.5 (2021-08-14)
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)27.0.4 (2021-07-21)
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #271627.0.3 (2021-06-06)
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
27.0.2 (2021-05-30)
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #263427.0.1 (2021-05-26)
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.7
Compare Source
Bug Fixes
lodash
import (#2978) (8b60679), closes #2977v27.0.6
Compare Source
Bug Fixes
lodash
package instead of full packagelodash
(#2959) (dc89fe5), closes #2954v27.0.5
Compare Source
Bug Fixes
tsConfig
option forts-jest
config options (#2794) (781710b), closes #2764config:init
genarate invalid type comment (#2773) (ede8a20), closes #2772./
in tsconfigpaths
forpathsToModuleNameMapper
(#2797) (42ff5e4), closes #2709Code Refactoring
Buffer.from
andmkdird
(#2774) (4869660)v27.0.4
Compare Source
Bug Fixes
@types/jest
as optionalpeerDependencies
to solve yarn 2 (#2756) (5fbf43e)babel-jest
as optionalpeerDependencies
to solve yarn 2 (#2751) (8bede2e)name
andversion
into cache key (#2755) (310fb9a), closes #2753Features
npx ts-jest:init
(#2742) (f51ba05)TS_JEST
to allow detecting ofts-jest
(#2717) (56c137a), closes #2716v27.0.3
Compare Source
Bug Fixes
exports
field to support all node versions (#2658) (132c8ba)Features
v27.0.2
Compare Source
Bug Fixes
exclude
should only exclude files which match glob values (#2637) (c5ce979), closes #2634v27.0.1
Compare Source
Bug Fixes
testMatch
if old jest config contains it (#2618) (c568f49), closes #2616isolatedModules: false
use updated compiler options (#2628) (348e30f), closes #2629presets
(#2624) (0ea025e), closes #2623v27.0.0
Compare Source
Bug Fixes
.ts
/.tsx
/.d.ts
files only (#2458) (a89f0e2), closes #2445undefined
(#2433) (c6d6e4c), closes #2085@types/jest
from direct dep (#2409) (8913120), closes #2406 #2411outDir
from compiler source files (#2375) (ec68c74), closes #2350 #2374tsconfig
option (#2383) (584324a), closes #2368astTransformers
value changes (#2345) (d726016)node_modules
when addingts-jest
(#2263) (8e0675c)Features
TsCompiler
as public api (#2344) (871cd6a)presets
entry point (#2337) (1a3058f)Program
(#2299) (387964f)pathRegex
withexclude
(#2295) (f2f99c3)js
files based oncheckJs
(#2283) (1e04433)isolatedModules: false
(#2269) (9bb0c05), closes #1709isolatedModule: true
(#2219) (e101db0), closes #1709TsJestTransformer
to have version checking (#2176) (ca8d7c4)Performance Improvements
isolatedModules: false
(#2189) (68f446b)Code Refactoring
astTransformers
string array (#2129) (1e0b2ce)packageJson
option (#2128) (05916b9)tsConfig
option (#2127) (3cc9b80)BREAKING CHANGES
ts-jest
will usesourceMap
option from yourtsconfig
. If users want to have sourcemap on, they need to setsourceMap: true
intsconfig
.exports
field topackage.json
, see https://nodejs.org/api/packages.html#packages_package_entry_points (#2467) (d3aba3e)ts-jest
custom AST transformer function signature has changed topathRegex
should useexclude
withglob
patterns.js
files, please setcheckJs: true
in your tsconfig.isolatedModules: true
andisolatedModule: false
codes are in one single classTsCompiler
which is an instance created inTsJestCompiler
based on config optioncompiler
with valuetypescript
orttypescript
.packageJson
config option is not used in internalts-jest
so this option is now removed.jest.config.js
/package.json
should change toor
jest.config.js
should change to
mocked
,createJestPreset
,pathsToModuleNameMapper
from package entry. One should change totsConfig
should change totsconfig
in yourjest.config.js
orpackage.json
.26.5.6 (2021-05-05)
Code Refactoring
sourceMap: false
(#2557) (cf60990).v26.5.6
Compare Source
Code Refactoring
sourceMap: false
(#2557) (cf60990).v26.5.5
Compare Source
Bug Fixes
v26.5.4
Compare Source
Bug Fixes
.ts
/.tsx
/.d.ts
files only (#2457) (1dc731a), closes #2445v26.5.3
Compare Source
Bug Fixes
@types/jest
from direct dep (#2416) (060302e), closes #2406 #2411v26.5.2
Compare Source
Bug Fixes
outDir
from compiler source files (#2376) (9034677), closes #2350 #2374matchTestFilePath
beforesetupTsJestCfg
(#2373) (c427fea), closes #2371tsconfig
/tsConfig
option (#2377) (d4f6aff), closes [#Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.