alasql 4.3.0 → 4.3.2

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.
@@ -1,7 +1,7 @@
1
- //! AlaSQL v4.2.7 build: develop-993501d9 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
1
+ //! AlaSQL v4.3.1 build: develop-29d118e7 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
2
2
  /*
3
3
  @module alasql
4
- @version 4.2.7
4
+ @version 4.3.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.2.7 build: develop-993501d9 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
1
+ //! AlaSQL v4.3.1 build: develop-29d118e7 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
2
2
  /*
3
3
  @module alasql
4
- @version 4.2.7
4
+ @version 4.3.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.2.7';
145
- alasql.build = 'develop-993501d9';
144
+ alasql.version = '4.3.1';
145
+ alasql.build = 'develop-29d118e7';
146
146
 
147
147
  /**
148
148
  Debug flag
@@ -1904,10 +1904,10 @@ case 759:
1904
1904
  this.$ = new yy.AddRule({right:$$[$0]});
1905
1905
  break;
1906
1906
  case 762:
1907
- this.$ = new yy.Term({termid:$$[$0]});
1907
+ this.$ = {termid: $$[$0]};
1908
1908
  break;
1909
1909
  case 763:
1910
- this.$ = new yy.Term({termid:$$[$0-3],args:$$[$0-1]});
1910
+ this.$ = {termid:$$[$0-3], args:$$[$0-1]};
1911
1911
  break;
1912
1912
  case 766:
1913
1913
 
@@ -3361,7 +3361,10 @@ utils.isWebWorker = (function () {
3361
3361
  */
3362
3362
  utils.isNode = (function () {
3363
3363
  try {
3364
- return utils.isNativeFunction(utils.global.process.reallyExit);
3364
+ if (typeof process === 'undefined' || !process.versions || !process.versions.node) {
3365
+ return false;
3366
+ }
3367
+ return true;
3365
3368
  } catch (e) {
3366
3369
  return false;
3367
3370
  }
@@ -11039,7 +11042,7 @@ stdfn.CONCAT_WS = function () {
11039
11042
  // TRIM
11040
11043
 
11041
11044
  // Aggregator for joining strings
11042
- alasql.aggr.GROUP_CONCAT = function (v, s, stage) {
11045
+ alasql.aggr.group_concat = alasql.aggr.GROUP_CONCAT = function (v, s, stage) {
11043
11046
  if (stage === 1) {
11044
11047
  return '' + v;
11045
11048
  } else if (stage === 2) {
package/dist/alasql.js CHANGED
@@ -1,7 +1,7 @@
1
- //! AlaSQL v4.2.7 build: develop-993501d9 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
1
+ //! AlaSQL v4.3.1 build: develop-29d118e7 | © 2014-2024 Andrey Gershun & Mathias Wulff | License: MIT
2
2
  /*
3
3
  @module alasql
4
- @version 4.2.7
4
+ @version 4.3.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.2.7';
145
- alasql.build = 'develop-993501d9';
144
+ alasql.version = '4.3.1';
145
+ alasql.build = 'develop-29d118e7';
146
146
 
147
147
  /**
148
148
  Debug flag
@@ -1904,10 +1904,10 @@ case 759:
1904
1904
  this.$ = new yy.AddRule({right:$$[$0]});
1905
1905
  break;
1906
1906
  case 762:
1907
- this.$ = new yy.Term({termid:$$[$0]});
1907
+ this.$ = {termid: $$[$0]};
1908
1908
  break;
1909
1909
  case 763:
1910
- this.$ = new yy.Term({termid:$$[$0-3],args:$$[$0-1]});
1910
+ this.$ = {termid:$$[$0-3], args:$$[$0-1]};
1911
1911
  break;
1912
1912
  case 766:
1913
1913
 
@@ -3361,7 +3361,10 @@ utils.isWebWorker = (function () {
3361
3361
  */
3362
3362
  utils.isNode = (function () {
3363
3363
  try {
3364
- return utils.isNativeFunction(utils.global.process.reallyExit);
3364
+ if (typeof process === 'undefined' || !process.versions || !process.versions.node) {
3365
+ return false;
3366
+ }
3367
+ return true;
3365
3368
  } catch (e) {
3366
3369
  return false;
3367
3370
  }
@@ -11039,7 +11042,7 @@ stdfn.CONCAT_WS = function () {
11039
11042
  // TRIM
11040
11043
 
11041
11044
  // Aggregator for joining strings
11042
- alasql.aggr.GROUP_CONCAT = function (v, s, stage) {
11045
+ alasql.aggr.group_concat = alasql.aggr.GROUP_CONCAT = function (v, s, stage) {
11043
11046
  if (stage === 1) {
11044
11047
  return '' + v;
11045
11048
  } else if (stage === 2) {