patternfly / patternfly/patternfly-react

"Disable Style Injection" wiki

未关闭
#8,271 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

Pinned
主要语言
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

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 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

把新 issue 发到你的邮箱

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