Skip to content

Commit 55a0f03

Browse files
committed
Forgot to update npm version number.
1 parent c5cbd79 commit 55a0f03

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

dist/gssql.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1743,7 +1743,7 @@ class Schema {
17431743
* @returns {FieldVariants}
17441744
*/
17451745
getColumnNameVariants(colName) {
1746-
const columnName = colName.trim().toUpperCase().replace(/\s/g, "_");
1746+
const columnName = colName.trim().toUpperCase().replaceAll(/\s/g, "_");
17471747
const columnNameVariants = [];
17481748

17491749
if (!columnName.includes(".")) {
@@ -5912,7 +5912,7 @@ class SqlParse {
59125912
let query = newStr.substring(i, endCount + 1);
59135913

59145914
// Hide words defined as separator but written inside brackets in the query
5915-
query = query.replace(new RegExp(parts_name_escaped.join('|'), 'gi'), replaceFunction);
5915+
query = query.replaceAll(new RegExp(parts_name_escaped.join('|'), 'gi'), replaceFunction);
59165916

59175917
newStr = newStr.substring(0, i) + query + newStr.substring(endCount + 1);
59185918
}
@@ -7315,7 +7315,7 @@ class TableData { // skipcq: JS-0128
73157315
tableNamedRange = tableNamedRange.substring(1, tableNamedRange.length - 1);
73167316
}
73177317

7318-
if (tableNamedRange.indexOf("*") !== -1) {
7318+
if (tableNamedRange.includes("*")) {
73197319
return TableData.loadMultipleSheets(tableNamedRange);
73207320
}
73217321

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@demmings/gssql",
3-
"version": "1.3.50",
3+
"version": "1.3.51",
44
"description": "Google Sheets QUERY function replacement using real SQL select syntax.",
55
"main": "testGsSql.js",
66
"files": ["./src", "src", "img", "dist"],

src/SimpleParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ class SqlParse {
203203
let query = newStr.substring(i, endCount + 1);
204204

205205
// Hide words defined as separator but written inside brackets in the query
206-
query = query.replace(new RegExp(parts_name_escaped.join('|'), 'gi'), replaceFunction);
206+
query = query.replaceAll(new RegExp(parts_name_escaped.join('|'), 'gi'), replaceFunction);
207207

208208
newStr = newStr.substring(0, i) + query + newStr.substring(endCount + 1);
209209
}

src/Table.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ class Schema {
517517
* @returns {FieldVariants}
518518
*/
519519
getColumnNameVariants(colName) {
520-
const columnName = colName.trim().toUpperCase().replace(/\s/g, "_");
520+
const columnName = colName.trim().toUpperCase().replaceAll(/\s/g, "_");
521521
const columnNameVariants = [];
522522

523523
if (!columnName.includes(".")) {

src/TableData.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class TableData { // skipcq: JS-0128
266266
tableNamedRange = tableNamedRange.substring(1, tableNamedRange.length - 1);
267267
}
268268

269-
if (tableNamedRange.indexOf("*") !== -1) {
269+
if (tableNamedRange.includes("*")) {
270270
return TableData.loadMultipleSheets(tableNamedRange);
271271
}
272272

\ renamed to ~

File renamed without changes.

0 commit comments

Comments
 (0)