-
Notifications
You must be signed in to change notification settings - Fork 455
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
jest + ts-jest: after 26.6.0/26.4.1, combination throws error "Cannot read property 'cwd' of undefined #2085
jest + ts-jest: after 26.6.0/26.4.1, combination throws error "Cannot read property 'cwd' of undefined #2085
Comments
Does clear cache help ? Can you please use 26.4.3 ? |
|
hmm I haven't seen this error before. Would you please provide a repo to reproduce this issue ? |
@ahnpnl I know it's super-annoying, but I can't provide our repo to do so -- it's private. I'll see if I can conjure up a repo to repro -- if I can, I'll post here. I tried to debug, and found that the transform config was being sent through |
https://github.com/ahnpnl/ts-jest-only-example you can try to reproduce with this |
From the stack trace, for some reasons |
yeah, that's what I saw, tracing back a bit from the error text; I'm not sure if there's something specific to our environment which is helping to cause the problem. thanks for the starter, but I was thinking about trying to cut out most of our project to get a reproduction, since I don't know what the cause is. In the mean-time, you could diff 26.4.2 against 26.4.1 -- with the same version of jest (26.6.1), the latter works, where the former doesn't. Something has changed between 26.4.1 and 26.4.2 which introduces the issue, as far as I can tell. |
I tried with both Mac and Windows from my side but still no luck to reproduce the issue. @fluffynuts would you please also include full stack trace ? |
I don't have any more of a trace than in the initial report. I haven't had the time yet to produce a proper repro repo either, sorry -- been helping people on my team. Trying to get time to do stuff is a mission )': But I have put it in my list of π© to get done |
Hi, is your issue resolved with 26.5.2 ? |
still happens with ts-jest@26.5.2 and jest@26.6.0 and jest@26.6.3 we've already had to pin ts-jest at 26.4.1 and I have also pinned jest at 26.6.0 although testing now, I see I can upgrade jest to latest (26.6.3) |
Would you please provide the stacktrace with 26.5.2 and ts-jest log as well ? :) |
sure, stack:
debug log:
|
One thing looks strange to me is the logging keeps saying no config found which constantly triggered the line "no matching config-set found, creating a new one". Have you got any chances to create a reproduce repo ? |
I'll see if I can get some time - will most likely have to strip out from our existing repo. I'm quite sure it was created with vue-cli tools tho, if you want to give that a go in the mean-time. |
Ok I can use Vue-cli as a start. Would you please give me some sample test codes which I can use ? |
as far as i can tell, any test will cause the problem - even something as silly as: it("should pass", () => {
expect(1).toEqual(1);
}); since it doesn't seem to get to running any of the tests. however, if i get some time, I'll see if I can torch most of our repo (sorry, it's not open-source, so I don't have the rights to just hand it over) and produce a minimal repo |
I'm not sure if you've had any luck with this, but I've created a minimal repo using our tooling scripts & environment, just want to get someone at work to double-check that I'm not leaking out any code that I shouldn't and perhaps I'll have a repro repo available (: |
still no luck, I just generated a Vue 2 project by using |
ok, well, my repro repo is in review; hopefully I can get you something useful soon. I have exactly one test in there, and an empty App.vue, so it's about as simple as I can get it (app-wise) though our build infra is a little less-ordinary (: |
@ahnpnl repro repo is at: https://github.com/codeo-za/ts-jest-2085-repro hope this helps |
I got error with npm
with yarn also error
|
ah yes, we use font-awesome pro version, which you won't need; let me clear it out of the package.json |
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">26.5.4</a> (2021-03-17)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246">1dc731a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2445">#2445</a></li> </ul> <h1><a href="https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.7...v27.0.0-next.8">27.0.0-next.8</a> (2021-03-11)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> resolve nested imported modules for each processing file (<a href="https://github.com/kulshekhar/ts-jest/issues/2436">#2436</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092">3cb9019</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/1390">#1390</a> <a href="https://github.com/kulshekhar/ts-jest/issues/1747">#1747</a></li> <li><strong>config:</strong> create fallback jest config when jest config is <code>undefined</code> (<a href="https://github.com/kulshekhar/ts-jest/issues/2433">#2433</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4">c6d6e4c</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2085">#2085</a></li> <li>remove <code>@types/jest</code> from direct dep (<a href="https://github.com/kulshekhar/ts-jest/issues/2409">#2409</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334">8913120</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2406">#2406</a> <a href="https://github.com/kulshekhar/ts-jest/issues/2411">#2411</a></li> <li><strong>compiler:</strong> return original file content and show warning on emit skip (<a href="https://github.com/kulshekhar/ts-jest/issues/2410">#2410</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0">c2b2164</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2407">#2407</a></li> <li><strong>compiler:</strong> type check correctly in watch mode when a file content itself has changed (<a href="https://github.com/kulshekhar/ts-jest/issues/2405">#2405</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd">064bf3a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2118">#2118</a></li> </ul> <h3>Features</h3> <ul> <li>adopt jest <strong>27.0.0-next.4</strong> (<a href="https://github.com/kulshekhar/ts-jest/issues/2435">#2435</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1d411f285e4f7eff7982c3917b6b91b5af617e8a">1d411f2</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kulshekhar/ts-jest/commit/f3522d898cf8d7e67ce73f4dd743e860a14173d6"><code>f3522d8</code></a> chore(release): 26.5.4</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246"><code>1dc731a</code></a> fix(compiler): initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>)</li> <li>See full diff in <a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=26.5.3&new-version=26.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually </details>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">26.5.4</a> (2021-03-17)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246">1dc731a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2445">#2445</a></li> </ul> <h1><a href="https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.7...v27.0.0-next.8">27.0.0-next.8</a> (2021-03-11)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> resolve nested imported modules for each processing file (<a href="https://github.com/kulshekhar/ts-jest/issues/2436">#2436</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092">3cb9019</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/1390">#1390</a> <a href="https://github.com/kulshekhar/ts-jest/issues/1747">#1747</a></li> <li><strong>config:</strong> create fallback jest config when jest config is <code>undefined</code> (<a href="https://github.com/kulshekhar/ts-jest/issues/2433">#2433</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4">c6d6e4c</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2085">#2085</a></li> <li>remove <code>@types/jest</code> from direct dep (<a href="https://github.com/kulshekhar/ts-jest/issues/2409">#2409</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334">8913120</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2406">#2406</a> <a href="https://github.com/kulshekhar/ts-jest/issues/2411">#2411</a></li> <li><strong>compiler:</strong> return original file content and show warning on emit skip (<a href="https://github.com/kulshekhar/ts-jest/issues/2410">#2410</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0">c2b2164</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2407">#2407</a></li> <li><strong>compiler:</strong> type check correctly in watch mode when a file content itself has changed (<a href="https://github.com/kulshekhar/ts-jest/issues/2405">#2405</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd">064bf3a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2118">#2118</a></li> </ul> <h3>Features</h3> <ul> <li>adopt jest <strong>27.0.0-next.4</strong> (<a href="https://github.com/kulshekhar/ts-jest/issues/2435">#2435</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1d411f285e4f7eff7982c3917b6b91b5af617e8a">1d411f2</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kulshekhar/ts-jest/commit/f3522d898cf8d7e67ce73f4dd743e860a14173d6"><code>f3522d8</code></a> chore(release): 26.5.4</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246"><code>1dc731a</code></a> fix(compiler): initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>)</li> <li>See full diff in <a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=26.5.3&new-version=26.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually </details>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">26.5.4</a> (2021-03-17)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246">1dc731a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2445">#2445</a></li> </ul> <h1><a href="https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.7...v27.0.0-next.8">27.0.0-next.8</a> (2021-03-11)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> resolve nested imported modules for each processing file (<a href="https://github.com/kulshekhar/ts-jest/issues/2436">#2436</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092">3cb9019</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/1390">#1390</a> <a href="https://github.com/kulshekhar/ts-jest/issues/1747">#1747</a></li> <li><strong>config:</strong> create fallback jest config when jest config is <code>undefined</code> (<a href="https://github.com/kulshekhar/ts-jest/issues/2433">#2433</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4">c6d6e4c</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2085">#2085</a></li> <li>remove <code>@types/jest</code> from direct dep (<a href="https://github.com/kulshekhar/ts-jest/issues/2409">#2409</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334">8913120</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2406">#2406</a> <a href="https://github.com/kulshekhar/ts-jest/issues/2411">#2411</a></li> <li><strong>compiler:</strong> return original file content and show warning on emit skip (<a href="https://github.com/kulshekhar/ts-jest/issues/2410">#2410</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0">c2b2164</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2407">#2407</a></li> <li><strong>compiler:</strong> type check correctly in watch mode when a file content itself has changed (<a href="https://github.com/kulshekhar/ts-jest/issues/2405">#2405</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd">064bf3a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2118">#2118</a></li> </ul> <h3>Features</h3> <ul> <li>adopt jest <strong>27.0.0-next.4</strong> (<a href="https://github.com/kulshekhar/ts-jest/issues/2435">#2435</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1d411f285e4f7eff7982c3917b6b91b5af617e8a">1d411f2</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kulshekhar/ts-jest/commit/f3522d898cf8d7e67ce73f4dd743e860a14173d6"><code>f3522d8</code></a> chore(release): 26.5.4</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246"><code>1dc731a</code></a> fix(compiler): initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>)</li> <li>See full diff in <a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=26.5.3&new-version=26.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually </details>
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.5.3 to 26.5.4. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md">ts-jest's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">26.5.4</a> (2021-03-17)</h2> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246">1dc731a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2445">#2445</a></li> </ul> <h1><a href="https://github.com/kulshekhar/ts-jest/compare/v27.0.0-next.7...v27.0.0-next.8">27.0.0-next.8</a> (2021-03-11)</h1> <h3>Bug Fixes</h3> <ul> <li><strong>compiler:</strong> resolve nested imported modules for each processing file (<a href="https://github.com/kulshekhar/ts-jest/issues/2436">#2436</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092">3cb9019</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/1390">#1390</a> <a href="https://github.com/kulshekhar/ts-jest/issues/1747">#1747</a></li> <li><strong>config:</strong> create fallback jest config when jest config is <code>undefined</code> (<a href="https://github.com/kulshekhar/ts-jest/issues/2433">#2433</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4">c6d6e4c</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2085">#2085</a></li> <li>remove <code>@types/jest</code> from direct dep (<a href="https://github.com/kulshekhar/ts-jest/issues/2409">#2409</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334">8913120</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2406">#2406</a> <a href="https://github.com/kulshekhar/ts-jest/issues/2411">#2411</a></li> <li><strong>compiler:</strong> return original file content and show warning on emit skip (<a href="https://github.com/kulshekhar/ts-jest/issues/2410">#2410</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0">c2b2164</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2407">#2407</a></li> <li><strong>compiler:</strong> type check correctly in watch mode when a file content itself has changed (<a href="https://github.com/kulshekhar/ts-jest/issues/2405">#2405</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd">064bf3a</a>), closes <a href="https://github.com/kulshekhar/ts-jest/issues/2118">#2118</a></li> </ul> <h3>Features</h3> <ul> <li>adopt jest <strong>27.0.0-next.4</strong> (<a href="https://github.com/kulshekhar/ts-jest/issues/2435">#2435</a>) (<a href="https://github.com/kulshekhar/ts-jest/commit/1d411f285e4f7eff7982c3917b6b91b5af617e8a">1d411f2</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/kulshekhar/ts-jest/commit/f3522d898cf8d7e67ce73f4dd743e860a14173d6"><code>f3522d8</code></a> chore(release): 26.5.4</li> <li><a href="https://github.com/kulshekhar/ts-jest/commit/1dc731a5faf7cda59db1cc642eb99fae973b1246"><code>1dc731a</code></a> fix(compiler): initialize compiler with <code>.ts</code>/<code>.tsx</code>/<code>.d.ts</code> files only (<a href="https://github.com/kulshekhar/ts-jest/issues/2457">#2457</a>)</li> <li>See full diff in <a href="https://github.com/kulshekhar/ts-jest/compare/v26.5.3...v26.5.4">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=ts-jest&package-manager=npm_and_yarn&previous-version=26.5.3&new-version=26.5.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [ts-jest](https://kulshekhar.github.io/ts-jest) ([source](https://github.com/kulshekhar/ts-jest)) | devDependencies | major | [`^26.5.6` -> `^29.0.0`](https://renovatebot.com/diffs/npm/ts-jest/26.5.6/29.1.0) | --- ### Release Notes <details> <summary>kulshekhar/ts-jest</summary> ### [`v29.1.0`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2910-httpsgithubcomkulshekharts-jestcomparev2905v2910-2023-03-26) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.5...v29.1.0) ##### Features - Support TypeScript 5.x ([#​4064](https://github.com/kulshekhar/ts-jest/issues/4064)) ([db98cc9](https://github.com/kulshekhar/ts-jest/commit/87f27821db99be411288b50a4f9baa7bedb98cc9)), closes [#​4048](https://github.com/kulshekhar/ts-jest/issues/4048) #### [29.0.5](https://github.com/kulshekhar/ts-jest/compare/v29.0.4...v29.0.5) (2023-01-13) ##### Reverts - Revert "fix(transformer): don't use cache when `tsJestConfig` is different ([#​3966](https://github.com/kulshekhar/ts-jest/issues/3966))" ([185eb18](https://github.com/kulshekhar/ts-jest/commit/185eb189d7076c717a107066817d2d6959a8fe39)), closes [#​3966](https://github.com/kulshekhar/ts-jest/issues/3966) #### [29.0.4](https://github.com/kulshekhar/ts-jest/compare/v29.0.3...v29.0.4) (2023-01-10) ##### Bug Fixes - **transformer:** don't use cache when `tsJestConfig` is different ([#​3966](https://github.com/kulshekhar/ts-jest/issues/3966)) ([a445638](https://github.com/kulshekhar/ts-jest/commit/a445638ca631911e8ab1a896ffdfcd21506ce71a)) - bump `json5` to `2.2.3` ([#​3976](https://github.com/kulshekhar/ts-jest/pull/3976))([b9f7809](https://github.com/kulshekhar/ts-jest/commit/b9f7809948309f92534aeba63f3ffb01cb7dc536)) #### [29.0.3](https://github.com/kulshekhar/ts-jest/compare/v29.0.2...v29.0.3) (2022-09-28) ##### Bug Fixes - merge config from `globals` with transformer config correctly ([#​3842](https://github.com/kulshekhar/ts-jest/issues/3842)) ([9c9fd60](https://github.com/kulshekhar/ts-jest/commit/9c9fd6097aea36a6e8b06b0e8841df22896f9121)), closes [#​3841](https://github.com/kulshekhar/ts-jest/issues/3841) - **presets:** allow merging transform config when using presets ([#​3833](https://github.com/kulshekhar/ts-jest/issues/3833)) ([afc6a94](https://github.com/kulshekhar/ts-jest/commit/afc6a948b17c2dc22be51b1a9475a0f6ecbbc372)) ##### Features - add `useESM` option to `pathsToModuleNameMapper` options ([#​3792](https://github.com/kulshekhar/ts-jest/issues/3792)) ([eabe906](https://github.com/kulshekhar/ts-jest/commit/eabe906e1dd6b132a7b0d05ffc13172cd8a6b73b)) #### [29.0.2](https://github.com/kulshekhar/ts-jest/compare/v29.0.1...v29.0.2) (2022-09-23) ##### Bug Fixes - mark `ts-jest` as optional in `ConfigGlobals` ([#​3816](https://github.com/kulshekhar/ts-jest/issues/3816)) ([cbb88bb](https://github.com/kulshekhar/ts-jest/commit/cbb88bba34dbb852d8f4013be6e020769feb306d)), closes [#​3815](https://github.com/kulshekhar/ts-jest/issues/3815) - use correct typings for `config:init` command ([#​3825](https://github.com/kulshekhar/ts-jest/issues/3825)) ([21b94db](https://github.com/kulshekhar/ts-jest/commit/21b94dbca25b762f79e63b92dea12d830f444570)) #### [29.0.2](https://github.com/kulshekhar/ts-jest/compare/v29.0.1...v29.0.2) (2022-09-22) ##### Bug Fixes - mark `ts-jest` as optional in `ConfigGlobals` ([#​3816](https://github.com/kulshekhar/ts-jest/issues/3816)) ([cbb88bb](https://github.com/kulshekhar/ts-jest/commit/cbb88bba34dbb852d8f4013be6e020769feb306d)), closes [#​3815](https://github.com/kulshekhar/ts-jest/issues/3815) #### [29.0.1](https://github.com/kulshekhar/ts-jest/compare/v29.0.0...v29.0.1) (2022-09-13) ##### Bug Fixes - **legacy:** include existing globals config in cached config ([#​3803](https://github.com/kulshekhar/ts-jest/issues/3803)) ([e79be47](https://github.com/kulshekhar/ts-jest/commit/e79be47d2b81a677d0dd39d84328a38ca0f0ffc6)) ##### Features - add typings for `ts-jest` options via `transform` config ([#​3805](https://github.com/kulshekhar/ts-jest/issues/3805)) ([664b0f2](https://github.com/kulshekhar/ts-jest/commit/664b0f2b446a36dd7661f4840ca3dd7722f1f6ff)) ### [`v29.0.5`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2905-httpsgithubcomkulshekharts-jestcomparev2904v2905-2023-01-13) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.4...v29.0.5) ##### Reverts - Revert "fix(transformer): don't use cache when `tsJestConfig` is different ([#​3966](https://github.com/kulshekhar/ts-jest/issues/3966))" ([185eb18](https://github.com/kulshekhar/ts-jest/commit/185eb189d7076c717a107066817d2d6959a8fe39)), closes [#​3966](https://github.com/kulshekhar/ts-jest/issues/3966) ### [`v29.0.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2904-httpsgithubcomkulshekharts-jestcomparev2903v2904-2023-01-10) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.3...v29.0.4) ##### Bug Fixes - **transformer:** don't use cache when `tsJestConfig` is different ([#​3966](https://github.com/kulshekhar/ts-jest/issues/3966)) ([a445638](https://github.com/kulshekhar/ts-jest/commit/a445638ca631911e8ab1a896ffdfcd21506ce71a)) - bump `json5` to `2.2.3` ([#​3976](https://github.com/kulshekhar/ts-jest/pull/3976))([b9f7809](https://github.com/kulshekhar/ts-jest/commit/b9f7809948309f92534aeba63f3ffb01cb7dc536)) ### [`v29.0.3`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2903-httpsgithubcomkulshekharts-jestcomparev2902v2903-2022-09-28) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.2...v29.0.3) ##### Bug Fixes - merge config from `globals` with transformer config correctly ([#​3842](https://github.com/kulshekhar/ts-jest/issues/3842)) ([9c9fd60](https://github.com/kulshekhar/ts-jest/commit/9c9fd6097aea36a6e8b06b0e8841df22896f9121)), closes [#​3841](https://github.com/kulshekhar/ts-jest/issues/3841) - **presets:** allow merging transform config when using presets ([#​3833](https://github.com/kulshekhar/ts-jest/issues/3833)) ([afc6a94](https://github.com/kulshekhar/ts-jest/commit/afc6a948b17c2dc22be51b1a9475a0f6ecbbc372)) ##### Features - add `useESM` option to `pathsToModuleNameMapper` options ([#​3792](https://github.com/kulshekhar/ts-jest/issues/3792)) ([eabe906](https://github.com/kulshekhar/ts-jest/commit/eabe906e1dd6b132a7b0d05ffc13172cd8a6b73b)) ### [`v29.0.2`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2902-httpsgithubcomkulshekharts-jestcomparev2901v2902-2022-09-23) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.1...v29.0.2) ##### Bug Fixes - mark `ts-jest` as optional in `ConfigGlobals` ([#​3816](https://github.com/kulshekhar/ts-jest/issues/3816)) ([cbb88bb](https://github.com/kulshekhar/ts-jest/commit/cbb88bba34dbb852d8f4013be6e020769feb306d)), closes [#​3815](https://github.com/kulshekhar/ts-jest/issues/3815) - use correct typings for `config:init` command ([#​3825](https://github.com/kulshekhar/ts-jest/issues/3825)) ([21b94db](https://github.com/kulshekhar/ts-jest/commit/21b94dbca25b762f79e63b92dea12d830f444570)) ### [`v29.0.1`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2901-httpsgithubcomkulshekharts-jestcomparev2900v2901-2022-09-13) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v29.0.0...v29.0.1) ##### Bug Fixes - **legacy:** include existing globals config in cached config ([#​3803](https://github.com/kulshekhar/ts-jest/issues/3803)) ([e79be47](https://github.com/kulshekhar/ts-jest/commit/e79be47d2b81a677d0dd39d84328a38ca0f0ffc6)) ##### Features - add typings for `ts-jest` options via `transform` config ([#​3805](https://github.com/kulshekhar/ts-jest/issues/3805)) ([664b0f2](https://github.com/kulshekhar/ts-jest/commit/664b0f2b446a36dd7661f4840ca3dd7722f1f6ff)) ### [`v29.0.0`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2900-httpsgithubcomkulshekharts-jestcomparev2900-next1v2900-2022-09-08) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.8...v29.0.0) ##### Features - drop Node 12 and Node 17 support ([#​3787](https://github.com/kulshekhar/ts-jest/issues/3787)) ([0f1de16](https://github.com/kulshekhar/ts-jest/commit/0f1de16608dcc7a8ab00bf7fd6a01ebcec6a210a)) - migrate globals config to transformer config ([#​3780](https://github.com/kulshekhar/ts-jest/issues/3780)) ([31e5843](https://github.com/kulshekhar/ts-jest/commit/31e584355434c4fc96022f9e8b41f04c11d24343)) - support Jest 29 ([#​3767](https://github.com/kulshekhar/ts-jest/issues/3767)) ([94b553b](https://github.com/kulshekhar/ts-jest/commit/94b553ba085c52db60f7a7078e3a74d9a02121b1)) ##### DEPRECATIONS - Define `ts-jest` config under `globals` is now deprecated. Please define the config via transformer config instead. ##### BREAKING CHANGES - Only Node 14, 16 and 18 are supported - **Jest 29** is required. ### [`v28.0.8`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2808-httpsgithubcomkulshekharts-jestcomparev2807v2808-2022-08-14) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.7...v28.0.8) ##### Bug Fixes - allow `.mts` to be processed ([#​3713](https://github.com/kulshekhar/ts-jest/issues/3713)) ([effae71](https://github.com/kulshekhar/ts-jest/commit/effae717369860e16cb0ccbf24027651493b9bf1)), closes [#​3702](https://github.com/kulshekhar/ts-jest/issues/3702) ### [`v28.0.7`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2807-httpsgithubcomkulshekharts-jestcomparev2806v2807-2022-07-15) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.6...v28.0.7) ##### Bug Fixes - update `@jest/types` to be an optional peer dependency ([#​3690](https://github.com/kulshekhar/ts-jest/issues/3690)) ([8a8c3fa](https://github.com/kulshekhar/ts-jest/commit/8a8c3fafecffd19380171c661e94246024cae2ff)), closes [#​3689](https://github.com/kulshekhar/ts-jest/issues/3689) ### [`v28.0.6`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2806-httpsgithubcomkulshekharts-jestcomparev2805v2806-2022-07-13) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.5...v28.0.6) ##### Bug Fixes - **config:** don't show diagnostics warning with `diagnostics: false` ([#​3647](https://github.com/kulshekhar/ts-jest/issues/3647)) ([9a9bc02](https://github.com/kulshekhar/ts-jest/commit/9a9bc02935968fb5eb9fd3614a1f7cce019b80d8)), closes [#​3638](https://github.com/kulshekhar/ts-jest/issues/3638) - **legacy:** add `useCaseSensitiveFileNames` wherever needed ([#​3683](https://github.com/kulshekhar/ts-jest/issues/3683)) ([c40bc34](https://github.com/kulshekhar/ts-jest/commit/c40bc34625d63cccc0db7296e616af27868fe1fe)), closes [#​3665](https://github.com/kulshekhar/ts-jest/issues/3665) - set `@jest/types` as peer dependency ([#​3633](https://github.com/kulshekhar/ts-jest/issues/3633)) ([24567e1](https://github.com/kulshekhar/ts-jest/commit/24567e13d2780ad8a11c7ff35f9151ec53f8c211)) ### [`v28.0.5`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2805-httpsgithubcomkulshekharts-jestcomparev2804v2805-2022-06-11) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.4...v28.0.5) ##### Bug Fixes - **legacy:** throw type check error in ESM mode with `reject` ([#​3618](https://github.com/kulshekhar/ts-jest/issues/3618)) ([7dd01ff](https://github.com/kulshekhar/ts-jest/commit/7dd01ffe0c7ad3add87b11227964544f2586355a)), closes [#​3507](https://github.com/kulshekhar/ts-jest/issues/3507) ### [`v28.0.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2804-httpsgithubcomkulshekharts-jestcomparev2803v2804-2022-06-02) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.3...v28.0.4) ##### Bug Fixes - remove `@types/jest` from peer deps ([#​3592](https://github.com/kulshekhar/ts-jest/issues/3592)) ([b66b656](https://github.com/kulshekhar/ts-jest/commit/b66b656e0f29eea9234a4d1e883c6d249437f03c)) ### [`v28.0.3`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2803-httpsgithubcomkulshekharts-jestcomparev2802v2803-2022-05-23) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.2...v28.0.3) ##### Bug Fixes - **security:** update version of `json5` ([#​3528](https://github.com/kulshekhar/ts-jest/issues/3528)) ([b31f5ba](https://github.com/kulshekhar/ts-jest/commit/b31f5bab142466fd8b6157ec03eff7316584e51d)) ### [`v28.0.2`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2802-httpsgithubcomkulshekharts-jestcomparev2801v2802-2022-05-07) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.1...v28.0.2) ##### Bug Fixes - **transformers:** use `Array.sort` in hoisting transformer ([#​3498](https://github.com/kulshekhar/ts-jest/issues/3498)) ([e400a6e](https://github.com/kulshekhar/ts-jest/commit/e400a6ec0e4706f606ae9b1e2897b0bb1cff6343)), closes [#​3476](https://github.com/kulshekhar/ts-jest/issues/3476) ### [`v28.0.1`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2801-httpsgithubcomkulshekharts-jestcomparev2800v2801-2022-05-03) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v28.0.0...v28.0.1) ##### Bug Fixes - lower the required node version to ^16.10 ([#​3495](https://github.com/kulshekhar/ts-jest/issues/3495)) ([3a4e48a](https://github.com/kulshekhar/ts-jest/commit/3a4e48afffa56f76efb98f48ad3e07a92731748e)), closes [#​3494](https://github.com/kulshekhar/ts-jest/issues/3494) ### [`v28.0.0`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2800-httpsgithubcomkulshekharts-jestcomparev2800-next3v2800-2022-05-02) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.5...v28.0.0) ##### Bug Fixes - **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)) ##### Features - **presets:** add presets for legacy mode ([#​3465](https://github.com/kulshekhar/ts-jest/issues/3465)) ([543b4ad](https://github.com/kulshekhar/ts-jest/commit/543b4ad729d20fbd46a2de5cd4660dc50b94ebe7)) - mark `ConfigSet` as legacy ([#​3456](https://github.com/kulshekhar/ts-jest/issues/3456)) ([a986729](https://github.com/kulshekhar/ts-jest/commit/a98672977a679d1ed882605a3e71ed405432ffdc)) - mark `TsCompiler` and `TsJestCompiler` as legacy ([#​3457](https://github.com/kulshekhar/ts-jest/issues/3457)) ([0f2fe30](https://github.com/kulshekhar/ts-jest/commit/0f2fe306762d8549bd29737becd4aed14a650427)) - remove `path-mapping` AST transformer ([#​3455](https://github.com/kulshekhar/ts-jest/issues/3455)) ([f566869](https://github.com/kulshekhar/ts-jest/commit/f5668698f8fab78b3008d936aa5001f134f530e2)) - set Jest peer dependencies to v28 ([#​3454](https://github.com/kulshekhar/ts-jest/issues/3454)) ([1e880ff](https://github.com/kulshekhar/ts-jest/commit/1e880fffe82bca231d1d23f6508f4ab4bc31e03e)) - **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)) - **core:** remove `mocked` testing util ([#​3333](https://github.com/kulshekhar/ts-jest/issues/3333)) ([2d9017d](https://github.com/kulshekhar/ts-jest/commit/2d9017ddfea39f45aa991876b314d1dbe4a36aad)) - **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)) - mark `TsJestTransformer` as legacy ([#​3451](https://github.com/kulshekhar/ts-jest/issues/3451)) ([b090179](https://github.com/kulshekhar/ts-jest/commit/b0901799adc519959a954dba5e7b8fc8b97a9665)) ##### BREAKING CHANGES - `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. - Any imports `ts-jest/dist/compiler/ts-compiler` should change to `ts-jest/dist/legacy/compiler/ts-compiler` - Any imports `ts-jest/dist/compiler/ts-jest-compiler` should change to `ts-jest/dist/legacy/compiler/ts-jest-compiler` - Any imports `ts-jest/dist/config/config-set` should change to `ts-jest/dist/legacy/config/config-set` - Minimum support `TypeScript` version is now **4.3** since Jest 28 requires it. - **Jest 28** is required. - **core:** Any imports `ts-jest/utils` should be replaced with `ts-jest`. - **core:** Starting from Jest 27.4, `mocked` has been integrated into Jest repo. - **core:** Support for Node.js v10 has been removed as Jest drops support for it. #### [27.1.5](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4) (2022-05-17) ##### Bug Fixes - **transformers** use `Array.sort` in hoisting transformer ([#​3498](https://github.com/kulshekhar/ts-jest/pull/3498)) ([e400a6e](https://github.com/kulshekhar/ts-jest/commit/e400a6ec0e4706f606ae9b1e2897b0bb1cff6343)), fixes [#​3476](https://github.com/kulshekhar/ts-jest/issues/3476) #### [27.1.4](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4) (2022-03-24) ##### Bug Fixes - **compiler:** revert [#​3194](https://github.com/kulshekhar/ts-jest/issues/3194) ([#​3362](https://github.com/kulshekhar/ts-jest/issues/3362)) ([2b7dffe](https://github.com/kulshekhar/ts-jest/commit/2b7dffeac940f779922c43cefba3f741a3911b49)), closes [#​3272](https://github.com/kulshekhar/ts-jest/issues/3272) - remove `esbuild` from peer dependency ([#​3360](https://github.com/kulshekhar/ts-jest/issues/3360)) ([8c8c1ca](https://github.com/kulshekhar/ts-jest/commit/8c8c1ca615b1edeedc9f4282557c28e82acee543)), closes [#​3346](https://github.com/kulshekhar/ts-jest/issues/3346) - support Babel config file with `.cjs` extension ([#​3361](https://github.com/kulshekhar/ts-jest/issues/3361)) ([5e5ac4a](https://github.com/kulshekhar/ts-jest/commit/5e5ac4ac286bdcce157d0bdc31f3a57202fdbdfe)), closes [#​3335](https://github.com/kulshekhar/ts-jest/issues/3335) #### [27.1.3](https://github.com/kulshekhar/ts-jest/compare/v27.1.2...v27.1.3) (2022-01-14) ##### Bug Fixes - **compiler:** update memory cache for compiler using received file content ([#​3194](https://github.com/kulshekhar/ts-jest/issues/3194)) ([e4d9541](https://github.com/kulshekhar/ts-jest/commit/e4d9541f262ca14cb25563c757c0f2345dbf5c51)) #### [27.1.2](https://github.com/kulshekhar/ts-jest/compare/v27.1.1...v27.1.2) (2021-12-15) ##### Bug Fixes - stimulate `esbuild` type to avoid importing `esbuild` directly ([#​3147](https://github.com/kulshekhar/ts-jest/issues/3147)) ([9ace0a9](https://github.com/kulshekhar/ts-jest/commit/9ace0a9991da8bcb0f04a2e603f7601d6fb630e7)) #### [27.1.1](https://github.com/kulshekhar/ts-jest/compare/v27.1.0...v27.1.1) (2021-12-07) ##### Bug Fixes - bring back `afterProcess` hook ([#​3132](https://github.com/kulshekhar/ts-jest/issues/3132)) ([2b6b86e](https://github.com/kulshekhar/ts-jest/commit/2b6b86e01dcd3d9d9906f24fe3db5cadb799146a)) - make `esbuild` as optional peer dependency ([#​3129](https://github.com/kulshekhar/ts-jest/pull/3129)) ([20258de](https://github.com/kulshekhar/ts-jest/commit/20258de54c9c10f8d2495bda174f9865a3cebc91)) ### [`v27.1.5`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2715-httpsgithubcomkulshekharts-jestcomparev2713v2714-2022-05-17) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.4...v27.1.5) ##### Bug Fixes - **transformers** use `Array.sort` in hoisting transformer ([#​3498](https://github.com/kulshekhar/ts-jest/pull/3498)) ([e400a6e](https://github.com/kulshekhar/ts-jest/commit/e400a6ec0e4706f606ae9b1e2897b0bb1cff6343)), fixes [#​3476](https://github.com/kulshekhar/ts-jest/issues/3476) ### [`v27.1.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2714-httpsgithubcomkulshekharts-jestcomparev2713v2714-2022-03-24) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.3...v27.1.4) ##### Bug Fixes - **compiler:** revert [#​3194](https://github.com/kulshekhar/ts-jest/issues/3194) ([#​3362](https://github.com/kulshekhar/ts-jest/issues/3362)) ([2b7dffe](https://github.com/kulshekhar/ts-jest/commit/2b7dffeac940f779922c43cefba3f741a3911b49)), closes [#​3272](https://github.com/kulshekhar/ts-jest/issues/3272) - remove `esbuild` from peer dependency ([#​3360](https://github.com/kulshekhar/ts-jest/issues/3360)) ([8c8c1ca](https://github.com/kulshekhar/ts-jest/commit/8c8c1ca615b1edeedc9f4282557c28e82acee543)), closes [#​3346](https://github.com/kulshekhar/ts-jest/issues/3346) - support Babel config file with `.cjs` extension ([#​3361](https://github.com/kulshekhar/ts-jest/issues/3361)) ([5e5ac4a](https://github.com/kulshekhar/ts-jest/commit/5e5ac4ac286bdcce157d0bdc31f3a57202fdbdfe)), closes [#​3335](https://github.com/kulshekhar/ts-jest/issues/3335) ### [`v27.1.3`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2713-httpsgithubcomkulshekharts-jestcomparev2712v2713-2022-01-14) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.2...v27.1.3) ##### Bug Fixes - **compiler:** update memory cache for compiler using received file content ([#​3194](https://github.com/kulshekhar/ts-jest/issues/3194)) ([e4d9541](https://github.com/kulshekhar/ts-jest/commit/e4d9541f262ca14cb25563c757c0f2345dbf5c51)) ### [`v27.1.2`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2712-httpsgithubcomkulshekharts-jestcomparev2711v2712-2021-12-15) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.1...v27.1.2) ##### Bug Fixes - stimulate `esbuild` type to avoid importing `esbuild` directly ([#​3147](https://github.com/kulshekhar/ts-jest/issues/3147)) ([9ace0a9](https://github.com/kulshekhar/ts-jest/commit/9ace0a9991da8bcb0f04a2e603f7601d6fb630e7)) ### [`v27.1.1`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2711-httpsgithubcomkulshekharts-jestcomparev2710v2711-2021-12-07) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.1.0...v27.1.1) ##### Bug Fixes - bring back `afterProcess` hook ([#​3132](https://github.com/kulshekhar/ts-jest/issues/3132)) ([2b6b86e](https://github.com/kulshekhar/ts-jest/commit/2b6b86e01dcd3d9d9906f24fe3db5cadb799146a)) - make `esbuild` as optional peer dependency ([#​3129](https://github.com/kulshekhar/ts-jest/pull/3129)) ([20258de](https://github.com/kulshekhar/ts-jest/commit/20258de54c9c10f8d2495bda174f9865a3cebc91)) ### [`v27.1.0`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2710-httpsgithubcomkulshekharts-jestcomparev2707v2710-2021-11-30) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.7...v27.1.0) ##### Features - allow subclasses to extend `processAsync` and `getCacheKeyAsync` ([#​3047](https://github.com/kulshekhar/ts-jest/issues/3047)) ([571a880](https://github.com/kulshekhar/ts-jest/commit/571a880007642c9dcbcd7bf109c5392e7eb78cc4)) - **config:** support custom AST transformers written in TypeScript ([#​3063](https://github.com/kulshekhar/ts-jest/issues/3063)) ([340a305](https://github.com/kulshekhar/ts-jest/commit/340a30573e5ff92df77c94af51c371ce4bf956e7)), closes [#​2831](https://github.com/kulshekhar/ts-jest/issues/2831) - export `ts-jest` public apis from `index.js` ([#​3080](https://github.com/kulshekhar/ts-jest/issues/3080)) ([53175dd](https://github.com/kulshekhar/ts-jest/commit/53175dd04218bf22ead464e30aa01b258c87e7af)), closes [#​3045](https://github.com/kulshekhar/ts-jest/issues/3045) ##### Code Refactoring - **utils:** deprecate `mocked` util function ([#​3102](https://github.com/kulshekhar/ts-jest/issues/3102)) ([55e69f1](https://github.com/kulshekhar/ts-jest/commit/55e69f12f65d678962c3087fca7673992f5f1b26)) - define clear type for `compiler` option ([#​3087](https://github.com/kulshekhar/ts-jest/issues/3087)) ([cc42daf](https://github.com/kulshekhar/ts-jest/commit/cc42daf795585887664be59956d2c52244237bda)) - **transformers**: deprecate `path-mapping` AST transformer ([#​3088](https://github.com/kulshekhar/ts-jest/issues/3088)) ([d8f6b96](https://github.com/kulshekhar/ts-jest/commit/d8f6b9624ee76a164aa7003720cd3f83fc6c4865)) - **transformers**: use ts `factory` API for `hoisting` AST transformer ([#​3058](https://github.com/kulshekhar/ts-jest/issues/3058)) ([a72f51d](https://github.com/kulshekhar/ts-jest/commit/a72f51d9b7c4ea2866e486c0aac4f4706c3ed542)) #### DEPRECATIONS - **transformers**: `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. - **utils**: `mocked` function is deprecated and will be removed in **v28.0.0**. The function has been integrated into `jest-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 instead #### [27.0.7](https://github.com/kulshekhar/ts-jest/compare/v27.0.6...v27.0.7) (2021-10-16) ##### Bug Fixes - correct `lodash` import ([#​2978](https://github.com/kulshekhar/ts-jest/issues/2978)) ([8b60679](https://github.com/kulshekhar/ts-jest/commit/8b60679574eb60a3c8109ffd389b64b86a167e72)), closes [#​2977](https://github.com/kulshekhar/ts-jest/issues/2977) #### [27.0.6](https://github.com/kulshekhar/ts-jest/compare/v27.0.5...v27.0.6) (2021-10-14) ##### Bug Fixes - use specific `lodash` package instead of full package `lodash` ([#​2959](https://github.com/kulshekhar/ts-jest/issues/2959)) ([dc89fe5](https://github.com/kulshekhar/ts-jest/commit/dc89fe55f2b77da76443f827fe3055f07cf4809c)), closes [#​2954](https://github.com/kulshekhar/ts-jest/issues/2954) #### [27.0.5](https://github.com/kulshekhar/ts-jest/compare/v27.0.4...v27.0.5) (2021-08-14) ##### Bug Fixes - **cli:** add migration `tsConfig` option for `ts-jest` config options ([#​2794](https://github.com/kulshekhar/ts-jest/issues/2794)) ([781710b](https://github.com/kulshekhar/ts-jest/commit/781710bf6b84853fffbb02543062a726fe1ad9c2)), closes [#​2764](https://github.com/kulshekhar/ts-jest/issues/2764) - **cli:** fix `config:init` genarate invalid type comment ([#​2773](https://github.com/kulshekhar/ts-jest/issues/2773)) ([ede8a20](https://github.com/kulshekhar/ts-jest/commit/ede8a2061e20b717c0d56e4d81a3cd0ec7db8b1a)), closes [#​2772](https://github.com/kulshekhar/ts-jest/issues/2772) - **config:** handle `./` in tsconfig `paths` for `pathsToModuleNameMapper` ([#​2797](https://github.com/kulshekhar/ts-jest/issues/2797)) ([42ff5e4](https://github.com/kulshekhar/ts-jest/commit/42ff5e469fb5d315b92e85eee105e5a040949c01)), closes [#​2709](https://github.com/kulshekhar/ts-jest/issues/2709) ##### Code Refactoring - use native `Buffer.from` and `mkdird` ([#​2774](https://github.com/kulshekhar/ts-jest/issues/2774)) ([4869660](https://github.com/kulshekhar/ts-jest/commit/4869660e3917deb063745c5acaf079123d6d2ca8)) #### [27.0.4](https://github.com/kulshekhar/ts-jest/compare/v27.0.3...v27.0.4) (2021-07-21) ##### Bug Fixes - add `@types/jest` as optional `peerDependencies` to solve yarn 2 ([#​2756](https://github.com/kulshekhar/ts-jest/issues/2756)) ([5fbf43e](https://github.com/kulshekhar/ts-jest/commit/5fbf43e64691d5146add1da4690a14b3095c4234)) - add `babel-jest` as optional `peerDependencies` to solve yarn 2 ([#​2751](https://github.com/kulshekhar/ts-jest/issues/2751)) ([8bede2e](https://github.com/kulshekhar/ts-jest/commit/8bede2e57546a18999b96871069f1f94a3ecf3c1)) - **config:** include AST transformer's `name` and `version` into cache key ([#​2755](https://github.com/kulshekhar/ts-jest/issues/2755)) ([310fb9a](https://github.com/kulshekhar/ts-jest/commit/310fb9a1d7b40a8274d6fb93745e66a6da891a75)), closes [#​2753](https://github.com/kulshekhar/ts-jest/issues/2753) ##### Features - link jest config types on `npx ts-jest:init` ([#​2742](https://github.com/kulshekhar/ts-jest/issues/2742)) ([f51ba05](https://github.com/kulshekhar/ts-jest/commit/f51ba0507568ba8a5dece48c159d7857a2ed61d6)) - set env var `TS_JEST` to allow detecting of `ts-jest` ([#​2717](https://github.com/kulshekhar/ts-jest/issues/2717)) ([56c137a](https://github.com/kulshekhar/ts-jest/commit/56c137a3c1906f49cb0b9e044fa8e233707cbaa4)), closes [#​2716](https://github.com/kulshekhar/ts-jest/issues/2716) #### [27.0.3](https://github.com/kulshekhar/ts-jest/compare/v27.0.2...v27.0.3) (2021-06-06) ##### Bug Fixes - revert `exports` field to support all node versions ([#​2658](https://github.com/kulshekhar/ts-jest/issues/2658)) ([132c8ba](https://github.com/kulshekhar/ts-jest/commit/132c8ba85c3e61b7d9ede0dc9730580b79618ab7)) ##### Features - emit ESM codes if using ESM mode with Babel ([#​2661](https://github.com/kulshekhar/ts-jest/issues/2661)) ([9b55404](https://github.com/kulshekhar/ts-jest/commit/9b55404a8dfc760238e19786da98a2edf043b9da)), closes [#​2650](https://github.com/kulshekhar/ts-jest/issues/2650) #### [27.0.2](https://github.com/kulshekhar/ts-jest/compare/v27.0.1...v27.0.2) (2021-05-30) ##### Bug Fixes - **compiler:** add empty string file content to compiler cache ([#​2633](https://github.com/kulshekhar/ts-jest/issues/2633)) ([0feb556](https://github.com/kulshekhar/ts-jest/commit/0feb5560a588f87d1d989bf521859fba0fda20fe)), closes [#​2625](https://github.com/kulshekhar/ts-jest/issues/2625) - **config:** `exclude` should only exclude files which match glob values ([#​2637](https://github.com/kulshekhar/ts-jest/issues/2637)) ([c5ce979](https://github.com/kulshekhar/ts-jest/commit/c5ce97902c1b84dc354f270a4f596a6f5f634611)), closes [#​2634](https://github.com/kulshekhar/ts-jest/issues/2634) #### [27.0.1](https://github.com/kulshekhar/ts-jest/compare/v27.0.0...v27.0.1) (2021-05-26) ##### Bug Fixes - **cli:** keep `testMatch` if old jest config contains it ([#​2618](https://github.com/kulshekhar/ts-jest/issues/2618)) ([c568f49](https://github.com/kulshekhar/ts-jest/commit/c568f49907fb5559ba1e8c67f1ec5d5eb4af920a)), closes [#​2616](https://github.com/kulshekhar/ts-jest/issues/2616) - **compiler:** make sure `isolatedModules: false` use updated compiler options ([#​2628](https://github.com/kulshekhar/ts-jest/issues/2628)) ([348e30f](https://github.com/kulshekhar/ts-jest/commit/348e30f426803efc51ecba26ab42619938fcb5af)), closes [#​2629](https://github.com/kulshekhar/ts-jest/issues/2629) - add missing export `presets` ([#​2624](https://github.com/kulshekhar/ts-jest/issues/2624)) ([0ea025e](https://github.com/kulshekhar/ts-jest/commit/0ea025ebb456d3a31671e31fac0b401c2734a2b1)), closes [#​2623](https://github.com/kulshekhar/ts-jest/issues/2623) ### [`v27.0.7`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2707-httpsgithubcomkulshekharts-jestcomparev2706v2707-2021-10-16) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.6...v27.0.7) ##### Bug Fixes - correct `lodash` import ([#​2978](https://github.com/kulshekhar/ts-jest/issues/2978)) ([8b60679](https://github.com/kulshekhar/ts-jest/commit/8b60679574eb60a3c8109ffd389b64b86a167e72)), closes [#​2977](https://github.com/kulshekhar/ts-jest/issues/2977) ### [`v27.0.6`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2706-httpsgithubcomkulshekharts-jestcomparev2705v2706-2021-10-14) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.5...v27.0.6) ##### Bug Fixes - use specific `lodash` package instead of full package `lodash` ([#​2959](https://github.com/kulshekhar/ts-jest/issues/2959)) ([dc89fe5](https://github.com/kulshekhar/ts-jest/commit/dc89fe55f2b77da76443f827fe3055f07cf4809c)), closes [#​2954](https://github.com/kulshekhar/ts-jest/issues/2954) ### [`v27.0.5`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2705-httpsgithubcomkulshekharts-jestcomparev2704v2705-2021-08-14) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.4...v27.0.5) ##### Bug Fixes - **cli:** add migration `tsConfig` option for `ts-jest` config options ([#​2794](https://github.com/kulshekhar/ts-jest/issues/2794)) ([781710b](https://github.com/kulshekhar/ts-jest/commit/781710bf6b84853fffbb02543062a726fe1ad9c2)), closes [#​2764](https://github.com/kulshekhar/ts-jest/issues/2764) - **cli:** fix `config:init` genarate invalid type comment ([#​2773](https://github.com/kulshekhar/ts-jest/issues/2773)) ([ede8a20](https://github.com/kulshekhar/ts-jest/commit/ede8a2061e20b717c0d56e4d81a3cd0ec7db8b1a)), closes [#​2772](https://github.com/kulshekhar/ts-jest/issues/2772) - **config:** handle `./` in tsconfig `paths` for `pathsToModuleNameMapper` ([#​2797](https://github.com/kulshekhar/ts-jest/issues/2797)) ([42ff5e4](https://github.com/kulshekhar/ts-jest/commit/42ff5e469fb5d315b92e85eee105e5a040949c01)), closes [#​2709](https://github.com/kulshekhar/ts-jest/issues/2709) ##### Code Refactoring - use native `Buffer.from` and `mkdird` ([#​2774](https://github.com/kulshekhar/ts-jest/issues/2774)) ([4869660](https://github.com/kulshekhar/ts-jest/commit/4869660e3917deb063745c5acaf079123d6d2ca8)) ### [`v27.0.4`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2704-httpsgithubcomkulshekharts-jestcomparev2703v2704-2021-07-21) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.3...v27.0.4) ##### Bug Fixes - add `@types/jest` as optional `peerDependencies` to solve yarn 2 ([#​2756](https://github.com/kulshekhar/ts-jest/issues/2756)) ([5fbf43e](https://github.com/kulshekhar/ts-jest/commit/5fbf43e64691d5146add1da4690a14b3095c4234)) - add `babel-jest` as optional `peerDependencies` to solve yarn 2 ([#​2751](https://github.com/kulshekhar/ts-jest/issues/2751)) ([8bede2e](https://github.com/kulshekhar/ts-jest/commit/8bede2e57546a18999b96871069f1f94a3ecf3c1)) - **config:** include AST transformer's `name` and `version` into cache key ([#​2755](https://github.com/kulshekhar/ts-jest/issues/2755)) ([310fb9a](https://github.com/kulshekhar/ts-jest/commit/310fb9a1d7b40a8274d6fb93745e66a6da891a75)), closes [#​2753](https://github.com/kulshekhar/ts-jest/issues/2753) ##### Features - link jest config types on `npx ts-jest:init` ([#​2742](https://github.com/kulshekhar/ts-jest/issues/2742)) ([f51ba05](https://github.com/kulshekhar/ts-jest/commit/f51ba0507568ba8a5dece48c159d7857a2ed61d6)) - set env var `TS_JEST` to allow detecting of `ts-jest` ([#​2717](https://github.com/kulshekhar/ts-jest/issues/2717)) ([56c137a](https://github.com/kulshekhar/ts-jest/commit/56c137a3c1906f49cb0b9e044fa8e233707cbaa4)), closes [#​2716](https://github.com/kulshekhar/ts-jest/issues/2716) ### [`v27.0.3`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2703-httpsgithubcomkulshekharts-jestcomparev2702v2703-2021-06-06) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.2...v27.0.3) ##### Bug Fixes - revert `exports` field to support all node versions ([#​2658](https://github.com/kulshekhar/ts-jest/issues/2658)) ([132c8ba](https://github.com/kulshekhar/ts-jest/commit/132c8ba85c3e61b7d9ede0dc9730580b79618ab7)) ##### Features - emit ESM codes if using ESM mode with Babel ([#​2661](https://github.com/kulshekhar/ts-jest/issues/2661)) ([9b55404](https://github.com/kulshekhar/ts-jest/commit/9b55404a8dfc760238e19786da98a2edf043b9da)), closes [#​2650](https://github.com/kulshekhar/ts-jest/issues/2650) ### [`v27.0.2`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2702-httpsgithubcomkulshekharts-jestcomparev2701v2702-2021-05-30) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.1...v27.0.2) ##### Bug Fixes - **compiler:** add empty string file content to compiler cache ([#​2633](https://github.com/kulshekhar/ts-jest/issues/2633)) ([0feb556](https://github.com/kulshekhar/ts-jest/commit/0feb5560a588f87d1d989bf521859fba0fda20fe)), closes [#​2625](https://github.com/kulshekhar/ts-jest/issues/2625) - **config:** `exclude` should only exclude files which match glob values ([#​2637](https://github.com/kulshekhar/ts-jest/issues/2637)) ([c5ce979](https://github.com/kulshekhar/ts-jest/commit/c5ce97902c1b84dc354f270a4f596a6f5f634611)), closes [#​2634](https://github.com/kulshekhar/ts-jest/issues/2634) ### [`v27.0.1`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2701-httpsgithubcomkulshekharts-jestcomparev2700v2701-2021-05-26) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v27.0.0...v27.0.1) ##### Bug Fixes - **cli:** keep `testMatch` if old jest config contains it ([#​2618](https://github.com/kulshekhar/ts-jest/issues/2618)) ([c568f49](https://github.com/kulshekhar/ts-jest/commit/c568f49907fb5559ba1e8c67f1ec5d5eb4af920a)), closes [#​2616](https://github.com/kulshekhar/ts-jest/issues/2616) - **compiler:** make sure `isolatedModules: false` use updated compiler options ([#​2628](https://github.com/kulshekhar/ts-jest/issues/2628)) ([348e30f](https://github.com/kulshekhar/ts-jest/commit/348e30f426803efc51ecba26ab42619938fcb5af)), closes [#​2629](https://github.com/kulshekhar/ts-jest/issues/2629) - add missing export `presets` ([#​2624](https://github.com/kulshekhar/ts-jest/issues/2624)) ([0ea025e](https://github.com/kulshekhar/ts-jest/commit/0ea025ebb456d3a31671e31fac0b401c2734a2b1)), closes [#​2623](https://github.com/kulshekhar/ts-jest/issues/2623) ### [`v27.0.0`](https://github.com/kulshekhar/ts-jest/blob/HEAD/CHANGELOG.md#​2700-httpsgithubcomkulshekharts-jestcomparev2656v2700-2021-05-25) [Compare Source](https://github.com/kulshekhar/ts-jest/compare/v26.5.6...v27.0.0) ##### Bug Fixes - **compiler:** return file content on emitSkipped for non ts/tsx files ([#​2519](https://github.com/kulshekhar/ts-jest/issues/2519)) ([a4e5640](https://github.com/kulshekhar/ts-jest/commit/a4e5640f54a7810c9b7aba32663ce4a53893d22f)), closes [#​2513](https://github.com/kulshekhar/ts-jest/issues/2513) - **compiler:** retype check other files if processing file is used by those ones in watch mode ([#​2481](https://github.com/kulshekhar/ts-jest/issues/2481)) ([ac8f3d0](https://github.com/kulshekhar/ts-jest/commit/ac8f3d025de67bfc2708a8422ee657fc42455513)), closes [#​943](https://github.com/kulshekhar/ts-jest/issues/943) - **compiler:** initialize compiler with `.ts`/`.tsx`/`.d.ts` files only ([#​2458](https://github.com/kulshekhar/ts-jest/issues/2458)) ([a89f0e2](https://github.com/kulshekhar/ts-jest/commit/a89f0e2061e01440337dde4134639ff6a2d69936)), closes [#​2445](https://github.com/kulshekhar/ts-jest/issues/2445) - **compiler:** resolve nested imported modules for each processing file ([#​2436](https://github.com/kulshekhar/ts-jest/issues/2436)) ([3cb9019](https://github.com/kulshekhar/ts-jest/commit/3cb9019289bb64deecffaf52e840faf6a4656092)), closes [#​1390](https://github.com/kulshekhar/ts-jest/issues/1390) [#​1747](https://github.com/kulshekhar/ts-jest/issues/1747) - **config:** create fallback jest config when jest config is `undefined` ([#​2433](https://github.com/kulshekhar/ts-jest/issues/2433)) ([c6d6e4c](https://github.com/kulshekhar/ts-jest/commit/c6d6e4cd534e1c368fcb7141784ee43584525ca4)), closes [#​2085](https://github.com/kulshekhar/ts-jest/issues/2085) - remove `@types/jest` from direct dep ([#​2409](https://github.com/kulshekhar/ts-jest/issues/2409)) ([8913120](https://github.com/kulshekhar/ts-jest/commit/89131203c358c8f9e89655800e500a9e88a17334)), closes [#​2406](https://github.com/kulshekhar/ts-jest/issues/2406) [#​2411](https://github.com/kulshekhar/ts-jest/issues/2411) - **compiler:** return original file content and show warning on emit skip ([#​2410](https://github.com/kulshekhar/ts-jest/issues/2410)) ([c2b2164](https://github.com/kulshekhar/ts-jest/commit/c2b2164ddd1e606fc2490326244a6efc63f6c4a0)), closes [#​2407](https://github.com/kulshekhar/ts-jest/issues/2407) - **compiler:** type check correctly in watch mode when a file content itself has changed ([#​2405](https://github.com/kulshekhar/ts-jest/issues/2405)) ([064bf3a](https://github.com/kulshekhar/ts-jest/commit/064bf3a73e9a304aa9366d27db8973b68be23ffd)), closes [#​2118](https://github.com/kulshekhar/ts-jest/issues/2118) - **compiler:** exclude files in `outDir` from compiler source files ([#​2375](https://github.com/kulshekhar/ts-jest/issues/2375)) ([ec68c74](https://github.com/kulshekhar/ts-jest/commit/ec68c74bccf56d682a7ed9e5c48ea676dcf3fbf9)), closes [#​2350](https://github.com/kulshekhar/ts-jest/issues/2350) [#​2374](https://github.com/kulshekhar/ts-jest/issues/2374) - **config:** cache config and compiler correctly between runs ([#​2356](https://github.com/kulshekhar/ts-jest/issues/2356)) ([5f91336](https://github.com/kulshekhar/ts-jest/commit/5f91336b9023da1051cc85b509ad02c525679fcb)) - **config:** improve emit skipped error message ([#​2358](https://github.com/kulshekhar/ts-jest/issues/2358)) ([2ae8df4](https://github.com/kulshekhar/ts-jest/commit/2ae8df4515d6f6e975e57719a89184b5583f9e2f)), closes [#​2350](https://github.com/kulshekhar/ts-jest/issues/2350) - **typings:** set correct typing for `tsconfig` option ([#​2383](https://github.com/kulshekhar/ts-jest/issues/2383)) ([584324a](https://github.com/kulshekhar/ts-jest/commit/584324a60c0784275e9bf8bcfd0814735a250d24)), closes [#​2368](https://github.com/kulshekhar/ts-jest/issues/2368) - **config:** invalidate Jest transform cache when `astTransformers` value changes ([#​2345](https://github.com/kulshekhar/ts-jest/issues/2345)) ([d726016](https://github.com/kulshekhar/ts-jest/commit/d726016a17a26215fad782cf57bb9b9bec807307)) - reduce size of `node_modules` when adding `ts-jest` ([#​2263](https://github.com/kulshekhar/ts-jest/issues/2263)) ([8e0675c](https://github.com/kulshekhar/ts-jest/commit/8e0675c02b6095af6656df50c8782c01ad9e87a3)) ##### Features - **config:** allow disable sourcemap ([#​2544](https://github.com/kulshekhar/ts-jest/issues/2544)) ([47da6ad](https://github.com/kulshekhar/ts-jest/commit/47da6ada5089e58e9bc68ce8e9bc9e17aaa127ae)) - **compiler:** expose `TsCompiler` as public api ([#​2344](https://github.com/kulshekhar/ts-jest/issues/2344)) ([871cd6a](https://github.com/kulshekhar/ts-jest/commit/871cd6a3abb10569a04d05f72bbb41c952665ed4)) - **config:** support typed config options for jest config typescript ([#​2335](https://github.com/kulshekhar/ts-jest/issues/2335)) ([3cfc37b](https://github.com/kulshekhar/ts-jest/commit/3cfc37b1eba125fe861cea0415095dbe1f538520)) - **presets:** add typing for `presets` entry point ([#​2337](https://github.com/kulshekhar/ts-jest/issues/2337)) ([1a3058f](https://github.com/kulshekhar/ts-jest/commit/1a3058f3b7f8a2e377cb6a7e829cea310a06d4fa)) - **compiler:** allow custom transformers to access internal `Program` ([#​2299](https://github.com/kulshekhar/ts-jest/issues/2299)) ([387964f](https://github.com/kulshekhar/ts-jest/commit/387964faed14ce24d2cf8170a04eee244d69b8b9)) - **config:** replace `pathRegex` with `exclude` ([#​2295](https://github.com/kulshekhar/ts-jest/issues/2295)) ([f2f99c3](https://github.com/kulshekhar/ts-jest/commit/f2f99c3a46ac18a1fd6cc98922329b71a7e8c4e8)) - **config:** type checking `js` files based on `checkJs` ([#​2283](https://github.com/kulshekhar/ts-jest/issues/2283)) ([1e04433](https://github.com/kulshekhar/ts-jest/commit/1e044335a38907ff5c06eb43efeb2e5fd9769a0c)) - **compiler:** support ESM for `isolatedModules: false` ([#​2269](https://github.com/kulshekhar/ts-jest/issues/2269)) ([9bb0c05](https://github.com/kulshekhar/ts-jest/commit/9bb0c054a3a7bd8949b0c12b2bb42348f69e2e2e)), closes [#​1709](https://github.com/kulshekhar/ts-jest/issues/1709) - **compiler:** support ESM for `isolatedModule: true` ([#​2219](https://github.com/kulshekhar/ts-jest/issues/2219)) ([e101db0](https://github.com/kulshekhar/ts-jest/commit/e101db01095ce75ce9a48e27a1d9bf84bb8e19ee)), closes [#​1709](https://github.com/kulshekhar/ts-jest/issues/1709) - **presets:** add 3 new presets to work with ESM ([#​2207](https://github.com/kulshekhar/ts-jest/issues/2207)) ([c277858](https://github.com/kulshekhar/ts-jest/commit/c277858c7820d8873c2d7d0c6e3704a47868d600)) - allow subclasses of `TsJestTransformer` to have version checking ([#​2176](https://github.com/kulshekhar/ts-jest/issues/2176)) ([ca8d7c4](https://github.com/kulshekhar/ts-jest/commit/ca8d7c44779105ef208d17cdd8c6baaf96b479ad)) ##### Performance Improvements - reuse jest file system cache for `isolatedModules: false` ([#​2189](https://github.com/kulshekhar/ts-jest/issues/2189)) ([68f446b](https://github.com/kulshekhar/ts-jest/commit/68f446b8351bb8925ac4822aa631aa6b23f2f711)) ##### Code Refactoring - **config:** remove support for `astTransformers` string array ([#​2129](https://github.com/kulshekhar/ts-jest/issues/2129)) ([1e0b2ce](https://github.com/kulshekhar/ts-jest/commit/1e0b2ce5599a35c108712456e455bf29c8c5fd24)) - **config:** remove support for `packageJson` option ([#​2128](https://github.com/kulshekhar/ts-jest/issues/2128)) ([05916b9](https://github.com/kulshekhar/ts-jest/commit/05916b920160da5b43a20b47025eea43b4a1a5c3)) - move jest transformer class to package entry ([#​2122](https://github.com/kulshekhar/ts-jest/issues/2122)) ([5bbfd06](https://github.com/kulshekhar/ts-jest/commit/5bbfd06a0c114dbecd75b763bcfa76d4a6203ab1)) - **config:** remove support for `tsConfig` option ([#​2127](https://github.com/kulshekhar/ts-jest/issues/2127)) ([3cc9b80](https://github.com/kulshekhar/ts-jest/commit/3cc9b806be2b2096b981253d39ca40df65bb0f7b)) #### BREAKING CHANGES - By default, `ts-jest` will use `sourceMap` option from your `tsconfig`. If users want to have sourcemap on, they need to set `sourceMap: true` in `tsconfig`. - follow Jest support Node engines ([#​2478](https://github.com/kulshekhar/ts-jest/pull/2478)) ([1fecf7f](https://github.com/kulshekhar/ts-jest/commit/1fecf7ff92a5f1a0cc6ea1d27026f9f54a3d5ead)) - add `exports` field to `package.json`, see https://nodejs.org/api/packages.html#packages_package_entry_points ([#​2467](https://github.com/kulshekhar/ts-jest/pull/2467)) ([d3aba3e](https://github.com/kulshekhar/ts-jest/commit/d3aba3e103f85b3a42d0e2ecaea9d3457917319e)) - `ts-jest` custom AST transformer function signature has changed to <!----> import type { TsCompilerInstance } from 'ts-jest/dist/types' export function factory(compilerInstance: TsCompilerInstance) { //... } - One is currently using `pathRegex` should use `exclude` with `glob` patterns. - If one currently relies on type check for `js` files, please set `checkJs: true` in your tsconfig. - Now both `isolatedModules: true` and `isolatedModule: false` codes are in one single class `TsCompiler` which is an instance created in `TsJestCompiler` based on config option `compiler` with value `typescript` or `ttypescript`. - **config:** `packageJson` config option is not used in internal `ts-jest` so this option is now removed. - **config:** One is defining ast transformers in `jest.config.js`/`package.json` should change to <!----> // jest.config.js module.exports = { //... globals: { 'ts-jest': { astTransformers: { before: ['your_before_transformer_path'], after: ['your_after_transformer_path'], afterDeclarations: ['your_afterDeclarations_transformer_path'], } } } } or // package.json { "jest": { "globals": { "ts-jest": { "astTransformers": { "before": ["your_before_transformer_path"], "after": ["your_after_transformer_path"], "afterDeclarations": ["your_afterDeclarations_transformer_path"] } } } } } - One currently refers type in `jest.config.js` <!----> /** @​typedef {import('ts-jest')} */ module.exports = { //... } should change to /** @​typedef {import('ts-jest/dist/types')} */ module.exports = { //... } - Remove possibilities to import `mocked`, `createJestPreset`, `pathsToModuleNameMapper` from package entry. One should change to <!----> import { mocked, createJestPreset, pathsToModuleNameMapper } from 'ts-jest/utils' - **config:** One currently uses `tsConfig` should change to `tsconfig` in your `jest.config.js` or `package.json`. #### [26.5.6](https://github.com/kulshekhar/ts-jest/compare/v26.5.5...v26.5.6) (2021-05-05) ##### Code Refactoring - 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)). </details> --- ### 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 becomes conflicted, or you tick the rebase/retry checkbox. π **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC43NC4yIiwidXBkYXRlZEluVmVyIjoiMzQuNzQuMiJ9--> Co-authored-by: Renovate Bot <renovate@vylpes.com> Reviewed-on: https://gitea.vylpes.xyz/RabbitLabs/Droplet/pulls/110 Reviewed-by: Vylpes <ethan@vylpes.com> Co-authored-by: RenovateBot <renovate@vylpes.com> Co-committed-by: RenovateBot <renovate@vylpes.com>
π Bug Report
We've set our package versions for
jest
andts-jest
tox
, so we always have the latest. We don't use a package-lock, and our CI always builds from scratch. Recently, builds were failing at the test phase with:using a tool I just wrote (
time-walker
, available on npmjs.com), I "traveled back in time" to find when things officially broke, which was 4 days ago, with versions:jest: 26.6.1
ts-jest: 26.4.2
going back a day, things work fine with versions:
jest: 26.6.0
ts-jest: 26.4.1
For now, I'm going to pin at these versions, but I'd like to keep on the bleeding edge as soon as the issue can be properly resolved.
To Reproduce
Expected behavior
Expected tests to run as they had done the day before. I know that jest and ts-jest don't follow semver, but the change is at a minor version, so breakage is unexpected.
Debug log:
envinfo
The text was updated successfully, but these errors were encountered: