NPM updates 2

This commit is contained in:
Rory&
2026-04-18 19:42:03 +02:00
parent 91521574d9
commit e1b01bb8f1
7 changed files with 13 additions and 14 deletions

Binary file not shown.

Binary file not shown.

BIN
package-lock.json generated

Binary file not shown.

View File

@@ -58,8 +58,8 @@
"@types/morgan": "^1.9.10",
"@types/multer": "^2.1.0",
"@types/murmurhash-js": "^1.0.7",
"@types/node": "^24.12.2",
"@types/nodemailer": "^7.0.11",
"@types/node": "^25.6.0",
"@types/nodemailer": "^8.0.0",
"@types/probe-image-size": "^7.2.5",
"@types/sharp": "^0.31.1",
"@types/ws": "^8.18.1",
@@ -67,14 +67,14 @@
"@typescript-eslint/parser": "^8.58.2",
"@typescript/native-preview": "^7.0.0-dev.20260119.1",
"eslint": "^9.39.4",
"globals": "^16.5.0",
"globals": "^17.5.0",
"husky": "^9.1.7",
"patch-package": "^8.0.1",
"prettier": "^3.8.3",
"pretty-quick": "^4.2.2",
"ts-node": "^10.9.2",
"typescript": "^5.9.3",
"typescript-json-schema": "^0.65.1"
"typescript-json-schema": "^0.67.1"
},
"dependencies": {
"@spacebarchat/pion-webrtc": "^0.0.4",
@@ -95,9 +95,9 @@
"express": "^5.2.1",
"fast-zlib": "^2.0.1",
"fido2-lib": "^3.5.9",
"file-type": "^21.3.4",
"file-type": "^22.0.1",
"form-data": "^4.0.5",
"i18next": "^25.10.10",
"i18next": "^26.0.6",
"i18next-fs-backend": "^2.6.3",
"i18next-http-middleware": "^3.9.3",
"image-size": "^2.0.2",
@@ -116,7 +116,7 @@
"reflect-metadata": "^0.2.2",
"tslib": "^2.8.1",
"typeorm": "^0.3.28",
"wretch": "^2.11.1",
"wretch": "^3.0.7",
"ws": "^8.20.0"
},
"_moduleAliases": {
@@ -132,9 +132,9 @@
"@sendgrid/mail": "^8.1.6",
"@yukikaze-bot/erlpack": "^1.0.1",
"jimp": "^1.6.1",
"mailgun.js": "^12.9.0",
"mailgun.js": "^13.0.0",
"node-mailjet": "^6.0.11",
"nodemailer": "^7.0.13"
"nodemailer": "^8.0.5"
},
"overrides": {
"typeorm": {

View File

@@ -1,5 +1,5 @@
diff --git a/node_modules/body-parser/lib/types/json.js b/node_modules/body-parser/lib/types/json.js
index 15c54bb..90f8507 100644
index 23c7357..0243133 100644
--- a/node_modules/body-parser/lib/types/json.js
+++ b/node_modules/body-parser/lib/types/json.js
@@ -15,6 +15,7 @@
@@ -10,7 +10,7 @@ index 15c54bb..90f8507 100644
/**
* Module exports.
@@ -71,7 +72,7 @@ function json (options) {
@@ -69,7 +70,7 @@ function json (options) {
try {
debug('parse json')
@@ -19,7 +19,7 @@ index 15c54bb..90f8507 100644
} catch (e) {
throw normalizeJsonSyntaxError(e, {
message: e.message,
@@ -113,7 +114,7 @@ function createStrictSyntaxError (str, char) {
@@ -106,7 +107,7 @@ function createStrictSyntaxError (str, char) {
}
try {
@@ -28,7 +28,7 @@ index 15c54bb..90f8507 100644
} catch (e) {
return normalizeJsonSyntaxError(e, {
message: e.message.replace(JSON_SYNTAX_REGEXP, function (placeholder) {
@@ -159,7 +160,7 @@ function normalizeJsonSyntaxError (error, obj) {
@@ -151,7 +152,7 @@ function normalizeJsonSyntaxError (error, obj) {
}
// replace stack before message for Node.js 0.10 and below

View File

@@ -42,7 +42,6 @@ export async function initTranslation(router: Router) {
loadPath: path.join(ASSET_FOLDER_PATH, "locales") + "/{{lng}}/{{ns}}.json",
},
load: "all",
showSupportNotice: false,
});
router.use(i18nextMiddleware.handle(i18next, {}));