Browse Source

update packages

Markus-Rost 4 years ago
parent
commit
1dac5fc0fc
3 changed files with 34 additions and 35 deletions
  1. 1 1
      RcGcDb
  2. 29 31
      package-lock.json
  3. 4 3
      package.json

+ 1 - 1
RcGcDb

@@ -1 +1 @@
-Subproject commit 7808c4b47d0e2844245617aad42d9175de640df4
+Subproject commit 75a865287fb10d0586866567ae8e002fda384751

+ 29 - 31
package-lock.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "discord-wiki-bot",
   "name": "discord-wiki-bot",
-  "version": "2.2.0",
+  "version": "2.3.0",
   "lockfileVersion": 1,
   "lockfileVersion": 1,
   "requires": true,
   "requires": true,
   "dependencies": {
   "dependencies": {
@@ -20,9 +20,9 @@
       }
       }
     },
     },
     "@sindresorhus/is": {
     "@sindresorhus/is": {
-      "version": "3.1.0",
-      "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-3.1.0.tgz",
-      "integrity": "sha512-n4J+zu52VdY43kdi/XdI9DzuMr1Mur8zFL5ZRG2opCans9aiFwkPxHYFEb5Xgy7n1Z4K6WfI4FpqUqsh3E8BPQ=="
+      "version": "3.1.2",
+      "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-3.1.2.tgz",
+      "integrity": "sha512-JiX9vxoKMmu8Y3Zr2RVathBL1Cdu4Nt4MuNWemt1Nc06A0RAin9c5FArkhGsyMBWfCu4zj+9b+GxtjAnE4qqLQ=="
     },
     },
     "@szmarczak/http-timer": {
     "@szmarczak/http-timer": {
       "version": "4.0.5",
       "version": "4.0.5",
@@ -387,9 +387,9 @@
       "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups="
       "integrity": "sha1-+hN8S9aY7fVc1c0CrFWfkaTEups="
     },
     },
     "discord-oauth2": {
     "discord-oauth2": {
-      "version": "2.3.0",
-      "resolved": "https://registry.npmjs.org/discord-oauth2/-/discord-oauth2-2.3.0.tgz",
-      "integrity": "sha512-dsNf4x99aa8BELWERwKtYG36RD6mEHwWR/nExP3sRGi5VOsEIZu0vhGj81lvwNLw0kMypF5rJH7oZJElngnnbg=="
+      "version": "2.4.0",
+      "resolved": "https://registry.npmjs.org/discord-oauth2/-/discord-oauth2-2.4.0.tgz",
+      "integrity": "sha512-UhS44esXxcOAmPj2c10jjh8w6GUIvizAO7Nnt/Msz2a3zAiH0iHc4/Tu96Pr/OAzqc+BbL9B2Q6zPifCOHDR3A=="
     },
     },
     "discord.js": {
     "discord.js": {
       "version": "12.3.1",
       "version": "12.3.1",
@@ -587,18 +587,18 @@
       }
       }
     },
     },
     "got": {
     "got": {
-      "version": "11.5.2",
-      "resolved": "https://registry.npmjs.org/got/-/got-11.5.2.tgz",
-      "integrity": "sha512-yUhpEDLeuGiGJjRSzEq3kvt4zJtAcjKmhIiwNp/eUs75tRlXfWcHo5tcBaMQtnjHWC7nQYT5HkY/l0QOQTkVww==",
+      "version": "11.6.2",
+      "resolved": "https://registry.npmjs.org/got/-/got-11.6.2.tgz",
+      "integrity": "sha512-/21qgUePCeus29Jk7MEti8cgQUNXFSWfIevNIk4H7u1wmXNDrGPKPY6YsPY+o9CIT/a2DjCjRz0x1nM9FtS2/A==",
       "requires": {
       "requires": {
-        "@sindresorhus/is": "^3.0.0",
+        "@sindresorhus/is": "^3.1.1",
         "@szmarczak/http-timer": "^4.0.5",
         "@szmarczak/http-timer": "^4.0.5",
         "@types/cacheable-request": "^6.0.1",
         "@types/cacheable-request": "^6.0.1",
         "@types/responselike": "^1.0.0",
         "@types/responselike": "^1.0.0",
         "cacheable-lookup": "^5.0.3",
         "cacheable-lookup": "^5.0.3",
         "cacheable-request": "^7.0.1",
         "cacheable-request": "^7.0.1",
         "decompress-response": "^6.0.0",
         "decompress-response": "^6.0.0",
-        "http2-wrapper": "^1.0.0-beta.5.0",
+        "http2-wrapper": "^1.0.0-beta.5.2",
         "lowercase-keys": "^2.0.0",
         "lowercase-keys": "^2.0.0",
         "p-cancelable": "^2.0.0",
         "p-cancelable": "^2.0.0",
         "responselike": "^2.0.0"
         "responselike": "^2.0.0"
@@ -908,9 +908,9 @@
       "integrity": "sha512-ASCL5U13as7HhOExbT6OlWJJUV/lLzL2voOSP1UVehpRD8FbSrSDjfScK/KwAvVTI5AS6r4VwbOMlIqtvRidnA=="
       "integrity": "sha512-ASCL5U13as7HhOExbT6OlWJJUV/lLzL2voOSP1UVehpRD8FbSrSDjfScK/KwAvVTI5AS6r4VwbOMlIqtvRidnA=="
     },
     },
     "node-fetch": {
     "node-fetch": {
-      "version": "2.6.0",
-      "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.0.tgz",
-      "integrity": "sha512-8dG4H5ujfvFiqDmVu9fQ5bOHUC15JMjMY/Zumv26oOvvVJjM67KF8koCWIabKQ1GJIa9r2mMZscBq/TbdOcmNA=="
+      "version": "2.6.1",
+      "resolved": "https://registry.npmjs.org/node-fetch/-/node-fetch-2.6.1.tgz",
+      "integrity": "sha512-V4aYg89jEoVRxRb2fJdAg8FHvI7cEyYdVAh94HH0UIK8oJxUfkjlDQN9RbMx+bEjP7+ggMiFRprSti032Oipxw=="
     },
     },
     "node-gyp": {
     "node-gyp": {
       "version": "3.8.0",
       "version": "3.8.0",
@@ -989,9 +989,9 @@
       "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
       "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
     },
     },
     "npm": {
     "npm": {
-      "version": "6.14.7",
-      "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.7.tgz",
-      "integrity": "sha512-swhsdpNpyXg4GbM6LpOQ6qaloQuIKizZ+Zh6JPXJQc59ka49100Js0WvZx594iaKSoFgkFq2s8uXFHS3/Xy2WQ==",
+      "version": "6.14.8",
+      "resolved": "https://registry.npmjs.org/npm/-/npm-6.14.8.tgz",
+      "integrity": "sha512-HBZVBMYs5blsj94GTeQZel7s9odVuuSUHy1+AlZh7rPVux1os2ashvEGLy/STNK7vUjbrCg5Kq9/GXisJgdf6A==",
       "requires": {
       "requires": {
         "JSONStream": "^1.3.5",
         "JSONStream": "^1.3.5",
         "abbrev": "~1.1.1",
         "abbrev": "~1.1.1",
@@ -1057,7 +1057,7 @@
         "lodash.uniq": "~4.5.0",
         "lodash.uniq": "~4.5.0",
         "lodash.without": "~4.4.0",
         "lodash.without": "~4.4.0",
         "lru-cache": "^5.1.1",
         "lru-cache": "^5.1.1",
-        "meant": "~1.0.1",
+        "meant": "^1.0.2",
         "mississippi": "^3.0.0",
         "mississippi": "^3.0.0",
         "mkdirp": "^0.5.5",
         "mkdirp": "^0.5.5",
         "move-concurrently": "^1.0.1",
         "move-concurrently": "^1.0.1",
@@ -1072,7 +1072,7 @@
         "npm-packlist": "^1.4.8",
         "npm-packlist": "^1.4.8",
         "npm-pick-manifest": "^3.0.2",
         "npm-pick-manifest": "^3.0.2",
         "npm-profile": "^4.0.4",
         "npm-profile": "^4.0.4",
-        "npm-registry-fetch": "^4.0.5",
+        "npm-registry-fetch": "^4.0.7",
         "npm-user-validate": "~1.0.0",
         "npm-user-validate": "~1.0.0",
         "npmlog": "~4.1.2",
         "npmlog": "~4.1.2",
         "once": "~1.4.0",
         "once": "~1.4.0",
@@ -1523,10 +1523,10 @@
           }
           }
         },
         },
         "configstore": {
         "configstore": {
-          "version": "3.1.2",
+          "version": "3.1.5",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
-            "dot-prop": "^4.1.0",
+            "dot-prop": "^4.2.1",
             "graceful-fs": "^4.1.2",
             "graceful-fs": "^4.1.2",
             "make-dir": "^1.0.0",
             "make-dir": "^1.0.0",
             "unique-string": "^1.0.0",
             "unique-string": "^1.0.0",
@@ -1677,7 +1677,7 @@
           }
           }
         },
         },
         "dot-prop": {
         "dot-prop": {
-          "version": "4.2.0",
+          "version": "4.2.1",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "is-obj": "^1.0.0"
             "is-obj": "^1.0.0"
@@ -2678,7 +2678,7 @@
           }
           }
         },
         },
         "meant": {
         "meant": {
-          "version": "1.0.1",
+          "version": "1.0.2",
           "bundled": true
           "bundled": true
         },
         },
         "mime-db": {
         "mime-db": {
@@ -2699,6 +2699,10 @@
             "brace-expansion": "^1.1.7"
             "brace-expansion": "^1.1.7"
           }
           }
         },
         },
+        "minimist": {
+          "version": "1.2.5",
+          "bundled": true
+        },
         "minizlib": {
         "minizlib": {
           "version": "1.3.3",
           "version": "1.3.3",
           "bundled": true,
           "bundled": true,
@@ -2910,7 +2914,7 @@
           }
           }
         },
         },
         "npm-registry-fetch": {
         "npm-registry-fetch": {
-          "version": "4.0.5",
+          "version": "4.0.7",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "JSONStream": "^1.3.4",
             "JSONStream": "^1.3.4",
@@ -3235,12 +3239,6 @@
             "ini": "~1.3.0",
             "ini": "~1.3.0",
             "minimist": "^1.2.0",
             "minimist": "^1.2.0",
             "strip-json-comments": "~2.0.1"
             "strip-json-comments": "~2.0.1"
-          },
-          "dependencies": {
-            "minimist": {
-              "version": "1.2.5",
-              "bundled": true
-            }
           }
           }
         },
         },
         "read": {
         "read": {

+ 4 - 3
package.json

@@ -5,6 +5,7 @@
   "main": "main.js",
   "main": "main.js",
   "scripts": {
   "scripts": {
     "build": "cp -n .env.example .env",
     "build": "cp -n .env.example .env",
+    "readonly": "node main.js readonly",
     "test": "node main.js debug",
     "test": "node main.js debug",
     "start": "node main.js"
     "start": "node main.js"
   },
   },
@@ -15,13 +16,13 @@
   },
   },
   "dependencies": {
   "dependencies": {
     "cheerio": "^1.0.0-rc.3",
     "cheerio": "^1.0.0-rc.3",
-    "discord-oauth2": "^2.3.0",
+    "discord-oauth2": "^2.4.0",
     "discord.js": "^12.3.1",
     "discord.js": "^12.3.1",
     "dotenv": "^8.2.0",
     "dotenv": "^8.2.0",
     "full-icu": "^1.3.1",
     "full-icu": "^1.3.1",
-    "got": "^11.5.2",
+    "got": "^11.6.2",
     "htmlparser2": "^4.1.0",
     "htmlparser2": "^4.1.0",
-    "npm": "^6.14.7",
+    "npm": "^6.14.8",
     "sqlite3": "^5.0.0"
     "sqlite3": "^5.0.0"
   },
   },
   "repository": {
   "repository": {