This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
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)