Skip to content

chore(deps): bump @mdx-js/loader from 2.3.0 to 3.1.1#34

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mdx-js/loader-3.1.1
Open

chore(deps): bump @mdx-js/loader from 2.3.0 to 3.1.1#34
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/mdx-js/loader-3.1.1

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Feb 27, 2026

Bumps @mdx-js/loader from 2.3.0 to 3.1.1.

Release notes

Sourced from @​mdx-js/loader's releases.

3.1.1

Fix

Types

  • 933ab444 @mdx-js/mdx: add attributes to export/import declarations

Docs

Full Changelog: mdx-js/mdx@3.1.0...3.1.1

3.1.0

Add

Fix

  • d306f870 @mdx-js/core: replace periscopic with estree-util-scope
  • c7479905 @mdx-js/core: fix injecting providers for jsx in esm, expressions
  • 3a794ab5 @mdx-js/loader: fix ESM type import by @​remcohaszing in mdx-js/mdx#2452
  • be79212a @mdx-js/loader: change webpack peer dependency to optional by @​chenjiahan in mdx-js/mdx#2440

Types

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@mdx-js/loader](https://github.com/mdx-js/mdx/tree/HEAD/packages/loader) from 2.3.0 to 3.1.1.
- [Release notes](https://github.com/mdx-js/mdx/releases)
- [Changelog](https://github.com/mdx-js/mdx/blob/main/changelog.md)
- [Commits](https://github.com/mdx-js/mdx/commits/3.1.1/packages/loader)

---
updated-dependencies:
- dependency-name: "@mdx-js/loader"
  dependency-version: 3.1.1
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Feb 27, 2026
@chatgpt-codex-connector
Copy link

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request upgrades @mdx-js/loader from version 2.3.0 to 3.1.1, a major version bump initiated by Dependabot. The upgrade includes significant changes to the MDX processing pipeline, with numerous transitive dependencies also being upgraded to new major versions.

Changes:

  • Updated @mdx-js/loader from 2.3.0 to 3.1.1 (major version upgrade)
  • Updated @mdx-js/mdx from 2.3.0 to 3.1.1 as a transitive dependency
  • Webpack peer dependency changed to optional in the new loader version
  • Multiple MDX-related utilities upgraded to new major versions (micromark, mdast, unified, etc.)

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 2 comments.

File Description
apps/roadbook/package.json Updated @mdx-js/loader version in both dependencies and devDependencies sections
pnpm-lock.yaml Extensive lock file updates reflecting the @mdx-js/loader upgrade and all transitive dependency changes, including new major versions of MDX processing utilities
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@@ -12,14 +12,14 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@mdx-js/react": "^2.3.0",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This upgrade bumps @mdx-js/loader from version 2.3.0 to 3.1.1, which is a major version change. However, @mdx-js/react remains at version 2.3.0.

According to MDX documentation, @mdx-js/loader v3 and @mdx-js/react v2 have compatibility issues. The loader v3 uses a new runtime architecture that expects @mdx-js/react v3. This mismatch can cause runtime errors when rendering MDX content.

You should also update @mdx-js/react to version 3.x to match the loader version. Update the package.json to use "@mdx-js/react": "^3.0.0" or later.

Suggested change
"@mdx-js/react": "^2.3.0",
"@mdx-js/react": "^3.0.0",

Copilot uses AI. Check for mistakes.
"react-dom": "^18.2.0",
"@mdx-js/react": "^2.3.0",
"@mdx-js/loader": "^2.3.0",
"@mdx-js/loader": "^3.1.1",
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The @mdx-js/loader package is listed in both dependencies and devDependencies. Since this is a build-time tool used by Next.js/webpack to process MDX files during the build step, it should only be in devDependencies. Remove it from the dependencies section to avoid including unnecessary build tools in production.

Suggested change
"@mdx-js/loader": "^3.1.1",

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant