This repository has been archived by the owner on Sep 13, 2022. It is now read-only.
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.
Snyk has created this PR to upgrade jest from 27.0.6 to 27.4.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 fixes:
SNYK-JS-TMPL-1583443
Why? Proof of Concept exploit, CVSS 7.5
SNYK-JS-PROMPTS-1729737
Why? Proof of Concept exploit, CVSS 7.5
(*) Note that the real score may have changed since the PR was raised.
Release notes
Package name: jest
Features
[expect]
Enhancing thetoHaveProperty
matcher to support array selection (#12092)[jest-core]
Add support fortestResultsProcessor
written in ESM (#12006)[jest-diff, pretty-format]
AddcompareKeys
option for custom sorting of object keys (#11992)[jest-mock]
Addts-jest
mock util functions (#12089)Fixes
[expect]
Allow againexpect.Matchers
generic with single value (#11986)[jest-circus, jest-jasmine2]
Avoid false concurrent test failures due to unhandled promise rejections (#11987)[jest-config]
Add missingslash
dependency topackage.json
(#12080)[jest-core]
Incorrect detection of open ZLIB handles (#12022)[jest-diff]
Break dependency cycle (#10818)[jest-environment-jsdom]
Add@ types/jsdom
dependency (#11999)[jest-environment-jsdom]
Do not reset the global.document too early on teardown (#11871)[jest-transform]
Improve error and warning messages (#11998)[jest-worker]
PassexecArgv
correctly toworker_threads
worker (#12069)Chore & Maintenance
[docs]
CLI options alphabetized (#11586)[jest-runner]
Add info regarding timers to forcedExit message(#12083)[*]
Replacedsubstr
method withsubstring
(#12066)[*]
Addtypes
entry to all export maps (#12073)New Contributors
Full Changelog: v27.3.1...v27.4.0
Fixes
[expect]
Makeexpect
extension propertiesconfigurable
(#11978)[expect]
Fix.any()
checks on primitive wrapper classes (#11976)Chore & Maintenance
[expect]
BigInt
global is always defined, don't check for its existence at runtime (#11979)[jest-config, jest-util]
Useci-info
instead ofis-ci
to detect CI environment (#11973)New Contributors
Full Changelog: v27.3.0...v27.3.1
Features
[jest-config]
AddtestEnvironmentOptions.html
to apply to jsdom input (#11950)[jest-resolver]
Support default export (.
) inexports
field ifmain
is missing (#11919)Fixes
[expect]
Tweak and improve types (#11949)[jest-runtime]
Ensure absolute paths can be resolved within test modules (#11943)[jest-runtime]
Fixinstanceof
forModernFakeTimers
andLegacyFakeTimers
methods (#11946)New Contributors
Full Changelog: v27.2.5...v27.3.0
Read more
Features
[expect]
Add equality checks for Array Buffers inexpect.ToStrictEqual()
(#11805)Fixes
[jest-snapshot]
Correctly indent inline snapshots (#11560)Features
[@ jest/fake-timers]
Update@ sinonjs/fake-timers
to v8 (#11879)Fixes
[jest-config]
ParsetestEnvironmentOptions
if received from CLI (#11902)[jest-reporters]
Calldestroy
onv8-to-istanbul
converters to free memory (#11896)Fixes
[jest-runtime]
CorrectwrapperLength
value for ESM modules. (#11893)Read more
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