arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

Feature request: multiple JS runtime check

未关闭
#217 0 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
TypeScript
星标
1.6k
派生
65
PR 合并指标
30 天内没有已合并 PR

描述

Add import check for more exports conditions like `edge-light`, `workerd`, `browser`, `worker`, `node`, `bun`, `deno`...

It's a common issue that a module might not comptable with some js platform because of lack of runtime only API (like file system, child-process)

You can see all export keys here: https://runtime-keys.proposal.wintercg.org/

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指明文件或测试。首先定位现有的 import 或 export-condition 检查,然后查看 WinterCG proposal 中列出的 runtime 键。当 analyzer 检查所请求的 runtime 条件,并报告由不可用 runtime API 导致的不兼容性时,即表示完成。

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

评估

技术栈
bun, deno, javascript, node.js, typescript
领域
tooling
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

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