Compare commits

..

9 Commits

4 changed files with 12 additions and 4 deletions
+6
View File
@@ -1,3 +1,9 @@
# 2026.6.0
- Fix: 地震情報で津波の心配についての情報が記載されない問題
# 2026.5.9
- Fix: pnpmが動作しない問題
# 2026.5.8 # 2026.5.8
- Fix: 地震情報の情報源と各震度の間に改行がない問題 - Fix: 地震情報の情報源と各震度の間に改行がない問題
- Fix: 最大震度が不明な場合にも行が追加される問題 - Fix: 最大震度が不明な場合にも行が追加される問題
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "notice-uwuzu", "name": "notice-uwuzu",
"version": "2026.5.8", "version": "2026.6.0",
"type": "module", "type": "module",
"main": "dist/index.js", "main": "dist/index.js",
"scripts": { "scripts": {
+3 -1
View File
@@ -1,3 +1,5 @@
allowBuilds: allowBuilds:
canvas: true canvas: true
sharp: true sharp: true
better-uwuzu-sdk: true
miq: true
+2 -2
View File
@@ -182,10 +182,10 @@ const processMessage = async (message: any) => {
: [`🪨深さ: ${message.earthquake.hypocenter.depth === 0 : [`🪨深さ: ${message.earthquake.hypocenter.depth === 0
? "ごく浅い" ? "ごく浅い"
: `${message.earthquake.hypocenter.depth}km`}`])); : `${message.earthquake.hypocenter.depth}km`}`]));
earthquakeNoticeText.push(...(message.earthquake.domesticTsunami ?? "Unknown" === "Unknown" earthquakeNoticeText.push(...((message.earthquake.domesticTsunami ?? "Unknown") === "Unknown"
? [] ? []
: [domesticTsunamiMessages[(message.earthquake.domesticTsunami)]])); : [domesticTsunamiMessages[(message.earthquake.domesticTsunami)]]));
earthquakeNoticeText.push(...(message.earthquake.foreignTsunami ?? "Unknown" === "Unknown" earthquakeNoticeText.push(...((message.earthquake.foreignTsunami ?? "Unknown") === "Unknown"
? [] ? []
: [foreignTsunamiMessages[(message.earthquake.foreignTsunami)]])); : [foreignTsunamiMessages[(message.earthquake.foreignTsunami)]]));
earthquakeNoticeText.push(...(pointsMsg === "" earthquakeNoticeText.push(...(pointsMsg === ""