chore(deps): upgrade Jest past 26 to drop deprecated request/jsdom stack
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 55/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript
- 领域
- ci-cd, testing-qa
调研方向
首先运行 npm ci --legacy-peer-deps,并检查 Jest 依赖树中的 request、request-promise-native 和 har-validator。检查 Jest 配置和快照,确认升级所需的更改,然后运行完整的 Jest 测试套件。完成的标准是已弃用警告消失、CI 仍保持通过,并且仅在未使用 obsolete override 时将其移除。
由索引模型根据 Issue 内容生成。
描述
Summary
Jest 26.6.3 pulls jest-environment-jsdom@26 → jsdom@16 → deprecated:
(We already have a narrow overrides.request.qs pin for security; that does not clear the deprecation warnings.)
Parent inventory: #445 (Cluster C).
Scope
- Upgrade
jest,babel-jest, and related test tooling to a line that no longer depends on the deprecatedrequeststack (Jest 28+ with modern jsdom, or at least a jsdom that droppedrequest). - Update Jest config / snapshots if required by the major bump.
- Keep Node 18 CI (
npm ci --legacy-peer-deps) green.
Acceptance criteria
- No
request/request-promise-native/har-validatordeprecation warnings on install from the Jest tree - Full Jest suite passes
- Remove obsolete
overrides.requestonly if nothing else still needs it
Related
- #445 Inventory of npm deprecation warnings
- 主要语言
- JavaScript
- 星标
- 3
- 派生
- 2
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
multei/web 的其他 Issue
-
dependencies todo :spiral_notepad:
难度 2/5 1-3 小时 新手友好度 88/100
-
dependencies todo :spiral_notepad:
难度 5/5 一周以上 新手友好度 30/100
-
dependencies todo :spiral_notepad:
难度 4/5 3-5 天 新手友好度 52/100
-
dependencies todo :spiral_notepad:
难度 4/5 3-5 天 新手友好度 35/100
-
难度 5/5 一周以上 新手友好度 42/100
相似的 Issue
-
enhancement good first issue
难度 2/5 1-3 小时 新手友好度 88/100
anoopcodehack/DevBoard#609 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
openai/codex-plugin-cc#813 ·
-
area: ops type: test
难度 2/5 1-3 小时 新手友好度 79/100
accensa/x402-facilitator-stellar#559 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
bilawalsidhu/gods-eye-view#1060 ·
维护者通常 1 天内回复
-
Progress difficulty filter lists Hard before Medium可能已有人在做 @Pandamachi 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 86/100
sysprog21/codetrial#281 · 1 条评论 ·
维护者通常 1 天内回复