mirror of
https://github.com/versia-pub/server.git
synced 2025-12-06 08:28:19 +01:00
chore: ⬆️ Upgrade dependencies
This commit is contained in:
parent
bc0943c569
commit
9c71c3fe51
|
|
@ -63,6 +63,7 @@ export default class EmojiAdd extends BaseCommand<typeof EmojiAdd> {
|
||||||
headers: {
|
headers: {
|
||||||
"Accept-Encoding": "identity",
|
"Accept-Encoding": "identity",
|
||||||
},
|
},
|
||||||
|
// @ts-expect-error Proxy is a Bun-specific feature
|
||||||
proxy: config.http.proxy.address,
|
proxy: config.http.proxy.address,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -70,6 +70,7 @@ export default class EmojiImport extends BaseCommand<typeof EmojiImport> {
|
||||||
headers: {
|
headers: {
|
||||||
"Accept-Encoding": "identity",
|
"Accept-Encoding": "identity",
|
||||||
},
|
},
|
||||||
|
// @ts-expect-error Proxy is a Bun-specific feature
|
||||||
proxy: config.http.proxy.address,
|
proxy: config.http.proxy.address,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
18
package.json
18
package.json
|
|
@ -76,7 +76,7 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^1.8.3",
|
"@biomejs/biome": "^1.8.3",
|
||||||
"@types/bun": "^1.1.6",
|
"@types/bun": "^1.1.8",
|
||||||
"@types/cli-progress": "^3.11.6",
|
"@types/cli-progress": "^3.11.6",
|
||||||
"@types/cli-table": "^0.3.4",
|
"@types/cli-table": "^0.3.4",
|
||||||
"@types/html-to-text": "^9.0.4",
|
"@types/html-to-text": "^9.0.4",
|
||||||
|
|
@ -86,8 +86,8 @@
|
||||||
"@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.24.1",
|
"drizzle-kit": "^0.24.2",
|
||||||
"oclif": "^4.14.22",
|
"oclif": "^4.14.26",
|
||||||
"ts-prune": "^0.10.3",
|
"ts-prune": "^0.10.3",
|
||||||
"typescript": "^5.5.4",
|
"typescript": "^5.5.4",
|
||||||
"zod-to-json-schema": "^3.23.2"
|
"zod-to-json-schema": "^3.23.2"
|
||||||
|
|
@ -98,7 +98,7 @@
|
||||||
"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.8",
|
"@hono/hono": "npm:@jsr/hono__hono@4.5.9",
|
||||||
"@hono/prometheus": "^1.0.1",
|
"@hono/prometheus": "^1.0.1",
|
||||||
"@hono/zod-validator": "^0.2.2",
|
"@hono/zod-validator": "^0.2.2",
|
||||||
"@inquirer/confirm": "^3.1.22",
|
"@inquirer/confirm": "^3.1.22",
|
||||||
|
|
@ -107,7 +107,7 @@
|
||||||
"@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.18",
|
"@oclif/core": "^4.0.19",
|
||||||
"@sentry/bun": "^8.26.0",
|
"@sentry/bun": "^8.26.0",
|
||||||
"@tufjs/canonical-json": "^2.0.0",
|
"@tufjs/canonical-json": "^2.0.0",
|
||||||
"altcha-lib": "^0.5.1",
|
"altcha-lib": "^0.5.1",
|
||||||
|
|
@ -119,23 +119,23 @@
|
||||||
"cli-table": "^0.3.11",
|
"cli-table": "^0.3.11",
|
||||||
"drizzle-orm": "^0.33.0",
|
"drizzle-orm": "^0.33.0",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"hono": "npm:@jsr/hono__hono@4.5.8",
|
"hono": "npm:@jsr/hono__hono@4.5.9",
|
||||||
"html-to-text": "^9.0.5",
|
"html-to-text": "^9.0.5",
|
||||||
"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",
|
||||||
"jose": "^5.7.0",
|
"jose": "^5.8.0",
|
||||||
"linkify-html": "^4.1.3",
|
"linkify-html": "^4.1.3",
|
||||||
"linkify-string": "^4.1.3",
|
"linkify-string": "^4.1.3",
|
||||||
"linkifyjs": "^4.1.3",
|
"linkifyjs": "^4.1.3",
|
||||||
"magic-regexp": "^0.8.0",
|
"magic-regexp": "^0.8.0",
|
||||||
"markdown-it": "^14.1.0",
|
"markdown-it": "^14.1.0",
|
||||||
"markdown-it-anchor": "^9.0.1",
|
"markdown-it-anchor": "^9.1.0",
|
||||||
"markdown-it-container": "^4.0.0",
|
"markdown-it-container": "^4.0.0",
|
||||||
"markdown-it-toc-done-right": "^4.2.0",
|
"markdown-it-toc-done-right": "^4.2.0",
|
||||||
"mime-types": "^2.1.35",
|
"mime-types": "^2.1.35",
|
||||||
"oauth4webapi": "^2.12.0",
|
"oauth4webapi": "^2.12.0",
|
||||||
"ora": "^8.0.1",
|
"ora": "^8.1.0",
|
||||||
"pg": "^8.12.0",
|
"pg": "^8.12.0",
|
||||||
"prom-client": "^15.1.3",
|
"prom-client": "^15.1.3",
|
||||||
"qs": "^6.13.0",
|
"qs": "^6.13.0",
|
||||||
|
|
|
||||||
|
|
@ -44,6 +44,7 @@ export default apiRoute((app) =>
|
||||||
headers: {
|
headers: {
|
||||||
"Accept-Encoding": "br",
|
"Accept-Encoding": "br",
|
||||||
},
|
},
|
||||||
|
// @ts-expect-error Proxy is a Bun-specific feature
|
||||||
proxy: config.http.proxy.address,
|
proxy: config.http.proxy.address,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -54,6 +54,7 @@ export const mimeLookup = async (url: string) => {
|
||||||
|
|
||||||
const fetchLookup = fetch(url, {
|
const fetchLookup = fetch(url, {
|
||||||
method: "HEAD",
|
method: "HEAD",
|
||||||
|
// @ts-expect-error Proxy is a Bun-specific feature
|
||||||
proxy: config.http.proxy.address,
|
proxy: config.http.proxy.address,
|
||||||
}).then((response) => response.headers.get("content-type") || "");
|
}).then((response) => response.headers.get("content-type") || "");
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -28,6 +28,7 @@ const checkHttpProxyConfig = async (config: Config) => {
|
||||||
|
|
||||||
// Test the proxy
|
// Test the proxy
|
||||||
const response = await fetch("https://api.ipify.org?format=json", {
|
const response = await fetch("https://api.ipify.org?format=json", {
|
||||||
|
// @ts-expect-error Proxy is a Bun-specific feature
|
||||||
proxy: config.http.proxy.address,
|
proxy: config.http.proxy.address,
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue