Track the deepmerge advisory that has no patched release

未關閉
#396 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 2 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1 小時以內
新手友好度
45/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
github-actions, typescript
領域
devops

研究方向

Start by reading the dependency declarations and lockfile entries for deepmerge, @svgr/plugin-svgo, and the Docusaurus packages, then check whether a release newer than 4.3.1 is available. When one is available, update the dependency and run npm audit; done means the advisory is gone without downgrading Docusaurus. Until then, the issue says to leave the dependency unchanged.

由索引模型根據 Issue 內容生成。

描述

Medium Priority Security vulnerabilities

Summary

After the November pin pass (#392), npm audit has no high or moderate findings. The remaining low is one advisory, repeated through the SVGR chain:

  • deepmerge >= 4.2.0 (GHSA-gcqx-w48m-w2h4)
  • Pulled in by @svgr/plugin-svgo, then @svgr/webpack, @docusaurus/plugin-svgr, and @docusaurus/preset-classic
  • Newest 4.x release is 4.3.1, which is still inside the range
  • @svgr/plugin-svgo requires ^4.3.1, so an override to an older 4.x is outside the version that package asks for

npm audit fix --force wants to downgrade @docusaurus/preset-classic to 3.6.3. Do not do that.

This is separate from #339, which is the braces advisory. #338 should keep failing only on high and critical, so this low must not turn the build red. It still needs a place to be revisited.

What to change

  • Leave the dependency where it is.
  • When a deepmerge release newer than 4.3.1 is published, bump it and confirm npm audit no longer reports GHSA-gcqx-w48m-w2h4.
  • Until then, do not allow-list it by downgrading Docusaurus.

Acceptance

  • The issue stays open until a patched deepmerge exists
  • No pull request downgrades Docusaurus to clear this one low
主要語言
TypeScript
星號
13
分支
24
平均合併
3 天 1 小時
30 天內合併 PR
34

環境準備

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

IntersectMBO/developer-experience 的其他 Issue

查看 IntersectMBO/developer-experience 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。