Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "git",
"url": "https://github.com/misskey-dev/misskey.git"
},
"packageManager": "pnpm@11.1.2",
"packageManager": "pnpm@11.5.0",
"workspaces": [
"packages/misskey-js",
"packages/i18n",
Expand Down Expand Up @@ -58,24 +58,24 @@
"execa": "9.6.1",
"ignore-walk": "8.0.0",
"js-yaml": "4.1.1",
"postcss": "8.5.14",
"postcss": "8.5.15",
"tar": "7.5.15",
"terser": "5.47.1"
"terser": "5.48.0"
},
"devDependencies": {
"@eslint/js": "9.39.4",
"@misskey-dev/eslint-plugin": "2.1.0",
"@types/js-yaml": "4.0.9",
"@types/node": "24.12.4",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"@typescript/native-preview": "7.0.0-dev.20260426.1",
"cross-env": "10.1.0",
"cypress": "15.15.0",
"cypress": "15.16.0",
"eslint": "9.39.4",
"globals": "17.6.0",
"ncp": "2.0.0",
"pnpm": "11.1.2",
"pnpm": "11.5.0",
"start-server-and-test": "3.0.5",
"typescript": "5.9.3"
},
Expand Down
62 changes: 30 additions & 32 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"utf-8-validate": "6.0.6"
},
"dependencies": {
"@aws-sdk/client-s3": "3.1047.0",
"@aws-sdk/lib-storage": "3.1047.0",
"@aws-sdk/client-s3": "3.1057.0",
"@aws-sdk/lib-storage": "3.1057.0",
"@fastify/accepts": "5.0.4",
"@fastify/cors": "11.2.0",
"@fastify/http-proxy": "11.4.4",
Expand All @@ -66,30 +66,30 @@
"@misskey-dev/sharp-read-bmp": "1.2.0",
"@misskey-dev/summaly": "5.3.0",
"@napi-rs/canvas": "1.0.0",
"@nestjs/common": "11.1.21",
"@nestjs/core": "11.1.21",
"@nestjs/testing": "11.1.21",
"@oxc-project/runtime": "0.130.0",
"@nestjs/common": "11.1.24",
"@nestjs/core": "11.1.24",
"@nestjs/testing": "11.1.24",
"@oxc-project/runtime": "0.133.0",
"@peertube/http-signature": "1.7.0",
"@sentry/node": "10.53.1",
"@sentry/profiling-node": "10.53.1",
"@simplewebauthn/server": "13.3.0",
"@sentry/node": "10.55.0",
"@sentry/profiling-node": "10.55.0",
"@simplewebauthn/server": "13.3.1",
"@sinonjs/fake-timers": "15.4.0",
"@smithy/node-http-handler": "4.7.2",
"@smithy/node-http-handler": "4.7.5",
"accepts": "1.3.8",
"ajv": "8.20.0",
"archiver": "7.0.1",
"archiver": "8.0.0",
"async-mutex": "0.5.0",
"bcryptjs": "3.0.3",
"blurhash": "2.0.5",
"bullmq": "5.76.8",
"bullmq": "5.77.6",
"cacheable-lookup": "7.0.0",
"chalk": "5.6.2",
"chalk-template": "1.1.2",
"chokidar": "5.0.0",
"color-convert": "3.1.3",
"content-disposition": "1.1.0",
"date-fns": "4.1.0",
"content-disposition": "2.0.1",
"date-fns": "4.4.0",
"deep-email-validator": "0.1.27",
"fastify": "5.8.5",
"fastify-raw-body": "5.0.0",
Expand All @@ -101,7 +101,7 @@
"hpagent": "1.2.0",
"http-link-header": "1.1.3",
"i18n": "workspace:*",
"ioredis": "5.10.1",
"ioredis": "5.11.0",
"ip-cidr": "4.0.2",
"ipaddr.js": "2.4.0",
"is-svg": "6.1.0",
Expand All @@ -118,11 +118,11 @@
"nested-property": "4.0.0",
"node-fetch": "3.3.2",
"node-html-parser": "7.1.0",
"nodemailer": "8.0.7",
"nodemailer": "8.0.10",
"nsfwjs": "4.3.0",
"os-utils": "0.0.14",
"otpauth": "9.5.1",
"pg": "8.20.0",
"pg": "8.21.0",
"pkce-challenge": "6.0.0",
"probe-image-size": "7.3.0",
"promise-limit": "2.7.0",
Expand All @@ -136,31 +136,29 @@
"rxjs": "7.8.2",
"sanitize-html": "2.17.4",
"secure-json-parse": "4.1.0",
"semver": "7.8.0",
"semver": "7.8.1",
"sharp": "0.33.5",
"slacc": "0.1.5",
"strict-event-emitter-types": "2.0.0",
"stringz": "2.1.0",
"systeminformation": "5.31.6",
"systeminformation": "5.31.7",
"tinycolor2": "1.6.0",
"tmp": "0.2.5",
"tmp": "0.2.7",
"tsc-alias": "1.8.17",
"typeorm": "1.0.0",
"ulid": "3.0.2",
"vary": "1.1.2",
"web-push": "3.6.7",
"ws": "8.20.1",
"ws": "8.21.0",
"xev": "3.0.2"
},
"devDependencies": {
"@kitajs/ts-html-plugin": "4.1.4",
"@nestjs/platform-express": "11.1.21",
"@nestjs/platform-express": "11.1.24",
"@rollup/plugin-esm-shim": "0.1.8",
"@sentry/vue": "10.53.1",
"@sentry/vue": "10.55.0",
"@types/accepts": "1.3.7",
"@types/archiver": "7.0.0",
"@types/color-convert": "3.0.1",
"@types/content-disposition": "0.5.9",
"@types/archiver": "8.0.0",
"@types/fluent-ffmpeg": "2.1.28",
"@types/http-link-header": "1.0.7",
"@types/js-yaml": "4.0.9",
Expand All @@ -184,9 +182,9 @@
"@types/vary": "1.1.3",
"@types/web-push": "3.6.4",
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@vitest/coverage-v8": "4.1.6",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"@vitest/coverage-v8": "4.1.7",
"aws-sdk-client-mock": "4.1.0",
"cbor": "10.0.12",
"cross-env": "10.1.0",
Expand All @@ -195,11 +193,11 @@
"fkill": "10.0.3",
"js-yaml": "4.1.1",
"pid-port": "2.1.1",
"rolldown": "1.0.1",
"rolldown": "1.0.3",
"simple-oauth2": "5.1.0",
"supertest": "7.2.2",
"vite": "8.0.13",
"vitest": "4.1.6",
"vite": "8.0.14",
"vitest": "4.1.7",
"vitest-mock-extended": "4.0.0"
}
}
4 changes: 2 additions & 2 deletions packages/backend/src/misc/content-disposition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/

import cd from 'content-disposition';
import { create } from 'content-disposition';

export function contentDisposition(type: 'inline' | 'attachment', filename: string): string {
const fallback = filename.replace(/[^\w.-]/g, '_');
return cd(filename, { type, fallback });
return create(filename, { type, fallback });
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Inject, Injectable } from '@nestjs/common';
import { IsNull } from 'typeorm';
import { format as dateFormat } from 'date-fns';
import mime from 'mime-types';
import archiver from 'archiver';
import { ZipArchive } from 'archiver';
import { DI } from '@/di-symbols.js';
import type { EmojisRepository, UsersRepository } from '@/models/_.js';
import type { Config } from '@/config.js';
Expand Down Expand Up @@ -126,7 +126,7 @@ export class ExportCustomEmojisProcessorService {
const [archivePath, archiveCleanup] = await createTemp();
await new Promise<void>((resolve) => {
const archiveStream = fs.createWriteStream(archivePath);
const archive = archiver('zip', {
const archive = new ZipArchive({
zlib: { level: 0 },
});
archiveStream.on('close', async () => {
Expand Down
6 changes: 3 additions & 3 deletions packages/backend/test/unit/misc/others.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ import { contentDisposition } from '@/misc/content-disposition.js';

describe('misc:content-disposition', () => {
test('inline', () => {
expect(contentDisposition('inline', 'foo bar')).toBe('inline; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar');
expect(contentDisposition('inline', 'foo bar')).toMatch(/^inline; filename="?foo_bar"?; filename\*=UTF-8''foo%20bar$/);
});
test('attachment', () => {
expect(contentDisposition('attachment', 'foo bar')).toBe('attachment; filename=\"foo_bar\"; filename*=UTF-8\'\'foo%20bar');
expect(contentDisposition('attachment', 'foo bar')).toMatch(/^attachment; filename="?foo_bar"?; filename\*=UTF-8''foo%20bar$/);
});
test('non ascii', () => {
expect(contentDisposition('attachment', 'ファイル名')).toBe('attachment; filename=\"_____\"; filename*=UTF-8\'\'%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D');
expect(contentDisposition('attachment', 'ファイル名')).toMatch(/^attachment; filename="?_____"?; filename\*=UTF-8''%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%90%8D$/);
});
});
8 changes: 4 additions & 4 deletions packages/frontend-builder/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,15 @@
"devDependencies": {
"@types/estree": "1.0.9",
"@types/node": "24.12.4",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"rollup": "4.60.4"
},
"dependencies": {
"estree-walker": "3.0.3",
"i18n": "workspace:*",
"magic-string": "0.30.21",
"rolldown": "1.0.1",
"vite": "8.0.13"
"rolldown": "1.0.3",
"vite": "8.0.14"
}
}
26 changes: 13 additions & 13 deletions packages/frontend-embed/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
},
"dependencies": {
"@rollup/plugin-json": "6.1.0",
"@rollup/pluginutils": "5.3.0",
"@vitejs/plugin-vue": "6.0.6",
"@rollup/pluginutils": "5.4.0",
"@vitejs/plugin-vue": "6.0.7",
"buraha": "0.0.1",
"estree-walker": "3.0.3",
"frontend-shared": "workspace:*",
Expand All @@ -23,10 +23,10 @@
"misskey-js": "workspace:*",
"punycode.js": "2.3.1",
"rollup": "4.60.4",
"shiki": "4.0.2",
"shiki": "4.1.0",
"tinycolor2": "1.6.0",
"uuid": "14.0.0",
"vue": "3.5.34"
"vue": "3.5.35"
},
"devDependencies": {
"@misskey-dev/emoji-assets": "17.0.3",
Expand All @@ -39,10 +39,10 @@
"@types/punycode.js": "npm:@types/punycode@2.1.4",
"@types/tinycolor2": "1.4.6",
"@types/ws": "8.18.1",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@vitest/coverage-v8": "4.1.6",
"@vue/runtime-core": "3.5.34",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"@vitest/coverage-v8": "4.1.7",
"@vue/runtime-core": "3.5.35",
"acorn": "8.16.0",
"cross-env": "10.1.0",
"eslint-plugin-import": "2.32.0",
Expand All @@ -53,13 +53,13 @@
"micromatch": "4.0.8",
"msw": "2.14.6",
"prettier": "3.8.3",
"sass-embedded": "1.99.0",
"sass-embedded": "1.100.0",
"start-server-and-test": "3.0.5",
"tsx": "4.22.0",
"vite": "8.0.13",
"tsx": "4.22.3",
"vite": "8.0.14",
"vite-plugin-turbosnap": "1.0.3",
"vue-component-type-helpers": "3.2.9",
"vue-component-type-helpers": "3.3.3",
"vue-eslint-parser": "10.4.0",
"vue-tsc": "3.2.9"
"vue-tsc": "3.3.3"
}
}
8 changes: 4 additions & 4 deletions packages/frontend-shared/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
"devDependencies": {
"@types/node": "24.12.4",
"@types/tinycolor2": "1.4.6",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"eslint-plugin-vue": "10.9.1",
"vue-eslint-parser": "10.4.0"
},
Expand All @@ -23,8 +23,8 @@
"i18n": "workspace:*",
"json5": "2.2.3",
"misskey-js": "workspace:*",
"shiki": "4.0.2",
"shiki": "4.1.0",
"tinycolor2": "1.6.0",
"vue": "3.5.34"
"vue": "3.5.35"
}
}
Loading
Loading