@optimiser/common 1.0.444 → 1.0.445
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/dist/lib/utility.js +6 -1
- package/package.json +2 -3
package/dist/lib/utility.js
CHANGED
|
@@ -2415,7 +2415,12 @@ function FilterConditions(condition, match, fields) {
|
|
|
2415
2415
|
case "lookup":
|
|
2416
2416
|
case "multilookup":
|
|
2417
2417
|
// escape special characters for CONTAINS operator [Ravi Mishra: QPC-10750]
|
|
2418
|
-
if (obj.Operator === "CONTAINS"
|
|
2418
|
+
if (obj.Operator === "CONTAINS" ||
|
|
2419
|
+
obj.Operator === "NOT_CONTAINS" ||
|
|
2420
|
+
obj.Operator === "EQUAL" ||
|
|
2421
|
+
obj.Operator === "NOT_EQUAL" ||
|
|
2422
|
+
obj.Operator === "STARTS_WITH" ||
|
|
2423
|
+
obj.Operator === "END_WITH") {
|
|
2419
2424
|
if (typeof obj.Value === "string") {
|
|
2420
2425
|
obj.Value = obj.Value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
2421
2426
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@optimiser/common",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.445",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"compile": "tsc",
|
|
8
|
-
"push": "tsc && npm version patch -git-tag-version false && npm publish"
|
|
9
|
-
"push1": "tsc && npm publish"
|
|
8
|
+
"push": "tsc && npm version patch -git-tag-version false && npm publish"
|
|
10
9
|
},
|
|
11
10
|
"files": [
|
|
12
11
|
"dist/*"
|