Upgrade minimatch 11.0.8 to 11.0.10 (low-severity advisory)

未關閉 適合新手
#509 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

還沒有人認領這個 Issue。

評估

難度
1/5
預估耗時
1-3 小時
新手友好度
88/100
Issue 類型
缺陷
描述清晰度
描述清楚
活躍度
活躍
技術堆疊
eslint, node.js, typescript
領域
devops, security

研究方向

從package-lock.json和node_modules/minimatch項目開始;issue指出鎖定檔是唯一相關檔案。執行npm update minimatch,接著執行npm audit和npm run lint。當鎖定檔將minimatch解析至11.0.10或更新版本、稽核結果不再列出minimatch,且lint通過時,工作即告完成。

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

描述

dependencies effort: small good first issue priority: low

Summary

npm audit reports a low-severity advisory against minimatch 11.0.8, which the lockfile pins as a transitive dev dependency (through eslint and typescript-eslint). The advisory covers 11.0.6 - 11.0.9; 11.0.10 is available in range. This is a routine upgrade: minimatch is only used by the lint toolchain, not shipped in the package.

Where

  • package-lock.json (node_modules/minimatch)

Suggested fix

Run npm update minimatch so the lockfile resolves 11.0.10 or later, then npm audit and npm run lint.

Acceptance criteria

  • npm audit no longer lists minimatch
  • npm run lint passes

Getting started

  • Relevant files: package-lock.json
  • How to run tests: npm run build && npm test (also npm run typecheck and npm run lint)
  • Related: #459 (the same kind of lockfile upgrade for cross-spawn)

Filed by repo-audit/fix-issues at 36559ae. Severity: low. Effort: S. audit-key: dependencies|package-lock.json|minimatch

主要語言
TypeScript
星號
1
分支
4
平均合併
3 天 4 小時
30 天內合併 PR
4

環境準備

從這裡開始

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

TMHSDigital/screencast-mcp 的其他 Issue

查看 TMHSDigital/screencast-mcp 的全部 Issue

相似的 Issue

更多 TypeScript Issue

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

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