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.12.0
0.11.3
0.11.2
0.11.1
- Ensured
.mjs
files can be loaded in CJS with the"cjs"
option - Ensured namespace exports of bridge CJS modules are supported
- Ensured
code
andname
properties of Node errors are writable (#113) - Ensured Node errors inherit from
Error
(#106) - Ensured errors of
process._tickCallback()
aren’t shallowed (#111) - Ensured
exports
is exposed when using"cjs"
and"esm":"all"
options (#110) - Fixed loading of
.gz
files in CJS
0.11.0
- Added
"sourceMap"
option - Ensured environment hooks aren’t applied when options are provided
- Ensured
"gz"
option enables extension-less lookup for.gz
files in ESM - Ensured bridged ESM modules have their internal namespaces updated correctly (#104)
- Ensured plain objects are used for exports objects in the REPL
- Fixed parse regression for arrow functions with destructured arguments (#103)
0.10.2
- Deferred creating
import.meta
until first access - Ensured an
isMain
param offalse
is used in therequire()
hook (#99) - Ensured one cache location is used when the
require
hook is used with options (#101) - Ensured plain objects are used for
exports
objects (#102) - Ensured the version of
@std/esm
indevDependencies
is ignored for opt-in detection (#100) - Fixed setting
require
hook options when its options param istrue