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

0.19.0

Compare
Choose a tag to compare
@jdalton jdalton released this 05 Jan 23:56
· 3581 commits to master since this release
  • 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() and require.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 is undefined 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 and nyc (#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)