sqlmath 2022.6.30 → 2022.8.20
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 +30 -1
- package/README.md +1 -1
- package/_binary_sqlmath_napi8_darwin_x64.node +0 -0
- package/_binary_sqlmath_napi8_linux_x64.node +0 -0
- package/_binary_sqlmath_napi8_win32_x64.node +0 -0
- package/_binary_sqlmath_shell_linux_x64 +0 -0
- package/_binary_sqlmath_shell_win32_x64.exe +0 -0
- package/jslint.mjs +39 -11
- package/package.json +2 -2
- package/sqlmath.mjs +1 -12
package/CHANGELOG.md
CHANGED
|
@@ -5,10 +5,39 @@
|
|
|
5
5
|
- sqlmath - add sql-extension carrayblob()
|
|
6
6
|
- none
|
|
7
7
|
|
|
8
|
-
# v2022.
|
|
8
|
+
# v2022.8.20
|
|
9
|
+
- chart-revamp - switch from chart.js to using svg-elements for plots
|
|
10
|
+
--
|
|
11
|
+
- chart - add optional easeout ui-animation, in addition to linear
|
|
12
|
+
- chart - fix render-bug when zooming with no data
|
|
13
|
+
- chart - bugfix - fix xrangeMin being NaN
|
|
14
|
+
- chart - animate crosshair, similar to tooltip
|
|
15
|
+
- chart - remove gridband code
|
|
16
|
+
- chart - remove all classes, and instances of this
|
|
17
|
+
- chart - bugfix - fix x-axis having no padding
|
|
18
|
+
- chart - bugfix - fix chart failing to re-scale after hiding/showing series
|
|
19
|
+
- chart - fix tooltip-indent-bug
|
|
20
|
+
- chart - revamp tooltip-popup in barchart - part1
|
|
21
|
+
- chart - replace Tick class with static-functions uichartAxistickCreate and uichartAxistickRender
|
|
22
|
+
- chart - bugfix - fix tick-cleanup
|
|
23
|
+
- chart - fix seriestracker z-index in reverse-order of series-render
|
|
24
|
+
- chart - bugfix - fix annoying clip-path drifting down-right during startup-animation
|
|
25
|
+
- chart - remove jquery-dependency
|
|
26
|
+
- chart - fix again, zoomout cropping too much of one side, in line-charts
|
|
27
|
+
--
|
|
28
|
+
- remove unused files
|
|
29
|
+
assets.bootstrap-v3.4.1.datatables-v1.10.21.chartjs-v2.9.4.codemirror-5.58.3.rollup.css
|
|
30
|
+
assets.bootstrap-v3.4.1.datatables-v1.10.21.chartjs-v2.9.4.codemirror-5.58.3.rollup.js
|
|
31
|
+
spa.sqlchart.html
|
|
32
|
+
spa.sqlchart.js
|
|
33
|
+
- add dbrow-crud-operations dbrowDelete, dbrowInsert, dbrowUpdate
|
|
34
|
+
- chart - add charting functionality using chart.js
|
|
9
35
|
- add dbtable-crud-operations dbtableRename, dbcolumnAdd, dbcolumnRename, dbcolumnDrop
|
|
10
36
|
- demo - add web-demo in README.md
|
|
11
37
|
- webapp - add ui-loading when running onDbAction(), onDbExec()
|
|
38
|
+
- demo - add github-fork-banner
|
|
39
|
+
|
|
40
|
+
# v2022.6.30
|
|
12
41
|
- add dbtable-crud-operations dbquerySaveCsv, dbquerySaveJson, dbtableDrop, dbtableSaveCsv, dbtableSaveJson
|
|
13
42
|
- add contextmenu and dbtable-crud-operation dbtableDrop
|
|
14
43
|
- add database-crud-operations
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
# Status
|
|
5
|
-
| Branch | [master<br>(v2022.
|
|
5
|
+
| Branch | [master<br>(v2022.8.20)](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) |
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/jslint.mjs
CHANGED
|
@@ -153,7 +153,7 @@ let debugInline = (function () {
|
|
|
153
153
|
return argv[0];
|
|
154
154
|
}
|
|
155
155
|
debug(); // Coverage-hack.
|
|
156
|
-
__consoleError = console.error;
|
|
156
|
+
__consoleError = console.error; //jslint-ignore-line
|
|
157
157
|
return debug;
|
|
158
158
|
}());
|
|
159
159
|
let jslint_charset_ascii = (
|
|
@@ -165,7 +165,7 @@ let jslint_charset_ascii = (
|
|
|
165
165
|
+ "@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_"
|
|
166
166
|
+ "`abcdefghijklmnopqrstuvwxyz{|}~\u007f"
|
|
167
167
|
);
|
|
168
|
-
let jslint_edition = "v2022.7.
|
|
168
|
+
let jslint_edition = "v2022.7.20";
|
|
169
169
|
let jslint_export; // The jslint object to be exported.
|
|
170
170
|
let jslint_fudge = 1; // Fudge starting line and starting
|
|
171
171
|
// ... column to 1.
|
|
@@ -860,11 +860,22 @@ function jslint(
|
|
|
860
860
|
c,
|
|
861
861
|
d
|
|
862
862
|
);
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
863
|
+
|
|
864
|
+
// Issue #408
|
|
865
|
+
// Warnings that should be ignored sometimes suppress legitimate warnings.
|
|
866
|
+
|
|
867
|
+
if (the_warning.directive_ignore_line) {
|
|
868
|
+
return the_warning;
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
// If there is already a warning on this token, suppress the new one. It is
|
|
872
|
+
// likely that the first warning will be the most meaningful.
|
|
873
|
+
|
|
874
|
+
if (the_token.warning) {
|
|
866
875
|
warning_list.pop();
|
|
876
|
+
return the_warning;
|
|
867
877
|
}
|
|
878
|
+
the_token.warning = the_warning;
|
|
868
879
|
return the_warning;
|
|
869
880
|
}
|
|
870
881
|
|
|
@@ -1014,6 +1025,7 @@ function jslint(
|
|
|
1014
1025
|
break;
|
|
1015
1026
|
|
|
1016
1027
|
// PR-347 - Disable warning "missing_browser".
|
|
1028
|
+
//
|
|
1017
1029
|
// case "missing_browser":
|
|
1018
1030
|
// mm = `/*global*/ requires the Assume a browser option.`;
|
|
1019
1031
|
// break;
|
|
@@ -1098,6 +1110,7 @@ function jslint(
|
|
|
1098
1110
|
break;
|
|
1099
1111
|
|
|
1100
1112
|
// PR-347 - Disable warning "unexpected_directive_a".
|
|
1113
|
+
//
|
|
1101
1114
|
// case "unexpected_directive_a":
|
|
1102
1115
|
// mm = `When using modules, don't use directive '/\u002a${a}'.`;
|
|
1103
1116
|
// break;
|
|
@@ -1328,6 +1341,7 @@ function jslint(
|
|
|
1328
1341
|
);
|
|
1329
1342
|
|
|
1330
1343
|
// PR-347 - Disable warning "missing_browser".
|
|
1344
|
+
//
|
|
1331
1345
|
// if (!option_dict.browser) {
|
|
1332
1346
|
// directive_list.forEach(function (comment) {
|
|
1333
1347
|
// if (comment.directive === "global") {
|
|
@@ -2700,6 +2714,7 @@ function jslint_phase2_lex(state) {
|
|
|
2700
2714
|
return char_after("]");
|
|
2701
2715
|
|
|
2702
2716
|
// PR-362 - Relax regexp-warning against using <space>.
|
|
2717
|
+
//
|
|
2703
2718
|
// case " ":
|
|
2704
2719
|
//
|
|
2705
2720
|
// // test_cause:
|
|
@@ -2780,6 +2795,7 @@ function jslint_phase2_lex(state) {
|
|
|
2780
2795
|
return;
|
|
2781
2796
|
|
|
2782
2797
|
// PR-362 - Relax regexp-warning against using <space>.
|
|
2798
|
+
//
|
|
2783
2799
|
// case " ":
|
|
2784
2800
|
//
|
|
2785
2801
|
// // test_cause:
|
|
@@ -3336,12 +3352,16 @@ console.log(JSON.stringify(Object.keys(window).sort(), undefined, 4));
|
|
|
3336
3352
|
|
|
3337
3353
|
"AbortController",
|
|
3338
3354
|
// "Buffer",
|
|
3339
|
-
"
|
|
3355
|
+
// "Crypto",
|
|
3356
|
+
// "CryptoKey",
|
|
3340
3357
|
"Event",
|
|
3341
3358
|
"EventTarget",
|
|
3342
3359
|
"MessageChannel",
|
|
3343
3360
|
"MessageEvent",
|
|
3344
3361
|
"MessagePort",
|
|
3362
|
+
// "Request",
|
|
3363
|
+
// "Response",
|
|
3364
|
+
// "SubtleCrypto",
|
|
3345
3365
|
"TextDecoder",
|
|
3346
3366
|
"TextEncoder",
|
|
3347
3367
|
"URL",
|
|
@@ -3355,7 +3375,9 @@ console.log(JSON.stringify(Object.keys(window).sort(), undefined, 4));
|
|
|
3355
3375
|
"clearInterval",
|
|
3356
3376
|
"clearTimeout",
|
|
3357
3377
|
// "console",
|
|
3378
|
+
// "crypto",
|
|
3358
3379
|
// "exports",
|
|
3380
|
+
// "fetch",
|
|
3359
3381
|
// "global",
|
|
3360
3382
|
// "module",
|
|
3361
3383
|
"performance",
|
|
@@ -3365,7 +3387,6 @@ console.log(JSON.stringify(Object.keys(window).sort(), undefined, 4));
|
|
|
3365
3387
|
// "setImmediate",
|
|
3366
3388
|
"setInterval",
|
|
3367
3389
|
"setTimeout",
|
|
3368
|
-
"structuredClone",
|
|
3369
3390
|
|
|
3370
3391
|
// Web worker only.
|
|
3371
3392
|
// https://github.com/mdn/content/blob/main/files/en-us/web/api
|
|
@@ -3408,6 +3429,7 @@ console.log(JSON.stringify(Object.keys(window).sort(), undefined, 4));
|
|
|
3408
3429
|
"sessionStorage",
|
|
3409
3430
|
// "setInterval",
|
|
3410
3431
|
// "setTimeout",
|
|
3432
|
+
"structuredClone",
|
|
3411
3433
|
"window"
|
|
3412
3434
|
], "browser");
|
|
3413
3435
|
break;
|
|
@@ -3469,6 +3491,7 @@ import https from "https";
|
|
|
3469
3491
|
|
|
3470
3492
|
case "ecma":
|
|
3471
3493
|
object_assign_from_list(global_dict, [
|
|
3494
|
+
"AggregateError",
|
|
3472
3495
|
"Array",
|
|
3473
3496
|
"ArrayBuffer",
|
|
3474
3497
|
"Atomics",
|
|
@@ -3539,7 +3562,7 @@ import moduleHttps from "https";
|
|
|
3539
3562
|
let result = "";
|
|
3540
3563
|
await new Promise(function (resolve) {
|
|
3541
3564
|
moduleHttps.get((
|
|
3542
|
-
"https://raw.githubusercontent.com/nodejs/node/
|
|
3565
|
+
"https://raw.githubusercontent.com/nodejs/node/v16.x/doc/api"
|
|
3543
3566
|
+ "/globals.md"
|
|
3544
3567
|
), function (res) {
|
|
3545
3568
|
res.on("data", function (chunk) {
|
|
@@ -3562,12 +3585,16 @@ import moduleHttps from "https";
|
|
|
3562
3585
|
object_assign_from_list(global_dict, [
|
|
3563
3586
|
"AbortController",
|
|
3564
3587
|
"Buffer",
|
|
3565
|
-
"
|
|
3588
|
+
// "Crypto",
|
|
3589
|
+
// "CryptoKey",
|
|
3566
3590
|
"Event",
|
|
3567
3591
|
"EventTarget",
|
|
3568
3592
|
"MessageChannel",
|
|
3569
3593
|
"MessageEvent",
|
|
3570
3594
|
"MessagePort",
|
|
3595
|
+
// "Request",
|
|
3596
|
+
// "Response",
|
|
3597
|
+
// "SubtleCrypto",
|
|
3571
3598
|
"TextDecoder",
|
|
3572
3599
|
"TextEncoder",
|
|
3573
3600
|
"URL",
|
|
@@ -3581,7 +3608,9 @@ import moduleHttps from "https";
|
|
|
3581
3608
|
"clearInterval",
|
|
3582
3609
|
"clearTimeout",
|
|
3583
3610
|
"console",
|
|
3611
|
+
// "crypto",
|
|
3584
3612
|
"exports",
|
|
3613
|
+
// "fetch",
|
|
3585
3614
|
"global",
|
|
3586
3615
|
"module",
|
|
3587
3616
|
"performance",
|
|
@@ -3590,8 +3619,7 @@ import moduleHttps from "https";
|
|
|
3590
3619
|
"require",
|
|
3591
3620
|
"setImmediate",
|
|
3592
3621
|
"setInterval",
|
|
3593
|
-
"setTimeout"
|
|
3594
|
-
"structuredClone"
|
|
3622
|
+
"setTimeout"
|
|
3595
3623
|
], "Node.js");
|
|
3596
3624
|
break;
|
|
3597
3625
|
}
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"engines": {
|
|
12
12
|
"node": ">=14"
|
|
13
13
|
},
|
|
14
|
-
"fileCount":
|
|
14
|
+
"fileCount": 30,
|
|
15
15
|
"homepage": "https://github.com/sqlmath/sqlmath",
|
|
16
16
|
"keywords": [
|
|
17
17
|
"data-science",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"test2": "sh jslint_ci.sh shCiBase",
|
|
38
38
|
"test_win32": "node -e \"require('child_process').spawn('C:\\\\Program Files\\\\Git\\\\bin\\\\bash.exe',['-c','npm run test' + ' ' + process.argv.slice(1).join(' ')],{stdio:['ignore',1,2]});\""
|
|
39
39
|
},
|
|
40
|
-
"version": "2022.
|
|
40
|
+
"version": "2022.8.20"
|
|
41
41
|
}
|
package/sqlmath.mjs
CHANGED
|
@@ -81,7 +81,7 @@ let debugInline = (function () {
|
|
|
81
81
|
return argv[0];
|
|
82
82
|
}
|
|
83
83
|
debug(); // Coverage-hack.
|
|
84
|
-
__consoleError = console.error;
|
|
84
|
+
__consoleError = console.error; //jslint-ignore-line
|
|
85
85
|
return debug;
|
|
86
86
|
}());
|
|
87
87
|
let sqlMessageDict = {}; // dict of web-worker-callbacks
|
|
@@ -887,17 +887,6 @@ function sqlmathWebworkerInit({
|
|
|
887
887
|
}) {
|
|
888
888
|
sqlMessageDict[data.id](data);
|
|
889
889
|
};
|
|
890
|
-
/*
|
|
891
|
-
let db = await dbOpenAsync({ //jslint-quiet
|
|
892
|
-
filename: ":memory:"
|
|
893
|
-
});
|
|
894
|
-
debugInline(
|
|
895
|
-
await dbExecAsync({
|
|
896
|
-
db,
|
|
897
|
-
sql: "aSELECT 1234"
|
|
898
|
-
})
|
|
899
|
-
);
|
|
900
|
-
*/
|
|
901
890
|
}
|
|
902
891
|
|
|
903
892
|
await sqlmathInit({});
|