nodeshift / npcheck

"Node Package Checker" - A tool to run various checks on npm modules
16 stars 6 forks source link

[Snyk] Security upgrade jest from 27.4.7 to 28.0.0 #181

Closed lholmquist closed 10 months ago

lholmquist commented 11 months ago

This PR was automatically created by Snyk using the credentials of a real user.


Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.

#### Changes included in this PR - Changes to the following files to upgrade the vulnerable dependencies to a fixed version: - package.json - package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![high severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/h.png "high severity") | **696/1000**
**Why?** Proof of Concept exploit, Has a fix available, CVSS 7.5 | Regular Expression Denial of Service (ReDoS)
[SNYK-JS-SEMVER-3247795](https://snyk.io/vuln/SNYK-JS-SEMVER-3247795) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: jest The new version differs by 250 commits.
  • 8f9b812 v28.0.0
  • f424551 feat: Jest 28 blog post (#12732)
  • c79f8d6 feat: roll v28 docs (#12733)
  • e9f6610 Remove `core.autocrlf` config on CI (#12731)
  • 9342a23 docs: add mention of expect breaking change to upgrade guide (#12730)
  • e1f2515 chore: add missing `throw`
  • 039f43e chore: combine all v27 docs into a single one (#12729)
  • 256c1af chore(website): add some admonitions to 25.x (#12565)
  • fc85b8f fix: replace hash routine md5 with sha256 (#12722)
  • c1a57cb chore(deps): bump isbinaryfile dependency to ^5.0.0 (#12726)
  • 9ebfe0a chorer: add note about babel config to upgrade guide (#12724)
  • 4ec4b98 chore: cache yarn deps on netlify (#12725)
  • 62afb83 chore: revert #12718 and simply do not bundle type declarations of `@ jest/globals` (#12721)
  • 4f1d199 Add Yarn dedupe CI check (#12717)
  • 7a8c9cf Lock source-map-support verion to 0.5.13 (#12720)
  • 811228d Support error logging before jest retry (#12201)
  • a28db24 chore: do not bundle type definitions for packages which have only one `.d.ts` file (#12718)
  • 49ee158 update dependency @ microsoft/api-extractor to 7.23.0 (#12716)
  • e72c52f feat(jest-runner): export `TestRunner` interface types and reexport types from other packages (#12715)
  • 3c6f14b feat(jest-resolve): expose `PackageFilter`, `PathFilter` and `PackageJSON` types (#12712)
  • a293b75 refactor(jest-transform): rename TransformerConfig (#12708)
  • 625e0bc show that setupFilesAfterEnv scripts can define beforeAll (#12702)
  • 0208815 feat(jest-resolve): expose `JestResolver`, `AsyncResolver` and `SyncResolver` types (#12707)
  • 75c7c40 docs: use admonitions in ExpectAPI.md (#12679)
See the full diff
Check the changes in this PR to ensure they won't cause issues with your project. ------------ **Note:** *You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.* For more information: 🧐 [View latest project report](https://app.snyk.io/org/nodeshift-agg/project/64979d5f-8f51-42cf-84c4-6c7388aff995?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/nodeshift-agg/project/64979d5f-8f51-42cf-84c4-6c7388aff995?utm_source=github&utm_medium=referral&page=fix-pr/settings) 📚 [Read more about Snyk's upgrade and patch logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities) [//]: # (snyk:metadata:{"prId":"135bbc2e-9eaa-4b7b-9db6-38ba842368a1","prPublicId":"135bbc2e-9eaa-4b7b-9db6-38ba842368a1","dependencies":[{"name":"jest","from":"27.4.7","to":"28.0.0"}],"packageManager":"npm","projectPublicId":"64979d5f-8f51-42cf-84c4-6c7388aff995","projectUrl":"https://app.snyk.io/org/nodeshift-agg/project/64979d5f-8f51-42cf-84c4-6c7388aff995?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SEMVER-3247795"],"upgrade":["SNYK-JS-SEMVER-3247795"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[696],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Regular Expression Denial of Service (ReDoS)](https://learn.snyk.io/lesson/redos/?loc=fix-pr)