react_native/codegen dependency glob is deprecated.
未关闭
适合新手
还没有人认领这个 Issue。
Resolution: PR Submitted
- 主要语言
- C++
- 星标
- 127k
- 派生
- 25.3k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 4
描述
Description
glob ^7 is deprecated and itself requires a deprecated package of inflight that has a security bulletin out on it.
It should be updated to version 9, at the least, if not all the was to current version 11. See:
https://www.npmjs.com/package/glob?activeTab=versions
Facebook security replied that they didn't consider this a security issue, so posting it publicly.
Steps to reproduce
React Native Version
0.79.2
Affected Platforms
Build - Linux, Build - MacOS
Output of npx @react-native-community/cli info
na
Stacktrace or Logs
na
MANDATORY Reproducer
Screenshots and Videos
No response
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 packages/react-native-codegen/package.json 中链接的依赖项条目开始,并将请求的 glob 版本与该包支持的要求进行比较。通过针对受影响的 Linux 和 macOS 平台运行 React Native codegen 检查或构建来验证依赖项更新;完成的标准是 glob 不再使用已弃用的版本,并且这些构建仍能正常运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- react-native
- 领域
- build-system, mobile
- Issue 类型
- 缺陷
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 活跃度
- 冷清
- 描述清晰度
- 描述清楚
- 新手友好度
- 68/100