From efede7d9256afb297c4dbbcd46659ed00c290aa1 Mon Sep 17 00:00:00 2001 From: Trivernis Date: Sun, 12 May 2019 18:58:18 +0200 Subject: [PATCH] Auto stash before merge of "develop" and "GitHub-whooshy/develop" --- package-lock.json | 22 ---------------------- package.json | 1 - routes/bingo.js | 6 ++---- 3 files changed, 2 insertions(+), 27 deletions(-) diff --git a/package-lock.json b/package-lock.json index 997d613..b62381c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -176,15 +176,6 @@ "resolved": "https://registry.npmjs.org/asap/-/asap-2.0.6.tgz", "integrity": "sha1-5QNHYR1+aQlDIIu9r+vLwvuGbUY=" }, - "ascii2mathml": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/ascii2mathml/-/ascii2mathml-0.6.2.tgz", - "integrity": "sha512-tkPONh2Y7ZpuGQw6AiRnExX/CSYf5C2T/rF+UMJq5n0Us7+QjL8VY5ZE16xo9wcXhdqPkl/F7lzEzU9HX0YKng==", - "optional": true, - "requires": { - "minimist": "^1.2.0" - } - }, "asn1": { "version": "0.2.4", "resolved": "https://registry.npmjs.org/asn1/-/asn1-0.2.4.tgz", @@ -2379,24 +2370,11 @@ "resolved": "https://registry.npmjs.org/markdown-it-emoji/-/markdown-it-emoji-1.4.0.tgz", "integrity": "sha1-m+4OmpkKljupbfaYDE/dsF37Tcw=" }, - "markdown-it-linkify-images": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/markdown-it-linkify-images/-/markdown-it-linkify-images-1.1.0.tgz", - "integrity": "sha1-xVedk4bXcgxUbPWD/glq3FmAyFk=" - }, "markdown-it-mark": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/markdown-it-mark/-/markdown-it-mark-2.0.0.tgz", "integrity": "sha1-RqGqlHEFrtgYiXjgoBYXnkBPQsc=" }, - "markdown-it-math": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/markdown-it-math/-/markdown-it-math-4.1.1.tgz", - "integrity": "sha512-LQ0hREgMgN4tNcy2PGyw1XypjmKJjc+ZzATMuDIVD/Bagr5SGL198uHleVdiFDrNdXpqVmL4N1KD1GYyftMakQ==", - "requires": { - "ascii2mathml": "^0.6.2" - } - }, "markdown-it-smartarrows": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/markdown-it-smartarrows/-/markdown-it-smartarrows-1.0.1.tgz", diff --git a/package.json b/package.json index d93ee9d..27413cd 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,6 @@ "markdown-it": "^8.4.2", "markdown-it-emoji": "^1.4.0", "markdown-it-mark": "^2.0.0", - "markdown-it-math": "^4.1.1", "markdown-it-smartarrows": "^1.0.1", "morgan": "1.9.1", "node-sass": "4.12.0", diff --git a/routes/bingo.js b/routes/bingo.js index 06bb098..8aa7808 100644 --- a/routes/bingo.js +++ b/routes/bingo.js @@ -5,12 +5,10 @@ const express = require('express'), mdEmoji = require('markdown-it-emoji'), mdMark = require('markdown-it-mark'), mdSmartarrows = require('markdown-it-smartarrows'), - mdMath = require('markdown-it-math'), md = require('markdown-it')() .use(mdEmoji) .use(mdMark) - .use(mdSmartarrows) - .use(mdMath); + .use(mdSmartarrows); const rWordOnly = /^\w+$/; @@ -67,7 +65,7 @@ class BingoSession { this.followup = followup.id; bingoSessions[followup.id] = followup; followup.chatMessages = this.chatMessages; - followup.chatMessages.push(new BingoChatMessage('**Rematch**', "INFO")); + followup.chatMessages.push(new BingoChatMessage('==**Rematch**==', "INFO")); return followup; }