diff --git a/packages/backend/package.json b/packages/backend/package.json index 18a05d6f3e..159ce54e0f 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -136,7 +136,7 @@ "promise-limit": "2.7.0", "pug": "3.0.2", "punycode": "2.3.0", - "pureimage": "0.4.8", + "pureimage": "0.3.17", "qrcode": "1.5.3", "random-seed": "0.3.0", "ratelimiter": "3.4.1", diff --git a/packages/frontend/src/account.ts b/packages/frontend/src/account.ts index 634084c750..43bda37b6c 100644 --- a/packages/frontend/src/account.ts +++ b/packages/frontend/src/account.ts @@ -4,7 +4,7 @@ */ import { defineAsyncComponent, reactive, ref } from 'vue'; -import * as misskey from 'misskey-js'; +import * as Misskey from 'misskey-js'; import { showSuspendedDialog } from './scripts/show-suspended-dialog'; import { i18n } from './i18n'; import { miLocalStorage } from './local-storage'; @@ -16,7 +16,7 @@ import { unisonReload, reloadChannel } from '@/scripts/unison-reload'; // TODO: 他のタブと永続化されたstateを同期 -type Account = misskey.entities.MeDetailed; +type Account = Misskey.entities.MeDetailed; const accountData = miLocalStorage.getItem('account'); @@ -211,8 +211,8 @@ export async function login(token: Account['token'], redirect?: string) { export async function openAccountMenu(opts: { includeCurrentAccount?: boolean; withExtraOperation: boolean; - active?: misskey.entities.UserDetailed['id']; - onChoose?: (account: misskey.entities.UserDetailed) => void; + active?: Misskey.entities.UserDetailed['id']; + onChoose?: (account: Misskey.entities.UserDetailed) => void; }, ev: MouseEvent) { if (!$i) return; @@ -234,7 +234,7 @@ export async function openAccountMenu(opts: { }, 'closed'); } - async function switchAccount(account: misskey.entities.UserDetailed) { + async function switchAccount(account: Misskey.entities.UserDetailed) { const storedAccounts = await getAccounts(); const found = storedAccounts.find(x => x.id === account.id); if (found == null) return; @@ -248,7 +248,7 @@ export async function openAccountMenu(opts: { const storedAccounts = await getAccounts().then(accounts => accounts.filter(x => x.id !== $i.id)); const accountsPromise = api('users/show', { userIds: storedAccounts.map(x => x.id) }); - function createItem(account: misskey.entities.UserDetailed) { + function createItem(account: Misskey.entities.UserDetailed) { return { type: 'user' as const, user: account, diff --git a/packages/frontend/src/cache.ts b/packages/frontend/src/cache.ts index 7e5eaf09ad..3523d4406b 100644 --- a/packages/frontend/src/cache.ts +++ b/packages/frontend/src/cache.ts @@ -3,10 +3,10 @@ * SPDX-License-Identifier: AGPL-3.0-only */ -import * as misskey from 'misskey-js'; +import * as Misskey from 'misskey-js'; import { Cache } from '@/scripts/cache'; -export const clipsCache = new Cache(Infinity); +export const clipsCache = new Cache(Infinity); export const rolesCache = new Cache(Infinity); -export const userListsCache = new Cache(Infinity); -export const antennasCache = new Cache(Infinity); +export const userListsCache = new Cache(Infinity); +export const antennasCache = new Cache(Infinity); diff --git a/packages/frontend/src/components/MkAccountMoved.vue b/packages/frontend/src/components/MkAccountMoved.vue index 7d39063580..e68efb1a3b 100644 --- a/packages/frontend/src/components/MkAccountMoved.vue +++ b/packages/frontend/src/components/MkAccountMoved.vue @@ -13,13 +13,13 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkCropperDialog.vue b/packages/frontend/src/components/MkCropperDialog.vue index 7511dbf243..eef2d10bf2 100644 --- a/packages/frontend/src/components/MkCropperDialog.vue +++ b/packages/frontend/src/components/MkCropperDialog.vue @@ -32,7 +32,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkGalleryPostPreview.vue b/packages/frontend/src/components/MkGalleryPostPreview.vue index ffbb201b52..5ac64aae31 100644 --- a/packages/frontend/src/components/MkGalleryPostPreview.vue +++ b/packages/frontend/src/components/MkGalleryPostPreview.vue @@ -32,13 +32,13 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkNoteSimple.vue b/packages/frontend/src/components/MkNoteSimple.vue index e3c9e2bd5f..a27f6bbf64 100644 --- a/packages/frontend/src/components/MkNoteSimple.vue +++ b/packages/frontend/src/components/MkNoteSimple.vue @@ -23,14 +23,14 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkPagination.vue b/packages/frontend/src/components/MkPagination.vue index 7618832171..e34b73065e 100644 --- a/packages/frontend/src/components/MkPagination.vue +++ b/packages/frontend/src/components/MkPagination.vue @@ -44,7 +44,7 @@ SPDX-License-Identifier: AGPL-3.0-only diff --git a/packages/frontend/src/components/MkUserOnlineIndicator.vue b/packages/frontend/src/components/MkUserOnlineIndicator.vue index 4d6df36106..217887e63c 100644 --- a/packages/frontend/src/components/MkUserOnlineIndicator.vue +++ b/packages/frontend/src/components/MkUserOnlineIndicator.vue @@ -17,11 +17,11 @@ SPDX-License-Identifier: AGPL-3.0-only