danoniplus 31.4.0 → 31.4.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 : 2023/04/08
7
+ * Revised : 2023/04/15
8
8
  *
9
9
  * https://github.com/cwtickle/danoniplus
10
10
  */
11
- const g_version = `Ver 31.4.0`;
12
- const g_revisedDate = `2023/04/08`;
11
+ const g_version = `Ver 31.4.1`;
12
+ const g_revisedDate = `2023/04/15`;
13
13
  const g_alphaVersion = ``;
14
14
 
15
15
  // カスタム用バージョン (danoni_custom.js 等で指定可)
@@ -3530,7 +3530,7 @@ const keysConvert = (_dosObj, { keyExtraList = _dosObj.keyExtraList?.split(`,`)
3530
3530
 
3531
3531
  const existParam = (_data, _paramName) => !hasVal(_data) && g_keyObj[_paramName] !== undefined;
3532
3532
  const toString = _str => _str;
3533
- const toFloat = _num => parseFloat(_num);
3533
+ const toFloat = _num => isNaN(parseFloat(_num)) ? _num : parseFloat(_num);
3534
3534
  const toKeyCtrlArray = _str =>
3535
3535
  makeBaseArray(_str.split(`/`).map(n => getKeyCtrlVal(n)), g_keyObj.minKeyCtrlNum, 0);
3536
3536
  const toSplitArrayStr = _str => _str.split(`/`).map(n => n);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "danoniplus",
3
- "version": "31.4.0",
3
+ "version": "31.4.1",
4
4
  "description": "Dancing☆Onigiri (CW Edition) - Web-based Rhythm Game",
5
5
  "main": "index.js",
6
6
  "scripts": {