Bumps trim, @mdx-js/loader and next-mdx-remote. These dependencies needed to be updated together.
Removes trim
Updates @mdx-js/loader from 1.6.22 to 2.1.3
next-mdx-remote has been upgraded to use MDX v2 under the hood, which comes with improved performance and a whole list of other enhancements. Due to the improved code generated from MDX, we've also been able to remove our usage of esbuild. If you're using Next v12, no changes should be required to upgrade! Users on Next v11.1 might need to set experimental: { esmExternals: true } in next.config.js.
Note that some of the underlying changes in MDX v2 may require you to adjust some of your MDX content or custom components.
Take it for a spin and let us know if you run into any issues. 🙏
$ npm install next-mdx-remote@latest
Breaking Changes
Exposes ESM
Upgrade to MDX v2 under the hood, see the blog post for more information
Remove esbuild integration
Features
Optional frontmatter parsing by passing { parseFrontmatter: true } to serialize(). Frontmatter is then available in your MDX:
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mah51/mikeroph.one/network/alerts).
Bumps trim, @mdx-js/loader and next-mdx-remote. These dependencies needed to be updated together. Removes
trim
Updates@mdx-js/loader
from 1.6.22 to 2.1.3Release notes
Sourced from
@mdx-js/loader
's releases.... (truncated)
Commits
6690566
2.1.3fce1df0
2.1.292c1a65
Update dev-dependenciesb09a5e4
2.1.1b8a76c9
2.1.046fae4f
Update dev-dependencies656a4ae
Remove use ofURL
fromurl
490da9f
2.0.0adc64ec
Update things for v2 (#1926)9d5501b
Add improved webpack cache (#1916)Maintainer changes
This version was pushed to npm by wooorm, a new releaser for
@mdx-js/loader
since your current version.Updates
next-mdx-remote
from 3.0.4 to 4.1.0Release notes
Sourced from next-mdx-remote's releases.
... (truncated)
Commits
b380965
4.1.05946145
fix: loosenfrontmatter
type and make it configurable (#283)1ed5e9f
chore: update reference to MDX options (#280)23a910d
4.0.3a4dfc92
fix: support both react 17 and react 18 jsx-runtime imports (#267)83d821c
Improved typing of thefrontmatter
prop. (#252)f072fc6
4.0.2f5182ef
Revert "fix: Can't resolve 'react/jsx-runtime.js' (#250)"0f111a3
4.0.128d667f
fix: Can't resolve 'react/jsx-runtime.js' (#250)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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/mah51/mikeroph.one/network/alerts).