Skip to content

Commit 763834c

Browse files
committed
Apply KaTeX velopert#5
1 parent e5e3d5e commit 763834c

File tree

4 files changed

+183
-5
lines changed

4 files changed

+183
-5
lines changed

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"jest-environment-jsdom-fourteen": "0.1.0",
9191
"jest-resolve": "24.9.0",
9292
"jest-watch-typeahead": "0.4.2",
93+
"katex": "^0.11.1",
9394
"koa": "^2.11.0",
9495
"koa-better-http-proxy": "^0.2.4",
9596
"koa-bodyparser": "^4.2.1",
@@ -124,10 +125,14 @@
124125
"react-virtualized": "^9.21.2",
125126
"redux": "^4.0.4",
126127
"redux-devtools-extension": "^2.13.8",
128+
"rehype-katex": "^3.0.0",
129+
"rehype-stringify": "^6.0.1",
127130
"remark": "^11.0.2",
128131
"remark-breaks": "^1.0.3",
129132
"remark-highlight.js": "^5.2.0",
130133
"remark-html": "^10.0.0",
134+
"remark-math": "^2.0.1",
135+
"remark-rehype": "^6.0.0",
131136
"remark-slug": "^5.1.2",
132137
"resolve": "1.12.2",
133138
"resolve-url-loader": "3.1.1",

src/components/common/MarkdownRender.tsx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ import parse from 'html-react-parser';
1414
import { throttle } from 'throttle-debounce';
1515
import sanitize from 'sanitize-html';
1616
import palette from '../../lib/styles/palette';
17+
import math from 'remark-math';
18+
import remark2rehype from 'remark-rehype';
19+
import katex from 'rehype-katex';
20+
import stringify from 'rehype-stringify';
21+
import 'katex/dist/katex.min.css';
1722

1823
export interface MarkdownRenderProps {
1924
markdown: string;
@@ -216,6 +221,10 @@ const MarkdownRender: React.FC<MarkdownRenderProps> = ({
216221
.use(htmlPlugin)
217222
.use(embedPlugin)
218223
.use(slug)
224+
.use(math)
225+
.use(remark2rehype)
226+
.use(katex)
227+
.use(stringify)
219228
.process(markdown, (err: any, file: any) => {
220229
const html = String(file);
221230

@@ -241,6 +250,14 @@ const MarkdownRender: React.FC<MarkdownRenderProps> = ({
241250
});
242251
}, [applyElement, editing, markdown, onConvertFinish]);
243252

253+
// useEffect(() => {
254+
// if (editing) return;
255+
// const using = checkUsingMathjax(markdown);
256+
// if (using) {
257+
// loadMathjax();
258+
// }
259+
// }, [html, element, markdown, editing]);
260+
244261
return (
245262
<Typography>
246263
{editing ? (

src/types/missingTypes.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,9 @@ declare module 'remark-html';
44
declare module 'remark-highlight.js';
55
declare module 'remark-breaks';
66
declare module 'remark-slug';
7+
declare module 'remark-math';
8+
declare module 'remark-rehype';
9+
declare module 'rehype-katex';
10+
declare module 'rehype-stringify';
711
declare module 'unist-util-visit';
812
declare module 'strip-markdown';

yarn.lock

Lines changed: 157 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3388,6 +3388,11 @@ ccount@^1.0.0:
33883388
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.4.tgz#9cf2de494ca84060a2a8d2854edd6dfb0445f386"
33893389
integrity sha512-fpZ81yYfzentuieinmGnphk0pLkOTMm6MZdVqwd77ROvhko6iujLNGrHH5E7utq3ygWklwfmwuG+A7P+NpqT6w==
33903390

3391+
ccount@^1.0.3:
3392+
version "1.0.5"
3393+
resolved "https://registry.yarnpkg.com/ccount/-/ccount-1.0.5.tgz#ac82a944905a65ce204eb03023157edf29425c17"
3394+
integrity sha512-MOli1W+nfbPLlKEhInaxhRdp7KVLFxLN5ykwzHgLsLI3H3gs5jjFAK4Eoj3OzzcxCtumDaI8onoVDeQyWaNTkw==
3395+
33913396
[email protected], chalk@^2.0.0, chalk@^2.0.1, chalk@^2.1.0, chalk@^2.4.1, chalk@^2.4.2:
33923397
version "2.4.2"
33933398
resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424"
@@ -3679,6 +3684,11 @@ combined-stream@^1.0.6, combined-stream@~1.0.6:
36793684
dependencies:
36803685
delayed-stream "~1.0.0"
36813686

3687+
comma-separated-tokens@^1.0.0:
3688+
version "1.0.8"
3689+
resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.8.tgz#632b80b6117867a158f1080ad498b2fbe7e3f5ea"
3690+
integrity sha512-GHuDRO12Sypu2cV70d1dkA2EUmXHgntrzbpvOB+Qy+49ypNfGgFQIC2fhhXbnyrJRynDCAARsT7Ou0M6hirpfw==
3691+
36823692
comma-separated-tokens@^1.0.1:
36833693
version "1.0.7"
36843694
resolved "https://registry.yarnpkg.com/comma-separated-tokens/-/comma-separated-tokens-1.0.7.tgz#419cd7fb3258b1ed838dc0953167a25e152f5b59"
@@ -3689,7 +3699,7 @@ [email protected]:
36893699
resolved "https://registry.yarnpkg.com/commander/-/commander-2.17.1.tgz#bd77ab7de6de94205ceacc72f1716d29f20a77bf"
36903700
integrity sha512-wPMUt6FnH2yzG95SA6mzjQOEKUU3aLaDEmzs1ti+1E9h+CsrZghRlqEM/EJ4KscsQVG8uNN4uVreUeT8+drlgg==
36913701

3692-
commander@^2.11.0, commander@^2.20.0, commander@~2.20.3:
3702+
commander@^2.11.0, commander@^2.19.0, commander@^2.20.0, commander@~2.20.3:
36933703
version "2.20.3"
36943704
resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33"
36953705
integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==
@@ -6224,11 +6234,27 @@ hash.js@^1.0.0, hash.js@^1.0.3:
62246234
inherits "^2.0.3"
62256235
minimalistic-assert "^1.0.1"
62266236

6237+
hast-util-from-parse5@^5.0.0:
6238+
version "5.0.3"
6239+
resolved "https://registry.yarnpkg.com/hast-util-from-parse5/-/hast-util-from-parse5-5.0.3.tgz#3089dc0ee2ccf6ec8bc416919b51a54a589e097c"
6240+
integrity sha512-gOc8UB99F6eWVWFtM9jUikjN7QkWxB3nY0df5Z0Zq1/Nkwl5V4hAAsl0tmwlgWl/1shlTF8DnNYLO8X6wRV9pA==
6241+
dependencies:
6242+
ccount "^1.0.3"
6243+
hastscript "^5.0.0"
6244+
property-information "^5.0.0"
6245+
web-namespaces "^1.1.2"
6246+
xtend "^4.0.1"
6247+
62276248
hast-util-is-element@^1.0.0:
62286249
version "1.0.3"
62296250
resolved "https://registry.yarnpkg.com/hast-util-is-element/-/hast-util-is-element-1.0.3.tgz#423b4b26fe8bf1f25950fe052e9ce8f83fd5f6a4"
62306251
integrity sha512-C62CVn7jbjp89yOhhy7vrkSaB7Vk906Gtcw/Ihd+Iufnq+2pwOZjdPmpzpKLWJXPJBMDX3wXg4FqmdOayPcewA==
62316252

6253+
hast-util-parse-selector@^2.0.0:
6254+
version "2.2.4"
6255+
resolved "https://registry.yarnpkg.com/hast-util-parse-selector/-/hast-util-parse-selector-2.2.4.tgz#60c99d0b519e12ab4ed32e58f150ec3f61ed1974"
6256+
integrity sha512-gW3sxfynIvZApL4L07wryYF4+C9VvH3AUi7LAnVXV4MneGEgwOByXvFo18BgmTWnm7oHAe874jKbIB1YhHSIzA==
6257+
62326258
hast-util-sanitize@^2.0.0:
62336259
version "2.0.1"
62346260
resolved "https://registry.yarnpkg.com/hast-util-sanitize/-/hast-util-sanitize-2.0.1.tgz#de2f32c5aa9e93b61903e4381be6c49887d3829e"
@@ -6252,11 +6278,30 @@ hast-util-to-html@^6.0.0:
62526278
unist-util-is "^3.0.0"
62536279
xtend "^4.0.1"
62546280

6281+
hast-util-to-text@^2.0.0:
6282+
version "2.0.0"
6283+
resolved "https://registry.yarnpkg.com/hast-util-to-text/-/hast-util-to-text-2.0.0.tgz#c59afa8798145c10d40c2f34f92900f4dfc8ac69"
6284+
integrity sha512-idXqFGmKInLKcFMbLvh0fldmV94o+aOdXL/z5H5XhPhUp/5vzycu7i15c8V9kC6W3XgGHg2uuiIcRJlWtESVfQ==
6285+
dependencies:
6286+
hast-util-is-element "^1.0.0"
6287+
repeat-string "^1.0.0"
6288+
unist-util-find-after "^3.0.0"
6289+
62556290
hast-util-whitespace@^1.0.0:
62566291
version "1.0.3"
62576292
resolved "https://registry.yarnpkg.com/hast-util-whitespace/-/hast-util-whitespace-1.0.3.tgz#6d161b307bd0693b5ec000c7c7e8b5445109ee34"
62586293
integrity sha512-AlkYiLTTwPOyxZ8axq2/bCwRUPjIPBfrHkXuCR92B38b3lSdU22R5F/Z4DL6a2kxWpekWq1w6Nj48tWat6GeRA==
62596294

6295+
hastscript@^5.0.0:
6296+
version "5.1.2"
6297+
resolved "https://registry.yarnpkg.com/hastscript/-/hastscript-5.1.2.tgz#bde2c2e56d04c62dd24e8c5df288d050a355fb8a"
6298+
integrity sha512-WlztFuK+Lrvi3EggsqOkQ52rKbxkXL3RwB6t5lwoa8QLMemoWfBuL43eDrwOamJyR7uKQKdmKYaBH1NZBiIRrQ==
6299+
dependencies:
6300+
comma-separated-tokens "^1.0.0"
6301+
hast-util-parse-selector "^2.0.0"
6302+
property-information "^5.0.0"
6303+
space-separated-tokens "^1.0.0"
6304+
62606305
62616306
version "1.2.0"
62626307
resolved "https://registry.yarnpkg.com/he/-/he-1.2.0.tgz#84ae65fa7eafb165fddb61566ae14baf05664f0f"
@@ -7789,6 +7834,13 @@ jsx-ast-utils@^2.2.1:
77897834
array-includes "^3.0.3"
77907835
object.assign "^4.1.0"
77917836

7837+
katex@^0.11.0, katex@^0.11.1:
7838+
version "0.11.1"
7839+
resolved "https://registry.yarnpkg.com/katex/-/katex-0.11.1.tgz#df30ca40c565c9df01a466a00d53e079e84ffaa2"
7840+
integrity sha512-5oANDICCTX0NqYIyAiFCCwjQ7ERu3DQG2JFHLbYOf+fXaMoH8eg/zOq5WSYJsKMi/QebW+Eh3gSM+oss1H/bww==
7841+
dependencies:
7842+
commander "^2.19.0"
7843+
77927844
keygrip@~1.1.0:
77937845
version "1.1.0"
77947846
resolved "https://registry.yarnpkg.com/keygrip/-/keygrip-1.1.0.tgz#871b1681d5e159c62a445b0c74b615e0917e7226"
@@ -8272,6 +8324,13 @@ mdast-util-definitions@^1.2.0:
82728324
dependencies:
82738325
unist-util-visit "^1.0.0"
82748326

8327+
mdast-util-definitions@^2.0.0:
8328+
version "2.0.1"
8329+
resolved "https://registry.yarnpkg.com/mdast-util-definitions/-/mdast-util-definitions-2.0.1.tgz#2c931d8665a96670639f17f98e32c3afcfee25f3"
8330+
integrity sha512-Co+DQ6oZlUzvUR7JCpP249PcexxygiaKk9axJh+eRzHDZJk2julbIdKB4PXHVxdBuLzvJ1Izb+YDpj2deGMOuA==
8331+
dependencies:
8332+
unist-util-visit "^2.0.0"
8333+
82758334
mdast-util-to-hast@^6.0.0:
82768335
version "6.0.2"
82778336
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-6.0.2.tgz#24a8791b7c624118637d70f03a9d29116e4311cf"
@@ -8289,6 +8348,21 @@ mdast-util-to-hast@^6.0.0:
82898348
unist-util-visit "^1.1.0"
82908349
xtend "^4.0.1"
82918350

8351+
mdast-util-to-hast@^8.0.0:
8352+
version "8.1.0"
8353+
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-8.1.0.tgz#80998dada58ad4544336a328849ed01d96777011"
8354+
integrity sha512-OEtzG2NmfcJzUocnHf+c5uwNWrWVjqdWSln+W+NrZIrOU9tTPMwwZ23fOzeHX76xce7jSeIepxzhUf9+X915Nw==
8355+
dependencies:
8356+
collapse-white-space "^1.0.0"
8357+
detab "^2.0.0"
8358+
mdast-util-definitions "^2.0.0"
8359+
mdurl "^1.0.0"
8360+
trim-lines "^1.0.0"
8361+
unist-builder "^2.0.0"
8362+
unist-util-generated "^1.0.0"
8363+
unist-util-position "^3.0.0"
8364+
unist-util-visit "^2.0.0"
8365+
82928366
mdast-util-to-string@^1.0.0:
82938367
version "1.0.7"
82948368
resolved "https://registry.yarnpkg.com/mdast-util-to-string/-/mdast-util-to-string-1.0.7.tgz#62d8e9c6b2113070d8b497c7dc35bf12796f06ee"
@@ -8304,7 +8378,7 @@ [email protected]:
83048378
resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.6.tgz#852dc60fcaa5daa2e8cf6c9189c440ed3e042978"
83058379
integrity sha512-rQvjv71olwNHgiTbfPZFkJtjNMciWgswYeciZhtvWLO8bmX3TnhyA62I6sTWOyZssWHJJjY6/KiWwqQsWWsqOA==
83068380

8307-
mdurl@^1.0.1:
8381+
mdurl@^1.0.0, mdurl@^1.0.1:
83088382
version "1.0.1"
83098383
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
83108384
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
@@ -9381,6 +9455,11 @@ [email protected]:
93819455
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.0.tgz#c59341c9723f414c452975564c7c00a68d58acd2"
93829456
integrity sha512-fxNG2sQjHvlVAYmzBZS9YlDp6PTSSDwa98vkD4QgVDDCAo84z5X1t5XyJQ62ImdLXx5NdIIfihey6xpum9/gRQ==
93839457

9458+
parse5@^5.0.0:
9459+
version "5.1.1"
9460+
resolved "https://registry.yarnpkg.com/parse5/-/parse5-5.1.1.tgz#f68e4e5ba1852ac2cadc00f4555fff6c2abb6178"
9461+
integrity sha512-ugq4DFI0Ptb+WWjAdOK16+u/nHfiIrcE+sh8kZMaM0WllQKLI9rOUq6c2b7cwPkXdzfQESqvoqK6ug7U/Yyzug==
9462+
93849463
parseurl@^1.3.2, parseurl@~1.3.2, parseurl@~1.3.3:
93859464
version "1.3.3"
93869465
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
@@ -10355,6 +10434,13 @@ prop-types@^15.5.4, prop-types@^15.5.8, prop-types@^15.6.0, prop-types@^15.6.2,
1035510434
object-assign "^4.1.1"
1035610435
react-is "^16.8.1"
1035710436

10437+
property-information@^5.0.0:
10438+
version "5.4.0"
10439+
resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.4.0.tgz#16e08f13f4e5c4a7be2e4ec431c01c4f8dba869a"
10440+
integrity sha512-nmMWAm/3vKFGmmOWOcdLjgq/Hlxa+hsuR/px1Lp/UGEyc5A22A6l78Shc2C0E71sPmAqglni+HrS7L7VJ7AUCA==
10441+
dependencies:
10442+
xtend "^4.0.0"
10443+
1035810444
property-information@^5.2.0:
1035910445
version "5.3.0"
1036010446
resolved "https://registry.yarnpkg.com/property-information/-/property-information-5.3.0.tgz#bc87ac82dc4e72a31bb62040544b1bf9653da039"
@@ -11007,6 +11093,34 @@ regjsparser@^0.6.0:
1100711093
dependencies:
1100811094
jsesc "~0.5.0"
1100911095

11096+
rehype-katex@^3.0.0:
11097+
version "3.0.0"
11098+
resolved "https://registry.yarnpkg.com/rehype-katex/-/rehype-katex-3.0.0.tgz#3847ff8110d9ae795c12cdc70fbceb6d122bbfc6"
11099+
integrity sha512-gWC86mSCzTQ4ogpBOTIeCPRaJUyGVFAL+CcR/rhaPET99RADjXKBEWVyheeWFqbJjYzDGWZoanznc63E0tpOIg==
11100+
dependencies:
11101+
hast-util-to-text "^2.0.0"
11102+
katex "^0.11.0"
11103+
rehype-parse "^6.0.0"
11104+
unified "^8.0.0"
11105+
unist-util-visit "^2.0.0"
11106+
11107+
rehype-parse@^6.0.0:
11108+
version "6.0.2"
11109+
resolved "https://registry.yarnpkg.com/rehype-parse/-/rehype-parse-6.0.2.tgz#aeb3fdd68085f9f796f1d3137ae2b85a98406964"
11110+
integrity sha512-0S3CpvpTAgGmnz8kiCyFLGuW5yA4OQhyNTm/nwPopZ7+PI11WnGl1TTWTGv/2hPEe/g2jRLlhVVSsoDH8waRug==
11111+
dependencies:
11112+
hast-util-from-parse5 "^5.0.0"
11113+
parse5 "^5.0.0"
11114+
xtend "^4.0.0"
11115+
11116+
rehype-stringify@^6.0.1:
11117+
version "6.0.1"
11118+
resolved "https://registry.yarnpkg.com/rehype-stringify/-/rehype-stringify-6.0.1.tgz#b6aa9f84d5276c5d247c62fc1ea15983a35a4575"
11119+
integrity sha512-JfEPRDD4DiG7jet4md7sY07v6ACeb2x+9HWQtRPm2iA6/ic31hCv1SNBUtpolJASxQ/D8gicXiviW4TJKEMPKQ==
11120+
dependencies:
11121+
hast-util-to-html "^6.0.0"
11122+
xtend "^4.0.0"
11123+
1101011124
1101111125
version "0.2.7"
1101211126
resolved "https://registry.yarnpkg.com/relateurl/-/relateurl-0.2.7.tgz#54dbf377e51440aca90a4cd274600d3ff2d888a9"
@@ -11035,6 +11149,11 @@ remark-html@^10.0.0:
1103511149
mdast-util-to-hast "^6.0.0"
1103611150
xtend "^4.0.1"
1103711151

11152+
remark-math@^2.0.1:
11153+
version "2.0.1"
11154+
resolved "https://registry.yarnpkg.com/remark-math/-/remark-math-2.0.1.tgz#6edc884ba3b40710c2ae31ce93cd88c9959ac8b9"
11155+
integrity sha512-FokDg5BmlPbKaAdD4IfSVuRgYH6FBPeIn0zxZA6oZ6epc4qOSjoSJPyhsH0H/WKABuaCVMJuF5O2STti6UmBQw==
11156+
1103811157
remark-parse@^7.0.0:
1103911158
version "7.0.2"
1104011159
resolved "https://registry.yarnpkg.com/remark-parse/-/remark-parse-7.0.2.tgz#41e7170d9c1d96c3d32cf1109600a9ed50dba7cf"
@@ -11056,6 +11175,13 @@ remark-parse@^7.0.0:
1105611175
vfile-location "^2.0.0"
1105711176
xtend "^4.0.1"
1105811177

11178+
remark-rehype@^6.0.0:
11179+
version "6.0.0"
11180+
resolved "https://registry.yarnpkg.com/remark-rehype/-/remark-rehype-6.0.0.tgz#dcd340ebee412709a81b15a69f4ae474a38aa72a"
11181+
integrity sha512-dt7cHCD2NbbmXoSnnNolk+MnWzylsOIEU07pyhZSM71Xy08xX07+yuCh+4rddyrB/a1hebygeteVEJieyCeDzg==
11182+
dependencies:
11183+
mdast-util-to-hast "^8.0.0"
11184+
1105911185
remark-slug@^5.1.2:
1106011186
version "5.1.2"
1106111187
resolved "https://registry.yarnpkg.com/remark-slug/-/remark-slug-5.1.2.tgz#715ecdef8df1226786204b1887d31ab16aa24609"
@@ -11115,7 +11241,7 @@ repeat-element@^1.1.2:
1111511241
resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.3.tgz#782e0d825c0c5a3bb39731f84efee6b742e6b1ce"
1111611242
integrity sha512-ahGq0ZnV5m5XtZLMb+vP76kcAM5nkLqk0lpqAuojSKGgQtn4eRi4ZZGm2olo2zKFH+sMsWaqOCW1dqAnOru72g==
1111711243

11118-
repeat-string@^1.5.4, repeat-string@^1.6.1:
11244+
repeat-string@^1.0.0, repeat-string@^1.5.4, repeat-string@^1.6.1:
1111911245
version "1.6.1"
1112011246
resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637"
1112111247
integrity sha1-jcrkcOHIirwtYA//Sndihtp15jc=
@@ -12848,7 +12974,7 @@ unicode-property-aliases-ecmascript@^1.0.4:
1284812974
resolved "https://registry.yarnpkg.com/unicode-property-aliases-ecmascript/-/unicode-property-aliases-ecmascript-1.0.5.tgz#a9cc6cc7ce63a0a3023fc99e341b94431d405a57"
1284912975
integrity sha512-L5RAqCfXqAwR3RriF8pM0lU0w4Ryf/GgzONwi6KnL1taJQa7x1TCxdJnILX59WIGOwR57IVxn7Nej0fz1Ny6fw==
1285012976

12851-
unified@^8.2.0:
12977+
unified@^8.0.0, unified@^8.2.0:
1285212978
version "8.4.2"
1285312979
resolved "https://registry.yarnpkg.com/unified/-/unified-8.4.2.tgz#13ad58b4a437faa2751a4a4c6a16f680c500fff1"
1285412980
integrity sha512-JCrmN13jI4+h9UAyKEoGcDZV+i1E7BLFuG7OsaDvTXI5P0qhHX+vZO/kOhz9jn8HGENDKbwSeB0nVOg4gVStGA==
@@ -12900,7 +13026,19 @@ unist-builder@^1.0.1:
1290013026
dependencies:
1290113027
object-assign "^4.1.0"
1290213028

12903-
unist-util-generated@^1.1.0:
13029+
unist-builder@^2.0.0:
13030+
version "2.0.3"
13031+
resolved "https://registry.yarnpkg.com/unist-builder/-/unist-builder-2.0.3.tgz#77648711b5d86af0942f334397a33c5e91516436"
13032+
integrity sha512-f98yt5pnlMWlzP539tPc4grGMsFaQQlP/vM396b00jngsiINumNmsY8rkXjfoi1c6QaM8nQ3vaGDuoKWbe/1Uw==
13033+
13034+
unist-util-find-after@^3.0.0:
13035+
version "3.0.0"
13036+
resolved "https://registry.yarnpkg.com/unist-util-find-after/-/unist-util-find-after-3.0.0.tgz#5c65fcebf64d4f8f496db46fa8fd0fbf354b43e6"
13037+
integrity sha512-ojlBqfsBftYXExNu3+hHLfJQ/X1jYY/9vdm4yZWjIbf0VuWF6CRufci1ZyoD/wV2TYMKxXUoNuoqwy+CkgzAiQ==
13038+
dependencies:
13039+
unist-util-is "^4.0.0"
13040+
13041+
unist-util-generated@^1.0.0, unist-util-generated@^1.1.0:
1290413042
version "1.1.5"
1290513043
resolved "https://registry.yarnpkg.com/unist-util-generated/-/unist-util-generated-1.1.5.tgz#1e903e68467931ebfaea386dae9ea253628acd42"
1290613044
integrity sha512-1TC+NxQa4N9pNdayCYA1EGUOCAO0Le3fVp7Jzns6lnua/mYgwHo0tz5WUAfrdpNch1RZLHc61VZ1SDgrtNXLSw==
@@ -12956,6 +13094,15 @@ unist-util-visit@^1.0.0, unist-util-visit@^1.1.0:
1295613094
dependencies:
1295713095
unist-util-visit-parents "^2.0.0"
1295813096

13097+
unist-util-visit@^2.0.0:
13098+
version "2.0.2"
13099+
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.2.tgz#3843782a517de3d2357b4c193b24af2d9366afb7"
13100+
integrity sha512-HoHNhGnKj6y+Sq+7ASo2zpVdfdRifhTgX2KTU3B/sO/TTlZchp7E3S4vjRzDJ7L60KmrCPsQkVK3lEF3cz36XQ==
13101+
dependencies:
13102+
"@types/unist" "^2.0.0"
13103+
unist-util-is "^4.0.0"
13104+
unist-util-visit-parents "^3.0.0"
13105+
1295913106
unist-util-visit@^2.0.1:
1296013107
version "2.0.1"
1296113108
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-2.0.1.tgz#b4e1c1cb414250c6b3cb386b8e461d79312108ae"
@@ -13243,6 +13390,11 @@ wbuf@^1.1.0, wbuf@^1.7.3:
1324313390
dependencies:
1324413391
minimalistic-assert "^1.0.0"
1324513392

13393+
web-namespaces@^1.1.2:
13394+
version "1.1.4"
13395+
resolved "https://registry.yarnpkg.com/web-namespaces/-/web-namespaces-1.1.4.tgz#bc98a3de60dadd7faefc403d1076d529f5e030ec"
13396+
integrity sha512-wYxSGajtmoP4WxfejAPIr4l0fVh+jeMXZb08wNc0tMg6xsfZXj3cECqIK0G7ZAqUq0PP8WlMDtaOGVBTAWztNw==
13397+
1324613398
webidl-conversions@^4.0.2:
1324713399
version "4.0.2"
1324813400
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-4.0.2.tgz#a855980b1f0b6b359ba1d5d9fb39ae941faa63ad"

0 commit comments

Comments
 (0)