[Snyk] Upgrade jest from 30.0.0 to 30.2.0 #333

Closed
opened 2026-04-05 16:19:23 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @simlarsen on 10/25/2025

snyk-top-banner

Snyk has created this PR to upgrade jest from 30.0.0 to 30.2.0.

ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.


  • The recommended version is 10 versions ahead of your current version.

  • The recommended version was released a month ago.

Release notes
Package name: jest
  • 30.2.0 - 2025-09-28

    Chore & Maintenance

    • [*] Update example repo for testing React Native projects (#15832)
    • [*] Update jest-watch-typeahead to v3 (#15830)

    Features

    • [jest-environment-jsdom-abstract] Add support for JSDOM v27 (#15834)

    Fixes

    • [babel-jest] Export the TransformerConfig interface (#15820)
    • [jest-config] Fix jest.config.ts with TS loader specified in docblock pragma (#15839)
  • 30.1.3 - 2025-09-02

    Fixes

    • Fix unstable_mockModule with node: prefixed core modules.
  • 30.1.2 - 2025-09-01

    Fixes

    • [jest-snapshot-utils] Correct snapshot header regexp to work with newline across OSes (#15803)
  • 30.1.1 - 2025-08-27

    Fixes

    • [jest-snapshot-utils] Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (#15800)
  • 30.1.0 - 2025-08-27

    Features

    • [jest-leak-detector] Configurable GC aggressiveness regarding to V8 heap snapshot generation (#15793)
    • [jest-runtime] Reduce redundant ReferenceError messages
    • [jest-core] Include test modules that failed to load when --onlyFailures is active

    Fixes

    • `[jest-snapshot-utils] Fix deprecated goo.gl snapshot guide link not getting replaced with fully canonical URL (#15787)
    • [jest-circus] Fix it.concurrent not working with describe.skip (#15765)
    • [jest-snapshot] Fix mangled inline snapshot updates when used with Prettier 3 and CRLF line endings
    • [jest-runtime] Importing from @ jest/globals in more than one file no longer breaks relative paths (#15772)

    Chore

    • [expect] Update docblock for toContain() to display info on substring check (#15789)
  • 30.0.5 - 2025-07-22

    v30.0.5

  • 30.0.4 - 2025-07-02

    v30.0.4

  • 30.0.3 - 2025-06-25

    v30.0.3

  • 30.0.2 - 2025-06-19

    What's Changed

    Fixes

    • [jest-matcher-utils] Make 'deepCyclicCopyObject' safer by setting descriptors to a null-prototype object (#15689)
    • [jest-util] Make garbage collection protection property writable (#15689)

    Full Changelog: https://github.com/jestjs/jest/blob/main/CHANGELOG.md

  • 30.0.1 - 2025-06-18

    What's Changed

    Features

    • [jest-resolver] Implement the defaultAsyncResolver (#15679)

    Fixes

    • [jest-resolver] Resolve builtin modules correctly (#15683)
    • [jest-environment-node, jest-util] Avoid setting globals cleanup protection symbol when feature is off (#15684)

    Chore & Maintenance

    • [*] Remove and deprecate jest-repl package (#15673)
    • [jest-resolver] Replace custom isBuiltinModule with node's isBuiltin (#15685)

    New Contributors

    Full Changelog: https://github.com/jestjs/jest/blob/main/CHANGELOG.md

  • 30.0.0 - 2025-06-10
from jest GitHub release notes

Important

  • Check the changes in this PR to ensure they won't cause issues with your project.
  • This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.

For more information:

*Originally created by @simlarsen on 10/25/2025* ![snyk-top-banner](https://res.cloudinary.com/snyk/image/upload/r-d/scm-platform/snyk-pull-requests/pr-banner-default.svg) <h3>Snyk has created this PR to upgrade jest from 30.0.0 to 30.2.0.</h3> :information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project. <hr/> - The recommended version is **10 versions** ahead of your current version. - The recommended version was released **a month ago**. <details> <summary><b>Release notes</b></summary> <br/> <details> <summary>Package name: <b>jest</b></summary> <ul> <li> <b>30.2.0</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.2.0">2025-09-28</a></br><h3>Chore &amp; Maintenance</h3> <ul> <li><code>[*]</code> Update example repo for testing React Native projects (<a href="https://redirect.github.com/jestjs/jest/pull/15832" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15832/hovercard">#15832</a>)</li> <li><code>[*]</code> Update <code>jest-watch-typeahead</code> to v3 (<a href="https://redirect.github.com/jestjs/jest/pull/15830" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15830/hovercard">#15830</a>)</li> </ul> <h2>Features</h2> <ul> <li><code>[jest-environment-jsdom-abstract]</code> Add support for JSDOM v27 (<a href="https://redirect.github.com/jestjs/jest/pull/15834" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15834/hovercard">#15834</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[babel-jest]</code> Export the <code>TransformerConfig</code> interface (<a href="https://redirect.github.com/jestjs/jest/pull/15820" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15820/hovercard">#15820</a>)</li> <li><code>[jest-config]</code> Fix <code>jest.config.ts</code> with TS loader specified in docblock pragma (<a href="https://redirect.github.com/jestjs/jest/pull/15839" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15839/hovercard">#15839</a>)</li> </ul> </li> <li> <b>30.1.3</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.1.3">2025-09-02</a></br><h3>Fixes</h3> <ul> <li>Fix <code>unstable_mockModule</code> with <code>node:</code> prefixed core modules.</li> </ul> </li> <li> <b>30.1.2</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.1.2">2025-09-01</a></br><h3>Fixes</h3> <ul> <li><code>[jest-snapshot-utils]</code> Correct snapshot header regexp to work with newline across OSes (<a href="https://redirect.github.com/jestjs/jest/pull/15803" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15803/hovercard">#15803</a>)</li> </ul> </li> <li> <b>30.1.1</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.1.1">2025-08-27</a></br><h3>Fixes</h3> <ul> <li><code>[jest-snapshot-utils]</code> Fix deprecated goo.gl snapshot warning not handling Windows end-of-line sequences (<a href="https://redirect.github.com/jestjs/jest/pull/15800" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15800/hovercard">#15800</a>)</li> </ul> </li> <li> <b>30.1.0</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.1.0">2025-08-27</a></br><h2>Features</h2> <ul> <li><code>[jest-leak-detector]</code> Configurable GC aggressiveness regarding to V8 heap snapshot generation (<a href="https://redirect.github.com/jestjs/jest/pull/15793/" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15793/hovercard">#15793</a>)</li> <li><code>[jest-runtime]</code> Reduce redundant ReferenceError messages</li> <li><code>[jest-core]</code> Include test modules that failed to load when --onlyFailures is active</li> </ul> <h3>Fixes</h3> <ul> <li>`[jest-snapshot-utils] Fix deprecated goo.gl snapshot guide link not getting replaced with fully canonical URL (<a href="https://redirect.github.com/jestjs/jest/pull/15787" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15787/hovercard">#15787</a>)</li> <li><code>[jest-circus]</code> Fix <code>it.concurrent</code> not working with <code>describe.skip</code> (<a href="https://redirect.github.com/jestjs/jest/pull/15765" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15765/hovercard">#15765</a>)</li> <li><code>[jest-snapshot]</code> Fix mangled inline snapshot updates when used with Prettier 3 and CRLF line endings</li> <li><code>[jest-runtime]</code> Importing from <code>@ jest/globals</code> in more than one file no longer breaks relative paths (<a href="https://redirect.github.com/jestjs/jest/issues/15772" data-hovercard-type="issue" data-hovercard-url="/jestjs/jest/issues/15772/hovercard">#15772</a>)</li> </ul> <h1>Chore</h1> <ul> <li><code>[expect]</code> Update docblock for <code>toContain()</code> to display info on substring check (<a href="https://redirect.github.com/jestjs/jest/pull/15789" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15789/hovercard">#15789</a>)</li> </ul> </li> <li> <b>30.0.5</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.0.5">2025-07-22</a></br><p>v30.0.5</p> </li> <li> <b>30.0.4</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.0.4">2025-07-02</a></br><p>v30.0.4</p> </li> <li> <b>30.0.3</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.0.3">2025-06-25</a></br><p>v30.0.3</p> </li> <li> <b>30.0.2</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.0.2">2025-06-19</a></br><h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li><code>[jest-matcher-utils]</code> Make 'deepCyclicCopyObject' safer by setting descriptors to a null-prototype object (<a href="https://redirect.github.com/jestjs/jest/pull/15689" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15689/hovercard">#15689</a>)</li> <li><code>[jest-util]</code> Make garbage collection protection property writable (<a href="https://redirect.github.com/jestjs/jest/pull/15689" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15689/hovercard">#15689</a>)</li> </ul> <p><strong>Full Changelog</strong>: <a href="https://redirect.github.com/jestjs/jest/blob/main/CHANGELOG.md">https://github.com/jestjs/jest/blob/main/CHANGELOG.md</a></p> </li> <li> <b>30.0.1</b> - <a href="https://redirect.github.com/jestjs/jest/releases/tag/v30.0.1">2025-06-18</a></br><h2>What's Changed</h2> <h3>Features</h3> <ul> <li><code>[jest-resolver]</code> Implement the <code>defaultAsyncResolver</code> (<a href="https://redirect.github.com/jestjs/jest/pull/15679" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15679/hovercard">#15679</a>)</li> </ul> <h3>Fixes</h3> <ul> <li><code>[jest-resolver]</code> Resolve builtin modules correctly (<a href="https://redirect.github.com/jestjs/jest/pull/15683" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15683/hovercard">#15683</a>)</li> <li><code>[jest-environment-node, jest-util]</code> Avoid setting globals cleanup protection symbol when feature is off (<a href="https://redirect.github.com/jestjs/jest/pull/15684" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15684/hovercard">#15684</a>)</li> </ul> <h3>Chore &amp; Maintenance</h3> <ul> <li><code>[*]</code> Remove and deprecate <code>jest-repl</code> package (<a href="https://redirect.github.com/jestjs/jest/pull/15673" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15673/hovercard">#15673</a>)</li> <li><code>[jest-resolver]</code> Replace custom <code>isBuiltinModule</code> with node's <code>isBuiltin</code> (<a href="https://redirect.github.com/jestjs/jest/pull/15685" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15685/hovercard">#15685</a>)</li> </ul> <h2>New Contributors</h2> <ul> <li><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/vovkasm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://redirect.github.com/vovkasm">@ vovkasm</a> made their first contribution in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="3157822229" data-permission-text="Title is private" data-url="https://github.com/jestjs/jest/issues/15687" data-hovercard-type="pull_request" data-hovercard-url="/jestjs/jest/pull/15687/hovercard" href="https://redirect.github.com/jestjs/jest/pull/15687">#15687</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://redirect.github.com/jestjs/jest/blob/main/CHANGELOG.md">https://github.com/jestjs/jest/blob/main/CHANGELOG.md</a></p> </li> <li> <b>30.0.0</b> - 2025-06-10 </li> </ul> from <a href="https://redirect.github.com/jestjs/jest/releases">jest GitHub release notes</a> </details> </details> --- > [!IMPORTANT] > > - Check the changes in this PR to ensure they won't cause issues with your project. > - This PR was automatically created by Snyk using the credentials of a real user. --- **Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs._ **For more information:** <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiIzMWEyNzFhNC02MDMxLTQ4MjEtOTIyYS1hOTJhYmExZTcyZmMiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjMxYTI3MWE0LTYwMzEtNDgyMS05MjJhLWE5MmFiYTFlNzJmYyJ9fQ==" width="0" height="0"/> > - 🧐 [View latest project report](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) > - 📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates?utm_source=&utm_content=fix-pr-template) > - 🛠 [Adjust upgrade PR settings](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92/settings/integration?utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr) > - 🔕 [Ignore this dependency or unsubscribe from future upgrade PRs](https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92/settings/integration?pkg&#x3D;jest&amp;utm_source&#x3D;github&amp;utm_medium&#x3D;referral&amp;page&#x3D;upgrade-pr#auto-dep-upgrades) [//]: # 'snyk:metadata:{"breakingChangeRiskLevel":null,"FF_showPullRequestBreakingChanges":null,"FF_showPullRequestBreakingChangesWebSearch":null,"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"jest","from":"30.0.0","to":"30.2.0"}],"env":"prod","hasFixes":false,"isBreakingChange":false,"isMajorUpgrade":false,"issuesToFix":[],"prId":"31a271a4-6031-4821-922a-a92aba1e72fc","prPublicId":"31a271a4-6031-4821-922a-a92aba1e72fc","packageManager":"npm","priorityScoreList":[],"projectPublicId":"c3622982-05c8-495c-809c-20f301c75f92","projectUrl":"https://app.snyk.io/org/oneuptime-RsC2nshvQ2Vnr35jHvMnMP/project/c3622982-05c8-495c-809c-20f301c75f92?utm_source=github&utm_medium=referral&page=upgrade-pr","prType":"upgrade","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":[],"type":"auto","upgrade":[],"upgradeInfo":{"versionsDiff":10,"publishedDate":"2025-09-28T07:33:12.181Z"},"vulns":[]}'
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/oneuptime#333