update all dependencies
This commit is contained in:
parent
681afb2d9f
commit
3702729f26
24 changed files with 4971 additions and 6545 deletions
22
package.json
22
package.json
|
|
@ -58,27 +58,27 @@
|
||||||
"js-yaml": "4.1.0"
|
"js-yaml": "4.1.0"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"cypress": "14.5.4"
|
"cypress": "15.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@misskey-dev/eslint-plugin": "2.1.0",
|
"@misskey-dev/eslint-plugin": "2.1.0",
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "10.0.0",
|
||||||
"cssnano": "7.1.1",
|
"cssnano": "7.1.1",
|
||||||
"esbuild": "0.25.9",
|
"esbuild": "0.25.10",
|
||||||
"eslint": "9.35.0",
|
"eslint": "9.36.0",
|
||||||
"execa": "9.6.0",
|
"execa": "9.6.0",
|
||||||
"fast-glob": "3.3.3",
|
"fast-glob": "3.3.3",
|
||||||
"glob": "11.0.3",
|
"glob": "11.0.3",
|
||||||
"globals": "16.3.0",
|
"globals": "16.4.0",
|
||||||
|
"ignore-walk": "8.0.0",
|
||||||
"ncp": "2.0.0",
|
"ncp": "2.0.0",
|
||||||
"pnpm": "10.16.0",
|
"pnpm": "10.17.1",
|
||||||
"ignore-walk": "7.0.0",
|
|
||||||
"postcss": "8.5.6",
|
"postcss": "8.5.6",
|
||||||
"start-server-and-test": "2.1.0",
|
"start-server-and-test": "2.1.2",
|
||||||
"tar": "7.4.3",
|
"tar": "7.5.1",
|
||||||
"terser": "5.44.0",
|
"terser": "5.44.0",
|
||||||
"typescript": "5.9.2"
|
"typescript": "5.9.2"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -68,85 +68,85 @@
|
||||||
"utf-8-validate": "6.0.5"
|
"utf-8-validate": "6.0.5"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@aws-sdk/client-s3": "3.883.0",
|
"@aws-sdk/client-s3": "3.896.0",
|
||||||
"@aws-sdk/lib-storage": "3.883.0",
|
"@aws-sdk/lib-storage": "3.896.0",
|
||||||
"@discordapp/twemoji": "16.0.1",
|
"@discordapp/twemoji": "16.0.1",
|
||||||
"@fastify/accepts": "5.0.2",
|
"@fastify/accepts": "5.0.2",
|
||||||
"@fastify/cookie": "11.0.2",
|
"@fastify/cookie": "11.0.2",
|
||||||
"@fastify/cors": "10.1.0",
|
"@fastify/cors": "11.1.0",
|
||||||
"@fastify/express": "4.0.2",
|
"@fastify/express": "4.0.2",
|
||||||
"@fastify/http-proxy": "10.0.2",
|
"@fastify/http-proxy": "11.3.0",
|
||||||
"@fastify/multipart": "9.2.1",
|
"@fastify/multipart": "9.2.1",
|
||||||
"@fastify/static": "8.2.0",
|
"@fastify/static": "8.2.0",
|
||||||
"@fastify/view": "10.0.2",
|
"@fastify/view": "11.1.1",
|
||||||
"@misskey-dev/sharp-read-bmp": "1.2.0",
|
"@misskey-dev/sharp-read-bmp": "1.3.0",
|
||||||
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
||||||
"@nestjs/common": "11.1.6",
|
"@nestjs/common": "11.1.6",
|
||||||
"@nestjs/core": "11.1.6",
|
"@nestjs/core": "11.1.6",
|
||||||
"@nestjs/testing": "11.1.6",
|
"@nestjs/testing": "11.1.6",
|
||||||
"@peertube/http-signature": "1.7.0",
|
"@peertube/http-signature": "1.7.0",
|
||||||
"@sentry/node": "8.55.0",
|
"@sentry/node": "10.15.0",
|
||||||
"@sentry/profiling-node": "8.55.0",
|
"@sentry/profiling-node": "10.15.0",
|
||||||
"@simplewebauthn/server": "12.0.0",
|
"@simplewebauthn/server": "12.0.0",
|
||||||
"@smithy/node-http-handler": "2.5.0",
|
"@smithy/node-http-handler": "4.2.1",
|
||||||
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
|
||||||
"@twemoji/parser": "16.0.0",
|
"@twemoji/parser": "16.0.0",
|
||||||
"accepts": "1.3.8",
|
"accepts": "1.3.8",
|
||||||
"ajv": "8.17.1",
|
"ajv": "8.17.1",
|
||||||
"archiver": "7.0.1",
|
"archiver": "7.0.1",
|
||||||
"argon2": "0.43.0",
|
"argon2": "0.44.0",
|
||||||
"axios": "1.7.4",
|
"axios": "1.12.2",
|
||||||
"bcryptjs": "2.4.3",
|
"bcryptjs": "3.0.2",
|
||||||
"blurhash": "2.0.5",
|
"blurhash": "2.0.5",
|
||||||
"bullmq": "5.58.5",
|
"bullmq": "5.58.7",
|
||||||
"cacheable-lookup": "7.0.0",
|
"cacheable-lookup": "7.0.0",
|
||||||
"canvas": "3.1.0",
|
"canvas": "3.2.0",
|
||||||
"cbor": "9.0.2",
|
"cbor": "10.0.11",
|
||||||
"chalk": "5.6.0",
|
"chalk": "5.6.2",
|
||||||
"chalk-template": "1.1.0",
|
"chalk-template": "1.1.2",
|
||||||
"cheerio": "1.0.0",
|
"cheerio": "1.1.2",
|
||||||
"cli-highlight": "npm:@transfem-org/cli-highlight@2.1.12",
|
"cli-highlight": "npm:@transfem-org/cli-highlight@2.1.12",
|
||||||
"color-convert": "2.0.1",
|
"color-convert": "3.1.2",
|
||||||
"content-disposition": "0.5.4",
|
"content-disposition": "0.5.4",
|
||||||
"date-fns": "2.30.0",
|
"date-fns": "4.1.0",
|
||||||
"deep-email-validator": "0.1.21",
|
"deep-email-validator": "0.1.21",
|
||||||
"dom-serializer": "2.0.0",
|
"dom-serializer": "2.0.0",
|
||||||
"domhandler": "5.0.3",
|
"domhandler": "5.0.3",
|
||||||
"domutils": "3.2.2",
|
"domutils": "3.2.2",
|
||||||
"fastify": "5.6.0",
|
"fastify": "5.6.1",
|
||||||
"fastify-raw-body": "5.0.0",
|
"fastify-raw-body": "5.0.0",
|
||||||
"feed": "4.2.2",
|
"feed": "5.1.0",
|
||||||
"file-type": "19.6.0",
|
"file-type": "21.0.0",
|
||||||
"fluent-ffmpeg": "2.1.3",
|
"fluent-ffmpeg": "2.1.3",
|
||||||
"form-data": "4.0.4",
|
"form-data": "4.0.4",
|
||||||
"glob": "11.0.3",
|
"glob": "11.0.3",
|
||||||
"got": "14.4.8",
|
"got": "14.4.9",
|
||||||
"hpagent": "1.2.0",
|
"hpagent": "1.2.0",
|
||||||
"htmlescape": "1.1.1",
|
"htmlescape": "1.1.1",
|
||||||
"htmlparser2": "9.1.0",
|
"htmlparser2": "10.0.0",
|
||||||
"ioredis": "5.7.0",
|
"ioredis": "5.8.0",
|
||||||
"ip-cidr": "4.0.2",
|
"ip-cidr": "4.0.2",
|
||||||
"ipaddr.js": "2.2.0",
|
"ipaddr.js": "2.2.0",
|
||||||
"is-svg": "5.1.0",
|
"is-svg": "6.1.0",
|
||||||
"js-yaml": "4.1.0",
|
"js-yaml": "4.1.0",
|
||||||
"json5": "2.2.3",
|
"json5": "2.2.3",
|
||||||
"jsonld": "8.3.3",
|
"jsonld": "8.3.3",
|
||||||
"juice": "11.0.1",
|
"juice": "11.0.1",
|
||||||
"megalodon": "workspace:*",
|
"megalodon": "workspace:*",
|
||||||
"meilisearch": "0.52.0",
|
"meilisearch": "0.53.0",
|
||||||
"mime-types": "2.1.35",
|
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
||||||
|
"mime-types": "3.0.1",
|
||||||
"misskey-js": "workspace:*",
|
"misskey-js": "workspace:*",
|
||||||
"misskey-reversi": "workspace:*",
|
"misskey-reversi": "workspace:*",
|
||||||
"moment": "2.30.1",
|
"moment": "2.30.1",
|
||||||
"ms": "3.0.0-canary.202508261828",
|
"ms": "3.0.0-canary.202508261828",
|
||||||
"nanoid": "5.1.5",
|
"nanoid": "5.1.6",
|
||||||
"nested-property": "4.0.0",
|
"nested-property": "4.0.0",
|
||||||
"node-fetch": "3.3.2",
|
"node-fetch": "3.3.2",
|
||||||
"nodemailer": "6.10.1",
|
"nodemailer": "7.0.6",
|
||||||
"os-utils": "0.0.14",
|
"os-utils": "0.0.14",
|
||||||
"otpauth": "9.4.1",
|
"otpauth": "9.4.1",
|
||||||
"pg": "8.16.3",
|
"pg": "8.16.3",
|
||||||
"pkce-challenge": "4.1.0",
|
"pkce-challenge": "5.0.0",
|
||||||
"probe-image-size": "7.2.3",
|
"probe-image-size": "7.2.3",
|
||||||
"promise-limit": "2.7.0",
|
"promise-limit": "2.7.0",
|
||||||
"proxy-addr": "2.0.7",
|
"proxy-addr": "2.0.7",
|
||||||
|
|
@ -156,56 +156,56 @@
|
||||||
"random-seed": "0.3.0",
|
"random-seed": "0.3.0",
|
||||||
"re2": "1.22.1",
|
"re2": "1.22.1",
|
||||||
"redis-info": "3.1.0",
|
"redis-info": "3.1.0",
|
||||||
"redis-lock": "0.1.4",
|
"redis-lock": "1.0.0",
|
||||||
"reflect-metadata": "0.2.2",
|
"reflect-metadata": "0.2.2",
|
||||||
"rename": "1.0.4",
|
"rename": "1.0.4",
|
||||||
"sanitize-html": "2.17.0",
|
"sanitize-html": "2.17.0",
|
||||||
"secure-json-parse": "3.0.2",
|
"secure-json-parse": "4.0.0",
|
||||||
"sharp": "0.33.5",
|
|
||||||
"semver": "7.7.2",
|
"semver": "7.7.2",
|
||||||
|
"sharp": "0.34.4",
|
||||||
"slacc": "0.0.10",
|
"slacc": "0.0.10",
|
||||||
"strict-event-emitter-types": "2.0.0",
|
"strict-event-emitter-types": "2.0.0",
|
||||||
"systeminformation": "5.27.8",
|
"systeminformation": "5.27.10",
|
||||||
"tinycolor2": "1.6.0",
|
"tinycolor2": "1.6.0",
|
||||||
"tmp": "0.2.5",
|
"tmp": "0.2.5",
|
||||||
"tsc-alias": "1.8.16",
|
"tsc-alias": "1.8.16",
|
||||||
"tsconfig-paths": "4.2.0",
|
"tsconfig-paths": "4.2.0",
|
||||||
"typeorm": "0.3.26",
|
"typeorm": "0.3.27",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2",
|
||||||
"ulid": "2.4.0",
|
"ulid": "3.0.1",
|
||||||
"uuid": "11.1.0",
|
"uuid": "13.0.0",
|
||||||
"vary": "1.1.2",
|
"vary": "1.1.2",
|
||||||
"web-push": "3.6.7",
|
"web-push": "3.6.7",
|
||||||
"ws": "8.18.3",
|
"ws": "8.18.3",
|
||||||
"xev": "3.0.2"
|
"xev": "3.0.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@jest/globals": "29.7.0",
|
"@jest/globals": "30.1.2",
|
||||||
"@nestjs/platform-express": "10.4.20",
|
"@nestjs/platform-express": "11.1.6",
|
||||||
"@sentry/vue": "9.46.0",
|
"@sentry/vue": "10.15.0",
|
||||||
"@simplewebauthn/types": "12.0.0",
|
"@simplewebauthn/types": "12.0.0",
|
||||||
"@swc/cli": "0.7.3",
|
"@swc/cli": "0.7.8",
|
||||||
"@swc/core": "1.11.24",
|
"@swc/core": "1.13.5",
|
||||||
"@swc/jest": "0.2.39",
|
"@swc/jest": "0.2.39",
|
||||||
"@types/accepts": "1.3.7",
|
"@types/accepts": "1.3.7",
|
||||||
"@types/archiver": "6.0.3",
|
"@types/archiver": "6.0.3",
|
||||||
"@types/bcryptjs": "2.4.6",
|
"@types/bcryptjs": "3.0.0",
|
||||||
"@types/color-convert": "2.0.4",
|
"@types/color-convert": "2.0.4",
|
||||||
"@types/content-disposition": "0.5.9",
|
"@types/content-disposition": "0.5.9",
|
||||||
"@types/fluent-ffmpeg": "2.1.27",
|
"@types/fluent-ffmpeg": "2.1.27",
|
||||||
"@types/htmlescape": "1.1.3",
|
"@types/htmlescape": "1.1.3",
|
||||||
"@types/jest": "29.5.14",
|
"@types/jest": "30.0.0",
|
||||||
"@types/js-yaml": "4.0.9",
|
"@types/js-yaml": "4.0.9",
|
||||||
"@types/jsonld": "1.5.15",
|
"@types/jsonld": "1.5.15",
|
||||||
"@types/jsrsasign": "10.5.15",
|
"@types/jsrsasign": "10.5.15",
|
||||||
"@types/mime-types": "2.1.4",
|
"@types/mime-types": "3.0.1",
|
||||||
"@types/ms": "0.7.34",
|
"@types/ms": "2.1.0",
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@types/nodemailer": "6.4.17",
|
"@types/nodemailer": "7.0.1",
|
||||||
"@types/oauth": "0.9.6",
|
"@types/oauth": "0.9.6",
|
||||||
"@types/oauth2orize": "1.11.5",
|
"@types/oauth2orize": "1.11.5",
|
||||||
"@types/oauth2orize-pkce": "0.1.2",
|
"@types/oauth2orize-pkce": "0.1.2",
|
||||||
"@types/pg": "8.11.14",
|
"@types/pg": "8.15.5",
|
||||||
"@types/proxy-addr": "2.0.3",
|
"@types/proxy-addr": "2.0.3",
|
||||||
"@types/psl": "1.1.3",
|
"@types/psl": "1.1.3",
|
||||||
"@types/pug": "2.0.10",
|
"@types/pug": "2.0.10",
|
||||||
|
|
@ -222,18 +222,18 @@
|
||||||
"@types/vary": "1.1.3",
|
"@types/vary": "1.1.3",
|
||||||
"@types/web-push": "3.6.4",
|
"@types/web-push": "3.6.4",
|
||||||
"@types/ws": "8.18.1",
|
"@types/ws": "8.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"aws-sdk-client-mock": "4.1.0",
|
"aws-sdk-client-mock": "4.1.0",
|
||||||
"cross-env": "7.0.3",
|
"cross-env": "10.0.0",
|
||||||
"eslint": "9.25.1",
|
"eslint": "9.25.1",
|
||||||
"eslint-plugin-import": "2.32.0",
|
"eslint-plugin-import": "2.32.0",
|
||||||
"execa": "9.5.2",
|
"execa": "9.6.0",
|
||||||
"fkill": "9.0.0",
|
"fkill": "9.0.0",
|
||||||
"jest": "29.7.0",
|
"jest": "30.1.3",
|
||||||
"jest-mock": "29.7.0",
|
"jest-mock": "30.0.5",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"pid-port": "1.0.2",
|
"pid-port": "2.0.0",
|
||||||
"simple-oauth2": "5.1.0",
|
"simple-oauth2": "5.1.0",
|
||||||
"supertest": "7.1.4"
|
"supertest": "7.1.4"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ export class FileInfoService {
|
||||||
}
|
}
|
||||||
|
|
||||||
@bindThis
|
@bindThis
|
||||||
public fixMime(mime: string | fileType.MimeType): string {
|
public fixMime(mime: string): string {
|
||||||
// see https://github.com/misskey-dev/misskey/pull/10686
|
// see https://github.com/misskey-dev/misskey/pull/10686
|
||||||
if (mime === 'audio/x-flac') {
|
if (mime === 'audio/x-flac') {
|
||||||
return 'audio/flac';
|
return 'audio/flac';
|
||||||
|
|
|
||||||
|
|
@ -112,7 +112,7 @@ export class ApiSearchMastodon {
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
...request.headers,
|
...request.headers as Record<string, string>,
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
|
|
@ -135,7 +135,7 @@ export class ApiSearchMastodon {
|
||||||
{
|
{
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
...request.headers,
|
...request.headers as Record<string, string>,
|
||||||
'Accept': 'application/json',
|
'Accept': 'application/json',
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -25,9 +25,9 @@
|
||||||
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
// "moduleDetection": "auto", /* Control what method is used to detect module-format JS files. */
|
||||||
|
|
||||||
/* Modules */
|
/* Modules */
|
||||||
"module": "NodeNext", /* Specify what module code is generated. */
|
"module": "nodenext", /* Specify what module code is generated. */
|
||||||
// "rootDir": "./", /* Specify the root folder within your source files. */
|
// "rootDir": "./", /* Specify the root folder within your source files. */
|
||||||
// "moduleResolution": "node10", /* Specify how TypeScript looks up a file from a given module specifier. */
|
"moduleResolution": "nodenext", /* Specify how TypeScript looks up a file from a given module specifier. */
|
||||||
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
// "baseUrl": "./", /* Specify the base directory to resolve non-relative module names. */
|
||||||
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
// "paths": {}, /* Specify a set of entries that re-map imports to additional lookup locations. */
|
||||||
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
// "rootDirs": [], /* Allow multiple folders to be treated as one when resolving modules. */
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import { RoleService } from '@/core/RoleService.js';
|
||||||
import { CoreModule } from '@/core/CoreModule.js';
|
import { CoreModule } from '@/core/CoreModule.js';
|
||||||
import { secureRndstr } from '@/misc/secure-rndstr.js';
|
import { secureRndstr } from '@/misc/secure-rndstr.js';
|
||||||
import type { TestingModule } from '@nestjs/testing';
|
import type { TestingModule } from '@nestjs/testing';
|
||||||
import type { MockFunctionMetadata } from 'jest-mock';
|
import type { MockMetadata } from 'jest-mock';
|
||||||
|
|
||||||
const moduleMocker = new ModuleMocker(global);
|
const moduleMocker = new ModuleMocker(global);
|
||||||
|
|
||||||
|
|
@ -76,7 +76,7 @@ describe('AnnouncementService', () => {
|
||||||
})
|
})
|
||||||
.useMocker((token) => {
|
.useMocker((token) => {
|
||||||
if (typeof token === 'function') {
|
if (typeof token === 'function') {
|
||||||
const mockMetadata = moduleMocker.getMetadata(token) as MockFunctionMetadata<any, any>;
|
const mockMetadata = moduleMocker.getMetadata(token) as MockMetadata<any, any>;
|
||||||
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
||||||
return new Mock();
|
return new Mock();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -455,7 +455,7 @@ describe('CaptchaService', () => {
|
||||||
if (!res.success) {
|
if (!res.success) {
|
||||||
expect(res.error.code).toBe(code);
|
expect(res.error.code).toBe(code);
|
||||||
}
|
}
|
||||||
expect(metaService.update).not.toBeCalled();
|
expect(metaService.update).not.toHaveBeenCalled();
|
||||||
}
|
}
|
||||||
|
|
||||||
describe('invalidParameters', () => {
|
describe('invalidParameters', () => {
|
||||||
|
|
|
||||||
|
|
@ -55,7 +55,7 @@ describe('DriveService', () => {
|
||||||
s3Mock.on(DeleteObjectCommand)
|
s3Mock.on(DeleteObjectCommand)
|
||||||
.rejects(new InvalidObjectState({ $metadata: {}, message: '' }));
|
.rejects(new InvalidObjectState({ $metadata: {}, message: '' }));
|
||||||
|
|
||||||
await expect(driveService.deleteObjectStorageFile('unexpected')).rejects.toThrowError(Error);
|
await expect(driveService.deleteObjectStorageFile('unexpected')).rejects.toBeInstanceOf(Error);
|
||||||
});
|
});
|
||||||
|
|
||||||
test('delete a file with no valid key', async () => {
|
test('delete a file with no valid key', async () => {
|
||||||
|
|
|
||||||
|
|
@ -17,7 +17,7 @@ import { FileInfo, FileInfoService } from '@/core/FileInfoService.js';
|
||||||
import { LoggerService } from '@/core/LoggerService.js';
|
import { LoggerService } from '@/core/LoggerService.js';
|
||||||
import type { TestingModule } from '@nestjs/testing';
|
import type { TestingModule } from '@nestjs/testing';
|
||||||
import { CoreModule } from '@/core/CoreModule.js';
|
import { CoreModule } from '@/core/CoreModule.js';
|
||||||
import type { MockFunctionMetadata } from 'jest-mock';
|
import type { MockMetadata } from 'jest-mock';
|
||||||
|
|
||||||
const _filename = fileURLToPath(import.meta.url);
|
const _filename = fileURLToPath(import.meta.url);
|
||||||
const _dirname = dirname(_filename);
|
const _dirname = dirname(_filename);
|
||||||
|
|
@ -47,7 +47,7 @@ describe('FileInfoService', () => {
|
||||||
})
|
})
|
||||||
.useMocker((token) => {
|
.useMocker((token) => {
|
||||||
if (typeof token === 'function') {
|
if (typeof token === 'function') {
|
||||||
const mockMetadata = moduleMocker.getMetadata(token) as MockFunctionMetadata<any, any>;
|
const mockMetadata = moduleMocker.getMetadata(token) as MockMetadata<any, any>;
|
||||||
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
||||||
return new Mock();
|
return new Mock();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import { jest } from '@jest/globals';
|
||||||
import { Test } from '@nestjs/testing';
|
import { Test } from '@nestjs/testing';
|
||||||
import { ModuleMocker } from 'jest-mock';
|
import { ModuleMocker } from 'jest-mock';
|
||||||
import type { TestingModule } from '@nestjs/testing';
|
import type { TestingModule } from '@nestjs/testing';
|
||||||
import type { MockFunctionMetadata } from 'jest-mock';
|
import type { MockMetadata } from 'jest-mock';
|
||||||
import { ApRendererService } from '@/core/activitypub/ApRendererService.js';
|
import { ApRendererService } from '@/core/activitypub/ApRendererService.js';
|
||||||
import { UserEntityService } from '@/core/entities/UserEntityService.js';
|
import { UserEntityService } from '@/core/entities/UserEntityService.js';
|
||||||
import { IdService } from '@/core/IdService.js';
|
import { IdService } from '@/core/IdService.js';
|
||||||
|
|
@ -36,7 +36,7 @@ describe('RelayService', () => {
|
||||||
})
|
})
|
||||||
.useMocker((token) => {
|
.useMocker((token) => {
|
||||||
if (typeof token === 'function') {
|
if (typeof token === 'function') {
|
||||||
const mockMetadata = moduleMocker.getMetadata(token) as MockFunctionMetadata<any, any>;
|
const mockMetadata = moduleMocker.getMetadata(token) as MockMetadata<any, any>;
|
||||||
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
||||||
return new Mock();
|
return new Mock();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import { jest } from '@jest/globals';
|
||||||
import { ModuleMocker } from 'jest-mock';
|
import { ModuleMocker } from 'jest-mock';
|
||||||
import { Test } from '@nestjs/testing';
|
import { Test } from '@nestjs/testing';
|
||||||
import type { TestingModule } from '@nestjs/testing';
|
import type { TestingModule } from '@nestjs/testing';
|
||||||
import type { MockFunctionMetadata } from 'jest-mock';
|
import type { MockMetadata } from 'jest-mock';
|
||||||
import { GodOfTimeService } from '../misc/GodOfTimeService.js';
|
import { GodOfTimeService } from '../misc/GodOfTimeService.js';
|
||||||
import { CacheManagementService } from '@/core/CacheManagementService.js';
|
import { CacheManagementService } from '@/core/CacheManagementService.js';
|
||||||
import { GlobalModule } from '@/GlobalModule.js';
|
import { GlobalModule } from '@/GlobalModule.js';
|
||||||
|
|
@ -132,7 +132,7 @@ describe('RoleService', () => {
|
||||||
})
|
})
|
||||||
.useMocker((token) => {
|
.useMocker((token) => {
|
||||||
if (typeof token === 'function') {
|
if (typeof token === 'function') {
|
||||||
const mockMetadata = moduleMocker.getMetadata(token) as MockFunctionMetadata<any, any>;
|
const mockMetadata = moduleMocker.getMetadata(token) as MockMetadata<any, any>;
|
||||||
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
||||||
return new Mock();
|
return new Mock();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@ import { Test, TestingModule } from '@nestjs/testing';
|
||||||
import { FastifyReply, FastifyRequest } from 'fastify';
|
import { FastifyReply, FastifyRequest } from 'fastify';
|
||||||
import { AuthenticationResponseJSON } from '@simplewebauthn/types';
|
import { AuthenticationResponseJSON } from '@simplewebauthn/types';
|
||||||
import { HttpHeader } from 'fastify/types/utils.js';
|
import { HttpHeader } from 'fastify/types/utils.js';
|
||||||
import { MockFunctionMetadata, ModuleMocker } from 'jest-mock';
|
import { MockMetadata, ModuleMocker } from 'jest-mock';
|
||||||
import { FakeSkRateLimiterService } from '../misc/FakeSkRateLimiterService.js';
|
import { FakeSkRateLimiterService } from '../misc/FakeSkRateLimiterService.js';
|
||||||
import { MiUser } from '@/models/User.js';
|
import { MiUser } from '@/models/User.js';
|
||||||
import { MiUserProfile, UserProfilesRepository, UsersRepository } from '@/models/_.js';
|
import { MiUserProfile, UserProfilesRepository, UsersRepository } from '@/models/_.js';
|
||||||
|
|
@ -84,7 +84,7 @@ describe('SigninWithPasskeyApiService', () => {
|
||||||
imports: [GlobalModule, CoreModule, ServerModule],
|
imports: [GlobalModule, CoreModule, ServerModule],
|
||||||
}).useMocker((token) => {
|
}).useMocker((token) => {
|
||||||
if (typeof token === 'function') {
|
if (typeof token === 'function') {
|
||||||
const mockMetadata = moduleMocker.getMetadata(token) as MockFunctionMetadata<any, any>;
|
const mockMetadata = moduleMocker.getMetadata(token) as MockMetadata<any, any>;
|
||||||
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
const Mock = moduleMocker.generateFromMetadata(mockMetadata);
|
||||||
return new Mock();
|
return new Mock();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -12,22 +12,22 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@discordapp/twemoji": "16.0.1",
|
"@discordapp/twemoji": "16.0.1",
|
||||||
"@phosphor-icons/web": "2.1.2",
|
"@phosphor-icons/web": "2.1.2",
|
||||||
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
|
||||||
"buraha": "0.0.1",
|
"buraha": "0.0.1",
|
||||||
"frontend-shared": "workspace:*",
|
"frontend-shared": "workspace:*",
|
||||||
"json5": "2.2.3",
|
"json5": "2.2.3",
|
||||||
|
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
||||||
"misskey-js": "workspace:*",
|
"misskey-js": "workspace:*",
|
||||||
"punycode.js": "2.3.1",
|
"punycode.js": "2.3.1",
|
||||||
"shiki": "3.12.2",
|
"shiki": "3.13.0",
|
||||||
"tinycolor2": "1.6.0",
|
"tinycolor2": "1.6.0",
|
||||||
"uuid": "11.1.0",
|
"uuid": "13.0.0",
|
||||||
"vue": "3.5.21"
|
"vue": "3.5.21"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
||||||
"@rollup/plugin-json": "6.1.0",
|
"@rollup/plugin-json": "6.1.0",
|
||||||
"@rollup/plugin-replace": "6.0.2",
|
"@rollup/plugin-replace": "6.0.2",
|
||||||
"@rollup/pluginutils": "5.1.4",
|
"@rollup/pluginutils": "5.3.0",
|
||||||
"@testing-library/vue": "8.1.0",
|
"@testing-library/vue": "8.1.0",
|
||||||
"@twemoji/parser": "16.0.0",
|
"@twemoji/parser": "16.0.0",
|
||||||
"@types/estree": "1.0.8",
|
"@types/estree": "1.0.8",
|
||||||
|
|
@ -36,8 +36,8 @@
|
||||||
"@types/punycode.js": "npm:@types/punycode@2.1.4",
|
"@types/punycode.js": "npm:@types/punycode@2.1.4",
|
||||||
"@types/tinycolor2": "1.4.6",
|
"@types/tinycolor2": "1.4.6",
|
||||||
"@types/ws": "8.18.1",
|
"@types/ws": "8.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"@vitejs/plugin-vue": "6.0.1",
|
"@vitejs/plugin-vue": "6.0.1",
|
||||||
"@vitest/coverage-v8": "3.2.4",
|
"@vitest/coverage-v8": "3.2.4",
|
||||||
"@vue/runtime-core": "3.5.21",
|
"@vue/runtime-core": "3.5.21",
|
||||||
|
|
@ -45,25 +45,25 @@
|
||||||
"astring": "1.9.0",
|
"astring": "1.9.0",
|
||||||
"cross-env": "10.0.0",
|
"cross-env": "10.0.0",
|
||||||
"eslint-plugin-import": "2.32.0",
|
"eslint-plugin-import": "2.32.0",
|
||||||
"eslint-plugin-vue": "10.4.0",
|
"eslint-plugin-vue": "10.5.0",
|
||||||
"estree-walker": "3.0.3",
|
"estree-walker": "3.0.3",
|
||||||
"fast-glob": "3.3.3",
|
"fast-glob": "3.3.3",
|
||||||
"happy-dom": "18.0.1",
|
"happy-dom": "18.0.1",
|
||||||
"intersection-observer": "0.12.2",
|
"intersection-observer": "0.12.2",
|
||||||
"micromatch": "4.0.8",
|
"micromatch": "4.0.8",
|
||||||
"msw": "2.11.1",
|
"msw": "2.11.3",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"prettier": "3.6.2",
|
"prettier": "3.6.2",
|
||||||
"rollup": "4.50.1",
|
"rollup": "4.52.2",
|
||||||
"sass": "1.92.1",
|
"sass": "1.93.2",
|
||||||
"start-server-and-test": "2.1.0",
|
"start-server-and-test": "2.1.2",
|
||||||
"tsc-alias": "1.8.15",
|
"tsc-alias": "1.8.16",
|
||||||
"tsconfig-paths": "4.2.0",
|
"tsconfig-paths": "4.2.0",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2",
|
||||||
"vite": "6.3.6",
|
"vite": "7.1.7",
|
||||||
"vite-plugin-turbosnap": "1.0.3",
|
"vite-plugin-turbosnap": "1.0.3",
|
||||||
"vue-component-type-helpers": "3.0.7",
|
"vue-component-type-helpers": "3.0.8",
|
||||||
"vue-eslint-parser": "10.2.0",
|
"vue-eslint-parser": "10.2.0",
|
||||||
"vue-tsc": "3.0.7"
|
"vue-tsc": "3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,10 +22,10 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"esbuild": "0.25.9",
|
"esbuild": "0.25.10",
|
||||||
"eslint-plugin-vue": "10.4.0",
|
"eslint-plugin-vue": "10.5.0",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2",
|
||||||
"vue-eslint-parser": "10.2.0"
|
"vue-eslint-parser": "10.2.0"
|
||||||
|
|
|
||||||
|
|
@ -21,8 +21,8 @@
|
||||||
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
||||||
"@misskey-dev/browser-image-resizer": "2024.1.0",
|
"@misskey-dev/browser-image-resizer": "2024.1.0",
|
||||||
"@phosphor-icons/web": "2.1.2",
|
"@phosphor-icons/web": "2.1.2",
|
||||||
"@ruffle-rs/ruffle": "0.1.0-nightly.2024.10.15",
|
"@ruffle-rs/ruffle": "0.2.0-nightly.2025.9.25",
|
||||||
"@sentry/vue": "10.10.0",
|
"@sentry/vue": "10.15.0",
|
||||||
"@syuilo/aiscript": "0.19.0",
|
"@syuilo/aiscript": "0.19.0",
|
||||||
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.15",
|
"aiscript-vscode": "github:aiscript-dev/aiscript-vscode#v0.1.15",
|
||||||
"broadcast-channel": "7.1.0",
|
"broadcast-channel": "7.1.0",
|
||||||
|
|
@ -33,7 +33,7 @@
|
||||||
"chartjs-chart-matrix": "3.0.0",
|
"chartjs-chart-matrix": "3.0.0",
|
||||||
"chartjs-plugin-gradient": "0.6.1",
|
"chartjs-plugin-gradient": "0.6.1",
|
||||||
"chartjs-plugin-zoom": "2.2.0",
|
"chartjs-plugin-zoom": "2.2.0",
|
||||||
"chromatic": "13.1.4",
|
"chromatic": "13.2.0",
|
||||||
"compare-versions": "6.1.1",
|
"compare-versions": "6.1.1",
|
||||||
"cropperjs": "2.0.1",
|
"cropperjs": "2.0.1",
|
||||||
"date-fns": "4.1.0",
|
"date-fns": "4.1.0",
|
||||||
|
|
@ -48,24 +48,25 @@
|
||||||
"misskey-bubble-game": "workspace:*",
|
"misskey-bubble-game": "workspace:*",
|
||||||
"misskey-js": "workspace:*",
|
"misskey-js": "workspace:*",
|
||||||
"misskey-reversi": "workspace:*",
|
"misskey-reversi": "workspace:*",
|
||||||
|
"moment": "2.30.1",
|
||||||
"photoswipe": "5.4.4",
|
"photoswipe": "5.4.4",
|
||||||
"promise-limit": "2.7.0",
|
"promise-limit": "2.7.0",
|
||||||
"punycode.js": "2.3.1",
|
"punycode.js": "2.3.1",
|
||||||
"sanitize-html": "2.17.0",
|
"sanitize-html": "2.17.0",
|
||||||
"shiki": "3.12.2",
|
"shiki": "3.13.0",
|
||||||
"strict-event-emitter-types": "2.0.0",
|
"strict-event-emitter-types": "2.0.0",
|
||||||
"textarea-caret": "3.1.0",
|
"textarea-caret": "3.1.0",
|
||||||
"throttle-debounce": "5.0.2",
|
"throttle-debounce": "5.0.2",
|
||||||
"tinycolor2": "1.6.0",
|
"tinycolor2": "1.6.0",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2",
|
||||||
"uuid": "11.1.0",
|
"uuid": "13.0.0",
|
||||||
"v-code-diff": "1.13.1",
|
"v-code-diff": "1.13.1",
|
||||||
"vue": "3.5.21",
|
"vue": "3.5.21",
|
||||||
"vuedraggable": "next",
|
"vuedraggable": "next",
|
||||||
"wanakana": "5.3.1"
|
"wanakana": "5.3.1"
|
||||||
},
|
},
|
||||||
"optionalDependencies": {
|
"optionalDependencies": {
|
||||||
"cypress": "14.5.4"
|
"cypress": "15.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
"@misskey-dev/summaly": "npm:@transfem-org/summaly@5.2.2",
|
||||||
|
|
@ -74,7 +75,7 @@
|
||||||
"@rollup/pluginutils": "5.3.0",
|
"@rollup/pluginutils": "5.3.0",
|
||||||
"@storybook/addon-essentials": "8.6.14",
|
"@storybook/addon-essentials": "8.6.14",
|
||||||
"@storybook/addon-interactions": "8.6.14",
|
"@storybook/addon-interactions": "8.6.14",
|
||||||
"@storybook/addon-links": "9.1.5",
|
"@storybook/addon-links": "9.1.8",
|
||||||
"@storybook/addon-mdx-gfm": "8.6.14",
|
"@storybook/addon-mdx-gfm": "8.6.14",
|
||||||
"@storybook/addon-storysource": "8.6.14",
|
"@storybook/addon-storysource": "8.6.14",
|
||||||
"@storybook/blocks": "8.6.14",
|
"@storybook/blocks": "8.6.14",
|
||||||
|
|
@ -82,19 +83,19 @@
|
||||||
"@storybook/core-events": "8.6.14",
|
"@storybook/core-events": "8.6.14",
|
||||||
"@storybook/manager-api": "8.6.14",
|
"@storybook/manager-api": "8.6.14",
|
||||||
"@storybook/preview-api": "8.6.14",
|
"@storybook/preview-api": "8.6.14",
|
||||||
"@storybook/react": "9.1.5",
|
"@storybook/react": "9.1.8",
|
||||||
"@storybook/react-vite": "9.1.5",
|
"@storybook/react-vite": "9.1.8",
|
||||||
"@storybook/test": "8.6.14",
|
"@storybook/test": "8.6.14",
|
||||||
"@storybook/theming": "8.6.14",
|
"@storybook/theming": "8.6.14",
|
||||||
"@storybook/types": "8.6.14",
|
"@storybook/types": "8.6.14",
|
||||||
"@storybook/vue3": "9.1.5",
|
"@storybook/vue3": "9.1.8",
|
||||||
"@storybook/vue3-vite": "9.1.5",
|
"@storybook/vue3-vite": "9.1.8",
|
||||||
"@testing-library/vue": "8.1.0",
|
"@testing-library/vue": "8.1.0",
|
||||||
"@twemoji/parser": "15.1.1",
|
"@twemoji/parser": "16.0.0",
|
||||||
"@types/canvas-confetti": "1.9.0",
|
"@types/canvas-confetti": "1.9.0",
|
||||||
"@types/estree": "1.0.8",
|
"@types/estree": "1.0.8",
|
||||||
"@types/katex": "0.16.7",
|
"@types/katex": "0.16.7",
|
||||||
"@types/matter-js": "0.20.0",
|
"@types/matter-js": "0.20.2",
|
||||||
"@types/micromatch": "4.0.9",
|
"@types/micromatch": "4.0.9",
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@types/punycode.js": "npm:@types/punycode@2.1.4",
|
"@types/punycode.js": "npm:@types/punycode@2.1.4",
|
||||||
|
|
@ -103,46 +104,46 @@
|
||||||
"@types/throttle-debounce": "5.0.2",
|
"@types/throttle-debounce": "5.0.2",
|
||||||
"@types/tinycolor2": "1.4.6",
|
"@types/tinycolor2": "1.4.6",
|
||||||
"@types/ws": "8.18.1",
|
"@types/ws": "8.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"@vitejs/plugin-vue": "6.0.1",
|
"@vitejs/plugin-vue": "6.0.1",
|
||||||
"@vitest/coverage-v8": "3.2.4",
|
"@vitest/coverage-v8": "3.2.4",
|
||||||
"@vue/compiler-core": "3.5.21",
|
"@vue/compiler-core": "3.5.21",
|
||||||
"@vue/runtime-core": "3.5.21",
|
"@vue/runtime-core": "3.5.21",
|
||||||
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
|
||||||
"acorn": "8.15.0",
|
"acorn": "8.15.0",
|
||||||
"astring": "1.9.0",
|
"astring": "1.9.0",
|
||||||
"cross-env": "10.0.0",
|
"cross-env": "10.0.0",
|
||||||
"eslint-plugin-import": "2.32.0",
|
"eslint-plugin-import": "2.32.0",
|
||||||
"eslint-plugin-vue": "10.4.0",
|
"eslint-plugin-vue": "10.5.0",
|
||||||
"estree-walker": "3.0.3",
|
"estree-walker": "3.0.3",
|
||||||
"fast-glob": "3.3.3",
|
"fast-glob": "3.3.3",
|
||||||
"happy-dom": "18.0.1",
|
"happy-dom": "18.0.1",
|
||||||
"intersection-observer": "0.12.2",
|
"intersection-observer": "0.12.2",
|
||||||
"magic-string": "0.30.18",
|
"magic-string": "0.30.19",
|
||||||
|
"mfm-js": "npm:@transfem-org/sfm-js@0.24.8",
|
||||||
"micromatch": "4.0.8",
|
"micromatch": "4.0.8",
|
||||||
"minimatch": "10.0.3",
|
"minimatch": "10.0.3",
|
||||||
"msw": "2.11.1",
|
"msw": "2.11.3",
|
||||||
"msw-storybook-addon": "2.0.5",
|
"msw-storybook-addon": "2.0.5",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"prettier": "3.6.2",
|
"prettier": "3.6.2",
|
||||||
"react": "19.1.1",
|
"react": "19.1.1",
|
||||||
"react-dom": "19.1.1",
|
"react-dom": "19.1.1",
|
||||||
"rollup": "4.50.1",
|
"rollup": "4.52.2",
|
||||||
"sass": "1.92.1",
|
"sass": "1.93.2",
|
||||||
"seedrandom": "3.0.5",
|
"seedrandom": "3.0.5",
|
||||||
"start-server-and-test": "2.1.0",
|
"start-server-and-test": "2.1.2",
|
||||||
"storybook": "9.1.5",
|
"storybook": "9.1.8",
|
||||||
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
|
"storybook-addon-misskey-theme": "github:misskey-dev/storybook-addon-misskey-theme",
|
||||||
"three": "0.180.0",
|
"three": "0.180.0",
|
||||||
"tsc-alias": "1.8.16",
|
"tsc-alias": "1.8.16",
|
||||||
"tsconfig-paths": "4.2.0",
|
"tsconfig-paths": "4.2.0",
|
||||||
"vite": "7.1.5",
|
"vite": "7.1.7",
|
||||||
"vite-plugin-turbosnap": "1.0.3",
|
"vite-plugin-turbosnap": "1.0.3",
|
||||||
"vitest": "3.2.4",
|
"vitest": "3.2.4",
|
||||||
"vitest-fetch-mock": "0.4.5",
|
"vitest-fetch-mock": "0.4.5",
|
||||||
"vue-component-type-helpers": "3.0.7",
|
"vue-component-type-helpers": "3.0.8",
|
||||||
"vue-eslint-parser": "10.2.0",
|
"vue-eslint-parser": "10.2.0",
|
||||||
"vue-tsc": "3.0.7"
|
"vue-tsc": "3.0.8"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -54,16 +54,16 @@
|
||||||
"homepage": "https://github.com/h3poteto/megalodon#readme",
|
"homepage": "https://github.com/h3poteto/megalodon#readme",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"axios": "1.12.2",
|
"axios": "1.12.2",
|
||||||
"dayjs": "1.11.13",
|
"dayjs": "1.11.18",
|
||||||
"form-data": "4.0.4",
|
"form-data": "4.0.4",
|
||||||
"oauth": "0.10.2",
|
"oauth": "0.10.2",
|
||||||
"typescript": "5.9.2"
|
"typescript": "5.9.2"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "29.5.14",
|
"@types/jest": "30.0.0",
|
||||||
"@types/oauth": "0.9.6",
|
"@types/oauth": "0.9.6",
|
||||||
"jest": "29.7.0",
|
"jest": "30.1.3",
|
||||||
"jest-worker": "29.7.0",
|
"jest-worker": "30.1.0",
|
||||||
"ts-jest": "29.3.4"
|
"ts-jest": "29.4.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,16 +22,16 @@
|
||||||
"lint": "pnpm typecheck && pnpm eslint"
|
"lint": "pnpm typecheck && pnpm eslint"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/matter-js": "0.20.0",
|
"@types/matter-js": "0.20.2",
|
||||||
"@types/seedrandom": "3.0.8",
|
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@types/seedrandom": "3.0.8",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"nodemon": "3.1.10",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
|
"esbuild": "0.25.10",
|
||||||
"execa": "9.6.0",
|
"execa": "9.6.0",
|
||||||
"typescript": "5.9.2",
|
"glob": "11.0.3",
|
||||||
"esbuild": "0.25.9",
|
"nodemon": "3.1.10",
|
||||||
"glob": "11.0.3"
|
"typescript": "5.9.2"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"built"
|
"built"
|
||||||
|
|
|
||||||
|
|
@ -186,7 +186,7 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
}
|
}
|
||||||
|
|
||||||
private createBody(mono: Mono, x: number, y: number) {
|
private createBody(mono: Mono, x: number, y: number) {
|
||||||
const options: Matter.IBodyDefinition = {
|
const options = {
|
||||||
label: mono.id,
|
label: mono.id,
|
||||||
density: this.gameMode === 'space' ? 0.01 : ((mono.sizeX * mono.sizeY) / 10000),
|
density: this.gameMode === 'space' ? 0.01 : ((mono.sizeX * mono.sizeY) / 10000),
|
||||||
restitution: this.gameMode === 'space' ? 0.5 : 0.2,
|
restitution: this.gameMode === 'space' ? 0.5 : 0.2,
|
||||||
|
|
@ -196,7 +196,7 @@ export class DropAndFusionGame extends EventEmitter<{
|
||||||
slop: this.gameMode === 'space' ? 0.01 : 0.7,
|
slop: this.gameMode === 'space' ? 0.01 : 0.7,
|
||||||
//mass: 0,
|
//mass: 0,
|
||||||
render: this.getMonoRenderOptions ? this.getMonoRenderOptions(mono) : undefined,
|
render: this.getMonoRenderOptions ? this.getMonoRenderOptions(mono) : undefined,
|
||||||
};
|
} satisfies Matter.IBodyDefinition;
|
||||||
if (mono.shape === 'circle') {
|
if (mono.shape === 'circle') {
|
||||||
return Matter.Bodies.circle(x, y, mono.sizeX / 2, options);
|
return Matter.Bodies.circle(x, y, mono.sizeX / 2, options);
|
||||||
} else if (mono.shape === 'rectangle') {
|
} else if (mono.shape === 'rectangle') {
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,9 @@
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@readme/openapi-parser": "5.0.1",
|
"@readme/openapi-parser": "5.0.1",
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"eslint": "9.35.0",
|
"eslint": "9.36.0",
|
||||||
"openapi-types": "12.1.3",
|
"openapi-types": "12.1.3",
|
||||||
"openapi-typescript": "7.9.1",
|
"openapi-typescript": "7.9.1",
|
||||||
"ts-case-convert": "2.1.0",
|
"ts-case-convert": "2.1.0",
|
||||||
|
|
|
||||||
|
|
@ -26,23 +26,23 @@
|
||||||
"directory": "packages/misskey-js"
|
"directory": "packages/misskey-js"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@microsoft/api-extractor": "7.52.11",
|
"@microsoft/api-extractor": "7.52.13",
|
||||||
"@simplewebauthn/types": "12.0.0",
|
"@simplewebauthn/types": "12.0.0",
|
||||||
"@types/jest": "29.5.14",
|
"@types/jest": "30.0.0",
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"jest": "29.7.0",
|
"esbuild": "0.25.10",
|
||||||
|
"execa": "9.6.0",
|
||||||
|
"glob": "11.0.3",
|
||||||
|
"jest": "30.1.3",
|
||||||
"jest-fetch-mock": "3.0.3",
|
"jest-fetch-mock": "3.0.3",
|
||||||
"jest-websocket-mock": "2.5.0",
|
"jest-websocket-mock": "2.5.0",
|
||||||
"mock-socket": "9.3.1",
|
"mock-socket": "9.3.1",
|
||||||
"ncp": "2.0.0",
|
"ncp": "2.0.0",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"execa": "9.6.0",
|
|
||||||
"tsd": "0.33.0",
|
"tsd": "0.33.0",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2"
|
||||||
"esbuild": "0.25.9",
|
|
||||||
"glob": "11.0.3"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"built"
|
"built"
|
||||||
|
|
|
||||||
|
|
@ -23,13 +23,13 @@
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "22.18.1",
|
"@types/node": "22.18.1",
|
||||||
"@typescript-eslint/eslint-plugin": "8.42.0",
|
"@typescript-eslint/eslint-plugin": "8.44.1",
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
|
"esbuild": "0.25.10",
|
||||||
"execa": "9.6.0",
|
"execa": "9.6.0",
|
||||||
|
"glob": "11.0.3",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"typescript": "5.9.2",
|
"typescript": "5.9.2"
|
||||||
"esbuild": "0.25.9",
|
|
||||||
"glob": "11.0.3"
|
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
"built"
|
"built"
|
||||||
|
|
|
||||||
|
|
@ -9,13 +9,13 @@
|
||||||
"lint": "pnpm typecheck && pnpm eslint"
|
"lint": "pnpm typecheck && pnpm eslint"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"esbuild": "0.25.9",
|
"esbuild": "0.25.10",
|
||||||
"idb-keyval": "6.2.2",
|
"idb-keyval": "6.2.2",
|
||||||
"misskey-js": "workspace:*"
|
"misskey-js": "workspace:*"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@typescript-eslint/parser": "8.42.0",
|
"@typescript-eslint/parser": "8.44.1",
|
||||||
"@typescript/lib-webworker": "npm:@types/serviceworker@0.0.74",
|
"@typescript/lib-webworker": "npm:@types/serviceworker@0.0.153",
|
||||||
"eslint-plugin-import": "2.32.0",
|
"eslint-plugin-import": "2.32.0",
|
||||||
"nodemon": "3.1.10",
|
"nodemon": "3.1.10",
|
||||||
"typescript": "5.9.2"
|
"typescript": "5.9.2"
|
||||||
|
|
|
||||||
11178
pnpm-lock.yaml
generated
11178
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load diff
|
|
@ -9,6 +9,9 @@ packages:
|
||||||
- packages/misskey-js/generator
|
- packages/misskey-js/generator
|
||||||
- packages/misskey-reversi
|
- packages/misskey-reversi
|
||||||
- packages/misskey-bubble-game
|
- packages/misskey-bubble-game
|
||||||
|
|
||||||
|
ignorePatchFailures: false
|
||||||
|
|
||||||
onlyBuiltDependencies:
|
onlyBuiltDependencies:
|
||||||
- '@nestjs/core'
|
- '@nestjs/core'
|
||||||
- '@parcel/watcher'
|
- '@parcel/watcher'
|
||||||
|
|
@ -25,7 +28,7 @@ onlyBuiltDependencies:
|
||||||
- nice-napi
|
- nice-napi
|
||||||
- re2
|
- re2
|
||||||
- sharp
|
- sharp
|
||||||
|
- unrs-resolver
|
||||||
- utf-8-validate
|
- utf-8-validate
|
||||||
- v-code-diff
|
- v-code-diff
|
||||||
- vue-demi
|
- vue-demi
|
||||||
ignorePatchFailures: false
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue