Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 1.21 KB

File metadata and controls

32 lines (24 loc) · 1.21 KB

Maintaining merve

The merve dependency is used within the Node.js ESM implementation to detect the named exports of a CommonJS module.

It is used within node:internal/modules/esm/translators where it is exposed via an internal binding.

Updating merve

The tools/dep_updaters/update-merve.sh script automates the update of the merve dependency. It fetches the latest release from GitHub and updates the files in the deps/merve directory.

To update merve manually:

  • Check the merve releases for a new version.
  • Download the latest single-header release.
  • Replace the files in deps/merve (preserving merve.gyp).
  • Update the link to merve in the list at the end of doc/api/esm.md to point to the updated version.
  • Create a PR adding the files in the deps/merve that were modified.

If updates are needed to merve for Node.js, first PR those updates into anonrig/merve, request a release and then pull in the updated version once available.