From 1cae688ccbb3fc298d9c95db4c0670de206899d9 Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 5 Jan 2023 16:57:49 +0900 Subject: [PATCH] update aiscript --- CHANGELOG.md | 6 ++-- packages/frontend/package.json | 2 +- .../frontend/src/pages/flash/flash-edit.vue | 2 +- .../src/pages/settings/plugin.install.vue | 2 +- yarn.lock | 30 +++++++++---------- 5 files changed, 21 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5da590cab..8adf88bae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,9 +23,9 @@ You should also include the user name that made the change. - ノートのウォッチ機能が削除されました - 新たに動的なPagesを作ることはできなくなりました - 代わりにAiScriptを用いてより柔軟に動的なコンテンツを作成できるMisskey Play機能が実装されています。 -- AiScriptが0.12.0にアップデートされました - - 0.12.0の変更点についてはこちら https://github.com/syuilo/aiscript/blob/master/CHANGELOG.md#0120 - - 0.12.0未満のプラグインは読み込むことはできません +- AiScriptが0.12.1にアップデートされました + - 0.12.xの変更点についてはこちら https://github.com/syuilo/aiscript/blob/master/CHANGELOG.md#0120 + - 0.12.1未満のプラグインは読み込むことはできません - iOS15以下のデバイスはサポートされなくなりました #### For developers diff --git a/packages/frontend/package.json b/packages/frontend/package.json index 2506e8e9d..d151a7b3a 100644 --- a/packages/frontend/package.json +++ b/packages/frontend/package.json @@ -11,7 +11,7 @@ "@rollup/plugin-alias": "4.0.2", "@rollup/plugin-json": "6.0.0", "@rollup/pluginutils": "5.0.2", - "@syuilo/aiscript": "0.12.0", + "@syuilo/aiscript": "0.12.1", "@tabler/icons": "^1.118.0", "@vitejs/plugin-vue": "4.0.0", "@vue/compiler-sfc": "3.2.45", diff --git a/packages/frontend/src/pages/flash/flash-edit.vue b/packages/frontend/src/pages/flash/flash-edit.vue index 561331e00..b2eba292f 100644 --- a/packages/frontend/src/pages/flash/flash-edit.vue +++ b/packages/frontend/src/pages/flash/flash-edit.vue @@ -47,7 +47,7 @@ if (props.id) { let title = $ref(flash?.title ?? 'New Play'); let summary = $ref(flash?.summary ?? ''); let permissions = $ref(flash?.permissions ?? []); -let script = $ref(flash?.script ?? `/// @ 0.12.0 +let script = $ref(flash?.script ?? `/// @ 0.12.1 var name = "" diff --git a/packages/frontend/src/pages/settings/plugin.install.vue b/packages/frontend/src/pages/settings/plugin.install.vue index 40ad9a95d..3d77cadaa 100644 --- a/packages/frontend/src/pages/settings/plugin.install.vue +++ b/packages/frontend/src/pages/settings/plugin.install.vue @@ -49,7 +49,7 @@ async function install() { text: 'No language version annotation found :(', }); return; - } else if (lv !== '0.12.0') { + } else if (!lv.startsWith('0.12.')) { os.alert({ type: 'error', text: `aiscript version '${lv}' is not supported :(`, diff --git a/yarn.lock b/yarn.lock index 7ce29e154..208f0724d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1973,15 +1973,15 @@ __metadata: languageName: node linkType: hard -"@syuilo/aiscript@npm:0.12.0": - version: 0.12.0 - resolution: "@syuilo/aiscript@npm:0.12.0" +"@syuilo/aiscript@npm:0.12.1": + version: 0.12.1 + resolution: "@syuilo/aiscript@npm:0.12.1" dependencies: autobind-decorator: 2.4.0 seedrandom: 3.0.5 stringz: 2.1.0 - uuid: 8.3.2 - checksum: 82b52a6c602a8c3090b9457a0e9de99898b03cd8f054855b2f57439534257ef2780013a53eaeeef68c9893d96d3ec02fc6d0ede56396c2bcf054cf43b2297b67 + uuid: 9.0.0 + checksum: 0bee3031cbc8358e159fc8fde6e1ab7204e1a8e17e07f394f337d70cd3a8558e591145ca03afe37c76bbb91f84b2b2af70b892935e9c98507f9d1455c7be1107 languageName: node linkType: hard @@ -8026,7 +8026,7 @@ __metadata: "@rollup/plugin-alias": 4.0.2 "@rollup/plugin-json": 6.0.0 "@rollup/pluginutils": 5.0.2 - "@syuilo/aiscript": 0.12.0 + "@syuilo/aiscript": 0.12.1 "@tabler/icons": ^1.118.0 "@types/escape-regexp": 0.0.1 "@types/glob": 8.0.0 @@ -16912,15 +16912,6 @@ __metadata: languageName: node linkType: hard -"uuid@npm:8.3.2, uuid@npm:^8.3.0, uuid@npm:^8.3.2": - version: 8.3.2 - resolution: "uuid@npm:8.3.2" - bin: - uuid: dist/bin/uuid - checksum: 5575a8a75c13120e2f10e6ddc801b2c7ed7d8f3c8ac22c7ed0c7b2ba6383ec0abda88c905085d630e251719e0777045ae3236f04c812184b7c765f63a70e58df - languageName: node - linkType: hard - "uuid@npm:9.0.0": version: 9.0.0 resolution: "uuid@npm:9.0.0" @@ -16939,6 +16930,15 @@ __metadata: languageName: node linkType: hard +"uuid@npm:^8.3.0, uuid@npm:^8.3.2": + version: 8.3.2 + resolution: "uuid@npm:8.3.2" + bin: + uuid: dist/bin/uuid + checksum: 5575a8a75c13120e2f10e6ddc801b2c7ed7d8f3c8ac22c7ed0c7b2ba6383ec0abda88c905085d630e251719e0777045ae3236f04c812184b7c765f63a70e58df + languageName: node + linkType: hard + "v8-to-istanbul@npm:^9.0.1": version: 9.0.1 resolution: "v8-to-istanbul@npm:9.0.1"