@geekbears/gb-class-validators 0.0.18 → 0.0.20
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.
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExactMatch =
|
|
3
|
+
exports.ExactMatch = ExactMatch;
|
|
4
4
|
const class_validator_1 = require("class-validator");
|
|
5
5
|
const lodash_1 = require("lodash");
|
|
6
6
|
function ExactMatch(property, validationOptions) {
|
|
@@ -21,4 +21,3 @@ function ExactMatch(property, validationOptions) {
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
}
|
|
24
|
-
exports.ExactMatch = ExactMatch;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IsIncludedIn =
|
|
3
|
+
exports.IsIncludedIn = IsIncludedIn;
|
|
4
4
|
const class_validator_1 = require("class-validator");
|
|
5
5
|
function IsIncludedIn(property, validationOptions) {
|
|
6
6
|
return (object, propertyName) => {
|
|
@@ -19,4 +19,3 @@ function IsIncludedIn(property, validationOptions) {
|
|
|
19
19
|
});
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
exports.IsIncludedIn = IsIncludedIn;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IsGBPhoneNumber =
|
|
3
|
+
exports.IsGBPhoneNumber = IsGBPhoneNumber;
|
|
4
4
|
const class_validator_1 = require("class-validator");
|
|
5
5
|
const libphonenumber_js_1 = require("libphonenumber-js");
|
|
6
6
|
const lodash_1 = require("lodash");
|
|
@@ -29,4 +29,3 @@ function IsGBPhoneNumber(params, validationOptions) {
|
|
|
29
29
|
});
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
exports.IsGBPhoneNumber = IsGBPhoneNumber;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@geekbears/gb-class-validators",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.20",
|
|
4
4
|
"description": "Geekbears custom validators using class-validator package.",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
"homepage": "https://gitlab.com/geekbears/utilities/backend/gb-class-validators#readme",
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/jest": "^29.5.12",
|
|
49
|
-
"@types/lodash": "^4.17.
|
|
49
|
+
"@types/lodash": "^4.17.7",
|
|
50
50
|
"@types/validator": "^13.12.0",
|
|
51
51
|
"jest": "^29.7.0",
|
|
52
|
-
"prettier": "^3.3.
|
|
53
|
-
"rimraf": "^
|
|
54
|
-
"ts-jest": "^29.
|
|
52
|
+
"prettier": "^3.3.3",
|
|
53
|
+
"rimraf": "^6.0.1",
|
|
54
|
+
"ts-jest": "^29.2.4",
|
|
55
55
|
"tslint": "^6.1.3",
|
|
56
56
|
"tslint-config-prettier": "^1.18.0",
|
|
57
|
-
"typescript": "^5.4
|
|
57
|
+
"typescript": "^5.5.4"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"class-validator": "^0.14.1",
|