DEV: Update markdown-it from 8.4.1 to 10.0.0 (#8164)

This commit is contained in:
Jarek Radosz 2019-10-08 13:00:22 +02:00 committed by GitHub
parent e7cc7def8b
commit 20514f2e44
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 1009 additions and 521 deletions

View File

@ -23,7 +23,7 @@
"jquery.autoellipsis": "https://github.com/pvdspek/jquery.autoellipsis",
"jquery.cookie": "1.4.1",
"magnific-popup": "1.1.0",
"markdown-it": "8.4.1",
"markdown-it": "10.0.0",
"moment": "2.24.0",
"moment-timezone": "0.5.25",
"moment-timezone-names-translations": "https://github.com/discourse/moment-timezone-names-translations",

File diff suppressed because it is too large Load Diff

View File

@ -6,6 +6,7 @@ describe "CommonMark" do
SiteSetting.traditional_markdown_linebreaks = true
SiteSetting.enable_markdown_typographer = false
SiteSetting.highlighted_languages = 'ruby|aa'
html, state, md = nil
failed = 0
@ -36,6 +37,7 @@ describe "CommonMark" do
cooked.gsub!("<blockquote>\n</blockquote>", "<blockquote></blockquote>")
html.gsub!("<blockquote>\n</blockquote>", "<blockquote></blockquote>")
html.gsub!("language-ruby", "lang-ruby")
html.gsub!("language-aa", "lang-aa")
# strip out unsupported languages
html.gsub!(/ class="language-[;f].*"/, "")

File diff suppressed because one or more lines are too long

View File

@ -846,10 +846,10 @@ ensure-posix-path@^1.0.0:
resolved "https://registry.yarnpkg.com/ensure-posix-path/-/ensure-posix-path-1.0.2.tgz#a65b3e42d0b71cfc585eb774f9943c8d9b91b0c2"
integrity sha1-pls+QtC3HPxYXrd0+ZQ8jZuRsMI=
entities@~1.1.1:
version "1.1.2"
resolved "https://registry.yarnpkg.com/entities/-/entities-1.1.2.tgz#bdfa735299664dfafd34529ed4f8522a275fea56"
integrity sha512-f2LZMYl1Fzu7YSBKg+RoROelpOaNrcGmE9AZubeDfrCEia483oW4MI4VyFd5VNHIgQ/7qm1I0wUHK1eJnn2y2w==
entities@~2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/entities/-/entities-2.0.0.tgz#68d6084cab1b079767540d80e56a39b423e4abf4"
integrity sha512-D9f7V0JSRwIxlRI2mjMqufDrRDnx8p+eEOz7aUM9SuvF8gsBzra0/6tbjl1m8eQHrZlYj6PxqE00hZ1SAIKPLw==
es5-ext@^0.10.35, es5-ext@^0.10.45, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.51, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46:
version "0.10.51"
@ -1916,13 +1916,13 @@ map-visit@^1.0.0:
dependencies:
object-visit "^1.0.0"
markdown-it@8.4.1:
version "8.4.1"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-8.4.1.tgz#206fe59b0e4e1b78a7c73250af9b34a4ad0aaf44"
integrity sha512-CzzqSSNkFRUf9vlWvhK1awpJreMRqdCrBvZ8DIoDWTOkESMIF741UPAhuAmbyWmdiFPA6WARNhnu2M6Nrhwa+A==
markdown-it@10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/markdown-it/-/markdown-it-10.0.0.tgz#abfc64f141b1722d663402044e43927f1f50a8dc"
integrity sha512-YWOP1j7UbDNz+TumYP1kpwnP0aEa711cJjrAQrzd0UXlbJfc5aAq0F/PZHjiioqDC1NKgvIMX+o+9Bk7yuM2dg==
dependencies:
argparse "^1.0.7"
entities "~1.1.1"
entities "~2.0.0"
linkify-it "^2.0.0"
mdurl "^1.0.1"
uc.micro "^1.0.5"