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 摘要。