Skip to content

Commit 61213d7

Browse files
chore(deps): pin react-markdown to v9.0.1 (#2229)
### 🎯 Goal Pin version of `react-markdown` package to ensure our SDK is still somewhat compatible with older versions of React (`<v18`) as the newest version of the said package requires minimal version of React to be at least `v18` but does not necessarily use any new APIs that aren't available in the older versions.
1 parent e55a9bd commit 61213d7

File tree

2 files changed

+19
-27
lines changed

2 files changed

+19
-27
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
"react-fast-compare": "^3.2.2",
7979
"react-image-gallery": "1.2.12",
8080
"react-is": "^18.1.0",
81-
"react-markdown": "^9.0.0",
81+
"react-markdown": "9.0.1",
8282
"react-player": "2.10.1",
8383
"react-popper": "^2.3.0",
8484
"react-textarea-autosize": "^8.3.0",

yarn.lock

Lines changed: 18 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,14 +1044,7 @@
10441044
core-js-pure "^3.0.0"
10451045
regenerator-runtime "^0.13.4"
10461046

1047-
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.17.8", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6":
1048-
version "7.21.0"
1049-
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.21.0.tgz#5b55c9d394e5fcf304909a8b00c07dc217b56673"
1050-
integrity sha512-xwII0//EObnq89Ji5AKYQaRYiW/nZ3llSv29d49IuxPhKbtJoLP+9QUUZ4nVragQVtaVGeZrpB+ZtG/Pdy/POw==
1051-
dependencies:
1052-
regenerator-runtime "^0.13.11"
1053-
1054-
"@babel/runtime@^7.23.6":
1047+
"@babel/runtime@^7.10.2", "@babel/runtime@^7.11.2", "@babel/runtime@^7.12.5", "@babel/runtime@^7.15.4", "@babel/runtime@^7.16.3", "@babel/runtime@^7.17.2", "@babel/runtime@^7.17.8", "@babel/runtime@^7.23.6", "@babel/runtime@^7.7.6", "@babel/runtime@^7.8.4", "@babel/runtime@^7.9.2", "@babel/runtime@^7.9.6":
10551048
version "7.23.6"
10561049
resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.23.6.tgz#c05e610dc228855dc92ef1b53d07389ed8ab521d"
10571050
integrity sha512-zHd0eUrf5GZoOWVCXp6koAKQTfZV07eit6bGPmJgnZdnSAvvZee6zniW2XMF7Cmc4ISOOnPy3QaSiIJGJkVEDQ==
@@ -11746,6 +11739,22 @@ react-is@^17.0.1:
1174611739
resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0"
1174711740
integrity sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w==
1174811741

11742+
11743+
version "9.0.1"
11744+
resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-9.0.1.tgz#c05ddbff67fd3b3f839f8c648e6fb35d022397d1"
11745+
integrity sha512-186Gw/vF1uRkydbsOIkcGXw7aHq0sZOCRFFjGrr7b9+nVZg4UfA4enXCaxm4fUzecU38sWfrNDitGhshuU7rdg==
11746+
dependencies:
11747+
"@types/hast" "^3.0.0"
11748+
devlop "^1.0.0"
11749+
hast-util-to-jsx-runtime "^2.0.0"
11750+
html-url-attributes "^3.0.0"
11751+
mdast-util-to-hast "^13.0.0"
11752+
remark-parse "^11.0.0"
11753+
remark-rehype "^11.0.0"
11754+
unified "^11.0.0"
11755+
unist-util-visit "^5.0.0"
11756+
vfile "^6.0.0"
11757+
1174911758
react-markdown@^5.0.3:
1175011759
version "5.0.3"
1175111760
resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-5.0.3.tgz#41040ea7a9324b564b328fb81dd6c04f2a5373ac"
@@ -11762,23 +11771,6 @@ react-markdown@^5.0.3:
1176211771
unist-util-visit "^2.0.0"
1176311772
xtend "^4.0.1"
1176411773

11765-
react-markdown@^9.0.0:
11766-
version "9.0.0"
11767-
resolved "https://registry.yarnpkg.com/react-markdown/-/react-markdown-9.0.0.tgz#7a41bde9e1b0b1d6911f6f9f8c3cdb4a3e9f9328"
11768-
integrity sha512-v6yNf3AB8GfJ8lCpUvzxAXKxgsHpdmWPlcVRQ6Nocsezp255E/IDrF31kLQsPJeB/cKto/geUwjU36wH784FCA==
11769-
dependencies:
11770-
"@types/hast" "^3.0.0"
11771-
devlop "^1.0.0"
11772-
hast-util-to-jsx-runtime "^2.0.0"
11773-
html-url-attributes "^3.0.0"
11774-
mdast-util-to-hast "^13.0.0"
11775-
micromark-util-sanitize-uri "^2.0.0"
11776-
remark-parse "^11.0.0"
11777-
remark-rehype "^11.0.0"
11778-
unified "^11.0.0"
11779-
unist-util-visit "^5.0.0"
11780-
vfile "^6.0.0"
11781-
1178211774
1178311775
version "2.10.1"
1178411776
resolved "https://registry.yarnpkg.com/react-player/-/react-player-2.10.1.tgz#f2ee3ec31393d7042f727737545414b951ffc7e4"
@@ -12000,7 +11992,7 @@ regenerator-runtime@^0.11.0:
1200011992
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9"
1200111993
integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg==
1200211994

12003-
regenerator-runtime@^0.13.11, regenerator-runtime@^0.13.4:
11995+
regenerator-runtime@^0.13.4:
1200411996
version "0.13.11"
1200511997
resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.13.11.tgz#f6dca3e7ceec20590d07ada785636a90cdca17f9"
1200611998
integrity sha512-kY1AZVr2Ra+t+piVaJ4gxaFaReZVH40AKNo7UCX6W+dEwBo/2oZJzqfuN1qLq1oL45o56cPaTXELwrTh8Fpggg==

0 commit comments

Comments
 (0)