From d38b204ec8fd9e9569ff7fc6af5a715d70ccfbf6 Mon Sep 17 00:00:00 2001 From: rhearmas <34490428+qu-ota@users.noreply.github.com> Date: Fri, 13 Dec 2019 09:37:25 -0500 Subject: [PATCH] hopefully fixing the mime vulnerability --- package-lock.json | 18 ++++++++++++++---- package.json | 2 ++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index bfc99a7..62cb82a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { - "name": "guidebot", - "version": "2.3.6", + "name": "cardboardbot", + "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -92,6 +92,11 @@ "resolved": "https://registry.npmjs.org/colors/-/colors-1.4.0.tgz", "integrity": "sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==" }, + "common-tags": { + "version": "1.8.0", + "resolved": "https://registry.npmjs.org/common-tags/-/common-tags-1.8.0.tgz", + "integrity": "sha512-6P6g0uetGpW/sdyUy/iQQCbFF0kWVMSIVSyYz7Zgjcgh8mgw8PQzDNZeyZ5DQ2gM7LBoZPHmnjz8rUthkBG5tw==" + }, "crawl": { "version": "0.3.1", "resolved": "https://registry.npmjs.org/crawl/-/crawl-0.3.1.tgz", @@ -99,7 +104,7 @@ "requires": { "colors": ">= 0.6.0-1", "first": "0.0.x", - "mime": "1.2.x", + "mime": "1.4.x", "node_hash": "0.2.x", "optimist": "0.3.x", "prettyjson": "0.7.x", @@ -226,8 +231,13 @@ "resolved": "https://registry.npmjs.org/long/-/long-4.0.0.tgz", "integrity": "sha512-XsP+KhQif4bjX1kbuSiySJFNAehNxgLb6hPRGJ9QsUr8ajHkuXGdrHmFUTUUXhDwVX2R5bY4JNZEwbUiMhV+MA==" }, + "math-expression-evaluator": { + "version": "1.2.17", + "resolved": "https://registry.npmjs.org/math-expression-evaluator/-/math-expression-evaluator-1.2.17.tgz", + "integrity": "sha1-3oGf282E3M2PrlnGrreWFbnSZqw=" + }, "mime": { - "version": ">=1.4.1", + "version": "1.4.1", "resolved": "https://registry.npmjs.org/mime/-/mime-1.4.1.tgz", "integrity": "sha1-WCA+7Ybjpe8XrtK32evUfwpg3RA=" }, diff --git a/package.json b/package.json index 2539a43..216862f 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,12 @@ "dependencies": { "better-sqlite3": "^5.4.0", "chalk": "^2.4.2", + "common-tags": "^1.8.0", "crawl": "^0.3.1", "discord.js": "^11.5.1", "enmap": "^5.0.0", "inquirer": "^6.3.1", + "math-expression-evaluator": "^1.2.17", "moment": "^2.24.0", "moment-duration-format": "^2.3.2", "recrawl": "^2.0.0"