YIZHUANG / react-multi-carousel

A lightweight production-ready Carousel that rocks supports multiple items and server-side rendering with no dependency. Bundle size 2kb.
MIT License
1.25k stars 286 forks source link

[Snyk] Security upgrade next from 8.0.3 to 10.0.6 #422

Open YIZHUANG opened 5 months ago

YIZHUANG commented 5 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: - examples/ssr/package.json - examples/ssr/package-lock.json #### Vulnerabilities that will be fixed ##### With an upgrade: Severity | Priority Score (*) | Issue | Breaking Change | Exploit Maturity :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![medium severity](https://res.cloudinary.com/snyk/image/upload/w_20,h_20/v1561977819/icon/m.png "medium severity") | **698/1000**
**Why?** Proof of Concept exploit, Recently disclosed, Has a fix available, CVSS 6.1 | Cross-site Scripting (XSS)
[SNYK-JS-SERIALIZEJAVASCRIPT-6147607](https://snyk.io/vuln/SNYK-JS-SERIALIZEJAVASCRIPT-6147607) | Yes | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: next The new version differs by 250 commits.
  • 5201cdb v10.0.6
  • f8f2a17 v10.0.6-canary.12
  • 232209b Remove note about Yarn 2 support. (#21665)
  • 5be31f5 Update CI publish step to trigger after build (#21661)
  • 5582892 v10.0.6-canary.11
  • 843252b Add note about Yarn 2 support. (#21657)
  • 8f21c28 Experimental feature changes (#21646)
  • 08846cf v10.0.6-canary.10
  • 652a1e8 Improvements to webpack tracing, including hot-reload (#21652)
  • 5a73859 Update docs and Create Next App to use API Middlewares by default. (#21639)
  • 8f0c155 Grammatical fixes (#21644)
  • e75f611 v10.0.6-canary.9
  • 87ed37d Ensure prerender-manifest contains all i18n revalidate values (#21404)
  • b785fbc chore: upgrade webpack5 (#21563)
  • 35efe8d Remove branches filter from actions cancel workflow (#21564)
  • cca2000 Update CI docs change diff check (#21558)
  • e1fe28c Fix and add test filterModuleRules for next-plugin-storybook (#17306)
  • 0370c03 Update links that go to vercel.com/now (#21556)
  • dc2de37 Font optimization - Pass nonce to inlined font definition (#21346)
  • 004ad62 Allow `undefined` body sent to `sendData()` (#20981)
  • 07d4af9 suppressing eslint warning (#21163)
  • 7aa397f Add Kontent example to preview section (#21542)
  • a47d47e Change type of GetServerSidePropsContext.req.cookies the be the same as NextApiRequest.cookies (#21336)
  • f6cc0de Remove mkdirp (#21365)
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/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?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":"0d2592ad-681e-43f1-a902-68b09539e0b7","prPublicId":"0d2592ad-681e-43f1-a902-68b09539e0b7","dependencies":[{"name":"next","from":"8.0.3","to":"10.0.6"}],"packageManager":"npm","projectPublicId":"b0c7c1c4-9c9f-4c03-adbe-b061211916dc","projectUrl":"https://app.snyk.io/org/yizhuang/project/b0c7c1c4-9c9f-4c03-adbe-b061211916dc?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"upgrade":["SNYK-JS-SERIALIZEJAVASCRIPT-6147607"],"isBreakingChange":true,"env":"prod","prType":"fix","templateVariants":["updated-fix-title","priorityScore"],"priorityScoreList":[698],"remediationStrategy":"vuln"}) --- **Learn how to fix vulnerabilities with free interactive lessons:** 🦉 [Cross-site Scripting (XSS)](https://learn.snyk.io/lesson/dom-based-xss/?loc=fix-pr)