v122
esm.sh v122 has been deployed to the edge(earth), includes some bugfixs and worker improvement:
- Use stable imports order in cjs modules
We used
map
data structure of Golang to mark requires(imports) in a cjs moudle before v122,
it creates import exprs in random order, that may break the loop imports. - Support more asset extension names
- esm-worker: Use
X-Real-Origin
andX-Esm-Worker-Version
headers - Fix worker
CORS
issue (close #631) - Fix sub-module resolving (close #633)
- Fix undefined content-type header (close #635)