ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

[Snyk] Security upgrade vite from 4.4.4 to 4.4.12 #1106

Closed MiroDojkic closed 3 months ago

MiroDojkic commented 10 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 :-------------------------:|-------------------------|:-------------------------|:-------------------------|:------------------------- ![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-VITE-6098386](https://snyk.io/vuln/SNYK-JS-VITE-6098386) | No | Proof of Concept (*) Note that the real score may have changed since the PR was raised.
Commit messages
Package name: vite The new version differs by 91 commits.
  • 09626f8 release: v4.4.12
  • fe8b209 fix: backport #15223, proxy html path should be encoded (#15226) (#15227)
  • b50db04 release: v4.4.11
  • 54e1275 revert: "fix: use string manipulation instead of regex to inject esbuild helpers
  • f3a3e77 release: v4.4.10
  • f8b9adb fix: restore builtins list
  • 104971d fix(resolve): support submodules of optional peer deps (#14489)
  • 0c6d289 fix(analysis): warnings for dynamic imports that use static template literals (#14458)
  • 269aa43 fix(import-analysis): preserve importedUrls import order (#14465)
  • 6f6e5de fix: handle errors during `hasWorkspacePackageJSON` function (#14394)
  • 8bc1f9d feat: improve deno and bun support (#14379)
  • 3d63ae6 fix(manifest): preserve pure css chunk assets (#14297)
  • d334b3d fix(css): reset render cache on renderStart (#14326)
  • fcaf749 fix(optimizer): define crawlDeps after scanProcessing and optimizationResult are complete (fix #14284) (#14285)
  • 40e99a1 fix: include `vite/types/*` in exports field (#14296)
  • cd7e033 fix(css): remove pure css chunk sourcemap (#14290)
  • d4bc0fb fix(cli): convert special base (#14283)
  • df6f32f fix: add source map to Web Workers (fix #14216) (#14217)
  • c4758d1 fix(vite): precisely check if files are in dirs (#14241)
  • 218861f fix: handle sourcemap correctly when multiple line import exists (#14232)
  • 128ad8f fix: use string manipulation instead of regex to inject esbuild helpers (#14094)
  • b1b816a fix: if host is specified check whether it is valid (#14013)
  • 119c074 fix: initWasm options should be optional (#14152)
  • 441642e fix: ws never connects after restarting server if server.hmr.server is set (#14127)
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/extensionengine/project/741850e0-e76e-4f9d-93b0-c731bc36372c?utm_source=github&utm_medium=referral&page=fix-pr) 🛠 [Adjust project settings](https://app.snyk.io/org/extensionengine/project/741850e0-e76e-4f9d-93b0-c731bc36372c?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":"4aaeac83-9d37-440f-9f21-093f175734fe","prPublicId":"4aaeac83-9d37-440f-9f21-093f175734fe","dependencies":[{"name":"vite","from":"4.4.4","to":"4.4.12"}],"packageManager":"npm","projectPublicId":"741850e0-e76e-4f9d-93b0-c731bc36372c","projectUrl":"https://app.snyk.io/org/extensionengine/project/741850e0-e76e-4f9d-93b0-c731bc36372c?utm_source=github&utm_medium=referral&page=fix-pr","type":"auto","patch":[],"vulns":["SNYK-JS-VITE-6098386"],"upgrade":["SNYK-JS-VITE-6098386"],"isBreakingChange":false,"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)