sqlmath 2024.9.30 → 2024.10.23
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/CHANGELOG.md +5 -0
- package/README.md +8 -8
- package/jslint.mjs +1 -1
- package/package.json +1 -1
- package/sqlmath.mjs +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,11 @@
|
|
|
3
3
|
# Todo
|
|
4
4
|
- none
|
|
5
5
|
|
|
6
|
+
# v2024.10.23
|
|
7
|
+
- sqlite - Upgrade to sqlite-v3.46.1.
|
|
8
|
+
- ci - Update shell-function shHttpFileServer() to auto-serve /index.html, when url-path is root /.
|
|
9
|
+
- sqlmath - Expand sql-function IDATEFROMTEXT() to allow shorthand IDATEFROMTEXT(...) for IDATEFROMTEXT(DATE(...)).
|
|
10
|
+
|
|
6
11
|
# v2024.9.30
|
|
7
12
|
- lgbm - Replace Microsoft-release-version with PyPi-version of lgbm-binary, because it includes gpu-extension.
|
|
8
13
|
- sqlmath - Add sql-function WIN_AVG1(), WIN_AVG2().
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# Status
|
|
5
|
-
| Branch | [master<br>(v2024.
|
|
5
|
+
| Branch | [master<br>(v2024.10.23)](https://github.com/sqlmath/sqlmath/tree/master) | [beta<br>(Web Demo)](https://github.com/sqlmath/sqlmath/tree/beta) | [alpha<br>(Development)](https://github.com/sqlmath/sqlmath/tree/alpha) |
|
|
6
6
|
|--:|:--:|:--:|:--:|
|
|
7
7
|
| CI | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Amaster) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Abeta) | [](https://github.com/sqlmath/sqlmath/actions?query=branch%3Aalpha) |
|
|
8
8
|
| Coverage | [](https://sqlmath.github.io/sqlmath/branch-master/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-beta/.artifact/coverage/index.html) | [](https://sqlmath.github.io/sqlmath/branch-alpha/.artifact/coverage/index.html) |
|
|
@@ -121,11 +121,11 @@ PORT=8080 sh jslint_ci.sh shHttpFileServer
|
|
|
121
121
|
```shell
|
|
122
122
|
python -m build
|
|
123
123
|
#
|
|
124
|
-
twine upload --repository testpypi dist/sqlmath-2024.
|
|
125
|
-
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2024.
|
|
124
|
+
twine upload --repository testpypi dist/sqlmath-2024.10.23*
|
|
125
|
+
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2024.10.23
|
|
126
126
|
#
|
|
127
|
-
twine upload dist/sqlmath-2024.
|
|
128
|
-
pip install sqlmath==2024.
|
|
127
|
+
twine upload dist/sqlmath-2024.10.23*
|
|
128
|
+
pip install sqlmath==2024.10.23
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
|
|
@@ -139,11 +139,11 @@ pip install sqlmath==2024.9.30
|
|
|
139
139
|
sh jslint_ci.sh shRollupUpgrade "v4.4.0" "v4.5.0" ".ci.sh sqlmath_base.h"
|
|
140
140
|
#
|
|
141
141
|
# sqlite
|
|
142
|
-
sh jslint_ci.sh shRollupUpgrade "3.
|
|
143
|
-
sh jslint_ci.sh shRollupUpgrade "
|
|
142
|
+
sh jslint_ci.sh shRollupUpgrade "3.46.0" "3.46.1" ".ci.sh sqlmath_external_sqlite.c"
|
|
143
|
+
sh jslint_ci.sh shRollupUpgrade "3460000" "3460100" ".ci.sh sqlmath_external_sqlite.c"
|
|
144
144
|
#
|
|
145
145
|
# zlib
|
|
146
|
-
sh jslint_ci.sh shRollupUpgrade "1.3" "1.3.1" ".ci.sh sqlmath_external_zlib.c"
|
|
146
|
+
# sh jslint_ci.sh shRollupUpgrade "1.3" "1.3.1" ".ci.sh sqlmath_external_zlib.c"
|
|
147
147
|
#
|
|
148
148
|
# shSqlmathUpdate
|
|
149
149
|
read -p "Press Enter to shSqlmathUpdate:"
|
package/jslint.mjs
CHANGED
|
@@ -163,7 +163,7 @@ let jslint_charset_ascii = (
|
|
|
163
163
|
+ "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
|
164
164
|
+ "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
|
|
165
165
|
);
|
|
166
|
-
let jslint_edition = "v2024.
|
|
166
|
+
let jslint_edition = "v2024.10.1";
|
|
167
167
|
let jslint_export; // The jslint object to be exported.
|
|
168
168
|
let jslint_fudge = 1; // Fudge starting line and starting
|
|
169
169
|
// ... column to 1.
|
package/package.json
CHANGED
package/sqlmath.mjs
CHANGED
|
@@ -122,7 +122,7 @@ let {
|
|
|
122
122
|
let sqlMessageDict = {}; // dict of web-worker-callbacks
|
|
123
123
|
let sqlMessageId = 0;
|
|
124
124
|
let sqlWorker;
|
|
125
|
-
let version = "v2024.
|
|
125
|
+
let version = "v2024.10.23";
|
|
126
126
|
|
|
127
127
|
async function assertErrorThrownAsync(asyncFunc, regexp) {
|
|
128
128
|
|
|
@@ -1027,9 +1027,9 @@ async function dbTableImportAsync({
|
|
|
1027
1027
|
colList = colList.map(function (colName) {
|
|
1028
1028
|
let colName2;
|
|
1029
1029
|
let duplicate = 0;
|
|
1030
|
-
colName =
|
|
1031
|
-
|
|
1032
|
-
), "_");
|
|
1030
|
+
colName = colName.trim();
|
|
1031
|
+
colName = colName.replace((/\W/g), "_");
|
|
1032
|
+
colName = colName.replace((/^[^A-Z_a-z]|^$/gm), "_$&");
|
|
1033
1033
|
while (true) {
|
|
1034
1034
|
duplicate += 1;
|
|
1035
1035
|
colName2 = (
|