Releases: standard-things/esm
Releases · standard-things/esm
0.9.0
- 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
- Fixed errors when applying transforms at the end a source (#50)
0.8.2
- Renamed
ERR_MODULE_RESOLUTION_DEPRECATED
error code to ERR_MODULE_RESOLUTION_LEGACY
0.8.1
- Fixed regression during environment detection (#89)
- Fixed regression masking stack traces
0.8.0
- 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
- 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
- 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
- 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
- Ensured file helpers support long paths on Windows
0.5.0
- Ensured custom
require.extensions
are ignored when resolving ES modules (#35)