Skip to content

Commit

Permalink
fix(deps): update minor and patch dependencies for gatsby-plugin-mdx (#…
Browse files Browse the repository at this point in the history
…38027)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: LekoArts <lekoarts@gmail.com>
  • Loading branch information
renovate[bot] and LekoArts committed May 3, 2023
1 parent 272dacd commit 213d8b0
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 74 deletions.
1 change: 1 addition & 0 deletions jest.config.js
Expand Up @@ -105,6 +105,7 @@ const esModules = [
`trim-lines`,
`estree-util-to-js`,
`is-reference`,
`github-slugger`,
].join(`|`)

/** @type {import('jest').Config} */
Expand Down
20 changes: 10 additions & 10 deletions packages/gatsby-plugin-mdx/package.json
Expand Up @@ -27,25 +27,25 @@
"react-dom": "^18.0.0 || ^0.0.0"
},
"dependencies": {
"@mdx-js/mdx": "^2.1.5",
"acorn": "^8.8.1",
"@mdx-js/mdx": "^2.3.0",
"acorn": "^8.8.2",
"acorn-jsx": "^5.3.2",
"astring": "^1.8.3",
"deepmerge": "^4.2.2",
"estree-util-build-jsx": "^2.2.0",
"astring": "^1.8.4",
"deepmerge": "^4.3.1",
"estree-util-build-jsx": "^2.2.2",
"fs-extra": "^11.1.1",
"gatsby-core-utils": "^4.10.0-next.1",
"gatsby-plugin-utils": "^4.10.0-next.1",
"gray-matter": "^4.0.3",
"mdast-util-mdx": "^2.0.0",
"mdast-util-mdx": "^2.0.1",
"mdast-util-to-hast": "^10.2.0",
"mdast-util-to-markdown": "^1.3.0",
"mdast-util-toc": "^6.1.0",
"mdast-util-to-markdown": "^1.5.0",
"mdast-util-toc": "^6.1.1",
"rehype-infer-description-meta": "^1.1.0",
"remark-unwrap-images": "^3.0.1",
"unified": "^10.1.2",
"unist-util-visit": "^4.1.1",
"vfile": "^5.3.6"
"unist-util-visit": "^4.1.2",
"vfile": "^5.3.7"
},
"devDependencies": {
"@babel/cli": "^7.20.7",
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-mdx/src/remark-mdx-html-plugin.ts
@@ -1,7 +1,7 @@
import toHast from "mdast-util-to-hast"
import { cachedImport } from "./cache-helpers"

import type { Node } from "unist-util-visit"
import type { Node } from "unist"
import type { Definition, Literal } from "mdast"
import type { MdxJsxAttribute, MdxJsxFlowElement } from "mdast-util-mdx"

Expand Down
@@ -1,4 +1,4 @@
import type { Node } from "unist-util-visit"
import type { Node } from "unist"
import { cachedImport } from "./cache-helpers"

// ensure only one `/` in new url
Expand Down
117 changes: 55 additions & 62 deletions yarn.lock
Expand Up @@ -3048,10 +3048,10 @@
dependencies:
"@lukeed/csprng" "^1.1.0"

"@mdx-js/mdx@^2.1.5":
version "2.1.5"
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.1.5.tgz#577937349fd555154382c2f805f5f52834a64903"
integrity sha512-zEG0lt+Bl/r5U6e0TOS7qDbsXICtemfAPquxWFsMbdzrvlWaqMGemLl+sjVpqlyaaiCiGVQBSGdCk0t1qXjkQg==
"@mdx-js/mdx@^2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/@mdx-js/mdx/-/mdx-2.3.0.tgz#d65d8c3c28f3f46bb0e7cb3bf7613b39980671a9"
integrity sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==
dependencies:
"@types/estree-jsx" "^1.0.0"
"@types/mdx" "^2.0.0"
Expand Down Expand Up @@ -4344,11 +4344,6 @@
resolved "https://registry.yarnpkg.com/@types/get-port/-/get-port-3.2.0.tgz#f9e0a11443cc21336470185eae3dfba4495d29bc"
integrity sha512-TiNg8R1kjDde5Pub9F9vCwZA/BNW9HeXP5b9j7Qucqncy/McfPZ6xze/EyBdXS5FhMIGN6Fx3vg75l5KHy3V1Q==

"@types/github-slugger@^1.0.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@types/github-slugger/-/github-slugger-1.3.0.tgz#16ab393b30d8ae2a111ac748a015ac05a1fc5524"
integrity sha512-J/rMZa7RqiH/rT29TEVZO4nBoDP9XJOjnbbIofg7GQKs4JIduEO3WLpte+6WeUz/TcrXKlY+bM7FYrp8yFB+3g==

"@types/glob@*", "@types/glob@^7.1.1":
version "7.1.1"
resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.1.tgz#aa59a1c6e3fbc421e07ccd31a944c30eba521575"
Expand Down Expand Up @@ -5451,10 +5446,10 @@ acorn@^7.0.0, acorn@^7.1.0, acorn@^7.4.0:
resolved "https://registry.yarnpkg.com/acorn/-/acorn-7.4.1.tgz#feaed255973d2e77555b83dbc08851a6c63520fa"
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==

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:
version "8.8.1"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.1.tgz#0a3f9cbecc4ec3bea6f0a80b66ae8dd2da250b73"
integrity sha512-7zFpHzhnqYKrkYdUjF1HI1bzd0VygEGX8lFk4k5zVMqHEoES+P+7TKI+EvLO9WVMJ8eekdO0aDEK044xTXwPPA==
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:
version "8.8.2"
resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.2.tgz#1b2f25db02af965399b9776b0c2c391276d37c4a"
integrity sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==

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

astring@^1.8.0, astring@^1.8.3:
version "1.8.3"
resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.3.tgz#1a0ae738c7cc558f8e5ddc8e3120636f5cebcb85"
integrity sha512-sRpyiNrx2dEYIMmUXprS8nlpRg2Drs8m9ElX9vVEXaCB4XEAJhKfs7IcX0IwShjuOAjLR6wzIrgoptz1n19i1A==
astring@^1.8.0, astring@^1.8.4:
version "1.8.4"
resolved "https://registry.yarnpkg.com/astring/-/astring-1.8.4.tgz#6d4c5d8de7be2ead9e4a3cc0e2efb8d759378904"
integrity sha512-97a+l2LBU3Op3bBQEff79i/E4jMD2ZLFD8rHx9B6mXyB2uQwhJQYfiDqUwtfjF4QA1F2qs//N6Cw8LetMbQjcw==

async-retry@1.2.3:
version "1.2.3"
Expand Down Expand Up @@ -10485,10 +10480,10 @@ estree-util-attach-comments@^2.0.0:
dependencies:
"@types/estree" "^1.0.0"

estree-util-build-jsx@^2.0.0, estree-util-build-jsx@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/estree-util-build-jsx/-/estree-util-build-jsx-2.2.0.tgz#d4307bbeee28c14eb4d63b75c9aad28fa61d84f5"
integrity sha512-apsfRxF9uLrqosApvHVtYZjISPvTJ+lBiIydpC+9wE6cF6ssbhnjyQLqaIjgzGxvC2Hbmec1M7g91PoBayYoQQ==
estree-util-build-jsx@^2.0.0, estree-util-build-jsx@^2.2.2:
version "2.2.2"
resolved "https://registry.yarnpkg.com/estree-util-build-jsx/-/estree-util-build-jsx-2.2.2.tgz#32f8a239fb40dc3f3dca75bb5dcf77a831e4e47b"
integrity sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==
dependencies:
"@types/estree-jsx" "^1.0.0"
estree-util-is-identifier-name "^2.0.0"
Expand Down Expand Up @@ -11781,11 +11776,16 @@ github-slugger@1.2.0:
dependencies:
emoji-regex ">=6.0.0 <=6.1.1"

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

github-slugger@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/github-slugger/-/github-slugger-2.0.0.tgz#52cf2f9279a21eb6c59dd385b410f0c0adda8f1a"
integrity sha512-IaOQ9puYtjrkq7Y0Ygl9KDZnrf/aiUJYUpVf89y8kyaxbRG7Y1SrX/jaumrv81vc61+kiMempujsM3Yw7w5qcw==

gitlab@^10.0.1:
version "10.2.1"
resolved "https://registry.yarnpkg.com/gitlab/-/gitlab-10.2.1.tgz#1f5fb2c2bad08f95b7c7d91dd41805ab5eea3960"
Expand Down Expand Up @@ -15967,14 +15967,16 @@ mdast-util-mdx-jsx@^2.0.0:
unist-util-stringify-position "^3.0.0"
vfile-message "^3.0.0"

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

mdast-util-mdxjs-esm@^1.0.0:
version "1.3.0"
Expand All @@ -15987,6 +15989,14 @@ mdast-util-mdxjs-esm@^1.0.0:
mdast-util-from-markdown "^1.0.0"
mdast-util-to-markdown "^1.0.0"

mdast-util-phrasing@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/mdast-util-phrasing/-/mdast-util-phrasing-3.0.1.tgz#c7c21d0d435d7fb90956038f02e8702781f95463"
integrity sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==
dependencies:
"@types/mdast" "^3.0.0"
unist-util-is "^5.0.0"

mdast-util-to-hast@^10.0.0, mdast-util-to-hast@^10.2.0:
version "10.2.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-hast/-/mdast-util-to-hast-10.2.0.tgz#61875526a017d8857b71abc9333942700b2d3604"
Expand Down Expand Up @@ -16030,14 +16040,15 @@ mdast-util-to-markdown@^0.6.0, mdast-util-to-markdown@^0.6.1, mdast-util-to-mark
repeat-string "^1.0.0"
zwitch "^1.0.0"

mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.3.0.tgz#38b6cdc8dc417de642a469c4fc2abdf8c931bd1e"
integrity sha512-6tUSs4r+KK4JGTTiQ7FfHmVOaDrLQJPmpjD6wPMlHGUVXoG9Vjc3jIeP+uyBWRf8clwB2blM+W7+KrlMYQnftA==
mdast-util-to-markdown@^1.0.0, mdast-util-to-markdown@^1.3.0, mdast-util-to-markdown@^1.5.0:
version "1.5.0"
resolved "https://registry.yarnpkg.com/mdast-util-to-markdown/-/mdast-util-to-markdown-1.5.0.tgz#c13343cb3fc98621911d33b5cd42e7d0731171c6"
integrity sha512-bbv7TPv/WC49thZPg3jXuqzuvI45IL2EVAr/KxF0BSdHsU0ceFHOmwQn6evxAh1GaoK/6GQ1wp4R4oW2+LFL/A==
dependencies:
"@types/mdast" "^3.0.0"
"@types/unist" "^2.0.0"
longest-streak "^3.0.0"
mdast-util-phrasing "^3.0.0"
mdast-util-to-string "^3.0.0"
micromark-util-decode-string "^1.0.0"
unist-util-visit "^4.0.0"
Expand Down Expand Up @@ -16081,19 +16092,18 @@ mdast-util-toc@^5.0.0, mdast-util-toc@^5.1.0:
unist-util-is "^4.0.0"
unist-util-visit "^2.0.0"

mdast-util-toc@^6.1.0:
version "6.1.0"
resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-6.1.0.tgz#1f38419f5ce774449c8daa87b39a4d940b24be7c"
integrity sha512-0PuqZELXZl4ms1sF7Lqigrqik4Ll3UhbI+jdTrfw7pZ9QPawgl7LD4GQ8MkU7bT/EwiVqChNTbifa2jLLKo76A==
mdast-util-toc@^6.1.1:
version "6.1.1"
resolved "https://registry.yarnpkg.com/mdast-util-toc/-/mdast-util-toc-6.1.1.tgz#28b81b0c99ca80c4442a3c95e20a825daf24518f"
integrity sha512-Er21728Kow8hehecK2GZtb7Ny3omcoPUVrmObiSUwmoRYVZaXLR751QROEFjR8W/vAQdHMLj49Lz20J55XaNpw==
dependencies:
"@types/extend" "^3.0.0"
"@types/github-slugger" "^1.0.0"
"@types/mdast" "^3.0.0"
extend "^3.0.0"
github-slugger "^1.0.0"
github-slugger "^2.0.0"
mdast-util-to-string "^3.1.0"
unist-util-is "^5.0.0"
unist-util-visit "^3.0.0"
unist-util-visit "^4.0.0"

mdn-data@2.0.14:
version "2.0.14"
Expand Down Expand Up @@ -23714,14 +23724,6 @@ unist-util-visit-parents@^3.0.0, unist-util-visit-parents@^3.1.1:
"@types/unist" "^2.0.0"
unist-util-is "^4.0.0"

unist-util-visit-parents@^4.0.0:
version "4.1.1"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-4.1.1.tgz#e83559a4ad7e6048a46b1bdb22614f2f3f4724f2"
integrity sha512-1xAFJXAKpnnJl8G7K5KgU7FY55y3GcLIXqkzUj5QF/QVP7biUm0K0O2oqVkYsdjzJKifYeWn9+o6piAK2hGSHw==
dependencies:
"@types/unist" "^2.0.0"
unist-util-is "^5.0.0"

unist-util-visit-parents@^5.1.1:
version "5.1.1"
resolved "https://registry.yarnpkg.com/unist-util-visit-parents/-/unist-util-visit-parents-5.1.1.tgz#868f353e6fce6bf8fa875b251b0f4fec3be709bb"
Expand All @@ -23746,19 +23748,10 @@ unist-util-visit@^2.0.0, unist-util-visit@^2.0.3:
unist-util-is "^4.0.0"
unist-util-visit-parents "^3.0.0"

unist-util-visit@^3.0.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-3.1.0.tgz#9420d285e1aee938c7d9acbafc8e160186dbaf7b"
integrity sha512-Szoh+R/Ll68QWAyQyZZpQzZQm2UPbxibDvaY8Xc9SUtYgPsDzx5AWSk++UUt2hJuow8mvwR+rG+LQLw+KsuAKA==
dependencies:
"@types/unist" "^2.0.0"
unist-util-is "^5.0.0"
unist-util-visit-parents "^4.0.0"

unist-util-visit@^4.0.0, unist-util-visit@^4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.1.tgz#1c4842d70bd3df6cc545276f5164f933390a9aad"
integrity sha512-n9KN3WV9k4h1DxYR1LoajgN93wpEi/7ZplVe02IoB4gH5ctI1AaF2670BLHQYbwj+pY83gFtyeySFiyMHJklrg==
unist-util-visit@^4.0.0, unist-util-visit@^4.1.2:
version "4.1.2"
resolved "https://registry.yarnpkg.com/unist-util-visit/-/unist-util-visit-4.1.2.tgz#125a42d1eb876283715a3cb5cceaa531828c72e2"
integrity sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==
dependencies:
"@types/unist" "^2.0.0"
unist-util-is "^5.0.0"
Expand Down Expand Up @@ -24254,10 +24247,10 @@ vfile@^4.0.0:
unist-util-stringify-position "^2.0.0"
vfile-message "^2.0.0"

vfile@^5.0.0, vfile@^5.3.6:
version "5.3.6"
resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.6.tgz#61b2e70690cc835a5d0d0fd135beae74e5a39546"
integrity sha512-ADBsmerdGBs2WYckrLBEmuETSPyTD4TuLxTrw0DvjirxW1ra4ZwkbzG8ndsv3Q57smvHxo677MHaQrY9yxH8cA==
vfile@^5.0.0, vfile@^5.3.7:
version "5.3.7"
resolved "https://registry.yarnpkg.com/vfile/-/vfile-5.3.7.tgz#de0677e6683e3380fafc46544cfe603118826ab7"
integrity sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==
dependencies:
"@types/unist" "^2.0.0"
is-buffer "^2.0.0"
Expand Down

0 comments on commit 213d8b0

Please sign in to comment.