Upgrade kolibri-design-system to a release that pins lodash 4.18.1

未关闭
#6,381 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
javascript
领域
frontend, security

调研方向

Start by checking Studio's package manifest and pnpm-lock.yaml, then identify the first kolibri-design-system release whose package.json pins lodash 4.18.1. Review the KDS release notes and Studio components for API changes, then run pnpm build, pnpm test, and pnpm audit --prod. Done means the lockfile has no lodash 4.17.23 entry and all three commands pass.

由索引模型根据 Issue 内容生成。

描述

dependencies javascript

❌ This issue is not open for contribution. Visit Contributing guidelines to learn about the contributing process and how to find suitable issues.

Overview

Studio's frontend bundle still ships lodash 4.17.23, the version patched by GHSA-f23m-r3pf-42rh and CVE-2026-4800, because kolibri-design-system 5.10.0 pins it exactly. Studio should move to a KDS release that pins lodash 4.18.1, so a single lodash copy resolves.

Complexity: Low
Target branch: unstable

Context
  • Dependabot PR #6380 targeted lodash 4.17.23 → 4.18.1; unstable already has that bump (c4a855604). The PR was closed unmerged.
  • pnpm-lock.yaml on unstable still resolves lodash: 4.17.23 under [email protected].
  • KDS develop pins "lodash": "4.18.1" since learningequality/kolibri-design-system#1232; the v5.10.0 tag, the latest release, does not include it.
  • KDS 5.10.0 imports only debounce, throttle, merge, cloneDeep, get, has and similar; none of template, unset, omit.
  • Lockstep: KDS pins lodash to an exact version, so kolibri-design-system and Studio's own lodash must match to share one copy. Each later lodash bump in Studio needs a matching KDS release.
The Change
  • Bump kolibri-design-system to the first release whose package.json pins lodash 4.18.1.
  • Handle any KDS API changes between 5.10.0 and that release in Studio's components.
Acceptance Criteria
  • pnpm-lock.yaml contains no [email protected] entry.
  • pnpm build and pnpm test pass.
  • pnpm audit --prod reports no lodash advisories.

AI usage

rtibblesbot (Claude Code) reviewed #6380, traced the leftover lodash 4.17.23 to KDS through the lockfile, the KDS 5.10.0 npm tarball and the KDS repo, and drafted this issue.

Filed from #6380's review.

主要语言
Python
星标
211
派生
317
平均合并
4 天 2 小时
30 天内合并 PR
23

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

learningequality/studio 的其他 Issue

查看 learningequality/studio 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。