mirror of
https://github.com/versia-pub/server.git
synced 2026-01-26 04:06:01 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
838debec25
commit
8b96401c71
31
package.json
31
package.json
|
|
@ -87,11 +87,11 @@
|
||||||
"@types/mime-types": "^2.1.4",
|
"@types/mime-types": "^2.1.4",
|
||||||
"@types/pg": "^8.11.6",
|
"@types/pg": "^8.11.6",
|
||||||
"@types/qs": "^6.9.15",
|
"@types/qs": "^6.9.15",
|
||||||
"drizzle-kit": "^0.23.0",
|
"drizzle-kit": "^0.23.2",
|
||||||
"oclif": "^4.14.9",
|
"oclif": "^4.14.15",
|
||||||
"ts-prune": "^0.10.3",
|
"ts-prune": "^0.10.3",
|
||||||
"typescript": "^5.5.4",
|
"typescript": "^5.5.4",
|
||||||
"zod-to-json-schema": "^3.23.1"
|
"zod-to-json-schema": "^3.23.2"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"typescript": "^5.3.2"
|
"typescript": "^5.3.2"
|
||||||
|
|
@ -99,29 +99,29 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client",
|
"@bradenmacdonald/s3-lite-client": "npm:@jsr/bradenmacdonald__s3-lite-client",
|
||||||
"@hackmd/markdown-it-task-lists": "^2.1.4",
|
"@hackmd/markdown-it-task-lists": "^2.1.4",
|
||||||
"@hono/hono": "npm:@jsr/hono__hono@4.5.2",
|
"@hono/hono": "npm:@jsr/hono__hono@4.5.4",
|
||||||
"@hono/zod-validator": "^0.2.2",
|
"@hono/zod-validator": "^0.2.2",
|
||||||
"@inquirer/confirm": "^3.1.17",
|
"@inquirer/confirm": "^3.1.22",
|
||||||
"@inquirer/input": "^2.2.4",
|
"@inquirer/input": "^2.2.9",
|
||||||
"@json2csv/plainjs": "^7.0.6",
|
"@json2csv/plainjs": "^7.0.6",
|
||||||
"@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2",
|
"@logtape/logtape": "npm:@jsr/logtape__logtape@0.4.2",
|
||||||
"@lysand-org/client": "^0.2.5",
|
"@lysand-org/client": "^0.2.5",
|
||||||
"@lysand-org/federation": "^2.2.0-rc.4",
|
"@lysand-org/federation": "^2.2.0-rc.4",
|
||||||
"@oclif/core": "^4.0.16",
|
"@oclif/core": "^4.0.17",
|
||||||
"@sentry/bun": "^8.20.0",
|
"@sentry/bun": "^8.24.0",
|
||||||
"@tufjs/canonical-json": "^2.0.0",
|
"@tufjs/canonical-json": "^2.0.0",
|
||||||
"altcha-lib": "^0.5.1",
|
"altcha-lib": "^0.5.1",
|
||||||
"blurhash": "^2.0.5",
|
"blurhash": "^2.0.5",
|
||||||
"bullmq": "^5.10.4",
|
"bullmq": "^5.12.0",
|
||||||
"chalk": "^5.3.0",
|
"chalk": "^5.3.0",
|
||||||
"cli-progress": "^3.12.0",
|
"cli-progress": "^3.12.0",
|
||||||
"cli-table": "^0.3.11",
|
"cli-table": "^0.3.11",
|
||||||
"config-manager": "workspace:*",
|
"config-manager": "workspace:*",
|
||||||
"drizzle-orm": "^0.32.1",
|
"drizzle-orm": "^0.32.2",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"hono": "npm:@jsr/hono__hono@4.5.2",
|
"hono": "npm:@jsr/hono__hono@4.5.4",
|
||||||
"html-to-text": "^9.0.5",
|
"html-to-text": "^9.0.5",
|
||||||
"husky": "^9.1.3",
|
"husky": "^9.1.4",
|
||||||
"ioredis": "^5.4.1",
|
"ioredis": "^5.4.1",
|
||||||
"ip-matching": "^2.1.2",
|
"ip-matching": "^2.1.2",
|
||||||
"iso-639-1": "^3.1.2",
|
"iso-639-1": "^3.1.2",
|
||||||
|
|
@ -138,7 +138,7 @@
|
||||||
"oauth4webapi": "^2.11.1",
|
"oauth4webapi": "^2.11.1",
|
||||||
"ora": "^8.0.1",
|
"ora": "^8.0.1",
|
||||||
"pg": "^8.12.0",
|
"pg": "^8.12.0",
|
||||||
"qs": "^6.12.3",
|
"qs": "^6.13.0",
|
||||||
"sharp": "^0.33.4",
|
"sharp": "^0.33.4",
|
||||||
"sonic-channel": "^1.3.1",
|
"sonic-channel": "^1.3.1",
|
||||||
"string-comparison": "^1.3.0",
|
"string-comparison": "^1.3.0",
|
||||||
|
|
@ -149,9 +149,6 @@
|
||||||
"uqr": "^0.1.2",
|
"uqr": "^0.1.2",
|
||||||
"xss": "^1.0.15",
|
"xss": "^1.0.15",
|
||||||
"zod": "^3.23.8",
|
"zod": "^3.23.8",
|
||||||
"zod-validation-error": "^3.3.0"
|
"zod-validation-error": "^3.3.1"
|
||||||
},
|
|
||||||
"patchedDependencies": {
|
|
||||||
"@jsr/hono__hono@4.5.2": "patches/@jsr%2Fhono__hono@4.5.2.patch"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
diff --git a/src/validator/validator.js b/src/validator/validator.js
|
|
||||||
index ebbb41573b66b4150c813ef2919974bb3a96639d..ab93c612f205ecf64cd8ddfa22b87b352dd3cc9c 100755
|
|
||||||
--- a/src/validator/validator.js
|
|
||||||
+++ b/src/validator/validator.js
|
|
||||||
@@ -2,7 +2,7 @@ import { getCookie } from "../helper/cookie/index.js";
|
|
||||||
import { HTTPException } from "../http-exception.js";
|
|
||||||
import { bufferToFormData } from "../utils/buffer.js";
|
|
||||||
const jsonRegex = /^application\/([a-z-\.]+\+)?json$/;
|
|
||||||
-const multipartRegex = /^multipart\/form-data(; boundary=[A-Za-z0-9'()+_,\-./:=?]+)?$/;
|
|
||||||
+const multipartRegex = /^multipart\/form-data(; boundary=[A-Za-z0-9'"()+_,\-./:=?]+)?$/;
|
|
||||||
const urlencodedRegex = /^application\/x-www-form-urlencoded$/;
|
|
||||||
export const validator = (target, validationFunc)=>{
|
|
||||||
return async (c, next)=>{
|
|
||||||
Loading…
Reference in a new issue