sqlmath 2026.6.30 → 2026.7.30

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/package.json CHANGED
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "shCiArtifactUpload": 1,
34
34
  "shCiPublishNpm": 1,
35
- "version": "2026.6.30"
35
+ "version": "2026.7.30"
36
36
  }
package/sqlmath.mjs CHANGED
@@ -30,7 +30,26 @@ sh jslint_ci.sh shSqlmathUpdate
30
30
  /*global FinalizationRegistry*/
31
31
  "use strict";
32
32
 
33
- const JSBATON_ARGC = 8;
33
+ // init debugInline
34
+ const debugInline = (function () {
35
+ let consoleError = Object;
36
+ function debug(...argList) {
37
+
38
+ // This function will print <argList> to stderr and then return <argList>[0].
39
+
40
+ consoleError("\n\ndebugInline");
41
+ consoleError(...argList);
42
+ consoleError("\n");
43
+ if (consoleError === Object) {
44
+ consoleError = console.error;
45
+ }
46
+ return argList[0];
47
+ }
48
+ return debug;
49
+ }());
50
+ debugInline(); // coverage-hack
51
+
52
+ const JSBATON_ARGC = 8; //jslint-ignore-line
34
53
  const JSBATON_OFFSET_ALL = 256;
35
54
  const JSBATON_OFFSET_ARGV = 128;
36
55
  const JSBATON_OFFSET_BUFV = 192;
@@ -89,10 +108,11 @@ const SQLITE_OPEN_TRANSIENT_DB = 0x00000400; /* VFS only */
89
108
  const SQLITE_OPEN_URI = 0x00000040; /* Ok for sqlite3_open_v2() */
90
109
  const SQLITE_OPEN_WAL = 0x00080000; /* VFS only */
91
110
 
92
- let DB_EXEC_PROFILE_DICT = {};
111
+ const DB_EXEC_PROFILE_DICT = {}; //jslint-ignore-line
112
+ const DB_STATE = {};
113
+ const version = "v2026.7.30";
93
114
  let DB_EXEC_PROFILE_MODE;
94
115
  let DB_EXEC_PROFILE_SQL_LENGTH;
95
- let DB_STATE = {};
96
116
  let IS_BROWSER;
97
117
  let SQLMATH_EXE;
98
118
  let SQLMATH_NODE;
@@ -100,24 +120,6 @@ let cModule;
100
120
  let cModulePath;
101
121
  let consoleError = console.error;
102
122
  let dbFinalizationRegistry;
103
- // init debugInline
104
- let debugInline = (function () {
105
- let __consoleError = function () {
106
- return;
107
- };
108
- function debug(...argList) {
109
-
110
- // This function will print <argList> to stderr and then return <argList>[0].
111
-
112
- __consoleError("\n\ndebugInline");
113
- __consoleError(...argList);
114
- __consoleError("\n");
115
- return argList[0];
116
- }
117
- debug(); // Coverage-hack.
118
- __consoleError = console.error; //jslint-ignore-line
119
- return debug;
120
- }());
121
123
  let moduleChildProcess;
122
124
  let moduleChildProcessSpawn;
123
125
  let moduleCrypto;
@@ -133,7 +135,6 @@ let {
133
135
  let sqlMessageDict = {}; // dict of web-worker-callbacks
134
136
  let sqlMessageId = 0;
135
137
  let sqlWorker;
136
- let version = "v2026.6.30";
137
138
 
138
139
  async function assertErrorThrownAsync(asyncFunc, regexp) {
139
140
 
@@ -1785,11 +1786,11 @@ async function moduleFsInit() {
1785
1786
  );
1786
1787
  }
1787
1788
 
1788
- function noop(val) {
1789
+ function noop(value) {
1789
1790
 
1790
- // This function will do nothing except return <val>.
1791
+ // This function will do nothing except return <value>.
1791
1792
 
1792
- return val;
1793
+ return value;
1793
1794
  }
1794
1795
 
1795
1796
  function objectDeepCopyWithKeysSorted(obj) {
package/sqlmath_wasm.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*jslint-disable*/
2
2
  // Copyright (c) 2021 Kai Zhu
3
3
  // SPDX-License-Identifier: MIT
4
- // 2026-07-01T23:02:00+0000
4
+ // 2026-08-01T00:48:14+0000
5
5
  (function () {
6
6
  "use strict";
7
7
 
package/test.mjs CHANGED
@@ -199,7 +199,7 @@ jstestDescribe((
199
199
  ), function test_dbBind() {
200
200
  jstestIt((
201
201
  "test db-bind handling-behavior"
202
- ), async function test_dbBind() {
202
+ ), async function () {
203
203
  let db;
204
204
  async function test_dbBind_exec(ii, valIn, valExpect) {
205
205
  await Promise.all([