build(deps): Bump react-markdown from 8.0.7 to 9.0.0 in /website (#2457)

Bumps [react-markdown](https://github.com/remarkjs/react-markdown) from
8.0.7 to 9.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/remarkjs/react-markdown/releases">react-markdown's
releases</a>.</em></p>
<blockquote>
<h2>9.0.0</h2>
<h4>Change</h4>
<ul>
<li>b67d714 Change to require Node.js 16
<strong>migrate</strong>: update too</li>
<li>ec2b134 Change to require React 18
<strong>migrate</strong>: update too</li>
<li>bf5824f Change to use <code>exports</code>
<strong>migrate</strong>: don’t use private APIs</li>
<li>c383a45 Update <code>@types/hast</code>, utilities, plugins, etc
<strong>migrate</strong>: update too</li>
<li>eca5e6b 08ead9e Replace <code>transformImageUri</code>,
<code>transformLinkUri</code> w/ <code>urlTransform</code>
<strong>migrate</strong>: see <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#add-urltransform">Add
<code>urlTransform</code></a></li>
<li>de29396 Remove <code>linkTarget</code> option
by <a href="https://github.com/galabra"><code>@​galabra</code></a> in <a
href="https://redirect.github.com/remarkjs/react-markdown/pull/762">remarkjs/react-markdown#762</a>
<strong>migrate</strong>: see <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-linktarget">Remove
<code>linkTarget</code></a></li>
<li><code>4346276</code> Remove support for passing custom props to
components
<strong>migrate</strong>: see <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-includeelementindex">Remove
<code>includeElementIndex</code></a>,<a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-rawsourcepos">
Remove <code>rawSourcePos</code></a>, <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-sourcepos">Remove
<code>sourcePos</code></a>, <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md#remove-extra-props-passed-to-certain-components">Remove
extra props passed to certain components</a></li>
<li><code>c0dfbd6</code> Remove UMD bundle from package
<strong>migrate</strong>: use <code>esm.sh</code> or a CDN or so</li>
<li><code>e12b5e9</code> Remove <code>prop-types</code>
<strong>migrate</strong>: use TypeScript</li>
<li><code>4eb7aa0</code> Change to throw errors for removed props
<strong>migrate</strong>: don’t pass options that don’t do things</li>
<li><code>8aabf74</code> Change to improve error messages
<strong>migrate</strong>: expect better messages</li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.0">https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/remarkjs/react-markdown/blob/main/changelog.md">react-markdown's
changelog</a>.</em></p>
<blockquote>
<h2>9.0.0 - 2023-09-27</h2>
<ul>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/b67d714"><code>b67d714</code></a>
Change to require Node.js 16<br />
<strong>migrate</strong>: update too</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/ec2b134"><code>ec2b134</code></a>
Change to require React 18<br />
<strong>migrate</strong>: update too</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/bf5824f"><code>bf5824f</code></a>
Change to use <code>exports</code><br />
<strong>migrate</strong>: don’t use private APIs</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/c383a45"><code>c383a45</code></a>
Update <code>@types/hast</code>, utilities, plugins, etc<br />
<strong>migrate</strong>: update too</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/eca5e6b"><code>eca5e6b</code></a>
<a
href="https://github.com/remarkjs/react-markdown/commit/08ead9e"><code>08ead9e</code></a>
Replace <code>transformImageUri</code>, <code>transformLinkUri</code> w/
<code>urlTransform</code><br />
<strong>migrate</strong>: see “Add <code>urlTransform</code>” below</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/de29396"><code>de29396</code></a>
Remove <code>linkTarget</code> option<br />
<strong>migrate</strong>: see “Remove <code>linkTarget</code>”
below</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/4346276"><code>4346276</code></a>
Remove support for passing custom props to components<br />
<strong>migrate</strong>: see “Remove <code>includeElementIndex</code>”,
“Remove <code>rawSourcePos</code>”,
“Remove <code>sourcePos</code>”, “Remove extra props passed to certain
components”
below</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/c0dfbd6"><code>c0dfbd6</code></a>
Remove UMD bundle from package<br />
<strong>migrate</strong>: use <code>esm.sh</code> or a CDN or so</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/e12b5e9"><code>e12b5e9</code></a>
Remove <code>prop-types</code><br />
<strong>migrate</strong>: use TypeScript</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/4eb7aa0"><code>4eb7aa0</code></a>
Change to throw errors for removed props<br />
<strong>migrate</strong>: don’t pass options that don’t do things</li>
<li><a
href="https://github.com/remarkjs/react-markdown/commit/8aabf74"><code>8aabf74</code></a>
Change to improve error messages<br />
<strong>migrate</strong>: expect better messages</li>
</ul>
<h3>Add <code>urlTransform</code></h3>
<p>The <code>transformImageUri</code> and <code>transformLinkUri</code>
were removed.
Having two functions is a bit much, particularly because there are more
URLs
you might want to change (or which might be unsafe so <em>we</em> make
them safe).
And their name and APIs were a bit weird.
You can use the new <code>urlTransform</code> prop instead to change all
your URLs.</p>
<h3>Remove <code>linkTarget</code></h3>
<p>The <code>linkTarget</code> option was removed; you should likely not
set targets.</p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="6360bc2379"><code>6360bc2</code></a>
9.0.0</li>
<li><a
href="72e68d28f6"><code>72e68d2</code></a>
Add docs on line endings</li>
<li><a
href="b67d7149fe"><code>b67d714</code></a>
Change to require Node.js 16</li>
<li><a
href="bf5824f3d4"><code>bf5824f</code></a>
Change to use <code>exports</code></li>
<li><a
href="d056940648"><code>d056940</code></a>
Refactor docs</li>
<li><a
href="08ead9ef38"><code>08ead9e</code></a>
Refactor to improve safe URL detection</li>
<li><a
href="a1fc6d9c54"><code>a1fc6d9</code></a>
Refactor <code>package.json</code> some more</li>
<li><a
href="eca5e6b9d1"><code>eca5e6b</code></a>
Replace <code>transformImageUri</code>, <code>transformLinkUri</code> w/
<code>urlTransform</code></li>
<li><a
href="ec2b134637"><code>ec2b134</code></a>
Change to require React 18</li>
<li><a
href="c0dfbd6e09"><code>c0dfbd6</code></a>
Remove UMD bundle from package</li>
<li>Additional commits viewable in <a
href="https://github.com/remarkjs/react-markdown/compare/8.0.7...9.0.0">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=react-markdown&package-manager=npm_and_yarn&previous-version=8.0.7&new-version=9.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

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-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

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 show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@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)


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
dependabot[bot]
2023-10-20 16:07:14 +00:00
committed by GitHub
parent 47a0249eae
commit 423fbbfe44
2 changed files with 46 additions and 38 deletions

View File

@@ -35,7 +35,7 @@
"react-dom": "18.2.0",
"react-fast-marquee": "^1.6.2",
"react-icons": "^4.11.0",
"react-markdown": "^8.0.7",
"react-markdown": "^9.0.0",
"react-syntax-highlighter": "^15.5.0",
"rehype-autolink-headings": "^7.0.0",
"rehype-highlight": "^6.0.0",

82
website/pnpm-lock.yaml generated
View File

@@ -81,8 +81,8 @@ dependencies:
specifier: ^4.11.0
version: 4.11.0(react@18.2.0)
react-markdown:
specifier: ^8.0.7
version: 8.0.7(@types/react@18.2.30)(react@18.2.0)
specifier: ^9.0.0
version: 9.0.0(@types/react@18.2.30)(react@18.2.0)
react-syntax-highlighter:
specifier: ^15.5.0
version: 15.5.0(react@18.2.0)
@@ -1445,6 +1445,20 @@ packages:
zwitch: 2.0.4
dev: false
/hast-util-to-jsx-runtime@2.2.0:
resolution: {integrity: sha512-wSlp23N45CMjDg/BPW8zvhEi3R+8eRE1qFbjEyAUzMCzu2l1Wzwakq+Tlia9nkCtEl5mDxa7nKHsvYJ6Gfn21A==}
dependencies:
'@types/hast': 3.0.2
'@types/unist': 3.0.1
comma-separated-tokens: 2.0.3
hast-util-whitespace: 3.0.0
property-information: 6.3.0
space-separated-tokens: 2.0.2
style-to-object: 0.4.4
unist-util-position: 5.0.0
vfile-message: 4.0.2
dev: false
/hast-util-to-parse5@8.0.0:
resolution: {integrity: sha512-3KKrV5ZVI8if87DVSi1vDeByYrkGzg4mEfeu4alwgmmIeARiBLKCZS2uw5Gb6nU9x9Yufyj3iudm6i7nl52PFw==}
dependencies:
@@ -1515,6 +1529,10 @@ packages:
engines: {node: '>=12.0.0'}
dev: false
/html-url-attributes@3.0.0:
resolution: {integrity: sha512-/sXbVCWayk6GDVg3ctOX6nxaVj7So40FcFAnWlWGNAB1LpYKcV5Cd10APjPjW80O7zYW2MsjBV4zZ7IZO5fVow==}
dev: false
/html-void-elements@3.0.0:
resolution: {integrity: sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg==}
dev: false
@@ -2750,14 +2768,6 @@ packages:
engines: {node: '>=6'}
dev: false
/prop-types@15.8.1:
resolution: {integrity: sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg==}
dependencies:
loose-envify: 1.4.0
object-assign: 4.1.1
react-is: 16.13.1
dev: false
/property-information@5.6.0:
resolution: {integrity: sha512-YUHSPk+A30YPv+0Qf8i9Mbfe/C0hdPXk1s1jPVToV8pk8BQtpw10ct89Eo7OWkutrwqvT0eicAxlOg3dOAu8JA==}
dependencies:
@@ -2823,37 +2833,25 @@ packages:
react-dom: 18.2.0(react@18.2.0)
dev: false
/react-is@16.13.1:
resolution: {integrity: sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==}
dev: false
/react-is@18.2.0:
resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==}
dev: false
/react-markdown@8.0.7(@types/react@18.2.30)(react@18.2.0):
resolution: {integrity: sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==}
/react-markdown@9.0.0(@types/react@18.2.30)(react@18.2.0):
resolution: {integrity: sha512-v6yNf3AB8GfJ8lCpUvzxAXKxgsHpdmWPlcVRQ6Nocsezp255E/IDrF31kLQsPJeB/cKto/geUwjU36wH784FCA==}
peerDependencies:
'@types/react': '>=16'
react: '>=16'
'@types/react': '>=18'
react: '>=18'
dependencies:
'@types/hast': 2.3.7
'@types/prop-types': 15.7.9
'@types/hast': 3.0.2
'@types/react': 18.2.30
'@types/unist': 2.0.9
comma-separated-tokens: 2.0.3
hast-util-whitespace: 2.0.1
prop-types: 15.8.1
property-information: 6.3.0
devlop: 1.1.0
hast-util-to-jsx-runtime: 2.2.0
html-url-attributes: 3.0.0
mdast-util-to-hast: 13.0.2
micromark-util-sanitize-uri: 2.0.0
react: 18.2.0
react-is: 18.2.0
remark-parse: 10.0.2
remark-rehype: 10.1.0
space-separated-tokens: 2.0.2
style-to-object: 0.4.4
unified: 10.1.2
unist-util-visit: 4.1.2
vfile: 5.3.7
remark-parse: 11.0.0
remark-rehype: 11.0.0
unified: 11.0.3
unist-util-visit: 5.0.0
vfile: 6.0.1
transitivePeerDependencies:
- supports-color
dev: false
@@ -2992,6 +2990,16 @@ packages:
unified: 10.1.2
dev: false
/remark-rehype@11.0.0:
resolution: {integrity: sha512-vx8x2MDMcxuE4lBmQ46zYUDfcFMmvg80WYX+UNLeG6ixjdCCLcw1lrgAukwBTuOFsS78eoAedHGn9sNM0w7TPw==}
dependencies:
'@types/hast': 3.0.2
'@types/mdast': 4.0.2
mdast-util-to-hast: 13.0.2
unified: 11.0.3
vfile: 6.0.1
dev: false
/resolve@1.22.8:
resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==}
hasBin: true