Skip to content

Commit b8853eb

Browse files
committed
fix
1 parent 65e34d5 commit b8853eb

14 files changed

+75
-758
lines changed

packages/backend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"content-disposition": "0.5.4",
112112
"date-fns": "4.1.0",
113113
"deep-email-validator": "0.1.21",
114-
"fastify": "5.1.0",
114+
"fastify": "5.0.0",
115115
"fastify-http-errors-enhanced": "6.0.0",
116116
"fastify-raw-body": "5.0.0",
117117
"feed": "4.2.2",

packages/backend/src/server/ActivityPubServerService.ts

+1-4
Original file line numberDiff line numberDiff line change
@@ -548,10 +548,7 @@ export class ActivityPubServerService {
548548
}
549549
};
550550

551-
fastify.register((instance, opts, done) => {
552-
fastifyAccepts(instance, { ...opts, decorateReply: false }, done);
553-
});
554-
551+
fastify.register(fastifyAccepts);
555552
fastify.addContentTypeParser('application/activity+json', { parseAs: 'buffer' }, almostDefaultJsonParser);
556553
fastify.addContentTypeParser('application/ld+json', { parseAs: 'buffer' }, almostDefaultJsonParser);
557554

packages/backend/src/server/WellKnownServerService.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ export class WellKnownServerService {
5151
const jrd = 'application/jrd+json';
5252
const xrd = 'application/xrd+xml';
5353

54-
fastify.register((instance, opts, done) => {
55-
fastifyAccepts(instance, { ...opts, decorateReply: false }, done);
56-
});
54+
fastify.register(fastifyAccepts);
5755

5856
fastify.addHook('onRequest', (request, reply, done) => {
5957
reply.header('Access-Control-Allow-Headers', 'Accept');

packages/frontend/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@
134134
"storybook": "8.4.2",
135135
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
136136
"vite-plugin-turbosnap": "1.0.3",
137-
"vitest": "2.1.4",
137+
"vitest": "2.1.3",
138138
"vitest-fetch-mock": "0.4.1",
139139
"vue-component-type-helpers": "2.1.10",
140140
"vue-eslint-parser": "9.4.3",

pnpm-lock.yaml

+71-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/changelog-checker/.eslintrc.cjs

-9
This file was deleted.

scripts/changelog-checker/.gitignore

-3
This file was deleted.

0 commit comments

Comments
 (0)