alasql 4.6.7 → 4.7.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 +2 -2
- package/bin/alasql-cli.js +1 -1
- package/dist/alasql-worker.js +2 -2
- package/dist/alasql.fs.js +18 -5
- package/dist/alasql.js +18 -5
- package/dist/alasql.min.js +12 -12
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
- _AlaSQL is an unfunded open source project installed
|
|
1
|
+
- _AlaSQL is an unfunded open source project installed 500k+ times each month. [Please donate your time](https://github.com/AlaSQL/alasql/issues?q=is%3Aopen+label%3A%22Help+wanted%22+sort%3Aupdated-desc). We appreciate any and all contributions we can get._
|
|
2
2
|
|
|
3
3
|
- _Have a question? [Ask the AlaSQL bot](https://chat.openai.com/g/g-XcBL24WTe-alasql-bot) or post on [Stack Overflow](http://stackoverflow.com/questions/ask?tags=AlaSQL)._
|
|
4
4
|
|
|
@@ -626,7 +626,7 @@ Thanks to all the people who already contributed!
|
|
|
626
626
|
* [Andrey Gershun](https://github.com/alasql)
|
|
627
627
|
* [Mathias Rangel Wulff](https://twitter.com/rangelwulff)
|
|
628
628
|
|
|
629
|
-
AlaSQL is an [OPEN Open Source Project](
|
|
629
|
+
AlaSQL is an [OPEN Open Source Project](https://openopensource.github.io/). This means that:
|
|
630
630
|
|
|
631
631
|
> Individuals making significant and valuable contributions are given commit-access to the project to contribute as they see fit. This project is more like an open wiki than a standard guarded open source project.
|
|
632
632
|
|
package/bin/alasql-cli.js
CHANGED
package/dist/alasql-worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.
|
|
1
|
+
//! AlaSQL v4.7.1 build: develop-272b12b3 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.
|
|
4
|
+
@version 4.7.1
|
|
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.
|
|
1
|
+
//! AlaSQL v4.7.1 build: develop-272b12b3 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.
|
|
4
|
+
@version 4.7.1
|
|
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.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.7.1';
|
|
145
|
+
alasql.build = 'develop-272b12b3';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -3619,6 +3619,19 @@ async function fetchData(path, success, error, async) {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
|
|
3621
3621
|
function getData(path, success, error) {
|
|
3622
|
+
return _fetch(path)
|
|
3623
|
+
.then(response => response.text())
|
|
3624
|
+
.then(txt => {
|
|
3625
|
+
success(txt);
|
|
3626
|
+
})
|
|
3627
|
+
.catch(e => {
|
|
3628
|
+
if (error) return error(e);
|
|
3629
|
+
console.error(e);
|
|
3630
|
+
throw e;
|
|
3631
|
+
});
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
function getBinaryData(path, success, error) {
|
|
3622
3635
|
return _fetch(path)
|
|
3623
3636
|
.then(response => response.arrayBuffer())
|
|
3624
3637
|
.then(buf => {
|
|
@@ -3658,7 +3671,7 @@ var loadBinaryFile = (utils.loadBinaryFile = function (
|
|
|
3658
3671
|
fs = require('fs');
|
|
3659
3672
|
|
|
3660
3673
|
if (/^[a-z]+:\/\//i.test(path)) {
|
|
3661
|
-
|
|
3674
|
+
return getBinaryData(path, success, error);
|
|
3662
3675
|
} else {
|
|
3663
3676
|
if (runAsync) {
|
|
3664
3677
|
fs.readFile(path, function (err, data) {
|
package/dist/alasql.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.
|
|
1
|
+
//! AlaSQL v4.7.1 build: develop-272b12b3 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.
|
|
4
|
+
@version 4.7.1
|
|
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.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.7.1';
|
|
145
|
+
alasql.build = 'develop-272b12b3';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -3619,6 +3619,19 @@ async function fetchData(path, success, error, async) {
|
|
|
3619
3619
|
}
|
|
3620
3620
|
|
|
3621
3621
|
function getData(path, success, error) {
|
|
3622
|
+
return _fetch(path)
|
|
3623
|
+
.then(response => response.text())
|
|
3624
|
+
.then(txt => {
|
|
3625
|
+
success(txt);
|
|
3626
|
+
})
|
|
3627
|
+
.catch(e => {
|
|
3628
|
+
if (error) return error(e);
|
|
3629
|
+
console.error(e);
|
|
3630
|
+
throw e;
|
|
3631
|
+
});
|
|
3632
|
+
}
|
|
3633
|
+
|
|
3634
|
+
function getBinaryData(path, success, error) {
|
|
3622
3635
|
return _fetch(path)
|
|
3623
3636
|
.then(response => response.arrayBuffer())
|
|
3624
3637
|
.then(buf => {
|
|
@@ -3658,7 +3671,7 @@ var loadBinaryFile = (utils.loadBinaryFile = function (
|
|
|
3658
3671
|
fs = require('fs');
|
|
3659
3672
|
|
|
3660
3673
|
if (/^[a-z]+:\/\//i.test(path)) {
|
|
3661
|
-
|
|
3674
|
+
return getBinaryData(path, success, error);
|
|
3662
3675
|
} else {
|
|
3663
3676
|
if (runAsync) {
|
|
3664
3677
|
fs.readFile(path, function (err, data) {
|