enhance(client): update AiScript to 0.13.0

This commit is contained in:
syuilo 2023-03-15 18:26:59 +09:00
parent f9cdcc9bc6
commit 6da6c4dd45
5 changed files with 16 additions and 15 deletions

View file

@ -30,6 +30,7 @@ You should also include the user name that made the change.
- 配送先サーバーが410 Goneで応答してきた場合は自動で配送停止をするように
- avatarBlurHash/bannerBlurHashの型をstringに限定
- ナビゲーションバーの項目に「プロフィール」を追加できるように
- AiScriptを0.13.0に更新
### Bugfixes
- プロフィールで設定した情報が削除できない問題を修正

View file

@ -15,7 +15,7 @@
"@rollup/plugin-alias": "4.0.3",
"@rollup/plugin-json": "6.0.0",
"@rollup/pluginutils": "5.0.2",
"@syuilo/aiscript": "0.12.4",
"@syuilo/aiscript": "0.13.0",
"@tabler/icons-webfont": "2.2.0",
"@vitejs/plugin-vue": "4.0.0",
"@vue/compiler-sfc": "3.2.47",

View file

@ -33,7 +33,7 @@ import MkTextarea from '@/components/MkTextarea.vue';
import MkInput from '@/components/MkInput.vue';
import { useRouter } from '@/router';
const PRESET_DEFAULT = `/// @ 0.12.4
const PRESET_DEFAULT = `/// @ 0.13.0
var name = ""
@ -51,7 +51,7 @@ Ui:render([
])
`;
const PRESET_OMIKUJI = `/// @ 0.12.4
const PRESET_OMIKUJI = `/// @ 0.13.0
//
//
@ -94,7 +94,7 @@ Ui:render([
])
`;
const PRESET_SHUFFLE = `/// @ 0.12.4
const PRESET_SHUFFLE = `/// @ 0.13.0
//
let string = "ペペロンチーノ"
@ -173,7 +173,7 @@ var cursor = 0
do()
`;
const PRESET_QUIZ = `/// @ 0.12.4
const PRESET_QUIZ = `/// @ 0.13.0
let title = '地理クイズ'
let qas = [{
@ -286,7 +286,7 @@ qaEls.push(Ui:C:container({
Ui:render(qaEls)
`;
const PRESET_TIMELINE = `/// @ 0.12.4
const PRESET_TIMELINE = `/// @ 0.13.0
// API
@fetch() {

View file

@ -49,7 +49,7 @@ async function install() {
text: 'No language version annotation found :(',
});
return;
} else if (!lv.startsWith('0.12.')) {
} else if (!(lv.startsWith('0.12.') || lv.startsWith('0.13.'))) {
os.alert({
type: 'error',
text: `aiscript version '${lv}' is not supported :(`,

View file

@ -309,7 +309,7 @@ importers:
sharp-read-bmp: github.com/misskey-dev/sharp-read-bmp/02d9dc189fa7df0c4bea09330be26741772dac01
strict-event-emitter-types: 2.0.0
stringz: 2.1.0
summaly: github.com/misskey-dev/summaly/51f3870e1ff5e0b22102e804112b10cb72f3c494
summaly: github.com/misskey-dev/summaly/028b2fed2fd4f5ea7b6a8d55024825c815434f7d
systeminformation: 5.17.12
tinycolor2: 1.6.0
tmp: 0.2.1
@ -398,7 +398,7 @@ importers:
'@rollup/plugin-alias': 4.0.3
'@rollup/plugin-json': 6.0.0
'@rollup/pluginutils': 5.0.2
'@syuilo/aiscript': 0.12.4
'@syuilo/aiscript': 0.13.0
'@tabler/icons-webfont': 2.2.0
'@testing-library/vue': ^6.6.1
'@types/escape-regexp': 0.0.1
@ -486,7 +486,7 @@ importers:
'@rollup/plugin-alias': 4.0.3_rollup@3.19.0
'@rollup/plugin-json': 6.0.0_rollup@3.19.0
'@rollup/pluginutils': 5.0.2_rollup@3.19.0
'@syuilo/aiscript': 0.12.4
'@syuilo/aiscript': 0.13.0
'@tabler/icons-webfont': 2.2.0
'@vitejs/plugin-vue': 4.0.0_vite@4.1.4+vue@3.2.47
'@vue/compiler-sfc': 3.2.47
@ -2295,8 +2295,8 @@ packages:
dev: false
optional: true
/@syuilo/aiscript/0.12.4:
resolution: {integrity: sha512-fIWEAHsnw9vMWTcjmSM2rCsadhb+BLirLDLW6lnRw3PFC8LV76Np8Ih8ssfAb00udh6oiGBSj+WiBdkMagbjmQ==}
/@syuilo/aiscript/0.13.0:
resolution: {integrity: sha512-zikuEpQEp1lyNoLxsqNnR2UqyRVV1ZdTOTIyKkEU/4gX90M4t1LIvevbzfyiwoUqLkOMqhdU/poARPL3pCwygg==}
dependencies:
autobind-decorator: 2.4.0
seedrandom: 3.0.5
@ -14146,10 +14146,10 @@ packages:
sharp: 0.31.3
dev: false
github.com/misskey-dev/summaly/51f3870e1ff5e0b22102e804112b10cb72f3c494:
resolution: {tarball: https://codeload.github.com/misskey-dev/summaly/tar.gz/51f3870e1ff5e0b22102e804112b10cb72f3c494}
github.com/misskey-dev/summaly/028b2fed2fd4f5ea7b6a8d55024825c815434f7d:
resolution: {tarball: https://codeload.github.com/misskey-dev/summaly/tar.gz/028b2fed2fd4f5ea7b6a8d55024825c815434f7d}
name: summaly
version: 3.0.4
version: 4.0.0
dependencies:
cheerio: 1.0.0-rc.12
escape-regexp: 0.0.1