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 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
 
@@ -1,7 +1,7 @@
1
- //! AlaSQL v4.3.3 build: develop-b9447ae3 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
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.3.3
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: Database;
170
+ Database: {
171
+ new (databaseid?: string): Database;
172
+ };
170
173
 
171
174
  /**
172
175
  * Array of databases in the AlaSQL object.