alasql 4.6.2 → 4.6.4
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/dist/alasql-worker.js +2 -2
- package/dist/alasql.d.ts +4 -9
- package/dist/alasql.fs.js +9 -5
- package/dist/alasql.js +9 -5
- package/dist/alasql.min.js +4 -4
- package/package.json +4 -4
- package/types/alasql.d.ts +4 -9
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "alasql",
|
|
3
3
|
"description": "Use SQL to select and filter javascript data - including relational joins and search in nested objects (JSON). Export to and import from Excel and CSV",
|
|
4
|
-
"version": "4.6.
|
|
4
|
+
"version": "4.6.4",
|
|
5
5
|
"author": "Andrey Gershun <agershun@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Mathias Wulff <m@rawu.dk>"
|
|
@@ -52,14 +52,14 @@
|
|
|
52
52
|
"blueimp-md5": "2.19.0",
|
|
53
53
|
"cmdmix": "2.2.2",
|
|
54
54
|
"dom-storage": "2.1.0",
|
|
55
|
-
"esbuild": "0.
|
|
55
|
+
"esbuild": "0.25.0",
|
|
56
56
|
"git-branch-is": "4.0.0",
|
|
57
57
|
"husky": "9.1.7",
|
|
58
58
|
"jison": "^0.4.18",
|
|
59
|
-
"mocha": "11.0
|
|
59
|
+
"mocha": "11.1.0",
|
|
60
60
|
"mocha.parallel": "0.15.6",
|
|
61
61
|
"open": "10.1.0",
|
|
62
|
-
"prettier": "3.
|
|
62
|
+
"prettier": "3.5.2",
|
|
63
63
|
"react-native-fetch-blob": "^0.10.8",
|
|
64
64
|
"react-native-fs": "^2.20.0",
|
|
65
65
|
"rexreplace": "7.1.12",
|
package/types/alasql.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ declare module 'alasql' {
|
|
|
36
36
|
|
|
37
37
|
// compiled Statement
|
|
38
38
|
interface AlaSQLStatement {
|
|
39
|
-
<T = unknown>(params?:
|
|
39
|
+
<T = unknown>(params?: any, cb?: AlaSQLCallback<T>, scope?: unknown): T;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
// abstract Syntax Tree
|
|
@@ -146,21 +146,16 @@ declare module 'alasql' {
|
|
|
146
146
|
sqlCacheSize: number;
|
|
147
147
|
astCache: {[key: string]: unknown};
|
|
148
148
|
resetSqlCache(): void;
|
|
149
|
-
exec<T = unknown>(sql: string, params?:
|
|
149
|
+
exec<T = unknown>(sql: string, params?: any, cb?: AlaSQLCallback<T>): T;
|
|
150
150
|
autoval(tablename: string, colname: string, getNext: boolean): unknown;
|
|
151
151
|
}
|
|
152
152
|
|
|
153
153
|
interface AlaSQL {
|
|
154
154
|
options: AlaSQLOptions;
|
|
155
155
|
error: Error;
|
|
156
|
-
<T = unknown>(
|
|
157
|
-
sql: string,
|
|
158
|
-
params?: Record<string, unknown>,
|
|
159
|
-
cb?: AlaSQLCallback<T>,
|
|
160
|
-
scope?: unknown
|
|
161
|
-
): T;
|
|
156
|
+
<T = unknown>(sql: string, params?: any, cb?: AlaSQLCallback<T>, scope?: unknown): T;
|
|
162
157
|
parse(sql: string): AlaSQLAST;
|
|
163
|
-
promise<T = unknown>(sql: string, params?:
|
|
158
|
+
promise<T = unknown>(sql: string, params?: any): Promise<T>;
|
|
164
159
|
fn: userDefinedFunctionLookUp;
|
|
165
160
|
from: userFromFunctionLookUp;
|
|
166
161
|
aggr: userAggregatorLookUp;
|