Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Releases: standard-things/esm

0.21.6

13 Feb 07:53
Compare
Choose a tag to compare
  • Fixed performance regression by reenabling the pure_getters uglify-es option
  • Removed FastObject and NullObject classes in favor of { __proto__: null }

0.21.5

12 Feb 22:22
Compare
Choose a tag to compare
  • Ensured assignments to eval are allowed in sloppy mod
  • Ensured lines containing strict and loose mode code are runnable in the REPL
  • Ensured modules with a getter for module.exports works (#275)
  • Ensured the ESM runtime is obscured in the REPL

0.21.4

11 Feb 02:55
Compare
Choose a tag to compare
  • Ensured unambiguous parsing detects import.meta as ESM

0.21.3

10 Feb 22:49
Compare
Choose a tag to compare
  • Enabled sharing symbols across loader instances
  • Ensured stack trace arrows are omitted for empty lines
  • Fixed typo in handling of vm.Module mask

0.21.2

10 Feb 05:10
Compare
Choose a tag to compare
  • Enabled sharing default package options across loader instances
  • Ensured cache directories are anchored to package roots when no options are specified (#274)
  • Ensured vm.Module is masked if it exists

0.21.1

08 Feb 22:53
Compare
Choose a tag to compare
  • Ensured metadata is written before source cache in case the handler is prematurely ended
  • Fixed a SIGSEGV error in minified build

0.21.0

08 Feb 19:36
Compare
Choose a tag to compare
  • Added detection and cleanup of dirty caches on exit and restart
  • Added support for dynamic import in eval (#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

28 Jan 03:34
Compare
Choose a tag to compare
  • Added support for options parameter to require.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 to MODULE_NOT_FOUND for CJS (#206)
  • Ensured Module#_compile supports ESM when unlocked
  • Ensured require() calls module.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(".") with NODE_PATH compatibility (nodejs/node#3384)
  • Updated ERR_INVALID_ARG_TYPE handler

0.19.7

19 Jan 05:08
Compare
Choose a tag to compare
  • Ensured stack traces of validation errors are masked

0.19.6

17 Jan 19:40
Compare
Choose a tag to compare
  • Enabled sharing pending cache writes across loader instances