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

0.20.0

Compare
Choose a tag to compare
@jdalton jdalton released this 28 Jan 03:34
· 3306 commits to master since this release
  • 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