Skip to content

Commit 213d8b0

Browse files
fix(deps): update minor and patch dependencies for gatsby-plugin-mdx (#38027)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: LekoArts <[email protected]>
1 parent 272dacd commit 213d8b0

File tree

5 files changed

+68
-74
lines changed

5 files changed

+68
-74
lines changed

jest.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ const esModules = [
105105
`trim-lines`,
106106
`estree-util-to-js`,
107107
`is-reference`,
108+
`github-slugger`,
108109
].join(`|`)
109110

110111
/** @type {import('jest').Config} */

packages/gatsby-plugin-mdx/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,25 +27,25 @@
2727
"react-dom": "^18.0.0 || ^0.0.0"
2828
},
2929
"dependencies": {
30-
"@mdx-js/mdx": "^2.1.5",
31-
"acorn": "^8.8.1",
30+
"@mdx-js/mdx": "^2.3.0",
31+
"acorn": "^8.8.2",
3232
"acorn-jsx": "^5.3.2",
33-
"astring": "^1.8.3",
34-
"deepmerge": "^4.2.2",
35-
"estree-util-build-jsx": "^2.2.0",
33+
"astring": "^1.8.4",
34+
"deepmerge": "^4.3.1",
35+
"estree-util-build-jsx": "^2.2.2",
3636
"fs-extra": "^11.1.1",
3737
"gatsby-core-utils": "^4.10.0-next.1",
3838
"gatsby-plugin-utils": "^4.10.0-next.1",
3939
"gray-matter": "^4.0.3",
40-
"mdast-util-mdx": "^2.0.0",
40+
"mdast-util-mdx": "^2.0.1",
4141
"mdast-util-to-hast": "^10.2.0",
42-
"mdast-util-to-markdown": "^1.3.0",
43-
"mdast-util-toc": "^6.1.0",
42+
"mdast-util-to-markdown": "^1.5.0",
43+
"mdast-util-toc": "^6.1.1",
4444
"rehype-infer-description-meta": "^1.1.0",
4545
"remark-unwrap-images": "^3.0.1",
4646
"unified": "^10.1.2",
47-
"unist-util-visit": "^4.1.1",
48-
"vfile": "^5.3.6"
47+
"unist-util-visit": "^4.1.2",
48+
"vfile": "^5.3.7"
4949
},
5050
"devDependencies": {
5151
"@babel/cli": "^7.20.7",

packages/gatsby-plugin-mdx/src/remark-mdx-html-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import toHast from "mdast-util-to-hast"
22
import { cachedImport } from "./cache-helpers"
33

4-
import type { Node } from "unist-util-visit"
4+
import type { Node } from "unist"
55
import type { Definition, Literal } from "mdast"
66
import type { MdxJsxAttribute, MdxJsxFlowElement } from "mdast-util-mdx"
77

packages/gatsby-plugin-mdx/src/remark-path-prefix-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import type { Node } from "unist-util-visit"
1+
import type { Node } from "unist"
22
import { cachedImport } from "./cache-helpers"
33

44
// ensure only one `/` in new url

yarn.lock

Lines changed: 55 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,10 +3048,10 @@
30483048
dependencies:
30493049
"@lukeed/csprng" "^1.1.0"
30503050

3051-
"@mdx-js/mdx@^2.1.5":
3052-
version "2.1.5"
3053-
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.1.5.tgz#577937349fd555154382c2f805f5f52834a64903"
3054-
integrity sha512-zEG0lt+Bl/r5U6e0TOS7qDbsXICtemfAPquxWFsMbdzrvlWaqMGemLl+sjVpqlyaaiCiGVQBSGdCk0t1qXjkQg==
3051+
"@mdx-js/mdx@^2.3.0":
3052+
version "2.3.0"
3053+
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.3.0.tgz#d65d8c3c28f3f46bb0e7cb3bf7613b39980671a9"
3054+
integrity sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==
30553055
dependencies:
30563056
"@types/estree-jsx" "^1.0.0"
30573057
"@types/mdx" "^2.0.0"
@@ -4344,11 +4344,6 @@
43444344
resolved "https://registry.yarnpkg.com/@types/get-port/-/get-port-3.2.0.tgz#f9e0a11443cc21336470185eae3dfba4495d29bc"
43454345
integrity sha512-TiNg8R1kjDde5Pub9F9vCwZA/BNW9HeXP5b9j7Qucqncy/McfPZ6xze/EyBdXS5FhMIGN6Fx3vg75l5KHy3V1Q==
43464346

4347-
"@types/github-slugger@^1.0.0":
4348-
version "1.3.0"
4349-
resolved "https://registry.yarnpkg.com/@types/github-slugger/-/github-slugger-1.3.0.tgz#16ab393b30d8ae2a111ac748a015ac05a1fc5524"
4350-
integrity sha512-J/rMZa7RqiH/rT29TEVZO4nBoDP9XJOjnbbIofg7GQKs4JIduEO3WLpte+6WeUz/TcrXKlY+bM7FYrp8yFB+3g==
4351-
43524347
"@types/glob@*", "@types/glob@^7.1.1":
43534348
version "7.1.1"
43544349
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575"
@@ -5451,10 +5446,10 @@ acorn@^7.0.0, acorn@^7.1.0, acorn@^7.4.0:
54515446
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
54525447
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
54535448

5454-
acorn@^8.0.0, acorn@^8.0.4, acorn@^8.1.0, acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.1:
5455-
version "8.8.1"
5456-
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73"
5457-
integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==
5449+
acorn@^8.0.0, acorn@^8.0.4, acorn@^8.1.0, acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0, acorn@^8.8.1, acorn@^8.8.2:
5450+
version "8.8.2"
5451+
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
5452+
integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==
54585453

54595454
add-stream@^1.0.0:
54605455
version "1.0.0"
@@ -6015,10 +6010,10 @@ astral-regex@^2.0.0:
60156010
resolved "https://registry.yarnpkg.com/astral-regex/-/astral-regex-2.0.0.tgz#483143c567aeed4785759c0865786dc77d7d2e31"
60166011
integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
60176012

6018-
astring@^1.8.0, astring@^1.8.3:
6019-
version "1.8.3"
6020-
resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.3.tgz#1a0ae738c7cc558f8e5ddc8e3120636f5cebcb85"
6021-
integrity sha512-sRpyiNrx2dEYIMmUXprS8nlpRg2Drs8m9ElX9vVEXaCB4XEAJhKfs7IcX0IwShjuOAjLR6wzIrgoptz1n19i1A==
6013+
astring@^1.8.0, astring@^1.8.4:
6014+
version "1.8.4"
6015+
resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.4.tgz#6d4c5d8de7be2ead9e4a3cc0e2efb8d759378904"
6016+
integrity sha512-97a+l2LBU3Op3bBQEff79i/E4jMD2ZLFD8rHx9B6mXyB2uQwhJQYfiDqUwtfjF4QA1F2qs//N6Cw8LetMbQjcw==
60226017

60236018
60246019
version "1.2.3"
@@ -10485,10 +10480,10 @@ estree-util-attach-comments@^2.0.0:
1048510480
dependencies:
1048610481
"@types/estree" "^1.0.0"
1048710482

10488-
estree-util-build-jsx@^2.0.0, estree-util-build-jsx@^2.2.0:
10489-
version "2.2.0"
10490-
resolved "https://registry.yarnpkg.com/estree-util-build-jsx/-/estree-util-build-jsx-2.2.0.tgz#d4307bbeee28c14eb4d63b75c9aad28fa61d84f5"
10491-
integrity sha512-apsfRxF9uLrqosApvHVtYZjISPvTJ+lBiIydpC+9wE6cF6ssbhnjyQLqaIjgzGxvC2Hbmec1M7g91PoBayYoQQ==
10483+
estree-util-build-jsx@^2.0.0, estree-util-build-jsx@^2.2.2:
10484+
version "2.2.2"
10485+
resolved "https://registry.yarnpkg.com/estree-util-build-jsx/-/estree-util-build-jsx-2.2.2.tgz#32f8a239fb40dc3f3dca75bb5dcf77a831e4e47b"
10486+
integrity sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==
1049210487
dependencies:
1049310488
"@types/estree-jsx" "^1.0.0"
1049410489
estree-util-is-identifier-name "^2.0.0"
@@ -11781,11 +11776,16 @@ [email protected]:
1178111776
dependencies:
1178211777
emoji-regex ">=6.0.0 <=6.1.1"
1178311778

11784-
github-slugger@^1.0.0, github-slugger@^1.2.1, github-slugger@^1.5.0:
11779+
github-slugger@^1.2.1, github-slugger@^1.5.0:
1178511780
version "1.5.0"
1178611781
resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-1.5.0.tgz#17891bbc73232051474d68bd867a34625c955f7d"
1178711782
integrity sha512-wIh+gKBI9Nshz2o46B0B3f5k/W+WI9ZAv6y5Dn5WJ5SK1t0TnDimB4WE5rmTD05ZAIn8HALCZVmCsvj0w0v0lw==
1178811783

11784+
github-slugger@^2.0.0:
11785+
version "2.0.0"
11786+
resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-2.0.0.tgz#52cf2f9279a21eb6c59dd385b410f0c0adda8f1a"
11787+
integrity sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==
11788+
1178911789
gitlab@^10.0.1:
1179011790
version "10.2.1"
1179111791
resolved "https://registry.yarnpkg.com/gitlab/-/gitlab-10.2.1.tgz#1f5fb2c2bad08f95b7c7d91dd41805ab5eea3960"
@@ -15967,14 +15967,16 @@ mdast-util-mdx-jsx@^2.0.0:
1596715967
unist-util-stringify-position "^3.0.0"
1596815968
vfile-message "^3.0.0"
1596915969

15970-
mdast-util-mdx@^2.0.0:
15971-
version "2.0.0"
15972-
resolved "https://registry.yarnpkg.com/mdast-util-mdx/-/mdast-util-mdx-2.0.0.tgz#dd4f6c993cf27da32725e50a04874f595b7b63fb"
15973-
integrity sha512-M09lW0CcBT1VrJUaF/PYxemxxHa7SLDHdSn94Q9FhxjCQfuW7nMAWKWimTmA3OyDMSTH981NN1csW1X+HPSluw==
15970+
mdast-util-mdx@^2.0.0, mdast-util-mdx@^2.0.1:
15971+
version "2.0.1"
15972+
resolved "https://registry.yarnpkg.com/mdast-util-mdx/-/mdast-util-mdx-2.0.1.tgz#49b6e70819b99bb615d7223c088d295e53bb810f"
15973+
integrity sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==
1597415974
dependencies:
15975+
mdast-util-from-markdown "^1.0.0"
1597515976
mdast-util-mdx-expression "^1.0.0"
1597615977
mdast-util-mdx-jsx "^2.0.0"
1597715978
mdast-util-mdxjs-esm "^1.0.0"
15979+
mdast-util-to-markdown "^1.0.0"
1597815980

1597915981
mdast-util-mdxjs-esm@^1.0.0:
1598015982
version "1.3.0"
@@ -15987,6 +15989,14 @@ mdast-util-mdxjs-esm@^1.0.0:
1598715989
mdast-util-from-markdown "^1.0.0"
1598815990
mdast-util-to-markdown "^1.0.0"
1598915991

15992+
mdast-util-phrasing@^3.0.0:
15993+
version "3.0.1"
15994+
resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz#c7c21d0d435d7fb90956038f02e8702781f95463"
15995+
integrity sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==
15996+
dependencies:
15997+
"@types/mdast" "^3.0.0"
15998+
unist-util-is "^5.0.0"
15999+
1599016000
mdast-util-to-hast@^10.0.0, mdast-util-to-hast@^10.2.0:
1599116001
version "10.2.0"
1599216002
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604"
@@ -16030,14 +16040,15 @@ mdast-util-to-markdown@^0.6.0, mdast-util-to-markdown@^0.6.1, mdast-util-to-mark
1603016040
repeat-string "^1.0.0"
1603116041
zwitch "^1.0.0"
1603216042

16033-
mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0:
16034-
version "1.3.0"
16035-
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.3.0.tgz#38b6cdc8dc417de642a469c4fc2abdf8c931bd1e"
16036-
integrity sha512-6tUSs4r+KK4JGTTiQ7FfHmVOaDrLQJPmpjD6wPMlHGUVXoG9Vjc3jIeP+uyBWRf8clwB2blM+W7+KrlMYQnftA==
16043+
mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0, mdast-util-to-markdown@^1.5.0:
16044+
version "1.5.0"
16045+
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6"
16046+
integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==
1603716047
dependencies:
1603816048
"@types/mdast" "^3.0.0"
1603916049
"@types/unist" "^2.0.0"
1604016050
longest-streak "^3.0.0"
16051+
mdast-util-phrasing "^3.0.0"
1604116052
mdast-util-to-string "^3.0.0"
1604216053
micromark-util-decode-string "^1.0.0"
1604316054
unist-util-visit "^4.0.0"
@@ -16081,19 +16092,18 @@ mdast-util-toc@^5.0.0, mdast-util-toc@^5.1.0:
1608116092
unist-util-is "^4.0.0"
1608216093
unist-util-visit "^2.0.0"
1608316094

16084-
mdast-util-toc@^6.1.0:
16085-
version "6.1.0"
16086-
resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-6.1.0.tgz#1f38419f5ce774449c8daa87b39a4d940b24be7c"
16087-
integrity sha512-0PuqZELXZl4ms1sF7Lqigrqik4Ll3UhbI+jdTrfw7pZ9QPawgl7LD4GQ8MkU7bT/EwiVqChNTbifa2jLLKo76A==
16095+
mdast-util-toc@^6.1.1:
16096+
version "6.1.1"
16097+
resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-6.1.1.tgz#28b81b0c99ca80c4442a3c95e20a825daf24518f"
16098+
integrity sha512-Er21728Kow8hehecK2GZtb7Ny3omcoPUVrmObiSUwmoRYVZaXLR751QROEFjR8W/vAQdHMLj49Lz20J55XaNpw==
1608816099
dependencies:
1608916100
"@types/extend" "^3.0.0"
16090-
"@types/github-slugger" "^1.0.0"
1609116101
"@types/mdast" "^3.0.0"
1609216102
extend "^3.0.0"
16093-
github-slugger "^1.0.0"
16103+
github-slugger "^2.0.0"
1609416104
mdast-util-to-string "^3.1.0"
1609516105
unist-util-is "^5.0.0"
16096-
unist-util-visit "^3.0.0"
16106+
unist-util-visit "^4.0.0"
1609716107

1609816108
1609916109
version "2.0.14"
@@ -23714,14 +23724,6 @@ unist-util-visit-parents@^3.0.0, unist-util-visit-parents@^3.1.1:
2371423724
"@types/unist" "^2.0.0"
2371523725
unist-util-is "^4.0.0"
2371623726

23717-
unist-util-visit-parents@^4.0.0:
23718-
version "4.1.1"
23719-
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-4.1.1.tgz#e83559a4ad7e6048a46b1bdb22614f2f3f4724f2"
23720-
integrity sha512-1xAFJXAKpnnJl8G7K5KgU7FY55y3GcLIXqkzUj5QF/QVP7biUm0K0O2oqVkYsdjzJKifYeWn9+o6piAK2hGSHw==
23721-
dependencies:
23722-
"@types/unist" "^2.0.0"
23723-
unist-util-is "^5.0.0"
23724-
2372523727
unist-util-visit-parents@^5.1.1:
2372623728
version "5.1.1"
2372723729
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz#868f353e6fce6bf8fa875b251b0f4fec3be709bb"
@@ -23746,19 +23748,10 @@ unist-util-visit@^2.0.0, unist-util-visit@^2.0.3:
2374623748
unist-util-is "^4.0.0"
2374723749
unist-util-visit-parents "^3.0.0"
2374823750

23749-
unist-util-visit@^3.0.0:
23750-
version "3.1.0"
23751-
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-3.1.0.tgz#9420d285e1aee938c7d9acbafc8e160186dbaf7b"
23752-
integrity sha512-Szoh+R/Ll68QWAyQyZZpQzZQm2UPbxibDvaY8Xc9SUtYgPsDzx5AWSk++UUt2hJuow8mvwR+rG+LQLw+KsuAKA==
23753-
dependencies:
23754-
"@types/unist" "^2.0.0"
23755-
unist-util-is "^5.0.0"
23756-
unist-util-visit-parents "^4.0.0"
23757-
23758-
unist-util-visit@^4.0.0, unist-util-visit@^4.1.1:
23759-
version "4.1.1"
23760-
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.1.tgz#1c4842d70bd3df6cc545276f5164f933390a9aad"
23761-
integrity sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==
23751+
unist-util-visit@^4.0.0, unist-util-visit@^4.1.2:
23752+
version "4.1.2"
23753+
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2"
23754+
integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==
2376223755
dependencies:
2376323756
"@types/unist" "^2.0.0"
2376423757
unist-util-is "^5.0.0"
@@ -24254,10 +24247,10 @@ vfile@^4.0.0:
2425424247
unist-util-stringify-position "^2.0.0"
2425524248
vfile-message "^2.0.0"
2425624249

24257-
vfile@^5.0.0, vfile@^5.3.6:
24258-
version "5.3.6"
24259-
resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.6.tgz#61b2e70690cc835a5d0d0fd135beae74e5a39546"
24260-
integrity sha512-ADBsmerdGBs2WYckrLBEmuETSPyTD4TuLxTrw0DvjirxW1ra4ZwkbzG8ndsv3Q57smvHxo677MHaQrY9yxH8cA==
24250+
vfile@^5.0.0, vfile@^5.3.7:
24251+
version "5.3.7"
24252+
resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7"
24253+
integrity sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==
2426124254
dependencies:
2426224255
"@types/unist" "^2.0.0"
2426324256
is-buffer "^2.0.0"

0 commit comments

Comments
 (0)