diff options
| author | misskey-release-bot[bot] <157398866+misskey-release-bot[bot]@users.noreply.github.com> | 2025-06-16 02:33:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-16 02:33:18 +0000 |
| commit | 830e2f0a5b5bada00bfbe036ef6e7ee8d84b83fd (patch) | |
| tree | b9ac1c4efb202a62fe34608fb3f42fd73297774b /packages/frontend/src/plugin.ts | |
| parent | Merge pull request #16134 from misskey-dev/develop (diff) | |
| parent | Release: 2025.6.1 (diff) | |
| download | misskey-830e2f0a5b5bada00bfbe036ef6e7ee8d84b83fd.tar.gz misskey-830e2f0a5b5bada00bfbe036ef6e7ee8d84b83fd.tar.bz2 misskey-830e2f0a5b5bada00bfbe036ef6e7ee8d84b83fd.zip | |
Merge pull request #16152 from misskey-dev/develop
Release: 2025.6.1
Diffstat (limited to 'packages/frontend/src/plugin.ts')
| -rw-r--r-- | packages/frontend/src/plugin.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/plugin.ts b/packages/frontend/src/plugin.ts index f557d1047a..68bc191924 100644 --- a/packages/frontend/src/plugin.ts +++ b/packages/frontend/src/plugin.ts @@ -6,7 +6,7 @@ import { ref, defineAsyncComponent } from 'vue'; import { Interpreter, Parser, utils, values } from '@syuilo/aiscript'; import { compareVersions } from 'compare-versions'; -import { v4 as uuid } from 'uuid'; +import { genId } from '@/utility/id.js'; import * as Misskey from 'misskey-js'; import { aiScriptReadline, createAiScriptEnv } from '@/aiscript/api.js'; import { store } from '@/store.js'; @@ -135,7 +135,7 @@ export async function installPlugin(code: string, meta?: AiScriptPluginMeta) { throw new Error('Plugin already installed'); } - const installId = uuid(); + const installId = genId(); const plugin = { ...realMeta, |