Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Releases: standard-things/esm

0.4.0

29 Aug 14:59
Compare
Choose a tag to compare
  • Clarified source type “module” error to avoid confusion with @std/esm options (#55)
  • Ensured CJS exports are snapshots (#36)
  • Ensured entry setters are validated (#47)
  • Ensured ESM resolution prioritizes .mjs over .js (#33)

0.3.0

31 Aug 05:01
Compare
Choose a tag to compare
  • Added support for protocol relative localhost URL module ids (#44)
  • Enabled REPL support when invoking node -r @std/esm with no module specified (#51)
  • Ensured bridge file requires can access ESM exports (#15)
  • Ensured ids with query+hash values are treated as different cache entries (#41)
  • Ensured load errors are cached and re-thrown for ES modules (#49)
  • Ensured non-error values aren’t wrapped into pseudo-errors when thrown (#48)
  • Ensured parser errors for improper await use new.target use (#38, #39)
  • Ensured paths containing colons can resolve (#43)
  • Enabled using the @std/esm options object as an opt-in signal
  • Made options.cjs bypass non-local ESM resolution restrictions

0.2.2

31 Aug 05:13
Compare
Choose a tag to compare
  • Enabled the REPL to recover from import errors (#22)
  • Ensured CJS supports loading ESM with dynamic import (#18)
  • Ensured the REPL module is associated with the right entry object

0.2.1

31 Aug 05:15
Compare
Choose a tag to compare
  • Renamed npm script “prepublish” to “prepub” to avoid conflicts with builtin scripts

0.2.0

31 Aug 05:19
Compare
Choose a tag to compare
  • Added support for compact esm options
  • Added support for esm option “all”
  • Ensured formatted error stacks aren’t re-parsed
  • Made source type symbol non-enumerable for ES modules too

0.1.1

31 Aug 05:20
Compare
Choose a tag to compare
  • Fix bad npm publish

0.1.0

31 Aug 05:28
Compare
Choose a tag to compare
  • Ensured namespace objects of builtin modules are finalized

0.0.1

11 Mar 02:01
Compare
Choose a tag to compare
  • Initial release 🎉