alasql 4.2.2 → 4.2.3
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/Untitled-1.js +1 -0
- package/dist/alasql-worker.js +2 -2
- package/dist/alasql.fs.js +8 -8
- package/dist/alasql.js +8 -8
- package/dist/alasql.min.js +4 -4
- package/package.json +3 -3
package/Untitled-1.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
≤
|
package/dist/alasql-worker.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.2.
|
|
1
|
+
//! AlaSQL v4.2.2 build: develop-a55b6500 | © 2014-2023 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.2.
|
|
4
|
+
@version 4.2.2
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2023 Andrey Gershun & Mathias Wulff
|
package/dist/alasql.fs.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.2.
|
|
1
|
+
//! AlaSQL v4.2.2 build: develop-a55b6500 | © 2014-2023 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.2.
|
|
4
|
+
@version 4.2.2
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2023 Andrey Gershun & Mathias Wulff
|
|
@@ -141,8 +141,8 @@ var alasql = function(sql, params, cb, scope) {
|
|
|
141
141
|
Current version of alasql
|
|
142
142
|
@constant {string}
|
|
143
143
|
*/
|
|
144
|
-
alasql.version = '4.2.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.2.2';
|
|
145
|
+
alasql.build = 'develop-a55b6500';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -4393,7 +4393,7 @@ alasql.utils.uncomment = function (str) {
|
|
|
4393
4393
|
}
|
|
4394
4394
|
} else if (lineComment) {
|
|
4395
4395
|
// One-line comments end with the line-break
|
|
4396
|
-
if (str[i + 1] === '\n' || str[i + 1] === '\r') {
|
|
4396
|
+
if (str[i + 1] === '\n' || str[i + 1] === '\r' || str.length - 2 === i) {
|
|
4397
4397
|
lineComment = false;
|
|
4398
4398
|
}
|
|
4399
4399
|
str[i] = '';
|
|
@@ -4404,9 +4404,9 @@ alasql.utils.uncomment = function (str) {
|
|
|
4404
4404
|
} else if (str[i] === '[' && str[i - 1] !== '@') {
|
|
4405
4405
|
quote = true;
|
|
4406
4406
|
quoteSign = ']';
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4407
|
+
} else if (str[i] === '-' && str[i + 1] === '-') {
|
|
4408
|
+
str[i] = '';
|
|
4409
|
+
lineComment = true;
|
|
4410
4410
|
} else if (str[i] === '/' && str[i + 1] === '*') {
|
|
4411
4411
|
// Do not filter out conditional comments /*@ ... */
|
|
4412
4412
|
// and comments marked as protected /*! ... */
|
package/dist/alasql.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
//! AlaSQL v4.2.
|
|
1
|
+
//! AlaSQL v4.2.2 build: develop-a55b6500 | © 2014-2023 Andrey Gershun & Mathias Wulff | License: MIT
|
|
2
2
|
/*
|
|
3
3
|
@module alasql
|
|
4
|
-
@version 4.2.
|
|
4
|
+
@version 4.2.2
|
|
5
5
|
|
|
6
6
|
AlaSQL - JavaScript SQL database
|
|
7
7
|
© 2014-2023 Andrey Gershun & Mathias Wulff
|
|
@@ -141,8 +141,8 @@ var alasql = function(sql, params, cb, scope) {
|
|
|
141
141
|
Current version of alasql
|
|
142
142
|
@constant {string}
|
|
143
143
|
*/
|
|
144
|
-
alasql.version = '4.2.
|
|
145
|
-
alasql.build = 'develop-
|
|
144
|
+
alasql.version = '4.2.2';
|
|
145
|
+
alasql.build = 'develop-a55b6500';
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
Debug flag
|
|
@@ -4393,7 +4393,7 @@ alasql.utils.uncomment = function (str) {
|
|
|
4393
4393
|
}
|
|
4394
4394
|
} else if (lineComment) {
|
|
4395
4395
|
// One-line comments end with the line-break
|
|
4396
|
-
if (str[i + 1] === '\n' || str[i + 1] === '\r') {
|
|
4396
|
+
if (str[i + 1] === '\n' || str[i + 1] === '\r' || str.length - 2 === i) {
|
|
4397
4397
|
lineComment = false;
|
|
4398
4398
|
}
|
|
4399
4399
|
str[i] = '';
|
|
@@ -4404,9 +4404,9 @@ alasql.utils.uncomment = function (str) {
|
|
|
4404
4404
|
} else if (str[i] === '[' && str[i - 1] !== '@') {
|
|
4405
4405
|
quote = true;
|
|
4406
4406
|
quoteSign = ']';
|
|
4407
|
-
|
|
4408
|
-
|
|
4409
|
-
|
|
4407
|
+
} else if (str[i] === '-' && str[i + 1] === '-') {
|
|
4408
|
+
str[i] = '';
|
|
4409
|
+
lineComment = true;
|
|
4410
4410
|
} else if (str[i] === '/' && str[i + 1] === '*') {
|
|
4411
4411
|
// Do not filter out conditional comments /*@ ... */
|
|
4412
4412
|
// and comments marked as protected /*! ... */
|