docs
docs copied to clipboard
chore(deps): update dependency prettier to v2.7.1
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| prettier (source) | 2.4.1 -> 2.7.1 |
Release Notes
prettier/prettier
v2.7.1
Keep useful empty lines in description (#13013 by @chimurai)
v2.7.0
""" First line Second Line """ type Person { name: String }
v2.6.2
Fix LESS/SCSS format error (#12536 by @fisker)
// Input
.background-gradient(@​cut) {
background: linear-gradient(
to right,
@​white 0%,
@​white (@​cut - 0.01%),
@​portal-background @​cut,
@​portal-background 100%
);
}
// Prettier 2.6.1
TypeError: Cannot read properties of undefined (reading 'endOffset')
// Prettier 2.6.2
.background-gradient(@​cut) {
background: linear-gradient(
to right,
@​white 0%,
@​white (@​cut - 0.01%),
@​portal-background @​cut,
@​portal-background 100%
);
}
Update meriyah to fix several bugs (#12567 by @fisker, fixes in meriyah by @3cp)
Fixes bugs when parsing following valid code:
foo(await bar());
const regex = /.*/ms;
const element = <p>{/w/.test(s)}</p>;
class A extends B {
#privateMethod() {
super.method();
}
}
v2.6.1
Ignore loglevel when printing information (#12477 by @fisker)
v2.6.0
prettier --loglevel silent --find-config-path index.js
v2.5.1
Improve formatting for empty tuple types (#11884 by @sosukesuzuki)
// Input
type Foo =
Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
? Foo3
: Foo4;
// Prettier 2.5.0
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
]
? Foo3
: Foo4;
// Prettier 2.5.0 (tailingCommma = all)
// Invalid TypeScript code
type Foo = Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends [
,
]
? Foo3
: Foo4;
// Prettier 2.5.1
type Foo =
Foooooooooooooooooooooooooooooooooooooooooooooooooooooooooo extends []
? Foo3
: Foo4;
Fix compatibility with Jest inline snapshot test (#11892 by @fisker)
A internal change in [email protected] accidentally breaks the Jest inline snapshot test.
Support Glimmer's named blocks (#11899 by @duailibe)
Prettier already supported this feature, but it converted empty named blocks to self-closing, which is not supported by the Glimmer compiler.
See: Glimmer's named blocks.
// Input
<Component>
<:named></:named>
</Component>
// Prettier 2.5.0
<Component>
<:named />
</Component>
// Prettier 2.5.1
<Component>
<:named></:named>
</Component>
v2.5.0
Configuration
📅 Schedule: Branch creation - "before 8am on the first day of the month" (UTC), 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.
⚠ Artifact update problem
Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.
♻ Renovate will retry this branch, including artifacts, only when one of the following happens:
- any of the package files in this branch needs updating, or
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
The artifact failure details are included below:
File name: package-lock.json
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @mdx-js/[email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! react@"18.1.0" from the root project
npm ERR! peer react@">=16.8.0" from @emotion/[email protected]
npm ERR! node_modules/@emotion/react
npm ERR! @emotion/react@"^11.8.1" from [email protected]
npm ERR! node_modules/react-select
npm ERR! react-select@"5.4.0" from the root project
npm ERR! 25 more (@emotion/use-insertion-effect-with-fallbacks, ...)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"^16.13.1 || ^17.0.0" from @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/react
npm ERR! @mdx-js/react@"1.6.22" from the root project
npm ERR! @mdx-js/react@"1.6.22" from @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/loader
npm ERR! @mdx-js/loader@"1.6.22" from the root project
npm ERR! 1 more (gatsby-plugin-mdx)
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/react
npm ERR! peer react@"^16.13.1 || ^17.0.0" from @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/react
npm ERR! @mdx-js/react@"1.6.22" from the root project
npm ERR! @mdx-js/react@"1.6.22" from @mdx-js/[email protected]
npm ERR! node_modules/@mdx-js/loader
npm ERR! @mdx-js/loader@"1.6.22" from the root project
npm ERR! 1 more (gatsby-plugin-mdx)
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2022-11-23T06_13_51_912Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! /tmp/renovate-cache/others/npm/_logs/2022-11-23T06_13_51_912Z-debug-0.log
This PR changes the following pages (Vercel Preview Deploy links):
Changed Vercel links
- This PR does not change any pages the GH Actions workflow could detect.
(Note that links will only be valid after Vercel preview deploy succeeded)
Deploy Preview for prisma2-docs ready!
| Name | Link |
|---|---|
| Latest commit | 329554ff45f9445692420e4a4de3508a332153c6 |
| Latest deploy log | https://app.netlify.com/sites/prisma2-docs/deploys/62ab314579f59300091d49ca |
| Deploy Preview | https://deploy-preview-3027--prisma2-docs.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 23, 2023 10:23am |
| docs-gjpx | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Apr 23, 2023 10:23am |
This PR probably requires the following redirects to be added to vercel.json:
- This PR does not change any pages in a way that would require a redirect.