Summary: Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.6.1 to 26.6.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>26.6.2</h2> <h3>Features</h3> <ul> <li><code>[jest-core]</code> Add <code>findRelatedTests</code> and <code>nonFlagArgs</code> in allowed config options for <code>updateConfigAndRun</code> in watch plugins (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10659">#10659</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[babel-plugin-jest-hoist]</code> Preserve order of hoisted mock nodes within containing block (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10536">#10536</a>)</li> <li><code>[babel-plugin-jest-hoist]</code> Hoist pure constants to support experimental JSX transform in hoisted mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10723">#10723</a>)</li> <li><code>[babel-preset-jest]</code> Update <code>babel-preset-current-node-syntax</code> to support top level await (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10747">#10747</a>)</li> <li><code>[expect]</code> Revert "Fix <code>objectContaining</code> to work recursively into sub-objects (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10508">#10508</a>)" (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10766">#10766</a>)</li> <li><code>[jest-circus, jest-jasmine2]</code> fix: don't assume <code>stack</code> is always a string (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10697">#10697</a>)</li> <li><code>[jest-config]</code> Fix bug introduced in watch mode by PR <a href="https://github-redirect.dependabot.com/facebook/jest/pull/10678/files#r511037803">#10678</a> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10692">#10692</a>)</li> <li><code>[jest-config]</code> Throw correct error for missing preset modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10737">#10737</a>)</li> <li><code>[jest-resolve-dependencies]</code> Resolve mocks as dependencies (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10713">#10713</a>)</li> <li><code>[jest-runtime]</code> Handle file URLs in dynamic imports (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10744">#10744</a>)</li> <li><code>[jest-runtime, babel-jest]</code> Pass more ESM options to <code>jest/transform</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10752">#10752</a>)</li> <li><code>[jest-runtime]</code> Properly inject <code>extraGlobals</code> into the runtime (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10758">#10758</a>)</li> <li><code>[jest-transform]</code> Link to ESM docs on syntax errors (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10748">#10748</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Add docs for using mocks in TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10415">#10415</a>)</li> <li><code>[eslint-config-fb-strict]</code> Move package from this repo to <code>fbjs</code> repo (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10739">#10739</a>)</li> <li><code>[examples]</code> Update TypeScript example to show use of newer Jest types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10399">#10399</a>)</li> <li><code>[jest-cli]</code> chore: standardize files and folder names (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10698">#10698</a>)</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/facebook/jest/blob/master/CHANGELOG.md">babel-jest's changelog</a>.</em></p> <blockquote> <h2>26.6.2</h2> <h3>Features</h3> <ul> <li><code>[jest-core]</code> Add <code>findRelatedTests</code> and <code>nonFlagArgs</code> in allowed config options for <code>updateConfigAndRun</code> in watch plugins (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10659">#10659</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[babel-plugin-jest-hoist]</code> Preserve order of hoisted mock nodes within containing block (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10536">#10536</a>)</li> <li><code>[babel-plugin-jest-hoist]</code> Hoist pure constants to support experimental JSX transform in hoisted mocks (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10723">#10723</a>)</li> <li><code>[babel-preset-jest]</code> Update <code>babel-preset-current-node-syntax</code> to support top level await (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10747">#10747</a>)</li> <li><code>[expect]</code> Revert "Fix <code>objectContaining</code> to work recursively into sub-objects (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10508">#10508</a>)" (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10766">#10766</a>)</li> <li><code>[jest-circus, jest-jasmine2]</code> fix: don't assume <code>stack</code> is always a string (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10697">#10697</a>)</li> <li><code>[jest-config]</code> Fix bug introduced in watch mode by PR <a href="https://github-redirect.dependabot.com/facebook/jest/pull/10678/files#r511037803">#10678</a> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10692">#10692</a>)</li> <li><code>[jest-config]</code> Throw correct error for missing preset modules (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10737">#10737</a>)</li> <li><code>[jest-resolve-dependencies]</code> Resolve mocks as dependencies (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10713">#10713</a>)</li> <li><code>[jest-runtime]</code> Handle file URLs in dynamic imports (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10744">#10744</a>)</li> <li><code>[jest-runtime, babel-jest]</code> Pass more ESM options to <code>jest/transform</code> (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10752">#10752</a>)</li> <li><code>[jest-runtime]</code> Properly inject <code>extraGlobals</code> into the runtime (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10758">#10758</a>)</li> <li><code>[jest-transform]</code> Link to ESM docs on syntax errors (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10748">#10748</a>)</li> </ul> <h3>Chore & Maintenance</h3> <ul> <li><code>[docs]</code> Add docs for using mocks in TypeScript (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10415">#10415</a>)</li> <li><code>[eslint-config-fb-strict]</code> Move package from this repo to <code>fbjs</code> repo (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10739">#10739</a>)</li> <li><code>[examples]</code> Update TypeScript example to show use of newer Jest types (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10399">#10399</a>)</li> <li><code>[jest-cli]</code> chore: standardize files and folder names (<a href="https://github-redirect.dependabot.com/facebook/jest/pull/10698">#10698</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="4c46930615"><code>4c46930</code></a> v26.6.2</li> <li><a href="1dbdd67ca4"><code>1dbdd67</code></a> Revert "fix(expect): <code>objectContaining</code> should recurse into sub-objects (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/105">https://github.com/facebook/flipper/issues/105</a>...</li> <li><a href="bc23f43300"><code>bc23f43</code></a> chore: move TestUtils file into test utils package (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/10756">#10756</a>)</li> <li><a href="f9132f9106"><code>f9132f9</code></a> chore: sort imports alphabetically (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/10757">#10757</a>)</li> <li><a href="95169d3595"><code>95169d3</code></a> chore: support more caller options in babel-jest (<a href="https://github.com/facebook/jest/tree/HEAD/packages/babel-jest/issues/10752">#10752</a>)</li> <li>See full diff in <a href="https://github.com/facebook/jest/commits/v26.6.2/packages/babel-jest">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/configuring-github-dependabot-security-updates) 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/1643 Reviewed By: passy Differential Revision: D24702710 Pulled By: cekkaewnumchai fbshipit-source-id: f37bd1ee6fc269c592a67416974be7b5054ffa37
293 KiB
293 KiB