Skip to content

Commit 5d05105

Browse files
authoredApr 5, 2024··
Update to markdown-it 14.x (#3569)
1 parent 8584726 commit 5d05105

File tree

4 files changed

+125
-25
lines changed

4 files changed

+125
-25
lines changed
 

‎.changeset/smooth-rings-trade.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'graphiql': minor
3+
'@graphiql/react': minor
4+
---
5+
6+
Update to markdown-it 14.x

‎packages/graphiql-react/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"copy-to-clipboard": "^3.2.0",
6262
"framer-motion": "^6.5.1",
6363
"graphql-language-service": "^5.2.0",
64-
"markdown-it": "^12.2.0",
64+
"markdown-it": "^14.1.0",
6565
"set-value": "^4.1.0"
6666
},
6767
"devDependencies": {

‎packages/graphiql/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"@graphiql/react": "^0.20.4",
5151
"@graphiql/toolkit": "^0.9.1",
5252
"graphql-language-service": "^5.2.0",
53-
"markdown-it": "^12.2.0"
53+
"markdown-it": "^14.1.0"
5454
},
5555
"peerDependencies": {
5656
"graphql": "^15.5.0 || ^16.0.0",
@@ -62,7 +62,7 @@
6262
"@testing-library/jest-dom": "5.16.5",
6363
"@testing-library/react": "14.0.0",
6464
"@types/codemirror": "^0.0.90",
65-
"@types/markdown-it": "^12.2.3",
65+
"@types/markdown-it": "^13.0.7",
6666
"@types/node": "^16.18.4",
6767
"@types/testing-library__jest-dom": "5.14.5",
6868
"babel-loader": "^9.1.2",

‎yarn.lock

+116-22
Original file line numberDiff line numberDiff line change
@@ -5396,10 +5396,10 @@
53965396
resolved "https://registry.yarnpkg.com/@types/linkify-it/-/linkify-it-2.1.0.tgz#ea3dd64c4805597311790b61e872cbd1ed2cd806"
53975397
integrity sha512-Q7DYAOi9O/+cLLhdaSvKdaumWyHbm7HAk/bFwwyTuU0arR5yyCeW5GOoqt4tJTpDRxhpx9Q8kQL6vMpuw9hDSw==
53985398

5399-
"@types/markdown-it@^12.2.3":
5400-
version "12.2.3"
5401-
resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-12.2.3.tgz#0d6f6e5e413f8daaa26522904597be3d6cd93b51"
5402-
integrity sha512-GKMHFfv3458yYy+v/N8gjufHO6MSZKCOXpZc5GXIWWy8uldwfmPn98vp81gZ5f9SVw8YYBctgfJ22a2d7AOMeQ==
5399+
"@types/markdown-it@^13.0.7":
5400+
version "13.0.7"
5401+
resolved "https://registry.yarnpkg.com/@types/markdown-it/-/markdown-it-13.0.7.tgz#4a495115f470075bd4434a0438ac477a49c2e152"
5402+
integrity sha512-U/CBi2YUUcTHBt5tjO2r5QV/x0Po6nsYwQU4Y04fBS6vfoImaiZ6f8bi3CjTCxBPQSO1LMyUqkByzi8AidyxfA==
54035403
dependencies:
54045404
"@types/linkify-it" "*"
54055405
"@types/mdurl" "*"
@@ -6050,6 +6050,34 @@
60506050
loupe "^2.3.6"
60516051
pretty-format "^27.5.1"
60526052

6053+
"@vscode/vsce@^2.19.0", "@vscode/vsce@^2.23.0":
6054+
version "2.24.0"
6055+
resolved "https://registry.yarnpkg.com/@vscode/vsce/-/vsce-2.24.0.tgz#7f835b9fdd5bfedcecd62a6c4d684841a74974d4"
6056+
integrity sha512-p6CIXpH5HXDqmUkgFXvIKTjZpZxy/uDx4d/UsfhS9vQUun43KDNUbYeZocyAHgqcJlPEurgArHz9te1PPiqPyA==
6057+
dependencies:
6058+
azure-devops-node-api "^11.0.1"
6059+
chalk "^2.4.2"
6060+
cheerio "^1.0.0-rc.9"
6061+
commander "^6.2.1"
6062+
glob "^7.0.6"
6063+
hosted-git-info "^4.0.2"
6064+
jsonc-parser "^3.2.0"
6065+
leven "^3.1.0"
6066+
markdown-it "^12.3.2"
6067+
mime "^1.3.4"
6068+
minimatch "^3.0.3"
6069+
parse-semver "^1.1.1"
6070+
read "^1.0.7"
6071+
semver "^7.5.2"
6072+
tmp "^0.2.1"
6073+
typed-rest-client "^1.8.4"
6074+
url-join "^4.0.1"
6075+
xml2js "^0.5.0"
6076+
yauzl "^2.3.1"
6077+
yazl "^2.2.2"
6078+
optionalDependencies:
6079+
keytar "^7.7.0"
6080+
60536081
"@vscode/vsce@^2.22.1-2":
60546082
version "2.22.1-2"
60556083
resolved "https://registry.yarnpkg.com/@vscode/vsce/-/vsce-2.22.1-2.tgz#0f272f97b23986366ea97e29721cb28410b9af68"
@@ -10698,6 +10726,11 @@ follow-redirects@^1.0.0, follow-redirects@^1.14.0:
1069810726
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.0.tgz#06441868281c86d0dda4ad8bdaead2d02dca89d4"
1069910727
integrity sha512-aExlJShTV4qOUOL7yF1U5tvLCB0xQuudbf6toyYA0E/acBNw71mvjFTnLaRp50aQaYocMR0a/RMMBIHeZnGyjQ==
1070010728

10729+
follow-redirects@^1.13.2:
10730+
version "1.15.6"
10731+
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.6.tgz#7f815c0cda4249c74ff09e95ef97c23b5fd0399b"
10732+
integrity sha512-wWN62YITEaOpSK584EZXJafH1AGpO8RVgElfkuXbTOrPX4fIfOyEpW/CsiNd8JdYrAoOvafRTOEnvsO++qCqFA==
10733+
1070110734
follow-redirects@^1.14.6:
1070210735
version "1.15.2"
1070310736
resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.15.2.tgz#b460864144ba63f2681096f274c4e57026da2c13"
@@ -13530,6 +13563,13 @@ linkify-it@^3.0.1:
1353013563
dependencies:
1353113564
uc.micro "^1.0.1"
1353213565

13566+
linkify-it@^5.0.0:
13567+
version "5.0.0"
13568+
resolved "https://registry.yarnpkg.com/linkify-it/-/linkify-it-5.0.0.tgz#9ef238bfa6dc70bd8e7f9572b52d369af569b421"
13569+
integrity sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==
13570+
dependencies:
13571+
uc.micro "^2.0.0"
13572+
1353313573
lint-staged@^10.1.2:
1353413574
version "10.1.3"
1353513575
resolved "https://registry.yarnpkg.com/lint-staged/-/lint-staged-10.1.3.tgz#da27713d3ac519da305381b4de87d5f866b1d2f1"
@@ -13923,17 +13963,6 @@ map-stream@~0.1.0:
1392313963
resolved "https://registry.yarnpkg.com/map-stream/-/map-stream-0.1.0.tgz#e56aa94c4c8055a16404a0674b78f215f7c8e194"
1392413964
integrity sha1-5WqpTEyAVaFkBKBnS3jyFffI4ZQ=
1392513965

13926-
markdown-it@^12.2.0:
13927-
version "12.2.0"
13928-
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.2.0.tgz#091f720fd5db206f80de7a8d1f1a7035fd0d38db"
13929-
integrity sha512-Wjws+uCrVQRqOoJvze4HCqkKl1AsSh95iFAeQDwnyfxM09divCBSXlDR1uTvyUP3Grzpn4Ru8GeCxYPM8vkCQg==
13930-
dependencies:
13931-
argparse "^2.0.1"
13932-
entities "~2.1.0"
13933-
linkify-it "^3.0.1"
13934-
mdurl "^1.0.1"
13935-
uc.micro "^1.0.5"
13936-
1393713966
markdown-it@^12.3.2:
1393813967
version "12.3.2"
1393913968
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-12.3.2.tgz#bf92ac92283fe983fe4de8ff8abfb5ad72cd0c90"
@@ -13945,6 +13974,18 @@ markdown-it@^12.3.2:
1394513974
mdurl "^1.0.1"
1394613975
uc.micro "^1.0.5"
1394713976

13977+
markdown-it@^14.1.0:
13978+
version "14.1.0"
13979+
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-14.1.0.tgz#3c3c5992883c633db4714ccb4d7b5935d98b7d45"
13980+
integrity sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==
13981+
dependencies:
13982+
argparse "^2.0.1"
13983+
entities "^4.4.0"
13984+
linkify-it "^5.0.0"
13985+
mdurl "^2.0.0"
13986+
punycode.js "^2.3.1"
13987+
uc.micro "^2.1.0"
13988+
1394813989
marked@^1.1.1:
1394913990
version "1.2.7"
1395013991
resolved "https://registry.yarnpkg.com/marked/-/marked-1.2.7.tgz#6e14b595581d2319cdcf033a24caaf41455a01fb"
@@ -14111,6 +14152,11 @@ mdurl@^1.0.1:
1411114152
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-1.0.1.tgz#fe85b2ec75a59037f2adfec100fd6c601761152e"
1411214153
integrity sha1-/oWy7HWlkDfyrf7BAP1sYBdhFS4=
1411314154

14155+
mdurl@^2.0.0:
14156+
version "2.0.0"
14157+
resolved "https://registry.yarnpkg.com/mdurl/-/mdurl-2.0.0.tgz#80676ec0433025dd3e17ee983d0fe8de5a2237e0"
14158+
integrity sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==
14159+
1411414160
media-typer@0.3.0:
1411514161
version "0.3.0"
1411614162
resolved "https://registry.yarnpkg.com/media-typer/-/media-typer-0.3.0.tgz#8710d7af0aa626f8fffa1ce00168545263255748"
@@ -15287,15 +15333,28 @@ outdent@^0.5.0:
1528715333
resolved "https://registry.yarnpkg.com/outdent/-/outdent-0.5.0.tgz#9e10982fdc41492bb473ad13840d22f9655be2ff"
1528815334
integrity sha512-/jHxFIzoMXdqPzTaCpFzAAWhpkSjZPF4Vsn6jAfNpmbH/ymsmd7Qc6VE9BGn0L6YMj6uwpQLxCECpus4ukKS9Q==
1528915335

15290-
ovsx@0.5.1:
15291-
version "0.5.1"
15292-
resolved "https://registry.yarnpkg.com/ovsx/-/ovsx-0.5.1.tgz#3a8c2707ea120d542d1d226a47f24ac47b078710"
15293-
integrity sha512-3OWq0l7DuVHi2bd2aQe5+QVQlFIqvrcw3/2vGXL404L6Tr+R4QHtzfnYYghv8CCa85xJHjU0RhcaC7pyXkAUbg==
15336+
ovsx@0.8.3:
15337+
version "0.8.3"
15338+
resolved "https://registry.yarnpkg.com/ovsx/-/ovsx-0.8.3.tgz#3c67a595e423f3f70a3d62da3735dd07dfbca69f"
15339+
integrity sha512-LG7wTzy4eYV/KolFeO4AwWPzQSARvCONzd5oHQlNvYOlji2r/zjbdK8pyObZN84uZlk6rQBWrJrAdJfh/SX0Hg==
1529415340
dependencies:
15341+
"@vscode/vsce" "^2.19.0"
1529515342
commander "^6.1.0"
1529615343
follow-redirects "^1.14.6"
1529715344
is-ci "^2.0.0"
1529815345
leven "^3.1.0"
15346+
semver "^7.5.2"
15347+
tmp "^0.2.1"
15348+
15349+
ovsx@^0.3.0:
15350+
version "0.3.0"
15351+
resolved "https://registry.yarnpkg.com/ovsx/-/ovsx-0.3.0.tgz#2f30c80c90fbe3c8fc406730c35371219187ca0a"
15352+
integrity sha512-UjZjzLt6Iq7LS/XFvEuBAWyn0zmsZEe8fuy5DsbcsIb0mW7PbVtB5Dhe4HeK7NJM228nyhYXC9WCeyBoMi4M3A==
15353+
dependencies:
15354+
commander "^6.1.0"
15355+
follow-redirects "^1.13.2"
15356+
is-ci "^2.0.0"
15357+
leven "^3.1.0"
1529915358
tmp "^0.2.1"
1530015359
vsce "^2.6.3"
1530115360

@@ -16512,6 +16571,11 @@ pump@^3.0.0:
1651216571
end-of-stream "^1.1.0"
1651316572
once "^1.3.1"
1651416573

16574+
punycode.js@^2.3.1:
16575+
version "2.3.1"
16576+
resolved "https://registry.yarnpkg.com/punycode.js/-/punycode.js-2.3.1.tgz#6b53e56ad75588234e79f4affa90972c7dd8cdb7"
16577+
integrity sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==
16578+
1651516579
punycode@^1.3.2:
1651616580
version "1.4.1"
1651716581
resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e"
@@ -18110,7 +18174,7 @@ string-length@^4.0.1:
1811018174
char-regex "^1.0.2"
1811118175
strip-ansi "^6.0.0"
1811218176

18113-
"string-width-cjs@npm:string-width@^4.2.0", string-width@^4.2.3:
18177+
"string-width-cjs@npm:string-width@^4.2.0":
1811418178
version "4.2.3"
1811518179
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
1811618180
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
@@ -18154,6 +18218,15 @@ string-width@^4.1.0, string-width@^4.2.0:
1815418218
is-fullwidth-code-point "^3.0.0"
1815518219
strip-ansi "^6.0.0"
1815618220

18221+
string-width@^4.2.3:
18222+
version "4.2.3"
18223+
resolved "https://registry.yarnpkg.com/string-width/-/string-width-4.2.3.tgz#269c7117d27b05ad2e536830a8ec895ef9c6d010"
18224+
integrity sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==
18225+
dependencies:
18226+
emoji-regex "^8.0.0"
18227+
is-fullwidth-code-point "^3.0.0"
18228+
strip-ansi "^6.0.1"
18229+
1815718230
string-width@^5.0.0, string-width@^5.0.1, string-width@^5.1.2:
1815818231
version "5.1.2"
1815918232
resolved "https://registry.yarnpkg.com/string-width/-/string-width-5.1.2.tgz#14f8daec6d81e7221d2a357e668cab73bdbca794"
@@ -18242,7 +18315,7 @@ stringify-object@^3.3.0:
1824218315
is-obj "^1.0.1"
1824318316
is-regexp "^1.0.0"
1824418317

18245-
"strip-ansi-cjs@npm:strip-ansi@^6.0.1", strip-ansi@^6.0.1:
18318+
"strip-ansi-cjs@npm:strip-ansi@^6.0.1":
1824618319
version "6.0.1"
1824718320
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
1824818321
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
@@ -18277,6 +18350,13 @@ strip-ansi@^6.0.0:
1827718350
dependencies:
1827818351
ansi-regex "^5.0.0"
1827918352

18353+
strip-ansi@^6.0.1:
18354+
version "6.0.1"
18355+
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9"
18356+
integrity sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==
18357+
dependencies:
18358+
ansi-regex "^5.0.1"
18359+
1828018360
strip-ansi@^7.0.1:
1828118361
version "7.1.0"
1828218362
resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.1.0.tgz#d5b6568ca689d8561370b0707685d22434faff45"
@@ -19071,6 +19151,11 @@ uc.micro@^1.0.1, uc.micro@^1.0.5:
1907119151
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-1.0.6.tgz#9c411a802a409a91fc6cf74081baba34b24499ac"
1907219152
integrity sha512-8Y75pvTYkLJW2hWQHXxoqRgV7qb9B+9vFEtidML+7koHUFapnVJAZ6cKs+Qjz5Aw3aZWHMC6u0wJE3At+nSGwA==
1907319153

19154+
uc.micro@^2.0.0, uc.micro@^2.1.0:
19155+
version "2.1.0"
19156+
resolved "https://registry.yarnpkg.com/uc.micro/-/uc.micro-2.1.0.tgz#f8d3f7d0ec4c3dea35a7e3c8efa4cb8b45c9e7ee"
19157+
integrity sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==
19158+
1907419159
ufo@^1.1.2:
1907519160
version "1.1.2"
1907619161
resolved "https://registry.yarnpkg.com/ufo/-/ufo-1.1.2.tgz#d0d9e0fa09dece0c31ffd57bd363f030a35cfe76"
@@ -20341,7 +20426,7 @@ workerpool@6.2.1:
2034120426
resolved "https://registry.yarnpkg.com/workerpool/-/workerpool-6.2.1.tgz#46fc150c17d826b86a008e5a4508656777e9c343"
2034220427
integrity sha512-ILEIE97kDZvF9Wb9f6h5aXK4swSlKGUcOEGiIYb2OOu/IrDU9iwj0fD//SsA6E5ibwJxpEvhullJY4Sl4GcpAw==
2034320428

20344-
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0", wrap-ansi@^7.0.0:
20429+
"wrap-ansi-cjs@npm:wrap-ansi@^7.0.0":
2034520430
version "7.0.0"
2034620431
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
2034720432
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
@@ -20376,6 +20461,15 @@ wrap-ansi@^6.2.0:
2037620461
string-width "^4.1.0"
2037720462
strip-ansi "^6.0.0"
2037820463

20464+
wrap-ansi@^7.0.0:
20465+
version "7.0.0"
20466+
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-7.0.0.tgz#67e145cff510a6a6984bdf1152911d69d2eb9e43"
20467+
integrity sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==
20468+
dependencies:
20469+
ansi-styles "^4.0.0"
20470+
string-width "^4.1.0"
20471+
strip-ansi "^6.0.0"
20472+
2037920473
wrap-ansi@^8.1.0:
2038020474
version "8.1.0"
2038120475
resolved "https://registry.yarnpkg.com/wrap-ansi/-/wrap-ansi-8.1.0.tgz#56dc22368ee570face1b49819975d9b9a5ead214"

0 commit comments

Comments
 (0)
Please sign in to comment.