namirasoft-core
Advanced tools
Comparing version 1.4.11 to 1.4.12
@@ -76,3 +76,3 @@ "use strict"; | ||
getCommand() { | ||
return [this.table.name, this.column.name, this.not ? "1" : "0", this.operator.name, ...this.values.map(x => x.replace(/;/gm, "\\;"))].join(";"); | ||
return [this.table.name, this.column.name, this.not ? "1" : "0", this.operator.name, ...this.values.map(x => (x !== null && x !== void 0 ? x : "").toString().replace(/;/gm, "\\;"))].join(";"); | ||
} | ||
@@ -79,0 +79,0 @@ isAllColumns() { |
@@ -11,3 +11,3 @@ { | ||
"private": false, | ||
"version": "1.4.11", | ||
"version": "1.4.12", | ||
"author": "Amir Abolhasani", | ||
@@ -14,0 +14,0 @@ "license": "MIT", |
@@ -100,3 +100,3 @@ import { BaseMetaColumn } from "./BaseMetaColumn"; | ||
{ | ||
return [this.table.name, this.column.name, this.not ? "1" : "0", this.operator.name, ...this.values.map(x => x.replace(/;/gm, "\\;"))].join(";"); | ||
return [this.table.name, this.column.name, this.not ? "1" : "0", this.operator.name, ...this.values.map(x => (x ?? "").toString().replace(/;/gm, "\\;"))].join(";"); | ||
} | ||
@@ -103,0 +103,0 @@ isAllColumns() |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
397546