Sfoglia il codice sorgente

Bump version to 3.0

Database rework is a breaking change
Markus-Rost 4 anni fa
parent
commit
124b809b98
2 ha cambiato i file con 50 aggiunte e 55 eliminazioni
  1. 47 52
      package-lock.json
  2. 3 3
      package.json

+ 47 - 52
package-lock.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "discord-wiki-bot",
   "name": "discord-wiki-bot",
-  "version": "2.3.0",
+  "version": "3.0.0",
   "lockfileVersion": 1,
   "lockfileVersion": 1,
   "requires": true,
   "requires": true,
   "dependencies": {
   "dependencies": {
@@ -632,9 +632,9 @@
       "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
       "integrity": "sha1-4Ob+aijPUROIVeCG0Wkedx3iqLk="
     },
     },
     "htmlparser2": {
     "htmlparser2": {
-      "version": "5.0.0",
-      "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.0.tgz",
-      "integrity": "sha512-/Cvz5RTj9q71kCL9No1u2jhFaAdoMtxpNy0YTwjmQB3iX2TZXfCojTm7tp3rM4NxcwaX1iAzvNgo8OFectXmrQ==",
+      "version": "5.0.1",
+      "resolved": "https://registry.npmjs.org/htmlparser2/-/htmlparser2-5.0.1.tgz",
+      "integrity": "sha512-vKZZra6CSe9qsJzh0BjBGXo8dvzNsq/oGvsjfRdOrrryfeD9UOBEEQdeoqCRmKZchF5h2zOBMQ6YuQ0uRUmdbQ==",
       "requires": {
       "requires": {
         "domelementtype": "^2.0.1",
         "domelementtype": "^2.0.1",
         "domhandler": "^3.3.0",
         "domhandler": "^3.3.0",
@@ -676,9 +676,9 @@
           }
           }
         },
         },
         "entities": {
         "entities": {
-          "version": "2.0.3",
-          "resolved": "https://registry.npmjs.org/entities/-/entities-2.0.3.tgz",
-          "integrity": "sha512-MyoZ0jgnLvB2X3Lg5HqpFmn1kybDiIfEQmKzTb5apr51Rb+T3KdmMiqa70T+bhGnyv7bQ6WMj2QMHpGMmlrUYQ=="
+          "version": "2.1.0",
+          "resolved": "https://registry.npmjs.org/entities/-/entities-2.1.0.tgz",
+          "integrity": "sha512-hCx1oky9PFrJ611mf0ifBLBRW8lUUVRlFolb5gWRfIELabBlbp9xZvrqZLZAs+NxFnbfQoeGd8wDkygjg7U85w=="
         }
         }
       }
       }
     },
     },
@@ -990,14 +990,14 @@
       "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
       "integrity": "sha512-2s47yzUxdexf1OhyRi4Em83iQk0aPvwTddtFz4hnSSw9dCEsLEGf6SwIO8ss/19S9iBb5sJaOuTvTGDeZI00BQ=="
     },
     },
     "npm": {
     "npm": {
-      "version": "7.0.5",
-      "resolved": "https://registry.npmjs.org/npm/-/npm-7.0.5.tgz",
-      "integrity": "sha512-jmzWImI0xAinsexmr71rweW+zOsG8s8z4kMMNLPD1mLtM+VEPscLeFmlnMYHlMrMMVhHGqAOuEEz+Fr2l0Fo7A==",
+      "version": "7.0.9",
+      "resolved": "https://registry.npmjs.org/npm/-/npm-7.0.9.tgz",
+      "integrity": "sha512-r+omObVoL4OXyY4A4BVO90A6XpKFQ7xPO8Jf1vOHq2mMwJu07F/waPGfyo377NiDvah8Cr0smUTpmbGCRjFIMA==",
       "requires": {
       "requires": {
-        "@npmcli/arborist": "^1.0.4",
+        "@npmcli/arborist": "^1.0.9",
         "@npmcli/ci-detect": "^1.2.0",
         "@npmcli/ci-detect": "^1.2.0",
         "@npmcli/config": "^1.2.1",
         "@npmcli/config": "^1.2.1",
-        "@npmcli/run-script": "^1.7.0",
+        "@npmcli/run-script": "^1.7.5",
         "abbrev": "~1.1.1",
         "abbrev": "~1.1.1",
         "ansicolors": "~0.3.2",
         "ansicolors": "~0.3.2",
         "ansistyles": "~0.1.3",
         "ansistyles": "~0.1.3",
@@ -1020,15 +1020,15 @@
         "init-package-json": "^2.0.1",
         "init-package-json": "^2.0.1",
         "is-cidr": "^4.0.2",
         "is-cidr": "^4.0.2",
         "leven": "^3.1.0",
         "leven": "^3.1.0",
-        "libnpmaccess": "^4.0.0",
+        "libnpmaccess": "^4.0.1",
         "libnpmfund": "^1.0.1",
         "libnpmfund": "^1.0.1",
-        "libnpmhook": "^6.0.0",
-        "libnpmorg": "^2.0.0",
+        "libnpmhook": "^6.0.1",
+        "libnpmorg": "^2.0.1",
         "libnpmpack": "^2.0.0",
         "libnpmpack": "^2.0.0",
-        "libnpmpublish": "^3.0.2",
-        "libnpmsearch": "^3.0.0",
-        "libnpmteam": "^2.0.1",
-        "libnpmversion": "^1.0.5",
+        "libnpmpublish": "^4.0.0",
+        "libnpmsearch": "^3.0.1",
+        "libnpmteam": "^2.0.2",
+        "libnpmversion": "^1.0.7",
         "make-fetch-happen": "^8.0.9",
         "make-fetch-happen": "^8.0.9",
         "mkdirp": "^1.0.4",
         "mkdirp": "^1.0.4",
         "mkdirp-infer-owner": "^2.0.0",
         "mkdirp-infer-owner": "^2.0.0",
@@ -1039,12 +1039,12 @@
         "npm-audit-report": "^2.1.4",
         "npm-audit-report": "^2.1.4",
         "npm-package-arg": "^8.1.0",
         "npm-package-arg": "^8.1.0",
         "npm-pick-manifest": "^6.1.0",
         "npm-pick-manifest": "^6.1.0",
-        "npm-profile": "^5.0.1",
-        "npm-registry-fetch": "^8.1.4",
+        "npm-profile": "^5.0.2",
+        "npm-registry-fetch": "^9.0.0",
         "npm-user-validate": "^1.0.1",
         "npm-user-validate": "^1.0.1",
         "npmlog": "~4.1.2",
         "npmlog": "~4.1.2",
         "opener": "^1.5.2",
         "opener": "^1.5.2",
-        "pacote": "^11.1.10",
+        "pacote": "^11.1.13",
         "parse-conflict-json": "^1.1.1",
         "parse-conflict-json": "^1.1.1",
         "qrcode-terminal": "^0.12.0",
         "qrcode-terminal": "^0.12.0",
         "read": "~1.0.7",
         "read": "~1.0.7",
@@ -1064,12 +1064,13 @@
       },
       },
       "dependencies": {
       "dependencies": {
         "@npmcli/arborist": {
         "@npmcli/arborist": {
-          "version": "1.0.4",
+          "version": "1.0.9",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "@npmcli/installed-package-contents": "^1.0.5",
             "@npmcli/installed-package-contents": "^1.0.5",
             "@npmcli/map-workspaces": "^1.0.1",
             "@npmcli/map-workspaces": "^1.0.1",
             "@npmcli/metavuln-calculator": "^1.0.0",
             "@npmcli/metavuln-calculator": "^1.0.0",
+            "@npmcli/move-file": "^1.0.1",
             "@npmcli/name-from-folder": "^1.0.1",
             "@npmcli/name-from-folder": "^1.0.1",
             "@npmcli/node-gyp": "^1.0.0",
             "@npmcli/node-gyp": "^1.0.0",
             "@npmcli/run-script": "^1.7.2",
             "@npmcli/run-script": "^1.7.2",
@@ -1167,18 +1168,18 @@
           "bundled": true
           "bundled": true
         },
         },
         "@npmcli/promise-spawn": {
         "@npmcli/promise-spawn": {
-          "version": "1.2.0",
+          "version": "1.3.2",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "infer-owner": "^1.0.4"
             "infer-owner": "^1.0.4"
           }
           }
         },
         },
         "@npmcli/run-script": {
         "@npmcli/run-script": {
-          "version": "1.7.2",
+          "version": "1.7.5",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "@npmcli/node-gyp": "^1.0.0",
             "@npmcli/node-gyp": "^1.0.0",
-            "@npmcli/promise-spawn": "^1.2.0",
+            "@npmcli/promise-spawn": "^1.3.0",
             "infer-owner": "^1.0.4",
             "infer-owner": "^1.0.4",
             "node-gyp": "^7.1.0",
             "node-gyp": "^7.1.0",
             "read-package-json-fast": "^1.1.3"
             "read-package-json-fast": "^1.1.3"
@@ -1193,7 +1194,7 @@
           "bundled": true
           "bundled": true
         },
         },
         "agent-base": {
         "agent-base": {
-          "version": "6.0.1",
+          "version": "6.0.2",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "debug": "4"
             "debug": "4"
@@ -1870,13 +1871,13 @@
           "bundled": true
           "bundled": true
         },
         },
         "libnpmaccess": {
         "libnpmaccess": {
-          "version": "4.0.0",
+          "version": "4.0.1",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "aproba": "^2.0.0",
             "aproba": "^2.0.0",
             "minipass": "^3.1.1",
             "minipass": "^3.1.1",
             "npm-package-arg": "^8.0.0",
             "npm-package-arg": "^8.0.0",
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "libnpmfund": {
         "libnpmfund": {
@@ -1887,19 +1888,19 @@
           }
           }
         },
         },
         "libnpmhook": {
         "libnpmhook": {
-          "version": "6.0.0",
+          "version": "6.0.1",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "aproba": "^2.0.0",
             "aproba": "^2.0.0",
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "libnpmorg": {
         "libnpmorg": {
-          "version": "2.0.0",
+          "version": "2.0.1",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "aproba": "^2.0.0",
             "aproba": "^2.0.0",
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "libnpmpack": {
         "libnpmpack": {
@@ -1912,35 +1913,33 @@
           }
           }
         },
         },
         "libnpmpublish": {
         "libnpmpublish": {
-          "version": "3.0.2",
+          "version": "4.0.0",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
-            "libnpmpack": "^2.0.0",
-            "lodash.clonedeep": "^4.5.0",
             "normalize-package-data": "^3.0.0",
             "normalize-package-data": "^3.0.0",
             "npm-package-arg": "^8.1.0",
             "npm-package-arg": "^8.1.0",
-            "npm-registry-fetch": "^8.1.5",
+            "npm-registry-fetch": "^9.0.0",
             "semver": "^7.1.3",
             "semver": "^7.1.3",
             "ssri": "^8.0.0"
             "ssri": "^8.0.0"
           }
           }
         },
         },
         "libnpmsearch": {
         "libnpmsearch": {
-          "version": "3.0.0",
+          "version": "3.0.1",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "libnpmteam": {
         "libnpmteam": {
-          "version": "2.0.1",
+          "version": "2.0.2",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "aproba": "^2.0.0",
             "aproba": "^2.0.0",
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "libnpmversion": {
         "libnpmversion": {
-          "version": "1.0.5",
+          "version": "1.0.7",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "@npmcli/git": "^2.0.1",
             "@npmcli/git": "^2.0.1",
@@ -1950,10 +1949,6 @@
             "stringify-package": "^1.0.1"
             "stringify-package": "^1.0.1"
           }
           }
         },
         },
-        "lodash.clonedeep": {
-          "version": "4.5.0",
-          "bundled": true
-        },
         "lru-cache": {
         "lru-cache": {
           "version": "6.0.0",
           "version": "6.0.0",
           "bundled": true,
           "bundled": true,
@@ -2169,14 +2164,14 @@
           }
           }
         },
         },
         "npm-profile": {
         "npm-profile": {
-          "version": "5.0.1",
+          "version": "5.0.2",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
-            "npm-registry-fetch": "^8.0.0"
+            "npm-registry-fetch": "^9.0.0"
           }
           }
         },
         },
         "npm-registry-fetch": {
         "npm-registry-fetch": {
-          "version": "8.1.5",
+          "version": "9.0.0",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "@npmcli/ci-detect": "^1.0.0",
             "@npmcli/ci-detect": "^1.0.0",
@@ -2234,7 +2229,7 @@
           }
           }
         },
         },
         "pacote": {
         "pacote": {
-          "version": "11.1.11",
+          "version": "11.1.13",
           "bundled": true,
           "bundled": true,
           "requires": {
           "requires": {
             "@npmcli/git": "^2.0.1",
             "@npmcli/git": "^2.0.1",
@@ -2248,9 +2243,9 @@
             "minipass": "^3.1.3",
             "minipass": "^3.1.3",
             "mkdirp": "^1.0.3",
             "mkdirp": "^1.0.3",
             "npm-package-arg": "^8.0.1",
             "npm-package-arg": "^8.0.1",
-            "npm-packlist": "^2.1.0",
+            "npm-packlist": "^2.1.4",
             "npm-pick-manifest": "^6.0.0",
             "npm-pick-manifest": "^6.0.0",
-            "npm-registry-fetch": "^8.1.3",
+            "npm-registry-fetch": "^9.0.0",
             "promise-retry": "^1.1.1",
             "promise-retry": "^1.1.1",
             "read-package-json-fast": "^1.1.3",
             "read-package-json-fast": "^1.1.3",
             "rimraf": "^3.0.2",
             "rimraf": "^3.0.2",

+ 3 - 3
package.json

@@ -1,6 +1,6 @@
 {
 {
   "name": "discord-wiki-bot",
   "name": "discord-wiki-bot",
-  "version": "2.3.0",
+  "version": "3.0.0",
   "description": "Wiki-Bot is a bot with the purpose to easily search for and link to wiki pages. Wiki-Bot shows short descriptions and additional info about pages and is able to resolve redirects and follow interwiki links.",
   "description": "Wiki-Bot is a bot with the purpose to easily search for and link to wiki pages. Wiki-Bot shows short descriptions and additional info about pages and is able to resolve redirects and follow interwiki links.",
   "main": "main.js",
   "main": "main.js",
   "scripts": {
   "scripts": {
@@ -21,8 +21,8 @@
     "dotenv": "^8.2.0",
     "dotenv": "^8.2.0",
     "full-icu": "^1.3.1",
     "full-icu": "^1.3.1",
     "got": "^11.8.0",
     "got": "^11.8.0",
-    "htmlparser2": "^5.0.0",
-    "npm": "^7.0.5",
+    "htmlparser2": "^5.0.1",
+    "npm": "^7.0.9",
     "sqlite3": "^5.0.0"
     "sqlite3": "^5.0.0"
   },
   },
   "repository": {
   "repository": {