From c1b80def91fa0f1772ceee4ba9342fab95849c4e Mon Sep 17 00:00:00 2001 From: Felix Wu Date: Mon, 20 Aug 2018 10:43:15 +0200 Subject: [PATCH] bump katex dependency, support new katex commands --- package-lock.json | 50 +++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 47 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ebdaf199..9d0805cc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6326,6 +6326,11 @@ "ansi-regex": "2.1.1" } }, + "has-color": { + "version": "0.1.7", + "resolved": "https://registry.npmjs.org/has-color/-/has-color-0.1.7.tgz", + "integrity": "sha1-ZxRKUmDDT8PMpnfQQdr1L+e3iy8=" + }, "has-flag": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz", @@ -7524,11 +7529,12 @@ } }, "katex": { - "version": "0.9.0-alpha2", - "resolved": "https://registry.npmjs.org/katex/-/katex-0.9.0-alpha2.tgz", - "integrity": "sha512-Hih2oCEEU3MRy+iHjA/tbvSKA+f93VliWA2jAYpGPR6MoMX1JzIy+Zc8ZnP4n45M8BC1ktDhWDCaQ/0CkJhXLg==", + "version": "0.10.0-alpha", + "resolved": "https://registry.npmjs.org/katex/-/katex-0.10.0-alpha.tgz", + "integrity": "sha512-zxBALe11/a5T4Va0ybBSavE+dGe7YNR3MWom1avhmRtvoeI5QSHMuHhDbsLOcazdMCjFHIZTJpUpsllnFo9JVA==", "requires": { - "match-at": "0.1.1" + "match-at": "0.1.1", + "nomnom": "1.8.1" } }, "kew": { @@ -8876,6 +8882,42 @@ } } }, + "nomnom": { + "version": "1.8.1", + "resolved": "https://registry.npmjs.org/nomnom/-/nomnom-1.8.1.tgz", + "integrity": "sha1-IVH3Ikcrp55Qp2/BJbuMjy5Nwqc=", + "requires": { + "chalk": "0.4.0", + "underscore": "1.6.0" + }, + "dependencies": { + "ansi-styles": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-1.0.0.tgz", + "integrity": "sha1-yxAt8cVvUSPquLZ817mAJ6AnkXg=" + }, + "chalk": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-0.4.0.tgz", + "integrity": "sha1-UZmj3c0MHv4jvAjBsCewYXbgxk8=", + "requires": { + "ansi-styles": "1.0.0", + "has-color": "0.1.7", + "strip-ansi": "0.1.1" + } + }, + "strip-ansi": { + "version": "0.1.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-0.1.1.tgz", + "integrity": "sha1-OeipjQRNFQZgq+SmgIrPcLt7yZE=" + }, + "underscore": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.6.0.tgz", + "integrity": "sha1-izixDKze9jM3uLJOT/htRa6lKag=" + } + } + }, "noop-fn": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/noop-fn/-/noop-fn-1.0.0.tgz", diff --git a/package.json b/package.json index 1d1df10b..6228c0b7 100644 --- a/package.json +++ b/package.json @@ -33,7 +33,7 @@ "handlebars": "^4.0.10", "indexeddbshim": "^3.0.4", "js-yaml": "^3.9.1", - "katex": "^0.9.0-alpha1", + "katex": "v0.10.0-alpha", "markdown-it": "^8.3.1", "markdown-it-abbr": "^1.0.4", "markdown-it-deflist": "^2.0.2",