alasql 4.4.0 → 4.5.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/README.md +9 -0
- package/dist/alasql-worker.js +2 -2
- package/dist/alasql.d.ts +4 -1
- package/dist/alasql.fs.js +622 -583
- package/dist/alasql.js +622 -583
- package/dist/alasql.min.js +22 -22
- package/package.json +14 -15
- package/types/alasql.d.ts +4 -1
package/README.md
CHANGED
|
@@ -629,6 +629,15 @@ AlaSQL is an [OPEN Open Source Project](http://openopensource.org/). This means
|
|
|
629
629
|
|
|
630
630
|
We appreciate any and all contributions we can get. If you feel like contributing, have a look at [CONTRIBUTING.md](https://github.com/alasql/alasql/blob/develop/CONTRIBUTING.md)
|
|
631
631
|
|
|
632
|
+
## Rebuilding the parser
|
|
633
|
+
|
|
634
|
+
To rebuild the parser, follow these steps:
|
|
635
|
+
|
|
636
|
+
* Make changes to alasqlparser.jison
|
|
637
|
+
* `npm install -g jison`
|
|
638
|
+
* `npm run jison`
|
|
639
|
+
* `npm test` to validate the changes made
|
|
640
|
+
* Commit changes to alasqlparser.jison and alasqlparser.js
|
|
632
641
|
|
|
633
642
|
## Credits
|
|
634
643
|
|
package/dist/alasql-worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.
|
|
1
|
+
//! AlaSQL v4.5.0 build: develop-85c24d42 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.
|
|
4
|
+
@version 4.5.0
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2024 Andrey Gershun & Mathias Wulff
|
package/dist/alasql.d.ts
CHANGED
|
@@ -139,6 +139,7 @@ declare module 'alasql' {
|
|
|
139
139
|
}
|
|
140
140
|
|
|
141
141
|
interface Database {
|
|
142
|
+
new (databaseid?: string): Database;
|
|
142
143
|
databaseid: string;
|
|
143
144
|
dbversion: number;
|
|
144
145
|
tables: {[key: string]: any};
|
|
@@ -166,7 +167,9 @@ declare module 'alasql' {
|
|
|
166
167
|
autoval(tablename: string, colname: string, getNext?: boolean): number;
|
|
167
168
|
yy: {};
|
|
168
169
|
setXLSX(xlsxlib: typeof xlsx): void;
|
|
169
|
-
Database:
|
|
170
|
+
Database: {
|
|
171
|
+
new (databaseid?: string): Database;
|
|
172
|
+
};
|
|
170
173
|
|
|
171
174
|
/**
|
|
172
175
|
* Array of databases in the AlaSQL object.
|