[Snyk] Upgrade jest from 27.5.1 to 29.7.0 #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade jest from 27.5.1 to 29.7.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.
Warning: This is a major version upgrade, and may be a breaking change.
Release notes
Package name: jest
Features
[create-jest]
Addnpm init
/yarn create
initialiser for Jest projects (#14465)[jest-validate]
Allow deprecation warnings for unknown options (#14499)Fixes
[jest-resolver]
Replace unmatched capture groups inmoduleNameMapper
with empty string instead ofundefined
(#14507)[jest-snapshot]
Allow for strings as well as template literals in inline snapshots (#14465)[@ jest/test-sequencer]
Calculate test runtime ifperStats.duration
is missing (#14473)Performance
[@ jest/create-cache-key-function]
Cache access ofNODE_ENV
andBABEL_ENV
(#14455)Chore & Maintenance
[jest-cli]
Move internal config initialisation logic to thecreate-jest
package (#14465)New Contributors
Full Changelog: v29.6.4...v29.7.0
Fixes
[jest-core]
Fix typo inscheduleAndRun
performance marker (#14434)[jest-environment-node]
Make sureatob
andbtoa
are writeable in Node 20 (#14446)[jest-worker]
Additional error wrapper forparentPort.postMessage
to fix unhandledDataCloneError
. (#14437)New Contributors
Full Changelog: v29.6.3...v29.6.4
Fixes
[expect, @ jest/expect-utils]
ObjectContaining
supportsymbol
as key (#14414)[expect]
Remove@ types/node
from dependencies (#14385)[jest-core]
Use workers in watch mode by default to avoid crashes (#14059 & #14085).[jest-reporters]
Updateistanbul-lib-instrument
dependency to v6. (#14401)[jest-mock]
Revert #13692 as it was a breaking change (#14429)[jest-mock]
Revert #13866 as it was a breaking change (#14429)[jest-mock]
Revert #13867 as it was a breaking change (#14429)[@ jest/reporters]
Marks Reporter's hooks as optional (#14433)[jest-runtime]
Fix dynamic ESM import module bug when loaded module throughjest.isolateModulesAsync
(#14397)Chore & Maintenance
[jest-changed-files, jest-circus, jest-console, @ jest/core, @ jest/runtime, @ jest/transform]
Useinvariant
andnotEmpty
fromjest-util
rather than own internal (#14366)New Contributors
Full Changelog: v29.6.2...v29.6.3
Fixes
[jest-circus]
Fix snapshot matchers in concurrent tests when nr of tests exceedsmaxConcurrency
(#14335)[@ jest/core]
When running global setup and teardown, do not try to change themessage
property of the thrown error object when themessage
property is unwritable (#14113)[jest-snapshot]
Move@ types/prettier
fromdependencies
todevDependencies
(#14328)[jest-snapshot]
Throw an explicit error if Prettier v3 is used (#14367)[jest-reporters]
Add "skipped" and "todo" symbols to Github Actions Reporter (#14309)Chore & Maintenance
[@ jest/core]
Usepluralize
fromjest-util
rather than own internal (#14322)New Contributors
Full Changelog: v29.6.1...v29.6.2
Fixes
[jest-circus]
Revert #14110 as it was a breaking change (#14304)Full Changelog: v29.6.0...v29.6.1
Read more
Read more
Features
[expect]
UpdatetoThrow()
to be able to use errorcause
s (#13606)[jest-core]
allow to useworkerIdleMemoryLimit
with only 1 worker orrunInBand
option (#13846)[jest-message-util]
Add support for errorcause
s (#13868 & #13912)[jest-runtime]
Revertimport assertions
for JSON modules as it's been relegated to Stage 2 (#13911)Fixes
[@ jest/expect-utils]
subsetEquality
should consider also an object's inherited string keys (#13824)[jest-mock]
Clear mock state whenjest.restoreAllMocks()
is called (#13867)[jest-mock]
PreventmockImplementationOnce
andmockReturnValueOnce
bleeding intowithImplementation
(#13888)[jest-mock]
Do not restore mocks whenjest.resetAllMocks()
is called (#13866)New Contributors
Full Changelog: v29.4.2...v29.4.3
Read more
Read more
Commit messages
Package name: jest
Compare
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:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs