github / github/browser-support

Identification of JavaScript files with Public Class Fields ...

未关闭
#101 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
165
派生
43
平均合并
1 天 18 小时
30 天内合并 PR
2

描述

Dear GitHub support,

could you please make JavaScript files with Public Class Fields, Private Elements and Static Initialization Blocks identifiable again?

The irreplaceable but abandoned Waterfox Classic web browser (which is based on Firefox 56) does not support these web features. As a workaround, the unofficial [Polly+ extension](https://github.com/BrowserWorks/Waterfox-Classic/issues/182#issuecomment-1362129403) can transform JavaScript files on loading using the [Babel standalone](https://babeljs.io/docs/babel-standalone) script to avoid errors. This has been the case since late 2023, [after the compatible service was removed from GitHub](https://github.com/martok/palefill/issues/94#issuecomment-1854367897).

Previously, only URLs containing specific substrings were transformed (such as ``modules_oddbird_popover|modules_github_arianotify|modules_github_text-expander-element|modules_tanstack_|modules_date-fns_addWeeks|/repositories-|modules_emotion_is|_memoize_dist|_hotkey_dist|_primer_live-region-e|_hydro-analyt|_accname_dist|/environment-|e-attachment-e|/commits-|combobox-nav_|_lit-labs|_g-emoji-e|_quote-selection_|_mergebox_i|-alive-subscription_|_handlewithcare_r|copilot-|/issues-react-|-relay_hooks|dom-input-range_|emoji-regex_|focus-visible_|swc_helpers``), where a script would otherwise have caused errors.

In November 2025, the meaningful JavaScript filenames were replaced with random characters (example: https://github.githubassets.com/assets/2785-addb5ec08646.js).

Please tell me how I can identify files that use the aforementioned web functions for performance reasons.

Thanks.

贡献指南

打开贡献指南

调研方向

The issue names no repository files, tests, or entry points. Start by determining whether browser-support contains the detection or transformation logic, then define a reproducible check for JavaScript files using Public Class Fields, Private Elements, or Static Initialization Blocks; done requires an agreed implementation scope and validation.

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

评估

技术栈
javascript
领域
frontend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
20/100

把新 issue 发到你的邮箱

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