From f03446fd48d3032b1458b219904d50b82d9c7966 Mon Sep 17 00:00:00 2001 From: Last2014 Date: Mon, 8 Jun 2026 00:04:29 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Fix:=20=E5=9C=B0=E9=9C=87=E6=83=85=E5=A0=B1?= =?UTF-8?q?=E3=81=A7=E6=B4=A5=E6=B3=A2=E3=81=AE=E5=BF=83=E9=85=8D=E3=81=AB?= =?UTF-8?q?=E3=81=A4=E3=81=84=E3=81=A6=E3=81=AE=E6=83=85=E5=A0=B1=E3=81=8C?= =?UTF-8?q?=E8=A8=98=E8=BC=89=E3=81=95=E3=82=8C=E3=81=AA=E3=81=84=E5=95=8F?= =?UTF-8?q?=E9=A1=8C=20/=202026.6.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 3 +++ src/feature/earthquake/index.ts | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index b460ead..76648a3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2026.6.0 +- Fix: 地震情報で津波の心配についての情報が記載されない問題 + # 2026.5.9 - Fix: pnpmが動作しない問題 diff --git a/src/feature/earthquake/index.ts b/src/feature/earthquake/index.ts index 05e0501..77807df 100644 --- a/src/feature/earthquake/index.ts +++ b/src/feature/earthquake/index.ts @@ -182,10 +182,10 @@ const processMessage = async (message: any) => { : [`🪨深さ: ${message.earthquake.hypocenter.depth === 0 ? "ごく浅い" : `${message.earthquake.hypocenter.depth}km`}`])); - earthquakeNoticeText.push(...(message.earthquake.domesticTsunami ?? "Unknown" === "Unknown" + earthquakeNoticeText.push(...((message.earthquake.domesticTsunami ?? "Unknown") === "Unknown" ? [] : [domesticTsunamiMessages[(message.earthquake.domesticTsunami)]])); - earthquakeNoticeText.push(...(message.earthquake.foreignTsunami ?? "Unknown" === "Unknown" + earthquakeNoticeText.push(...((message.earthquake.foreignTsunami ?? "Unknown") === "Unknown" ? [] : [foreignTsunamiMessages[(message.earthquake.foreignTsunami)]])); earthquakeNoticeText.push(...(pointsMsg === "" From bfec619940443e409eed52ab5ec73a02d5ff8bed Mon Sep 17 00:00:00 2001 From: Last2014 Date: Mon, 8 Jun 2026 00:04:55 +0900 Subject: [PATCH 2/2] =?UTF-8?q?package.json=E3=81=AE=E6=9B=B4=E6=96=B0?= =?UTF-8?q?=E5=BF=98=E3=82=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index e44c5d5..709009f 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notice-uwuzu", - "version": "2026.5.9", + "version": "2026.6.0", "type": "module", "main": "dist/index.js", "scripts": {