[Snyk] Upgrade jest from 27.4.7 to 29.7.0 #186
Merged
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.4.7 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.
The recommended version fixes:
SNYK-JS-BABELTRAVERSE-5962462
Why? Proof of Concept exploit, CVSS 9.3
SNYK-JS-NWSAPI-2841516
Why? Proof of Concept exploit, CVSS 9.3
(*) Note that the real score may have changed since the PR was raised.
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:![](https://camo.githubusercontent.com/5c777152a82626ec7015c0faf8ed657e276f2db7d92d24337d8da6e8b78fd1c1/68747470733a2f2f6170692e7365676d656e742e696f2f76312f706978656c2f747261636b3f646174613d65794a33636d6c305a55746c65534936496e4a79576d785a634564485932527954485a7362306c596430645563566734576b4652546e4e434f5545774969776959573576626e6c746233567a535751694f694a684d6d5a6d4e7a646a4e7930334e6a686a4c5451355a4467744f4463335a43316b597a55354e445a684f446c6b5a4455694c434a6c646d567564434936496c425349485a705a58646c5a434973496e42796233426c636e52705a584d694f6e736963484a4a5a434936496d45795a6d59334e324d334c5463324f474d744e446c6b4f4330344e7a646b4c57526a4e546b304e6d45344f57526b4e534a3966513d3d)
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs