Summary: Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 28.1.3 to 29.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/releases">babel-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> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/main/CHANGELOG.md">babel-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> <h2>29.0.3</h2> <h3>Features</h3> <ul> <li><code>[jest/environment, jest-runtime]</code> Allow passing a generic type argument to <code>jest.createMockFromModule<T>()</code> method (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13202">#13202</a>)</li> <li><code>[expect]</code> Expose <code>ExpectationResult</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13240">#13240</a>)</li> <li><code>[jest-snapshot]</code> Expose <code>Context</code> type (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13240">#13240</a>)</li> <li><code>[jest/globals]</code> Add <code>jest.Mock</code> type helper (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13235">#13235</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-core]</code> Capture <code>execError</code> during <code>TestScheduler.scheduleTests</code> and dispatch to reporters (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13203">#13203</a>)</li> <li><code>[jest-resolve]</code> Make sure to resolve module paths after looking at <code>exports</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13242">#13242</a>)</li> <li><code>[jest-resolve]</code> Improve error on module not found deep in the <code>require</code> stack (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/8704">#8704</a>)</li> <li><code>[jest-snapshot]</code> Fix typings of snapshot matchers (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/13240">#13240</a>)</li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="3c31dd619e"><code>3c31dd6</code></a> v29.1.2</li> <li><a href="51f10300da"><code>51f1030</code></a> v29.1.0</li> <li><a href="77f865da39"><code>77f865d</code></a> v29.0.3</li> <li><a href="616fcf56bb"><code>616fcf5</code></a> v29.0.2</li> <li><a href="b959a3d3bd"><code>b959a3d</code></a> v29.0.1</li> <li><a href="75006e46c7"><code>75006e4</code></a> v29.0.0</li> <li><a href="4def94b073"><code>4def94b</code></a> v29.0.0-alpha.6</li> <li><a href="63e506b5d1"><code>63e506b</code></a> v29.0.0-alpha.5</li> <li><a href="98a833bd4b"><code>98a833b</code></a> v29.0.0-alpha.4</li> <li><a href="09981873c5"><code>0998187</code></a> v29.0.0-alpha.3</li> <li>Additional commits viewable in <a href="https://github.com/facebook/jest/commits/v29.1.2/packages/babel-jest">compare view</a></li> </ul> </details> <br /> [](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> Pull Request resolved: https://github.com/facebook/flipper/pull/4163 Reviewed By: antonk52 Differential Revision: D40022395 Pulled By: antonk52 fbshipit-source-id: 1d8bf86f889023026f32b635679c903b4d98d660
341 KiB
341 KiB