mathjax / mathjax/MathJax-demos-node

ESM dependency

Open
#67 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request
Dominant language
JavaScript
Stars
114
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Since node.js 20.10, ESM module does not work (standard-things/esm/#931), and as the repository was archived on exactly the same day that the issue was filed, it is not likely that ESM will be fixed.

The examples in the repository depend on ESM. Can this dependency be removed? If it can, could the developers update the examples, or at least give the general guidelines how to remove the dependency?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the repository's examples to identify where they depend on ESM, then check how those examples are loaded and run under Node.js 20. Done means the examples no longer require the archived ESM dependency and still run successfully; document general removal guidance if updating every example is not feasible.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
backend
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.