danoniplus 37.7.0 → 37.7.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/js/danoni_main.js CHANGED
@@ -4,12 +4,12 @@
4
4
  *
5
5
  * Source by tickle
6
6
  * Created : 2018/10/08
7
- * Revised : 2024/10/06
7
+ * Revised : 2024/10/28
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 37.7.0`;
12
- const g_revisedDate = `2024/10/06`;
11
+ const g_version = `Ver 37.7.1`;
12
+ const g_revisedDate = `2024/10/28`;
13
13
 
14
14
  // カスタム用バージョン (danoni_custom.js 等で指定可)
15
15
  let g_localVersion = ``;
@@ -514,8 +514,8 @@ const fuzzyListMatching = (_str, _headerList, _footerList) =>
514
514
  * @returns {string} 置換後文字列
515
515
  */
516
516
  const replaceStr = (_str, _pairs) => {
517
- let tmpStr = _str || ``;
518
- _pairs.forEach(pair => tmpStr = tmpStr.split(pair[0]).join(pair[1]));
517
+ let tmpStr = _str;
518
+ _pairs.forEach(pair => tmpStr = tmpStr?.split(pair[0]).join(pair[1]));
519
519
  return tmpStr;
520
520
  };
521
521
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "37.7.0",
3
+ "version": "37.7.1",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {