alasql 4.6.5 → 4.6.6
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.fs.js +18 -8
- package/dist/alasql.js +18 -8
- package/dist/alasql.min.js +7 -7
- package/package.json +3 -3
package/dist/alasql-worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.6.
|
|
1
|
+
//! AlaSQL v4.6.5 build: develop-f6e298b2 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.6.
|
|
4
|
+
@version 4.6.5
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2024 Andrey Gershun & Mathias Wulff
|
package/dist/alasql.fs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.6.
|
|
1
|
+
//! AlaSQL v4.6.5 build: develop-f6e298b2 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.6.
|
|
4
|
+
@version 4.6.5
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2024 Andrey Gershun & Mathias Wulff
|
|
@@ -141,8 +141,8 @@ SOFTWARE.
|
|
|
141
141
|
Current version of alasql
|
|
142
142
|
@constant {string}
|
|
143
143
|
*/
|
|
144
|
-
alasql.version = '4.6.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.6.5';
|
|
145
|
+
alasql.build = 'develop-f6e298b2';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -9637,7 +9637,7 @@ yy.Select.prototype.compilePivot = function (query) {
|
|
|
9637
9637
|
}
|
|
9638
9638
|
}
|
|
9639
9639
|
// Provide a fallback if still not found
|
|
9640
|
-
aggColDef = aggColDef || {
|
|
9640
|
+
aggColDef = aggColDef || {columnid: exprcolid, dbtypeid: 'OBJECT'};
|
|
9641
9641
|
|
|
9642
9642
|
// Keep only the grouping columns initially
|
|
9643
9643
|
query.columns = query.columns.filter(function (col) {
|
|
@@ -16545,7 +16545,12 @@ alasql.from.JSON = function (filename, opts, cb, idx, query) {
|
|
|
16545
16545
|
}
|
|
16546
16546
|
}),
|
|
16547
16547
|
err => {
|
|
16548
|
-
|
|
16548
|
+
const error = err instanceof Error ? err : new Error(err);
|
|
16549
|
+
if(query && query.cb) {
|
|
16550
|
+
query.cb(null, error);
|
|
16551
|
+
return;
|
|
16552
|
+
}
|
|
16553
|
+
throw error;
|
|
16549
16554
|
};
|
|
16550
16555
|
return res;
|
|
16551
16556
|
};
|
|
@@ -16570,11 +16575,16 @@ const jsonl = ext => {
|
|
|
16570
16575
|
}
|
|
16571
16576
|
});
|
|
16572
16577
|
if (cb) {
|
|
16573
|
-
|
|
16578
|
+
out = cb(out, idx, query);
|
|
16574
16579
|
}
|
|
16575
16580
|
},
|
|
16576
16581
|
err => {
|
|
16577
|
-
|
|
16582
|
+
const error = err instanceof Error ? err : new Error(err);
|
|
16583
|
+
if(query && query.cb) {
|
|
16584
|
+
query.cb(null, error);
|
|
16585
|
+
return;
|
|
16586
|
+
}
|
|
16587
|
+
throw error;
|
|
16578
16588
|
}
|
|
16579
16589
|
);
|
|
16580
16590
|
return out;
|
package/dist/alasql.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.6.
|
|
1
|
+
//! AlaSQL v4.6.5 build: develop-f6e298b2 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.6.
|
|
4
|
+
@version 4.6.5
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2024 Andrey Gershun & Mathias Wulff
|
|
@@ -141,8 +141,8 @@ SOFTWARE.
|
|
|
141
141
|
Current version of alasql
|
|
142
142
|
@constant {string}
|
|
143
143
|
*/
|
|
144
|
-
alasql.version = '4.6.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.6.5';
|
|
145
|
+
alasql.build = 'develop-f6e298b2';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -9637,7 +9637,7 @@ yy.Select.prototype.compilePivot = function (query) {
|
|
|
9637
9637
|
}
|
|
9638
9638
|
}
|
|
9639
9639
|
// Provide a fallback if still not found
|
|
9640
|
-
aggColDef = aggColDef || {
|
|
9640
|
+
aggColDef = aggColDef || {columnid: exprcolid, dbtypeid: 'OBJECT'};
|
|
9641
9641
|
|
|
9642
9642
|
// Keep only the grouping columns initially
|
|
9643
9643
|
query.columns = query.columns.filter(function (col) {
|
|
@@ -16545,7 +16545,12 @@ alasql.from.JSON = function (filename, opts, cb, idx, query) {
|
|
|
16545
16545
|
}
|
|
16546
16546
|
}),
|
|
16547
16547
|
err => {
|
|
16548
|
-
|
|
16548
|
+
const error = err instanceof Error ? err : new Error(err);
|
|
16549
|
+
if(query && query.cb) {
|
|
16550
|
+
query.cb(null, error);
|
|
16551
|
+
return;
|
|
16552
|
+
}
|
|
16553
|
+
throw error;
|
|
16549
16554
|
};
|
|
16550
16555
|
return res;
|
|
16551
16556
|
};
|
|
@@ -16570,11 +16575,16 @@ const jsonl = ext => {
|
|
|
16570
16575
|
}
|
|
16571
16576
|
});
|
|
16572
16577
|
if (cb) {
|
|
16573
|
-
|
|
16578
|
+
out = cb(out, idx, query);
|
|
16574
16579
|
}
|
|
16575
16580
|
},
|
|
16576
16581
|
err => {
|
|
16577
|
-
|
|
16582
|
+
const error = err instanceof Error ? err : new Error(err);
|
|
16583
|
+
if(query && query.cb) {
|
|
16584
|
+
query.cb(null, error);
|
|
16585
|
+
return;
|
|
16586
|
+
}
|
|
16587
|
+
throw error;
|
|
16578
16588
|
}
|
|
16579
16589
|
);
|
|
16580
16590
|
return out;
|