Skip to content

v122

Compare
Choose a tag to compare
@ije ije released this 17 May 09:28
· 856 commits to main since this release

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 and X-Esm-Worker-Version headers
  • Fix worker CORS issue (close #631)
  • Fix sub-module resolving (close #633)
  • Fix undefined content-type header (close #635)