This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
Releases: standard-things/esm
Releases · standard-things/esm
0.19.5
0.19.4
0.19.3
0.19.2
- Enabled support for Jest globals option (#212)
- Ensured CJS modules are not re-evaluated (#209, #217)
- Ensured correct execution order of re-exported modules
- Ensured
ESM_OPTIONS
can set the"cache"
option (#215) - Ensured exported bindings are defined in the module
- Ensured
require()
is properly bound when using Jest (#224)
0.19.1
0.19.0
- Added support for
"esm":"cjs"
option - Added support for unquoted
ESM_OPTIONS
values - Aligned
ERR_UNKNOWN_FILE_EXTENSION
error with Node - Aligned
Module.wrapper
values more closely with Node - Aligned
require.resolve()
andrequire.resolve.paths()
with Node 8.9.0+ - Enabled sharing state across loader instances
- Ensured dynamic
import
works in nested CJS modules (#184) - Ensured
ESM_OPTIONS
are used when for opt-ins with no options (#188) - Ensured exported bindings are validated before code execution
- Ensured legacy error code is used for missing CJS modules (#206)
- Ensured
module.parent
isundefined
for ESM parents - Ensured static import specifiers are resolved before code execution
- Ensured third-party files are cached only if they have compilation changes
- Fixed a usage scenario with
@babel/register
andnyc
(#179) - Fixed
"await"
option support (#199) - Fixed hang when parsing source mapping URLs (#207)
- Fixed hang with
jest@^22.0.0
- Fixed parsing circular dependencies with anonymous function declarations (#183)