sqlmath 2024.10.23 → 2024.12.25
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 +20 -0
- package/README.md +5 -5
- package/jslint.mjs +14 -3
- package/package.json +1 -7
- package/sqlmath.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
3
3
|
# Todo
|
|
4
4
|
- none
|
|
5
5
|
|
|
6
|
+
# v2024.12.25
|
|
7
|
+
- ci - Auto-create asset_image_logo_256.png from asset_image_logo_256.html.
|
|
8
|
+
- ci - Fix shell-function shRollupFetch() from making excessive github-api-request.
|
|
9
|
+
- ci - Fix improperly-cropped jslint-logo, auto-generated by headless-chrome.
|
|
10
|
+
- ci - Fix failed-ci from missing graphicsmagick library in latest Ubuntu image.
|
|
11
|
+
- betadog-revamp - Remove trading-logic for s_sqq=-1.
|
|
12
|
+
- sqlmath - Add sql-functions SHA256(), STRTOLL().
|
|
13
|
+
|
|
14
|
+
# v2024.11.24
|
|
15
|
+
- sqlmath - Streamline idate-sql-functions to just:
|
|
16
|
+
IDATEADD()
|
|
17
|
+
IDATEFROM()
|
|
18
|
+
IDATEFROMEPOCH()
|
|
19
|
+
IDATETO()
|
|
20
|
+
IDATETOEPOCH()
|
|
21
|
+
IDATEYMDFROM()
|
|
22
|
+
IDATEYMDFROMEPOCH()
|
|
23
|
+
- jslint - Upgrade to jslint-v2024.11.24.
|
|
24
|
+
- webdemo - bugfix - Fix scaling-bug for technical-prm tradebot_technical.all.1e_stk_pnl.
|
|
25
|
+
|
|
6
26
|
# v2024.10.23
|
|
7
27
|
- sqlite - Upgrade to sqlite-v3.46.1.
|
|
8
28
|
- ci - Update shell-function shHttpFileServer() to auto-serve /index.html, when url-path is root /.
|
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.12.25)](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.12.25*
|
|
125
|
+
py -m pip install --index-url https://test.pypi.org/simple/ sqlmath==2024.12.25
|
|
126
126
|
#
|
|
127
|
-
twine upload dist/sqlmath-2024.
|
|
128
|
-
pip install sqlmath==2024.
|
|
127
|
+
twine upload dist/sqlmath-2024.12.25*
|
|
128
|
+
pip install sqlmath==2024.12.25
|
|
129
129
|
```
|
|
130
130
|
|
|
131
131
|
|
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.12.1-beta";
|
|
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.
|
|
@@ -4698,8 +4698,7 @@ function jslint_phase3_parse(state) {
|
|
|
4698
4698
|
|
|
4699
4699
|
function infix_option_chain(left) {
|
|
4700
4700
|
const the_token = token_now;
|
|
4701
|
-
let name;
|
|
4702
|
-
name = token_nxt;
|
|
4701
|
+
let name = token_nxt;
|
|
4703
4702
|
if (
|
|
4704
4703
|
(
|
|
4705
4704
|
left.id !== "(string)"
|
|
@@ -4733,6 +4732,18 @@ function jslint_phase3_parse(state) {
|
|
|
4733
4732
|
|
|
4734
4733
|
check_left(left, the_token);
|
|
4735
4734
|
}
|
|
4735
|
+
|
|
4736
|
+
// Issue #468 - Fix optional dynamic-property/function-call not recognized.
|
|
4737
|
+
|
|
4738
|
+
if (name.id === "[" || name.id === "(") {
|
|
4739
|
+
test_cause("dyn_prop_or_call");
|
|
4740
|
+
|
|
4741
|
+
// test_cause:
|
|
4742
|
+
// ["aa?.(bb)", "infix_option_chain", "dyn_prop_or_call", "", 0]
|
|
4743
|
+
// ["aa?.[bb]", "infix_option_chain", "dyn_prop_or_call", "", 0]
|
|
4744
|
+
|
|
4745
|
+
return left;
|
|
4746
|
+
}
|
|
4736
4747
|
if (!name.identifier) {
|
|
4737
4748
|
|
|
4738
4749
|
// test_cause:
|
package/package.json
CHANGED
|
@@ -4,13 +4,7 @@
|
|
|
4
4
|
"name": "kai zhu"
|
|
5
5
|
},
|
|
6
6
|
"counter": 1,
|
|
7
|
-
"cpu": [
|
|
8
|
-
"x64"
|
|
9
|
-
],
|
|
10
7
|
"description": "sqlite for data-science",
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=14"
|
|
13
|
-
},
|
|
14
8
|
"fileCount": 46,
|
|
15
9
|
"homepage": "https://github.com/sqlmath/sqlmath",
|
|
16
10
|
"keywords": [
|
|
@@ -38,5 +32,5 @@
|
|
|
38
32
|
},
|
|
39
33
|
"shCiArtifactUpload": 1,
|
|
40
34
|
"shCiPublishNpm": 1,
|
|
41
|
-
"version": "2024.
|
|
35
|
+
"version": "2024.12.25"
|
|
42
36
|
}
|
package/sqlmath.mjs
CHANGED