Skip to content

Releases: standard-things/esm

0.9.0

12 Sep 14:41
Compare
Choose a tag to compare
  • Added support for AVA with "require":"@std/esm"
  • Improved Babel compatibility with the "cjs" option
  • Improved stack arrows in error messages for all modules

0.8.3

08 Sep 17:59
Compare
Choose a tag to compare
  • Fixed errors when applying transforms at the end a source (#50)

0.8.2

08 Sep 03:20
Compare
Choose a tag to compare
  • Renamed ERR_MODULE_RESOLUTION_DEPRECATED error code to ERR_MODULE_RESOLUTION_LEGACY

0.8.1

07 Sep 20:24
Compare
Choose a tag to compare
  • Fixed regression during environment detection (#89)
  • Fixed regression masking stack traces

0.8.0

07 Sep 15:05
Compare
Choose a tag to compare
  • Added an options parameter to the @std/esm loader factory function (#77)
  • Added support for loading @std/esm with globally installed command-line utilities (#89)
  • Dropped support of resolving non-local “.” ids in CJS for Node 9+
  • Further reduced the number pseudo private Node APIs used
  • Moved ES modules off of require.cache unless using the "cjs" option

0.7.1

31 Aug 05:34
Compare
Choose a tag to compare
  • Ensured caches are cross populated to avoid double loads (#78)
  • Ensured modules, that remove their cache entry, can still load (#81)
  • Fixed _extensions assignment typo in ESM loader

0.7.0

29 Aug 14:29
Compare
Choose a tag to compare
  • Added support for parsing object rest/spread syntax (#14)
  • Renamed “require” to “req” to avoid a false global bailout (webpack-common-shake#17)

0.6.0

29 Aug 14:38
Compare
Choose a tag to compare
  • Changed in-file usage to reduce the number of pseudo private Node APIs used (#66)
  • Ensured undeclared top-level arguments access throws an error (#37)
  • Fixed index-less path resolution, e.g. import "./folder" (#65)
  • Fixed parsing of dynamic import in more cases (#71)

0.5.1

29 Aug 14:48
Compare
Choose a tag to compare
  • Ensured file helpers support long paths on Windows

0.5.0

29 Aug 14:50
Compare
Choose a tag to compare
  • Ensured custom require.extensions are ignored when resolving ES modules (#35)