build(deps): update dependencies (#2301)

* Bump flow version

* Bump jest version

* Bump eslint version

* Bump rollup version

* Bump webpack version

* Bump misc dependencies and update lockfile

* Update lockfile

* Bump commander version

* Bump misc dependencies

* Bump istanbul version

* Bump docusaurus version

* Update lockfile

* Explicitly declare dependencies

* Bump caniuse-lite version

* Update lockfile

* Bump commander version

* Bump webpack and css-loader version

* Bump flow version
This commit is contained in:
ylemkimon
2020-07-26 03:38:29 +09:00
committed by GitHub
parent e76857ec03
commit 8a24907518
28 changed files with 11760 additions and 4516 deletions

View File

@@ -650,14 +650,12 @@ exports[`A parser that does not throw on unsupported commands should build katex
`;
exports[`A parser that does not throw on unsupported commands should properly escape LaTeX in errors 1`] = `
<span class="katex-error"
title="ParseError: KaTeX parse error: Expected group after &#x27;^&#x27; at position 2: 2^̲&amp;&quot;&lt;&gt;"
style="color:#933"
>
2^&amp;&quot;&lt;&gt;
</span>
`;
exports[`An HTML extension builder should not affect spacing 1`] = `
@@ -1093,7 +1091,6 @@ exports[`An includegraphics builder should render with trust setting 1`] = `
`;
exports[`Extending katex by new fonts and symbols Add new font class to new extended symbols 1`] = `
<span class="katex">
<span class="katex-mathml">
<math xmlns="http://www.w3.org/1998/Math/MathML">
@@ -1167,11 +1164,9 @@ exports[`Extending katex by new fonts and symbols Add new font class to new exte
</span>
</span>
</span>
`;
exports[`Newlines via \\\\ and \\newline \\\\ causes newline, even after mrel and mop 1`] = `
<span class="katex">
<span class="katex-mathml">
<math xmlns="http://www.w3.org/1998/Math/MathML">
@@ -1271,7 +1266,6 @@ exports[`Newlines via \\\\ and \\newline \\\\ causes newline, even after mrel an
</span>
</span>
</span>
`;
exports[`href and url commands should allow all protocols when trust option is true 1`] = `

View File

@@ -1,7 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`A MathML builder \\html@mathml makes clean symbols 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -26,11 +25,9 @@ exports[`A MathML builder \\html@mathml makes clean symbols 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder \\text fonts become mathvariant 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -110,11 +107,9 @@ exports[`A MathML builder \\text fonts become mathvariant 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder accents turn into <mover accent="true"> in MathML 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -167,11 +162,9 @@ exports[`A MathML builder accents turn into <mover accent="true"> in MathML 1`]
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder ligatures render properly 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -193,11 +186,9 @@ exports[`A MathML builder ligatures render properly 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder normal spaces render normally 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -211,11 +202,9 @@ exports[`A MathML builder normal spaces render normally 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should concatenate digits into single <mn> 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -240,11 +229,9 @@ exports[`A MathML builder should concatenate digits into single <mn> 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should generate <mphantom> nodes for \\phantom 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -259,11 +246,9 @@ exports[`A MathML builder should generate <mphantom> nodes for \\phantom 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should generate the right types of nodes 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -294,11 +279,9 @@ exports[`A MathML builder should generate the right types of nodes 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should make prime operators into <mo> nodes 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -319,11 +302,9 @@ exports[`A MathML builder should make prime operators into <mo> nodes 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} correctly in \\textstyle 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -354,11 +335,9 @@ exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} correc
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} in displaymode correctly 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML"
display="block"
>
@@ -391,11 +370,9 @@ exports[`A MathML builder should output \\limsup_{x \\rightarrow \\infty} in dis
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should render boldsymbol with the correct mathvariants 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -433,11 +410,9 @@ exports[`A MathML builder should render boldsymbol with the correct mathvariants
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should render mathchoice as if there was nothing 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -480,11 +455,9 @@ exports[`A MathML builder should render mathchoice as if there was nothing 1`] =
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should render mathchoice as if there was nothing 2`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -521,11 +494,9 @@ exports[`A MathML builder should render mathchoice as if there was nothing 2`] =
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should render mathchoice as if there was nothing 3`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -543,11 +514,9 @@ exports[`A MathML builder should render mathchoice as if there was nothing 3`] =
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should render mathchoice as if there was nothing 4`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -570,11 +539,9 @@ exports[`A MathML builder should render mathchoice as if there was nothing 4`] =
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should set href attribute for href appropriately 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -587,11 +554,9 @@ exports[`A MathML builder should set href attribute for href appropriately 1`] =
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should use <menclose> for colorbox 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -611,11 +576,9 @@ exports[`A MathML builder should use <menclose> for colorbox 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should use <mpadded> for raisebox 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -634,11 +597,9 @@ exports[`A MathML builder should use <mpadded> for raisebox 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should use <msupsub> for regular operators 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -663,11 +624,9 @@ exports[`A MathML builder should use <msupsub> for regular operators 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder should use <munderover> for large operators 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -692,11 +651,9 @@ exports[`A MathML builder should use <munderover> for large operators 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder special spaces render specially 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML">
<semantics>
<mrow>
@@ -763,11 +720,9 @@ exports[`A MathML builder special spaces render specially 1`] = `
</annotation>
</semantics>
</math>
`;
exports[`A MathML builder tags use <mlabeledtr> 1`] = `
<math xmlns="http://www.w3.org/1998/Math/MathML"
display="block"
>
@@ -808,5 +763,4 @@ exports[`A MathML builder tags use <mlabeledtr> 1`] = `
</annotation>
</semantics>
</math>
`;

View File

@@ -1,7 +1,3 @@
/* global expect: false */
/* global it: false */
/* global describe: false */
import symbols from '../src/symbols.js';
import macros from '../src/macros.js';

View File

@@ -1,7 +1,3 @@
/* global expect: false */
/* global it: false */
/* global describe: false */
describe("Parser:", function() {
describe("#handleInfixNodes", function() {

View File

@@ -1,8 +1,4 @@
/* eslint max-len:0 */
/* global expect: false */
/* global it: false */
/* global describe: false */
/* global beforeAll: false */
import buildMathML from "../src/buildMathML";
import buildTree from "../src/buildTree";

View File

@@ -1,7 +1,3 @@
/* global expect: false */
/* global it: false */
/* global describe: false */
import buildMathML from "../src/buildMathML";
import parseTree from "../src/parseTree";
import Options from "../src/Options";

View File

@@ -1,5 +1,3 @@
/* global expect: false */
import stringify from 'json-stable-stringify';
import Lexer from "../src/Lexer";
import ParseError from "../src/ParseError";

View File

@@ -1,7 +1,4 @@
/* eslint max-len:0 */
/* global expect: false */
/* global it: false */
/* global describe: false */
import Settings from "../src/Settings";
import {scriptFromCodepoint, supportedCodepoint} from "../src/unicodeScripts";
import {strictSettings, nonstrictSettings} from "./helpers";
@@ -116,6 +113,7 @@ describe("unicode", function() {
describe("unicodeScripts", () => {
const scriptRegExps = {
// eslint-disable-next-line no-misleading-character-class
latin: /[\u0100-\u024f\u0300-\u036f]/,
cyrillic: /[\u0400-\u04ff]/,
brahmic: /[\u0900-\u109F]/,