deps: update dependencies (#17477)

* deps: update dependencies

* fix archiver types not updated

* spdx

* update archiver types

* update deps

* fix test
This commit is contained in:
かっこかり 2026-06-07 17:25:43 +09:00 committed by GitHub
commit 81b182460e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
21 changed files with 1887 additions and 2297 deletions

View file

@ -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",
@ -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",
@ -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",
@ -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",
@ -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",
@ -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",
@ -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"
}
}

View file

@ -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 });
}

View file

@ -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';
@ -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 () => {

View file

@ -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$/);
});
});

View file

@ -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"
}
}

View file

@ -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:*",
@ -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",
@ -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",
@ -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"
}
}

View file

@ -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"
},
@ -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"
}
}

View file

@ -20,11 +20,11 @@
"@mcaptcha/core-glue": "0.1.0-alpha-5",
"@misskey-dev/browser-image-resizer": "2024.1.0",
"@misskey-dev/emoji-data": "17.0.3",
"@sentry/vue": "10.53.1",
"@sentry/vue": "10.55.0",
"@simplewebauthn/browser": "13.3.0",
"@syuilo/aiscript": "1.2.1",
"@syuilo/aiscript-0-19-0": "npm:@syuilo/aiscript@^0.19.0",
"@vitejs/plugin-vue": "6.0.6",
"@vitejs/plugin-vue": "6.0.7",
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.16",
"analytics": "0.8.19",
"broadcast-channel": "7.3.0",
@ -35,23 +35,23 @@
"chartjs-chart-matrix": "3.0.4",
"chartjs-plugin-gradient": "0.6.1",
"chartjs-plugin-zoom": "2.2.0",
"chromatic": "16.10.0",
"chromatic": "16.10.1",
"compare-versions": "6.1.1",
"cropperjs": "2.1.1",
"date-fns": "4.1.0",
"date-fns": "4.4.0",
"eventemitter3": "5.0.4",
"execa": "9.6.1",
"exifreader": "4.38.1",
"exifreader": "4.40.2",
"frontend-shared": "workspace:*",
"i18n": "workspace:*",
"icons-subsetter": "workspace:*",
"idb-keyval": "6.2.2",
"idb-keyval": "6.2.4",
"insert-text-at-cursor": "0.3.0",
"ios-haptics": "0.1.5",
"is-file-animated": "1.0.2",
"json5": "2.2.3",
"matter-js": "0.20.0",
"mediabunny": "1.45.2",
"mediabunny": "1.45.4",
"mfm-js": "0.26.0",
"misskey-bubble-game": "workspace:*",
"misskey-js": "workspace:*",
@ -61,23 +61,23 @@
"qr-code-styling": "1.9.2",
"qr-scanner": "1.4.2",
"sanitize-html": "2.17.4",
"shiki": "4.0.2",
"shiki": "4.1.0",
"textarea-caret": "3.1.0",
"three": "0.184.0",
"throttle-debounce": "5.0.2",
"tinycolor2": "1.6.0",
"v-code-diff": "1.13.1",
"vue": "3.5.34",
"vue": "3.5.35",
"wanakana": "5.3.1"
},
"devDependencies": {
"@misskey-dev/emoji-assets": "17.0.3",
"@misskey-dev/summaly": "5.3.0",
"@rollup/plugin-json": "6.1.0",
"@rollup/pluginutils": "5.3.0",
"@rollup/pluginutils": "5.4.0",
"@storybook/addon-essentials": "8.6.18",
"@storybook/addon-interactions": "8.6.18",
"@storybook/addon-links": "10.4.0",
"@storybook/addon-links": "10.4.1",
"@storybook/addon-mdx-gfm": "8.6.18",
"@storybook/addon-storysource": "8.6.18",
"@storybook/blocks": "8.6.18",
@ -85,13 +85,13 @@
"@storybook/core-events": "8.6.18",
"@storybook/manager-api": "8.6.18",
"@storybook/preview-api": "8.6.18",
"@storybook/react": "10.4.0",
"@storybook/react-vite": "10.4.0",
"@storybook/react": "10.4.1",
"@storybook/react-vite": "10.4.1",
"@storybook/test": "8.6.18",
"@storybook/theming": "8.6.18",
"@storybook/types": "8.6.18",
"@storybook/vue3": "10.4.0",
"@storybook/vue3-vite": "10.4.0",
"@storybook/vue3": "10.4.1",
"@storybook/vue3-vite": "10.4.1",
"@tabler/icons-webfont": "3.35.0",
"@testing-library/vue": "8.1.0",
"@types/canvas-confetti": "1.9.0",
@ -106,14 +106,14 @@
"@types/textarea-caret": "3.0.4",
"@types/throttle-debounce": "5.0.2",
"@types/tinycolor2": "1.4.6",
"@typescript-eslint/eslint-plugin": "8.59.3",
"@typescript-eslint/parser": "8.59.3",
"@vitest/coverage-v8": "4.1.6",
"@vue/compiler-core": "3.5.34",
"@typescript-eslint/eslint-plugin": "8.60.0",
"@typescript-eslint/parser": "8.60.0",
"@vitest/coverage-v8": "4.1.7",
"@vue/compiler-core": "3.5.35",
"acorn": "8.16.0",
"astring": "1.9.0",
"cross-env": "10.1.0",
"cypress": "15.15.0",
"cypress": "15.16.0",
"eslint-plugin-import": "2.32.0",
"eslint-plugin-vue": "10.9.1",
"estree-walker": "3.0.3",
@ -128,20 +128,20 @@
"prettier": "3.8.3",
"react": "19.2.6",
"react-dom": "19.2.6",
"rolldown": "1.0.1",
"sass-embedded": "1.99.0",
"rolldown": "1.0.3",
"sass-embedded": "1.100.0",
"seedrandom": "3.0.5",
"start-server-and-test": "3.0.5",
"storybook": "10.4.0",
"storybook": "10.4.1",
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
"tsx": "4.22.0",
"vite": "8.0.13",
"tsx": "4.22.3",
"vite": "8.0.14",
"vite-plugin-glsl": "1.6.0",
"vite-plugin-turbosnap": "1.0.3",
"vitest": "4.1.6",
"vitest": "4.1.7",
"vitest-fetch-mock": "0.4.5",
"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"
}
}

View file

@ -30,13 +30,13 @@
"devDependencies": {
"@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",
"chokidar": "5.0.0",
"esbuild": "0.28.0",
"execa": "9.6.1",
"nodemon": "3.1.14",
"tsx": "4.22.0"
"tsx": "4.22.3"
},
"dependencies": {
"js-yaml": "4.1.1"

View file

@ -13,13 +13,13 @@
"devDependencies": {
"@types/node": "24.12.4",
"@types/wawoff2": "1.0.2",
"@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"
},
"dependencies": {
"@tabler/icons-webfont": "3.35.0",
"harfbuzzjs": "0.10.3",
"tsx": "4.22.0",
"harfbuzzjs": "1.2.0",
"tsx": "4.22.3",
"wawoff2": "2.0.1"
},
"files": [

View file

@ -11,7 +11,7 @@ export async function generateSubsettedFont(ttfPath: string, unicodeRangeValues:
const {
instance: { exports: harfbuzzWasm },
}: any = await WebAssembly.instantiate(await fsp.readFile('./node_modules/harfbuzzjs/hb-subset.wasm'));
}: any = await WebAssembly.instantiate(await fsp.readFile('./node_modules/harfbuzzjs/dist/harfbuzz-subset.wasm'));
const heapu8 = new Uint8Array(harfbuzzWasm.memory.buffer);

View file

@ -27,8 +27,8 @@
"@types/matter-js": "0.20.2",
"@types/node": "24.12.4",
"@types/seedrandom": "3.0.8",
"@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",
"esbuild": "0.28.0",
"execa": "9.6.1",
"nodemon": "3.1.14"

View file

@ -7,14 +7,14 @@
"generate": "tsx src/generator.ts && eslint ./built/**/*.ts --fix"
},
"devDependencies": {
"@readme/openapi-parser": "6.1.1",
"@readme/openapi-parser": "6.1.2",
"@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",
"openapi-types": "12.1.3",
"openapi-typescript": "7.13.0",
"ts-case-convert": "2.1.0",
"tsx": "4.22.0",
"ts-case-convert": "2.3.1",
"tsx": "4.22.3",
"eslint": "9.39.4"
},
"files": [

View file

@ -39,15 +39,15 @@
"devDependencies": {
"@microsoft/api-extractor": "7.58.7",
"@types/node": "24.12.4",
"@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",
"esbuild": "0.28.0",
"execa": "9.6.1",
"ncp": "2.0.0",
"nodemon": "3.1.14",
"tsd": "0.33.0",
"vitest": "4.1.6",
"vitest": "4.1.7",
"vitest-websocket-mock": "0.5.0"
},
"files": [

View file

@ -25,8 +25,8 @@
},
"devDependencies": {
"@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",
"esbuild": "0.28.0",
"execa": "9.6.1",
"nodemon": "3.1.14"

View file

@ -11,11 +11,11 @@
"dependencies": {
"i18n": "workspace:*",
"esbuild": "0.28.0",
"idb-keyval": "6.2.2",
"idb-keyval": "6.2.4",
"misskey-js": "workspace:*"
},
"devDependencies": {
"@typescript-eslint/parser": "8.59.3",
"@typescript-eslint/parser": "8.60.0",
"@typescript/lib-webworker": "npm:@types/serviceworker@0.0.74",
"eslint-plugin-import": "2.32.0",
"nodemon": "3.1.14"