@optimiser/common 1.0.441 → 1.0.444
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 +9 -0
- package/package.json +61 -60
package/dist/lib/utility.js
CHANGED
|
@@ -2412,6 +2412,15 @@ function FilterConditions(condition, match, fields) {
|
|
|
2412
2412
|
case "textarea":
|
|
2413
2413
|
obj.Value = obj.Value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&'); // [Rishi: QPC-10169] Escape string special characters
|
|
2414
2414
|
break;
|
|
2415
|
+
case "lookup":
|
|
2416
|
+
case "multilookup":
|
|
2417
|
+
// escape special characters for CONTAINS operator [Ravi Mishra: QPC-10750]
|
|
2418
|
+
if (obj.Operator === "CONTAINS") {
|
|
2419
|
+
if (typeof obj.Value === "string") {
|
|
2420
|
+
obj.Value = obj.Value.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
break;
|
|
2415
2424
|
}
|
|
2416
2425
|
}
|
|
2417
2426
|
// Or Condition code in NOT_CONTAINS filter was added by Shahzaib for QPC-6368
|
package/package.json
CHANGED
|
@@ -1,60 +1,61 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@optimiser/common",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"compile": "tsc",
|
|
8
|
-
"push": "tsc && npm version patch -git-tag-version false && npm publish"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
"
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
"@types/
|
|
18
|
-
"@types/
|
|
19
|
-
"@types/
|
|
20
|
-
"@types/
|
|
21
|
-
"@types/
|
|
22
|
-
"@types/
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"express
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"moment
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"@types/
|
|
52
|
-
"@types/
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/
|
|
55
|
-
"@types/
|
|
56
|
-
"@types/moment
|
|
57
|
-
"@types/
|
|
58
|
-
"@types/
|
|
59
|
-
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@optimiser/common",
|
|
3
|
+
"version": "1.0.444",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"compile": "tsc",
|
|
8
|
+
"push": "tsc && npm version patch -git-tag-version false && npm publish",
|
|
9
|
+
"push1": "tsc && npm publish"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/*"
|
|
13
|
+
],
|
|
14
|
+
"author": "",
|
|
15
|
+
"license": "ISC",
|
|
16
|
+
"dependencies": {
|
|
17
|
+
"@types/geoip-lite": "^1.4.0",
|
|
18
|
+
"@types/promise.allsettled": "^1.0.3",
|
|
19
|
+
"@types/request": "^2.48.5",
|
|
20
|
+
"@types/sanitize-html": "^2.11.0",
|
|
21
|
+
"@types/sequelize": "^4.28.9",
|
|
22
|
+
"@types/unzipper": "^0.10.3",
|
|
23
|
+
"@types/uuid": "^8.3.0",
|
|
24
|
+
"aws-sdk": "^2.786.0",
|
|
25
|
+
"axios": "^0.21.4",
|
|
26
|
+
"bson": "^4.2.0",
|
|
27
|
+
"exceljs": "^4.3.0",
|
|
28
|
+
"express": "^4.17.1",
|
|
29
|
+
"express-validator": "^6.9.2",
|
|
30
|
+
"firebase-admin": "^12.0.0",
|
|
31
|
+
"geoip-lite": "^1.4.2",
|
|
32
|
+
"google-libphonenumber": "^3.2.30",
|
|
33
|
+
"html-to-text": "^8.2.0",
|
|
34
|
+
"ioredis": "^4.17.3",
|
|
35
|
+
"libphonenumber-js": "^1.9.51",
|
|
36
|
+
"moment": "^2.25.3",
|
|
37
|
+
"moment-timezone": "^0.5.27",
|
|
38
|
+
"mongo-sanitize": "^1.1.0",
|
|
39
|
+
"mongodb": "^3.6.2",
|
|
40
|
+
"nodemailer": "^6.4.11",
|
|
41
|
+
"promise.allsettled": "^1.0.2",
|
|
42
|
+
"qrcode": "^1.5.3",
|
|
43
|
+
"request": "^2.88.2",
|
|
44
|
+
"sanitize-html": "^2.13.0",
|
|
45
|
+
"sequelize": "^6.3.5",
|
|
46
|
+
"typescript": "^5.3.3",
|
|
47
|
+
"unzipper": "^0.10.11",
|
|
48
|
+
"uuid": "^8.3.1"
|
|
49
|
+
},
|
|
50
|
+
"devDependencies": {
|
|
51
|
+
"@types/aws-sdk": "^2.7.0",
|
|
52
|
+
"@types/bson": "^4.0.2",
|
|
53
|
+
"@types/exceljs": "^1.3.0",
|
|
54
|
+
"@types/express": "^4.17.8",
|
|
55
|
+
"@types/ioredis": "^4.17.4",
|
|
56
|
+
"@types/moment": "^2.13.0",
|
|
57
|
+
"@types/moment-timezone": "^0.5.30",
|
|
58
|
+
"@types/mongodb": "^3.5.27",
|
|
59
|
+
"@types/nodemailer": "^6.4.0"
|
|
60
|
+
}
|
|
61
|
+
}
|