alasql 4.20.2 → 4.21.1
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/bin/alasql-cli.js +1 -1
- package/dist/alasql-worker.js +2 -2
- package/dist/alasql.d.ts +1 -8
- package/dist/alasql.fs.js +1023 -735
- package/dist/alasql.js +1023 -735
- package/dist/alasql.min.js +146 -146
- package/package.json +4 -1
- package/test1107.json +3 -0
- package/types/alasql.d.ts +1 -8
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.
|
|
4
|
+
"version": "4.21.1",
|
|
5
5
|
"author": "Andrey Gershun <agershun@gmail.com>",
|
|
6
6
|
"contributors": [
|
|
7
7
|
"Mathias Wulff <m@rawu.dk>"
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
"test-cover": "# istanbul cover -x 'lib/zt/zt.js' --dir test/coverage _mocha",
|
|
30
30
|
"build": "yarn format && yarn build-only",
|
|
31
31
|
"build-only": "sh build.sh",
|
|
32
|
+
"test-perf": "bun test/performance/vs-npm.js",
|
|
33
|
+
"test-perf-mini": "bun test/performance/vs-npm.js --scale=0.5 --runs=2 --runtime=node --fail-above=105",
|
|
32
34
|
"install-g": "yarn build && npm uninstall alasql -g && npm install -g .",
|
|
33
35
|
"release": "yarn version",
|
|
34
36
|
"jison": "jison ./src/alasqlparser.jison -o ./src/alasqlparser.js",
|
|
@@ -51,6 +53,7 @@
|
|
|
51
53
|
"pre-pr": "cmdmix 'yarn fresh '%1' && yarn repush'",
|
|
52
54
|
"prepare": "husky",
|
|
53
55
|
"preversion": "yarn && yarn test && npm login",
|
|
56
|
+
"prepublishOnly": "sh build.sh </dev/null",
|
|
54
57
|
"postversion": "npm publish && git push && git push --tags && echo \"Successfully released version $npm_package_version\""
|
|
55
58
|
},
|
|
56
59
|
"dependencies": {
|
package/test1107.json
ADDED
package/types/alasql.d.ts
CHANGED
|
@@ -96,14 +96,7 @@ declare module 'alasql' {
|
|
|
96
96
|
}
|
|
97
97
|
|
|
98
98
|
export type ExpressionNode =
|
|
99
|
-
|
|
|
100
|
-
| Column
|
|
101
|
-
| ParamValue
|
|
102
|
-
| NumValue
|
|
103
|
-
| StringValue
|
|
104
|
-
| LogicValue
|
|
105
|
-
| UniOp
|
|
106
|
-
| FuncValue;
|
|
99
|
+
Op | Column | ParamValue | NumValue | StringValue | LogicValue | UniOp | FuncValue;
|
|
107
100
|
|
|
108
101
|
export interface ExpressionWrapper extends AlaSQLExpression {
|
|
109
102
|
expression: ExpressionNode;
|