From ffd57e199451da8b0a889d979996961987530c5c Mon Sep 17 00:00:00 2001 From: lowrt Date: Sat, 28 Oct 2023 12:38:23 +0800 Subject: [PATCH 1/2] fix --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index aca7f1cb..2661b2db 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ TREM 是一款開源地震速報軟體,提供給您即時的地震資訊,利 * [TREM TAS](https://hackmd.io/@n5w-HNYMQUmvhV6t1kor5g/r1egEt_s5) ## 強震即時警報來源 -* [交通部中央氣象局](https://www.cwb.gov.tw/) +* [交通部中央氣象署](https://www.cwa.gov.tw/) * [P波警報器強震網](https://palert.earth.sinica.edu.tw/) * [中国福建省地震局](http://www.fjdzj.gov.cn) * [日本気象庁](https://www.jma.go.jp/) @@ -62,7 +62,7 @@ TREM 是一款開源地震速報軟體,提供給您即時的地震資訊,利 ## 注意事項 1. 使用過程中,請務必謹慎閱讀提示和注意事項 2. 使用過程中可能遇到無法理解的錯誤,但大部份不影響系統運作,如遇到錯誤請向開發人員回報 -3. 即時測站資訊僅供參考,實際請以中央氣象局為主 +3. 即時測站資訊僅供參考,實際請以中央氣象署為主 4. 此軟體僅供研究、學術及教育用途(不得營利),若使用則需接受相關風險 5. 任何不被官方所認可的行為均有可能被列入伺服器黑名單中,請務必遵守相關規範 6. 此程式為免費開源程式,不保證能永久營運 From 22dfb64bbc33d5f751d2fa4b9e8b2dcc563294a2 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Sat, 28 Oct 2023 09:26:57 +0000 Subject: [PATCH 2/2] fix: TREM.Electron/package.json & TREM.Electron/package-lock.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-AXIOS-6032459 --- TREM.Electron/package-lock.json | 8 ++++---- TREM.Electron/package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/TREM.Electron/package-lock.json b/TREM.Electron/package-lock.json index 358b7be1..dcbdab49 100644 --- a/TREM.Electron/package-lock.json +++ b/TREM.Electron/package-lock.json @@ -12,7 +12,7 @@ "@electron/remote": "^2.0.12", "@material/material-color-utilities": "^0.2.0", "@turf/circle": "^6.5.0", - "axios": "^1.0.0", + "axios": "^1.6.0", "bytenode": "^1.5.2", "chokidar": "^3.5.3", "discord.js": "14.13.0", @@ -1154,9 +1154,9 @@ "integrity": "sha512-NmWvPnx0F1SfrQbYwOi7OeaNGokp9XhzNioJ/CSBs8Qa4vxug81mhJEAVZwxXuBmYB5KDRfMq/F3RR0BIU7sWg==" }, "node_modules/axios": { - "version": "1.3.4", - "resolved": "https://registry.npmjs.org/axios/-/axios-1.3.4.tgz", - "integrity": "sha512-toYm+Bsyl6VC5wSkfkbbNB6ROv7KY93PEBBL6xyDczaIHasAiv4wPqQ/c4RjoQzipxRD2W5g21cOqQulZ7rHwQ==", + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.0.tgz", + "integrity": "sha512-EZ1DYihju9pwVB+jg67ogm+Tmqc6JmhamRN6I4Zt8DfZu5lbcQGw3ozH9lFejSJgs/ibaef3A9PMXPLeefFGJg==", "dependencies": { "follow-redirects": "^1.15.0", "form-data": "^4.0.0", diff --git a/TREM.Electron/package.json b/TREM.Electron/package.json index 81f3ddf3..cc58d5b6 100644 --- a/TREM.Electron/package.json +++ b/TREM.Electron/package.json @@ -77,7 +77,7 @@ "@electron/remote": "^2.0.12", "@material/material-color-utilities": "^0.2.0", "@turf/circle": "^6.5.0", - "axios": "^1.0.0", + "axios": "^1.6.0", "bytenode": "^1.5.2", "chokidar": "^3.5.3", "discord.js": "14.13.0",