Compare commits
4 Commits
2026.5.3
...
734b573a3b
| Author | SHA1 | Date | |
|---|---|---|---|
| 734b573a3b | |||
| d974115606 | |||
| c1edf6c13b | |||
| 95ed876a47 |
@@ -1,3 +1,6 @@
|
|||||||
|
# 2026.5.4
|
||||||
|
- Chg: メモリをキャッシュしないように
|
||||||
|
|
||||||
# 2026.5.3
|
# 2026.5.3
|
||||||
- Chg: 震度分布画像のメッセージを変更
|
- Chg: 震度分布画像のメッセージを変更
|
||||||
- Fix: distに震度分布画像のアセットと地域マップがコピーされるように
|
- Fix: distに震度分布画像のアセットと地域マップがコピーされるように
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "notice-uwuzu",
|
"name": "notice-uwuzu",
|
||||||
"version": "2026.5.3",
|
"version": "2026.5.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
+2
-5
@@ -17,17 +17,14 @@ class MemoryClass {
|
|||||||
max_length: 0,
|
max_length: 0,
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
this.cachedMemory = JSON.parse(readFileSync(path, "utf-8"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
get memory() {
|
get memory() {
|
||||||
return this.cachedMemory;
|
return JSON.parse(readFileSync(path, "utf-8"));
|
||||||
}
|
}
|
||||||
|
|
||||||
set memory(data: any) {
|
set memory(data: any) {
|
||||||
this.cachedMemory = data;
|
writeFileSync(path, JSON.stringify(data), "utf-8");
|
||||||
writeFileSync(path, JSON.stringify(this.cachedMemory), "utf-8");
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user