dependencies: Upgrade katex to 0.10.2.

The markup output changed but the rendering is the same, so modified
expected output in tests.

There is a regression introduced in one of the new versions of KaTeX,
which produces a warning in our node tests:
```
No character metrics for ' ' in style 'Main-Bold'
```
but the rendering is correct so we can ignore it.
Tracking issue: KaTeX/KaTeX#1994

Fixes #12472.
This commit is contained in:
Thomas Ip 2019-06-05 13:03:37 +08:00 committed by Tim Abbott
parent 8fd55cea9d
commit e17fb33b47
3 changed files with 20 additions and 25 deletions

View File

@ -27,7 +27,7 @@
"imports-loader": "0.8.0", "imports-loader": "0.8.0",
"jquery": "3.4.1", "jquery": "3.4.1",
"jquery-validation": "1.19.0", "jquery-validation": "1.19.0",
"katex": "0.8.3", "katex": "0.10.2",
"lazysizes": "4.1.6", "lazysizes": "4.1.6",
"mini-css-extract-plugin": "0.4.0", "mini-css-extract-plugin": "0.4.0",
"moment": "2.24.0", "moment": "2.24.0",

View File

@ -6019,12 +6019,12 @@ jsprim@^1.2.2:
json-schema "0.2.3" json-schema "0.2.3"
verror "1.10.0" verror "1.10.0"
katex@0.8.3: katex@0.10.2:
version "0.8.3" version "0.10.2"
resolved "https://registry.yarnpkg.com/katex/-/katex-0.8.3.tgz#909d99864baf964c3ccae39c4a99a8e0fb9a1bd0" resolved "https://registry.yarnpkg.com/katex/-/katex-0.10.2.tgz#39973edbb65eda5b6f9e7f41648781e557dd4932"
integrity sha512-0VKw+G/wvgLKMy4fhhKdPGjXehYF3l3PBRdzkvBivK5wMtAH9xRHImQaGk9gaukBTdOfZ1Biq8kL5vgkUsBT0Q== integrity sha512-cQOmyIRoMloCoSIOZ1+gEwsksdJZ1EW4SWm3QzxSza/QsnZr6D4U1V9S4q+B/OLm2OQ8TCBecQ8MaIfnScI7cw==
dependencies: dependencies:
match-at "^0.1.0" commander "^2.19.0"
kdbush@^1.0.1: kdbush@^1.0.1:
version "1.0.1" version "1.0.1"
@ -6417,11 +6417,6 @@ mat4-recompose@^1.0.3:
dependencies: dependencies:
gl-mat4 "^1.0.1" gl-mat4 "^1.0.1"
match-at@^0.1.0:
version "0.1.1"
resolved "https://registry.yarnpkg.com/match-at/-/match-at-0.1.1.tgz#25d040d291777704d5e6556bbb79230ec2de0540"
integrity sha512-h4Yd392z9mST+dzc+yjuybOGFNOZjmXIPKWjxBd1Bb23r4SmDOsk2NYCU2BMUBGbSpZqwVsZYNq26QS3xfaT3Q==
math-log2@^1.0.1: math-log2@^1.0.1:
version "1.0.1" version "1.0.1"
resolved "https://registry.yarnpkg.com/math-log2/-/math-log2-1.0.1.tgz#fb8941be5f5ebe8979e718e6273b178e58694565" resolved "https://registry.yarnpkg.com/math-log2/-/math-log2-1.0.1.tgz#fb8941be5f5ebe8979e718e6273b178e58694565"

File diff suppressed because one or more lines are too long