chirpy icon indicating copy to clipboard operation
chirpy copied to clipboard

fix(deps): update dependency next-mdx-remote to v4

Open renovate[bot] opened this issue 2 years ago โ€ข 8 comments

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
next-mdx-remote 3.0.8 -> 4.1.0 age adoption passing confidence

Release Notes

hashicorp/next-mdx-remote

v4.1.0

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0

v4.0.3

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.2...v4.0.3

v4.0.2

Compare Source

v4.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.0...4.0.1

v4.0.0

Compare Source

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:

{frontmatter.page_title}

Hello world!

- Improved error messages when MDX fails to compile:
![Screen Shot 2021-12-10 at 12 04 04 PM](https://user-images.githubusercontent.com/1289701/145620766-a0a24e7f-30db-468b-b8f9-60722d7359f4.png)

**Full Changelog**: https://github.com/hashicorp/next-mdx-remote/compare/3.0.7...v4.0.0

Configuration

๐Ÿ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

๐Ÿšฆ Automerge: Disabled by config. Please merge this manually once you are satisfied.

โ™ป Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

๐Ÿ”• Ignore: Close this PR and you won't be reminded about this update again.


  • [ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Mend Renovate. View repository job log here.

renovate[bot] avatar Feb 20 '22 12:02 renovate[bot]

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

๐Ÿ” Inspect: https://vercel.com/devrsi0n/chirpy/FzbMpLNL1ZQnyGKH5XRPgK2AShnG
โœ… Preview: Failed

[Deployment for 229c7ee failed]

vercel[bot] avatar Feb 20 '22 12:02 vercel[bot]

jest coverage report ๐Ÿงช

โŒ The test suite failed. Please, check the console output for more details.

github-actions[bot] avatar Feb 20 '22 12:02 github-actions[bot]

The latest updates on your projects. Learn more about Vercel for Git โ†—๏ธŽ

Name Status Preview Comments Updated
chirpy โŒ Failed (Inspect) Feb 26, 2023 at 9:26AM (UTC)

vercel[bot] avatar May 02 '22 02:05 vercel[bot]

Job #670: Bundle Size โ€” 2.37MB (-0.37%).

9810a757d87b4861784392b9fe90567fe6fef8d0 vs a0661bac93c08014858989b06a3b6352a2e827da

Changed metrics (5/10)
Metric Current Baseline
Initial JS 1.44MB(-0.62%) 1.44MB
Cache Invalidation 1.13% 58.92%
Modules 1024(+0.2%) 1022
Duplicate Modules 157(+3.97%) 151
Duplicate Code 3.09%(-5.21%) 3.26%
Changed assets by type (1/7)
โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒโ€ƒ โ€ƒโ€ƒโ€ƒโ€ƒโ€ƒCurrent โ€ƒโ€ƒโ€ƒโ€ƒBaseline
JS 2.28MB (-0.39%) 2.29MB

View Job #670 report on app.relative-ci.com

relativeci[bot] avatar May 02 '22 02:05 relativeci[bot]



Test summary

6 โ€ข 1 โ€ข 0 โ€ข 0


Run details

Project chirpy
Status Failed
Commit 966ffadd2f
Started Jun 18, 2022 7:58 AM
Ended Jun 18, 2022 7:59 AM
Duration 01:06 ๐Ÿ’ก
OS Linux Ubuntu - 20.04
Browser Electron 100

View run in Cypress Dashboard โžก๏ธ

Failures are unavailable for this run. For more information, see the Cypress Dashboard


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Dashboard

cypress[bot] avatar May 02 '22 02:05 cypress[bot]

Coverage report for ./apps/main

St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements 8.77% 40/456
๐Ÿ”ด Branches 10.23% 9/88
๐Ÿ”ด Functions 4.13% 5/121
๐Ÿ”ด Lines 9.27% 38/410

Test suite run success

2 tests passing in 2 suites.

Report generated by ๐Ÿงชjest coverage report action from 3111733cccaeee83856cf898f1a082c3b9d4e14b

github-actions[bot] avatar May 08 '22 12:05 github-actions[bot]

โš ๏ธ No Changeset found

Latest commit: 5eb997146255561c4a5c431b4298191a1e75399e

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Jun 09 '22 12:06 changeset-bot[bot]

Coverage report for ./packages/ui

โŒ An unexpected error occurred. For more details, check console

Error: The process '/opt/hostedtoolcache/node/16.19.0/x64/bin/npx' failed with exit code 1
St.:grey_question:
Category Percentage Covered / Total
๐Ÿ”ด Statements
49.7% (-3.16% ๐Ÿ”ป)
2230/4487
๐Ÿ”ด Branches
26.42% (-0.49% ๐Ÿ”ป)
433/1639
๐Ÿ”ด Functions
35.44% (-0.95% ๐Ÿ”ป)
449/1267
๐Ÿ”ด Lines
49.61% (-3.33% ๐Ÿ”ป)
2113/4259
Show files with reduced coverage ๐Ÿ”ป
St.:grey_question:
File Statements Branches Functions Lines
๐ŸŸก
... / rest-handlers.ts
64.52% (-3.23% ๐Ÿ”ป)
0%
55.56% (-5.56% ๐Ÿ”ป)
68% (-4% ๐Ÿ”ป)
๐Ÿ”ด hooks/use-async.ts
53.57% (-21.43% ๐Ÿ”ป)
50% (-50% ๐Ÿ”ป)
60% (-20% ๐Ÿ”ป)
53.57% (-21.43% ๐Ÿ”ป)
๐Ÿ”ด
... / use-mounted-promise.ts
45.45% (-36.36% ๐Ÿ”ป)
0%
20% (-40% ๐Ÿ”ป)
45.45% (-36.36% ๐Ÿ”ป)
๐ŸŸข
... / footer.tsx
83.33% (-16.67% ๐Ÿ”ป)
100%
75% (-25% ๐Ÿ”ป)
83.33% (-16.67% ๐Ÿ”ป)
๐Ÿ”ด
... / sign-in-form.tsx
53.13% (-31.25% ๐Ÿ”ป)
0% (-50% ๐Ÿ”ป)
0% (-42.86% ๐Ÿ”ป)
53.13% (-31.25% ๐Ÿ”ป)
๐ŸŸก
... / email-sign-in.tsx
61.54% (-23.08% ๐Ÿ”ป)
100%
0% (-50% ๐Ÿ”ป)
61.54% (-23.08% ๐Ÿ”ป)
๐Ÿ”ด
... / use-social-auth-options.tsx
43.75% (-25% ๐Ÿ”ป)
0% (-50% ๐Ÿ”ป)
25% (-25% ๐Ÿ”ป)
43.75% (-25% ๐Ÿ”ป)
๐Ÿ”ด pages/index.ts
0% (-100% ๐Ÿ”ป)
100% 100%
0% (-100% ๐Ÿ”ป)
๐Ÿ”ด
... / domain.tsx
0% (-75% ๐Ÿ”ป)
100% 0%
0% (-75% ๐Ÿ”ป)
๐Ÿ”ด
... / index.ts
0% (-100% ๐Ÿ”ป)
100% 100%
0% (-100% ๐Ÿ”ป)
๐Ÿ”ด
... / delete-confirmation.tsx
0% (-80% ๐Ÿ”ป)
0% 0%
0% (-80% ๐Ÿ”ป)
๐Ÿ”ด pages/auth/index.ts
0% (-100% ๐Ÿ”ป)
100% 100%
0% (-100% ๐Ÿ”ป)
๐Ÿ”ด
... / redirecting.tsx
0% (-32% ๐Ÿ”ป)
0% 0%
0% (-32% ๐Ÿ”ป)
๐Ÿ”ด
... / sign-in.tsx
0% (-85.71% ๐Ÿ”ป)
0%
0% (-100% ๐Ÿ”ป)
0% (-85.71% ๐Ÿ”ป)
๐Ÿ”ด
... / verify-request.tsx
0% (-75% ๐Ÿ”ป)
100% 0%
0% (-75% ๐Ÿ”ป)
๐Ÿ”ด pages/blog/home.tsx
0% (-44.44% ๐Ÿ”ป)
0% 0%
0% (-44.44% ๐Ÿ”ป)
๐Ÿ”ด pages/blog/index.ts
0% (-100% ๐Ÿ”ป)
100% 100%
0% (-100% ๐Ÿ”ป)
๐Ÿ”ด pages/blog/post.tsx
0% (-54.55% ๐Ÿ”ป)
0% 0%
0% (-54.55% ๐Ÿ”ป)
๐Ÿ”ด pages/500.tsx
0% (-62.5% ๐Ÿ”ป)
0% 0%
0% (-62.5% ๐Ÿ”ป)
๐Ÿ”ด pages/app.tsx
0% (-66.67% ๐Ÿ”ป)
0% 0%
0% (-85.71% ๐Ÿ”ป)
๐Ÿ”ด pages/play.tsx
0% (-50% ๐Ÿ”ป)
0% 0%
0% (-50% ๐Ÿ”ป)
๐Ÿ”ด
... / privacy-policy.tsx
0% (-75% ๐Ÿ”ป)
0% 0%
0% (-75% ๐Ÿ”ป)
๐Ÿ”ด
... / terms-of-service.tsx
0% (-75% ๐Ÿ”ป)
0% 0%
0% (-75% ๐Ÿ”ป)
๐Ÿ”ด
... / index.tsx
0% (-83.33% ๐Ÿ”ป)
0% 0%
0% (-83.33% ๐Ÿ”ป)
๐Ÿ”ด
... / index.tsx
0% (-22.58% ๐Ÿ”ป)
0% 0%
0% (-22.58% ๐Ÿ”ป)
๐Ÿ”ด
... / index.tsx
0% (-60% ๐Ÿ”ป)
0% 0%
0% (-60% ๐Ÿ”ป)
๐Ÿ”ด
... / index.ts
0% (-100% ๐Ÿ”ป)
100% 100%
0% (-100% ๐Ÿ”ป)
๐Ÿ”ด
... / page-url.tsx
0% (-54.55% ๐Ÿ”ป)
0% 0%
0% (-54.55% ๐Ÿ”ป)
๐Ÿ”ด
... / timeline.tsx
0% (-66.67% ๐Ÿ”ป)
0% 0%
0% (-66.67% ๐Ÿ”ป)
๐Ÿ”ด
... / use-refetch-interval.ts
0% (-16.67% ๐Ÿ”ป)
100% 0%
0% (-16.67% ๐Ÿ”ป)

Test suite run failed

Failed tests: 0/49. Failed suites: 1/32.
  โ— Test suite failed to run

    Jest encountered an unexpected token

    Jest failed to parse a file. This happens e.g. when your code or its dependencies use non-standard JavaScript syntax, or when Jest is not configured to support such syntax.

    Out of the box Jest supports Babel, which will be used to transform your files into valid JS based on your Babel configuration.

    By default "node_modules" folder is ignored by transformers.

    Here's what you can do:
     โ€ข If you are trying to use ECMAScript Modules, see https://jestjs.io/docs/ecmascript-modules for how to enable it.
     โ€ข If you are trying to use TypeScript, see https://jestjs.io/docs/getting-started#using-typescript
     โ€ข To have some of your "node_modules" files transformed, you can specify a custom "transformIgnorePatterns" in your config.
     โ€ข If you need a custom transformation specify a "transform" option in your config.
     โ€ข If you simply want to mock your non-JS modules (e.g. binary assets) you can stub them out with the "moduleNameMapper" config option.

    You'll find more details and examples of these config options in the docs:
    https://jestjs.io/docs/configuration
    For information about custom transformations, see:
    https://jestjs.io/docs/code-transformation

    Details:

    /home/runner/work/chirpy/chirpy/node_modules/.pnpm/[email protected]_biqbaboplfbrettd7655fr4n2y/node_modules/next-mdx-remote/index.js:1
    ({"Object.<anonymous>":function(module,exports,require,__dirname,__filename,jest){export * from './dist/index.js'
                                                                                      ^^^^^^

    SyntaxError: Unexpected token 'export'



      at Runtime.createScriptFromCode (../../node_modules/.pnpm/[email protected]/node_modules/jest-runtime/build/index.js:1449:14)
      at Object.<anonymous> (src/pages/blog/post.tsx:1364:27)
      at Object.<anonymous> (src/pages/blog/index.ts:287:13)
      at Object.<anonymous> (src/pages/index.ts:433:13)
      at Object.<anonymous> (src/pages/auth/__tests__/sign-in.test.tsx:7:11)

Report generated by ๐Ÿงชjest coverage report action from 3111733cccaeee83856cf898f1a082c3b9d4e14b

github-actions[bot] avatar Oct 26 '22 14:10 github-actions[bot]

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 4.x releases. But if you manually upgrade to 4.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

renovate[bot] avatar Feb 26 '23 09:02 renovate[bot]