micromark-extension-mdxjs-esm is a micromark extension that adds support for MDX ESM import and export syntax in markdown by parsing the ESM statements with acorn. It’s useful if you want to enable JavaScript ESM import/exports as part of MDX parsing with micromark, including an option to add acorn result fields to tokens.
Project status
- The repository appears to be maintained, with an upstream push recorded on 2024-09-02, though the provided update history shows no published updates after 3.0.0 (2023-10-19).
- Update cadence (based only on the listed versions): 2.0.0 (2023-06-22), 2.0.1 (2023-07-07), then 3.0.0 (2023-10-19), suggesting short iteration early in 2023 and slower public updates afterward.
AI summary generated Today
Recent updates
3.0.0
10/19/2023Release 3.0.0 updates the MDX JS ESM micromark extension to use a newer default Acorn configuration. The release notes specifically call out switching the default `ecmaVersion` to 2024 ("migrate: use modern js").
Breaking2.0.1
7/7/2023Release 2.0.1 primarily updates dependencies. The published notes only say “Update dependency” without specifying which package changed.
2.0.0
6/22/2023Release 2.0.0 updates the project to require Node.js 16, and refreshes micromark-related dependencies. It also adds URLs to thrown errors to make debugging easier.
BreakingFeatures