GitShow/kentcdodds/mdx-bundler
kentcdodds

mdx-bundler

🦤 Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports!

by kentcdodds
esbuildmdxmdx-bundler
Star on GitHubForknpm

JavaScript

1.9k stars82 forks31 contributorsQuiet · 3mo agoSince 2021v10.1.1MIT

Meet the team

See all 31 on GitHub →
kentcdodds
kentcdodds43 contributions
allcontributors[bot]Bot
allcontributors[bot]25 contributions
Arcath
Arcath18 contributions
muningis
muningis3 contributions
CopilotBot
Copilot2 contributions
CottonCandyZ
CottonCandyZ2 contributions
MichaelDeBoey
MichaelDeBoey2 contributions
tol-is
tol-is1 contribution

Languages

View on GitHub →
JavaScript99.6%
MDX0.4%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

6 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct✓Issue Template✓PR Template

Recent PRs & issues

Quiet · Last activity 3mo ago
See all on GitHub →
yudyananda
Security: uuid missing buffer bounds check in v3/v5/v6 when bufOpenIssue

I just found out about moderate vulnerability from uuid mention by https://github.com/advisories/GHSA-w5hq-g745-h8pq

yudyananda · 3mo ago
jialouluos
[error]Cannot process MDX file with esbuildOpenIssue

v10.0.1 bug? show:Cannot process MDX file with esbuild [plugin @mdx-js/esbuild] version @9 is running properly

jialouluos · 4mo ago
cristianstaicu
Report a security vulnerabilityOpenIssue

Hi, I am Cris from Endor Labs Security Research Team and I would like to report a vulnerability in this project. Can you please set up a security policy (in the Security tab of the repo) so that I can open an advisory? Alternatively, you can open an advisory yourself and add me to it for a private discussion or share with me an email address where I can disclose my findings. Thanks in advance! Best, Cris

cristianstaicu · 8mo ago

Recent fixes

View closed PRs →
MatrixNeoKozak
Fix: prevent overriding client/react.js exports with module.exports assignmentMergedPR

In client/react.js, the line would override the exported functions (getMDXComponent, getMDXExport) with the dist/index module. This means users importing from 'mdx-bundler/client/react' would not get the intended client-side functions, breaking consumer code. The fix removes the erroneous module.exports assignment, allowing the named exports to be correctly exposed. Summary by CodeRabbit Refactor** Updated the React client module export configuration.

MatrixNeoKozak · 1mo ago
Copilot
Fix CI failures in Node.js 21+ and TypeScript type checkingMergedPR

Problem CI was failing with two errors: 1. Navigator assignment error in Node.js 21+: 2. TypeScript type checking error in the deprecated dependency: Solution Navigator Fix Starting with Node.js 21, the global object became read-only. Changed from direct assignment to using with appropriate flags: TypeScript Fix The package (which is deprecated) has type incompatibilities with newer . Created a type declaration override that provides a simple module declaration, allowing TypeScript to skip the detailed type checking of this third-party package. Testing ✅ All 23 tests pass ✅ Build completes successfully ✅ Type checking passes ✅ Linting passes ✅ No security vulnerabilities introduced These minimal changes fix CI without requiring removal of kcd-scripts or other breaking changes. The solution works across all supported Node.js versions (18, 20, 22, 23). Fixes #[issue_number] Original prompt This section details on the original issue you should resolve* Fix CI In a recent CI run, we got the following output: kcd-scripts is a pretty dated package, but it should probably still work. Please investigate whether there's anything that can be done without completely removing kcd-scripts to fix CI. ## Comments on the Issue (you are @copilot in this section) Fixes kentcdodds/mdx-bundler#245 ✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo. [!NOTE] Use Object.defineProperty for global navigator in tests, add a remark-mdx-images type override, and relax TS config to pass CI. Tests: Update to set via for Node 21+. TypeScript: Add to declare as a . Update to enable and exclude . Written by Cursor Bugbot for commit 2d2db6b5ed8c8d6a2a21dc238a91f51c8b02447c. This will update automatically on new commits. Configure here.

Copilot · 9mo ago
kentcdodds
Fix CIClosedIssue

In a recent CI run, we got the following output: kcd-scripts is a pretty dated package, but it should probably still work. Please investigate whether there's anything that can be done without completely removing kcd-scripts to fix CI.

kentcdodds · 9mo ago
Structured data for AI agents

Repository: kentcdodds/mdx-bundler. Description: 🦤 Give me MDX/TSX strings and I'll give you back a component you can render. Supports imports! Stars: 1903, Forks: 82. Primary language: JavaScript. Languages: JavaScript (99.6%), MDX (0.4%). License: MIT. Topics: esbuild, mdx, mdx-bundler. Latest release: v10.1.1 (1y ago). Open PRs: 2, open issues: 74. Last activity: 3mo ago. Community health: 85%. Top contributors: kentcdodds, allcontributors[bot], Arcath, muningis, Copilot, CottonCandyZ, MichaelDeBoey, tol-is, CanRau, casperiv0 and others.

·@ofershap

Replace github.com with gitshow.dev