chirpy
chirpy copied to clipboard
fix(deps): update dependency next-mdx-remote to v4
This PR contains the following updates:
Package | Change | Age | Adoption | Passing | Confidence |
---|---|---|---|---|---|
next-mdx-remote | 3.0.8 -> 4.1.0 |
Release Notes
hashicorp/next-mdx-remote
v4.1.0
What's Changed
- chore: update reference to MDX options by @โBRKalow in https://github.com/hashicorp/next-mdx-remote/pull/280
- fix: loosen
frontmatter
type and make it configurable by @โjoemckenney in https://github.com/hashicorp/next-mdx-remote/pull/283
New Contributors
- @โjoemckenney made their first contribution in https://github.com/hashicorp/next-mdx-remote/pull/283
Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.3...v4.1.0
v4.0.3
What's Changed
- Improved typing of the
frontmatter
prop. by @โMatthijsMud in https://github.com/hashicorp/next-mdx-remote/pull/252 - fix: support both react 17 and react 18 jsx-runtime imports by @โBRKalow in https://github.com/hashicorp/next-mdx-remote/pull/267
New Contributors
- @โMatthijsMud made their first contribution in https://github.com/hashicorp/next-mdx-remote/pull/252
Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.2...v4.0.3
v4.0.2
v4.0.1
What's Changed
- fix: Can't resolve 'react/jsx-runtime.js' by @โjakejarvis in https://github.com/hashicorp/next-mdx-remote/pull/250
New Contributors
- @โjakejarvis made their first contribution in https://github.com/hashicorp/next-mdx-remote/pull/250
Full Changelog: https://github.com/hashicorp/next-mdx-remote/compare/v4.0.0...4.0.1
v4.0.0
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 }
toserialize()
. 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.
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]
jest coverage report ๐งช
โ The test suite failed. Please, check the console output for more details.
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) |
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 |
Test summary
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
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
โ ๏ธ 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
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
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.