Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump jest from 29.0.3 to 29.1.2 (#630)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.0.3 to 29.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">jest's releases</a>.</em></p> <blockquote> <h2>v29.1.2</h2> <h2>Fixes</h2> <ul> <li><code>[expect, @jest/expect]</code> Revert buggy inference of argument types for <code>*CalledWith</code> and <code>*ReturnedWith</code> matchers introduced in 29.1.0 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13339">#13339</a>)</li> <li><code>[jest-worker]</code> Add missing dependency on <code>jest-util</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13341">#13341</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/brunocabral88"><code>@brunocabral88</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13329">facebook/jest#13329</a></li> <li><a href="https://github.com/alexander-akait"><code>@alexander-akait</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13341">facebook/jest#13341</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v29.1.1...v29.1.2">https://github.com/facebook/jest/compare/v29.1.1...v29.1.2</a></p> <h2>v29.1.1</h2> <h2>Fixes</h2> <ul> <li><code>[jest-mock]</code> Revert <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13145">#13145</a> which broke mocking of transpiled ES modules</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/facebook/jest/compare/v29.1.0...v29.1.1">https://github.com/facebook/jest/compare/v29.1.0...v29.1.1</a></p> <h2>v29.1.0</h2> <h2>Features</h2> <ul> <li><code>[expect, @jest/expect]</code> support type inference for function parameters in <code>CalledWith</code> assertions (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13268">#13268</a>)</li> <li><code>[expect, @jest/expect]</code> Infer type of <code>*ReturnedWith</code> matchers argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13278">#13278</a>)</li> <li><code>[@jest/environment, jest-runtime]</code> Allow <code>jest.requireActual</code> and <code>jest.requireMock</code> to take a type argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13253">#13253</a>)</li> <li><code>[@jest/environment]</code> Allow <code>jest.mock</code> and <code>jest.doMock</code> to take a type argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13254">#13254</a>)</li> <li><code>[@jest/fake-timers]</code> Add <code>jest.now()</code> to return the current fake clock time (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13244">#13244</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13246">#13246</a>)</li> <li><code>[@jest/mock]</code> Add <code>withImplementation</code> method for temporarily overriding a mock (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13281">#13281</a>)</li> <li><code>[expect]</code> Export <code>toThrow*</code> matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13328">#13328</a>)</li> </ul> <h2>Fixes</h2> <ul> <li><code>[jest-circus, jest-jasmine2]</code> Fix error messages for Node's <code>assert.throes</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13322">#13322</a>)</li> <li><code>[jest-haste-map]</code> Remove <code>__proto__</code> usage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13256">#13256</a>)</li> <li><code>[jest-mock]</code> Improve <code>spyOn</code> typings to handle optional properties (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13247">#13247</a>)</li> <li><code>[jest-mock]</code> Fix mocking of getters and setters on classes (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13145">#13145</a>)</li> <li><code>[jest-snapshot]</code> Throw useful error when an array is passed as property matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13263">#13263</a>)</li> <li><code>[jest-snapshot]</code> Prioritize parser used in the project (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13323">#13323</a>)</li> <li><code>[jest-transform]</code> Attempt to work around issues with atomic writes on Windows (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11423">#11423</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/fzn0x"><code>@fzn0x</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13234">facebook/jest#13234</a></li> <li><a href="https://github.com/guimard"><code>@guimard</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13256">facebook/jest#13256</a></li> <li><a href="https://github.com/weidehai"><code>@weidehai</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13270">facebook/jest#13270</a></li> <li><a href="https://github.com/kettanaito"><code>@kettanaito</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/12871">facebook/jest#12871</a></li> <li><a href="https://github.com/royhadad"><code>@royhadad</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13279">facebook/jest#13279</a></li> <li><a href="https://github.com/ghiscoding"><code>@ghiscoding</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13290">facebook/jest#13290</a></li> <li><a href="https://github.com/paulreece"><code>@paulreece</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13311">facebook/jest#13311</a></li> <li><a href="https://github.com/jeppester"><code>@jeppester</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13281">facebook/jest#13281</a></li> <li><a href="https://github.com/sashashura"><code>@sashashura</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13324">facebook/jest#13324</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">jest's changelog</a>.</em></p> <blockquote> <h2>29.1.2</h2> <h3>Fixes</h3> <ul> <li><code>[expect, @jest/expect]</code> Revert buggy inference of argument types for <code>*CalledWith</code> and <code>*ReturnedWith</code> matchers introduced in 29.1.0 (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13339">#13339</a>)</li> <li><code>[jest-worker]</code> Add missing dependency on <code>jest-util</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13341">#13341</a>)</li> </ul> <h2>29.1.1</h2> <h3>Fixes</h3> <ul> <li><code>[jest-mock]</code> Revert <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13145">#13145</a> which broke mocking of transpiled ES modules</li> </ul> <h2>29.1.0</h2> <h3>Features</h3> <ul> <li><code>[expect, @jest/expect]</code> Support type inference for function parameters in <code>CalledWith</code> assertions (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13268">#13268</a>)</li> <li><code>[expect, @jest/expect]</code> Infer type of <code>*ReturnedWith</code> matchers argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13278">#13278</a>)</li> <li><code>[@jest/environment, jest-runtime]</code> Allow <code>jest.requireActual</code> and <code>jest.requireMock</code> to take a type argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13253">#13253</a>)</li> <li><code>[@jest/environment]</code> Allow <code>jest.mock</code> and <code>jest.doMock</code> to take a type argument (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13254">#13254</a>)</li> <li><code>[@jest/fake-timers]</code> Add <code>jest.now()</code> to return the current fake clock time (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13244">#13244</a>, <a href="https://github-redirect.dependabot.com/facebook/jest/pull/13246">#13246</a>)</li> <li><code>[@jest/mock]</code> Add <code>withImplementation</code> method for temporarily overriding a mock (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13281">#13281</a>)</li> <li><code>[expect]</code> Export <code>toThrow*</code> matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13328">#13328</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-circus, jest-jasmine2]</code> Fix error messages for Node's <code>assert.throes</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13322">#13322</a>)</li> <li><code>[jest-haste-map]</code> Remove <code>__proto__</code> usage (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13256">#13256</a>)</li> <li><code>[jest-mock]</code> Improve <code>spyOn</code> typings to handle optional properties (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13247">#13247</a>)</li> <li><code>[jest-mock]</code> Fix mocking of getters and setters on classes (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13145">#13145</a>)</li> <li><code>[jest-snapshot]</code> Throw useful error when an array is passed as property matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13263">#13263</a>)</li> <li><code>[jest-snapshot]</code> Prioritize parser used in the project (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13323">#13323</a>)</li> <li><code>[jest-transform]</code> Attempt to work around issues with atomic writes on Windows (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/11423">#11423</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/facebook/jest/commit/3c31dd619e8c022cde53f40fa12ea2a67f4752ce"><code>3c31dd6</code></a> v29.1.2</li> <li><a href="https://github.com/facebook/jest/commit/fd9cd900ad0904421a3d97661fdc3337194da1f9"><code>fd9cd90</code></a> v29.1.1</li> <li><a href="https://github.com/facebook/jest/commit/51f10300daf90db003a1749ceaed1084c4f74811"><code>51f1030</code></a> v29.1.0</li> <li>See full diff in <a href="https://github.com/facebook/jest/commits/v29.1.2/packages/jest">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=jest&package-manager=npm_and_yarn&previous-version=29.0.3&new-version=29.1.2)](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> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- Loading branch information