patternfly / patternfly/patternfly-react
"Disable Style Injection" wiki
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 862
- 派生
- 392
- 平均合并
- 4 天 8 小时
- 30 天内合并 PR
- 9
描述
The wiki below describes using null-loader as the recommended solution to disable style injection for webpack.
https://github.com/patternfly/patternfly-react/wiki/Disabling-Style-Injection-with-Webpack
Unfortunately, Red Hat recently flagged loader-utils (a dependency of null-loader) as having a security issue.
"CVE-2022-37599 loader-utils: regular expression denial of service in interpolateName.js"
https://issues.redhat.com/browse/COST-3158
Note that the null-loader package has been deprecated and its repo archived.
https://github.com/webpack-contrib/null-loader
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 PatternFly wiki 页面“Disabling Style Injection with Webpack”开始,审查其中对 null-loader 的建议,包括链接的 loader-utils CVE 和已归档的软件包仓库。确定当前受支持的禁用样式注入指南,然后更新 wiki,使其不再推荐已弃用且受影响的依赖项。
由索引模型根据 Issue 内容生成。
评估
- 领域
- documentation
- Issue 类型
- 文档
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100