mirror of
https://git.boykissers.com/pawkey/pawkey-sk.git
synced 2025-12-20 12:14:18 +00:00
fix: Allow FreeBSD to start Backend without any issues
This commit is contained in:
2
locales/index.d.ts
vendored
2
locales/index.d.ts
vendored
@@ -11631,7 +11631,7 @@ export interface Locale extends ILocale {
|
||||
*/
|
||||
"robotsTxt": string;
|
||||
/**
|
||||
* Adding entries here will override the default robots.txt packaged with Sharkey. Maximum 2048 characters.
|
||||
* Adding entries here will override the default robots.txt packaged with Sharkey.
|
||||
*/
|
||||
"robotsTxtDescription": string;
|
||||
}
|
||||
|
||||
@@ -81,7 +81,6 @@
|
||||
"@fastify/view": "10.0.1",
|
||||
"@misskey-dev/sharp-read-bmp": "1.2.0",
|
||||
"@misskey-dev/summaly": "5.1.0",
|
||||
"@napi-rs/canvas": "0.1.56",
|
||||
"@nestjs/common": "10.4.7",
|
||||
"@nestjs/core": "10.4.7",
|
||||
"@nestjs/testing": "10.4.7",
|
||||
@@ -106,6 +105,7 @@
|
||||
"body-parser": "1.20.3",
|
||||
"bullmq": "5.26.1",
|
||||
"cacheable-lookup": "7.0.0",
|
||||
"canvas": "^3.1.0",
|
||||
"cbor": "9.0.2",
|
||||
"chalk": "5.3.0",
|
||||
"chalk-template": "1.1.0",
|
||||
|
||||
@@ -58,7 +58,7 @@ export class UserListService implements OnApplicationShutdown, OnModuleInit {
|
||||
}
|
||||
|
||||
async onModuleInit() {
|
||||
this.roleService = this.moduleRef.get(RoleService.name);
|
||||
this.roleService = this.moduleRef.get(RoleService);
|
||||
}
|
||||
|
||||
@bindThis
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* https://en.wikipedia.org/wiki/Identicon
|
||||
*/
|
||||
|
||||
import { createCanvas } from '@napi-rs/canvas';
|
||||
import { createCanvas } from 'canvas';
|
||||
import gen from 'random-seed';
|
||||
|
||||
const size = 128; // px
|
||||
@@ -100,5 +100,5 @@ export async function genIdenticon(seed: string): Promise<Buffer> {
|
||||
}
|
||||
}
|
||||
|
||||
return await canvas.encode('png');
|
||||
return await canvas.toBuffer('image/png');
|
||||
}
|
||||
|
||||
@@ -34,6 +34,7 @@
|
||||
],
|
||||
"dependencies": {
|
||||
"misskey-js": "workspace:*",
|
||||
"nodemon": "3.1.7",
|
||||
"vue": "3.5.12"
|
||||
}
|
||||
}
|
||||
|
||||
441
pnpm-lock.yaml
generated
441
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user