blog
blog copied to clipboard
fix(mdx): switch to official next-mdx-remote v5
Pull Request
This PR Contains
- [ ] bugfix
- [ ] new feature
- [ ] code refactor
- [ ] test update
- [ ] typo fix
- [ ] metadata update
Motivation / Use-Case
Test-Case
I have verified these changes via:
- [ ] Code inspection only, or
- [ ] Newly added/modified unit tests, or
- [ ] No unit tests but ran on a real repository, or
- [ ] Both unit tests + ran on a real repository
Breaking Changes
Additional Info
This PR has 613
quantified lines of changes. In general, a change size of upto 200
lines is ideal for the best PR experience!
Quantification details
Label : Extra Large
Size : +26 -587
Percentile : 87.1%
Total files changed: 6
Change summary by file extension:
.tsx : +1 -1
.ts : +2 -2
.js : +0 -1
.json : +1 -5
.yaml : +22 -578
Change counts above are quantified counts, based on the PullRequestQuantifier customizations.
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean:
- Fast and predictable releases to production:
- Optimal size changes are more likely to be reviewed faster with fewer iterations.
- Similarity in low PR complexity drives similar review times.
- Review quality is likely higher as complexity is lower:
- Bugs are more likely to be detected.
- Code inconsistencies are more likely to be detected.
- Knowledge sharing is improved within the participants:
- Small portions can be assimilated better.
- Better engineering practices are exercised:
- Solving big problems by dividing them in well contained, smaller problems.
- Exercising separation of concerns within the code changes.
What can I do to optimize my changes
- Use the PullRequestQuantifier to quantify your PR accurately
- Create a context profile for your repo using the context generator
- Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the
Excluded
section from yourprquantifier.yaml
context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your
prquantifier.yaml
context profile. - Only use the labels that matter to you, see context specification to customize your
prquantifier.yaml
context profile.
- Change your engineering behaviors
- For PRs that fall outside of the desired spectrum, review the details and check if:
- Your PR could be split in smaller, self-contained PRs instead
- Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).
- For PRs that fall outside of the desired spectrum, review the details and check if:
How to interpret the change counts in git diff output
- One line was added:
+1 -0
- One line was deleted:
+0 -1
- One line was modified:
+1 -1
(git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.
Was this comment helpful? :thumbsup: :ok_hand: :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
blog | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 18, 2024 3:18am |
Lighthouse Report
:sparkles: https://blog-6dp15nyfa-sabertazs-projects.vercel.app/
:rocket: Vercel preview deployment :zap: Lighthouse report
Category | Score |
---|---|
:green_circle: performance | 93 |
:green_circle: accessibility | 100 |
:yellow_circle: best-practices | 78 |
:green_circle: seo | 100 |
:green_circle: pwa | 100 |
:sparkles: https://blog-6dp15nyfa-sabertazs-projects.vercel.app/posts
:rocket: Vercel preview deployment :zap: Lighthouse report
Category | Score |
---|---|
:green_circle: performance | 97 |
:green_circle: accessibility | 94 |
:yellow_circle: best-practices | 74 |
:green_circle: seo | 100 |
:green_circle: pwa | 100 |
:sparkles: https://blog-6dp15nyfa-sabertazs-projects.vercel.app/tags
:rocket: Vercel preview deployment :zap: Lighthouse report
Category | Score |
---|---|
:green_circle: performance | 99 |
:green_circle: accessibility | 94 |
:yellow_circle: best-practices | 74 |
:green_circle: seo | 100 |
:green_circle: pwa | 100 |
:sparkles: https://blog-6dp15nyfa-sabertazs-projects.vercel.app/books
:rocket: Vercel preview deployment :zap: Lighthouse report
Category | Score |
---|---|
:green_circle: performance | 98 |
:green_circle: accessibility | 94 |
:yellow_circle: best-practices | 74 |
:green_circle: seo | 100 |
:green_circle: pwa | 100 |
:sparkles: https://blog-6dp15nyfa-sabertazs-projects.vercel.app/about
:rocket: Vercel preview deployment :zap: Lighthouse report
Category | Score |
---|---|
:green_circle: performance | 97 |
:green_circle: accessibility | 94 |
:yellow_circle: best-practices | 74 |
:green_circle: seo | 100 |
:green_circle: pwa | 100 |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
This PR has 613
quantified lines of changes. In general, a change size of upto 200
lines is ideal for the best PR experience!
Quantification details
Label : Extra Large
Size : +26 -587
Percentile : 87.1%
Total files changed: 6
Change summary by file extension:
.tsx : +1 -1
.ts : +2 -2
.js : +0 -1
.json : +1 -5
.yaml : +22 -578
Change counts above are quantified counts, based on the PullRequestQuantifier customizations.
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a balance between between PR complexity and PR review overhead. PRs within the optimal size (typical small, or medium sized PRs) mean:
- Fast and predictable releases to production:
- Optimal size changes are more likely to be reviewed faster with fewer iterations.
- Similarity in low PR complexity drives similar review times.
- Review quality is likely higher as complexity is lower:
- Bugs are more likely to be detected.
- Code inconsistencies are more likely to be detected.
- Knowledge sharing is improved within the participants:
- Small portions can be assimilated better.
- Better engineering practices are exercised:
- Solving big problems by dividing them in well contained, smaller problems.
- Exercising separation of concerns within the code changes.
What can I do to optimize my changes
- Use the PullRequestQuantifier to quantify your PR accurately
- Create a context profile for your repo using the context generator
- Exclude files that are not necessary to be reviewed or do not increase the review complexity. Example: Autogenerated code, docs, project IDE setting files, binaries, etc. Check out the
Excluded
section from yourprquantifier.yaml
context profile. - Understand your typical change complexity, drive towards the desired complexity by adjusting the label mapping in your
prquantifier.yaml
context profile. - Only use the labels that matter to you, see context specification to customize your
prquantifier.yaml
context profile.
- Change your engineering behaviors
- For PRs that fall outside of the desired spectrum, review the details and check if:
- Your PR could be split in smaller, self-contained PRs instead
- Your PR only solves one particular issue. (For example, don't refactor and code new features in the same PR).
- For PRs that fall outside of the desired spectrum, review the details and check if:
How to interpret the change counts in git diff output
- One line was added:
+1 -0
- One line was deleted:
+0 -1
- One line was modified:
+1 -1
(git diff doesn't know about modified, it will interpret that line like one addition plus one deletion) - Change percentiles: Change characteristics (addition, deletion, modification) of this PR in relation to all other PRs within the repository.
Was this comment helpful? :thumbsup: :ok_hand: :thumbsdown: (Email) Customize PullRequestQuantifier for this repository.
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎
To accept the risk, merge this PR and you will not be notified again.
Alert | Package | Note | Source |
---|---|---|---|
Telemetry | npm/[email protected] |
| |
Install scripts | npm/[email protected] |
|
Next steps
What is telemetry?
This package contains telemetry which tracks how it is used.
Most telemetry comes with settings to disable it. Consider disabling telemetry if you do not want to be tracked.
What is an install script?
Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.
Take a deeper look at the dependency
Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.
Remove the package
If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.
Mark a package as acceptable risk
To ignore an alert, reply with a comment starting with @SocketSecurity ignore
followed by a space separated list of ecosystem/package-name@version
specifiers. e.g. @SocketSecurity ignore npm/[email protected]
or ignore all packages with @SocketSecurity ignore-all
@SocketSecurity ignore npm/[email protected]
@SocketSecurity ignore npm/[email protected]