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.21.6
0.21.5
0.21.4
0.21.3
0.21.2
0.21.1
0.21.0
- Added detection and cleanup of dirty caches on exit and restart
- Added support for dynamic
import
ineval
(#185) - Enabled using V8 compiler cache when available
- Enabled sharing cache directory and feature detection data across loader instances
- Ensured a default export is added to CJS modules with “__esModule”
- Ensured dynamic
import
works in sequence expressions (#273)
0.20.0
- Added support for
options
parameter torequire.resolve()
- Added support for
require.resolve.paths()
- Added
ERR_INVALID_ARG_VALUE
handler - Enabled extensionless files to be resolved with the
"esm":"js"
option - Ensured
ERR_MISSING_MODULE
errors are converted toMODULE_NOT_FOUND
for CJS (#206) - Ensured
Module#_compile
supports ESM when unlocked - Ensured
require()
callsmodule.require()
- Ensured
require.main
is set when unlocked in ESM - Ensured stack trace masking is skipped if
error.stack
is missing (#259) - Ensured
require(".\\")
is resolved correctly in Windows (nodejs/node#18299) - Removed support for
require(".")
withNODE_PATH
compatibility (nodejs/node#3384) - Updated
ERR_INVALID_ARG_TYPE
handler