arethetypeswrong / arethetypeswrong/arethetypeswrong.github.io

`require(esm)` support

オープン
#252 コメント 3 件 リアクション 7 件 担当者 0 名 GitHub で見る
主要言語
TypeScript
スター
1.6k
フォーク
65
PR マージ指標
30日以内にマージされた PR はありません

説明

i may be missing something, but it seems we don't support `require(esm)`.

this messaging suggests it is an error:

https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/161725ad2e8957f109e44fb26b13c9d70f415c2f/docs/problems/CJSResolvesToESM.md?plain=1#L3

but in node 20 and above, it is no longer an error and should work fine

not sure how we should determine this in ATTW, though. since we'd need to know what node versions you're targeting?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start with the linked docs/problems/CJSResolvesToESM.md guidance and compare its claim with Node 20 and later behavior. Determine which Node versions ATTW targets before deciding how require(esm) should be classified; done means the analysis and messaging match those supported targets.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
node.js, typescript
領域
tooling
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。