@tsed/ajv 7.42.0 → 7.43.1
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/jest.config.js +1 -1
- package/lib/cjs/services/AjvService.js +10 -2
- package/lib/cjs/services/AjvService.js.map +1 -1
- package/lib/esm/services/AjvService.js +10 -2
- package/lib/esm/services/AjvService.js.map +1 -1
- package/lib/tsconfig.esm.tsbuildinfo +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/interfaces/IAjvSettings.d.ts +1 -0
- package/lib/types/services/AjvService.d.ts +1 -0
- package/package.json +9 -9
|
@@ -11,6 +11,7 @@ export interface AjvValidateOptions extends Record<string, any> {
|
|
|
11
11
|
}
|
|
12
12
|
export declare class AjvService {
|
|
13
13
|
protected errorFormatter: ErrorFormatter;
|
|
14
|
+
protected returnsCoercedValues: boolean;
|
|
14
15
|
protected ajv: Ajv;
|
|
15
16
|
validate(value: any, options: AjvValidateOptions | JsonSchema): Promise<any>;
|
|
16
17
|
protected mapOptions(options: AjvValidateOptions | JsonSchema): AjvValidateOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tsed/ajv",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.43.1",
|
|
4
4
|
"description": "AJV package for Ts.ED framework",
|
|
5
5
|
"source": "./src/index.ts",
|
|
6
6
|
"main": "./lib/cjs/index.js",
|
|
@@ -26,20 +26,20 @@
|
|
|
26
26
|
"tslib": "2.5.0"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@tsed/core": "7.
|
|
30
|
-
"@tsed/di": "7.
|
|
29
|
+
"@tsed/core": "7.43.1",
|
|
30
|
+
"@tsed/di": "7.43.1",
|
|
31
31
|
"@tsed/eslint": "7.39.1",
|
|
32
|
-
"@tsed/exceptions": "7.
|
|
33
|
-
"@tsed/schema": "7.
|
|
32
|
+
"@tsed/exceptions": "7.43.1",
|
|
33
|
+
"@tsed/schema": "7.43.1",
|
|
34
34
|
"@tsed/typescript": "7.39.1",
|
|
35
35
|
"ajv": "8.11.0",
|
|
36
36
|
"eslint": "^8.12.0"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@tsed/core": "^7.
|
|
40
|
-
"@tsed/di": "^7.
|
|
41
|
-
"@tsed/exceptions": "^7.
|
|
42
|
-
"@tsed/schema": "^7.
|
|
39
|
+
"@tsed/core": "^7.43.1",
|
|
40
|
+
"@tsed/di": "^7.43.1",
|
|
41
|
+
"@tsed/exceptions": "^7.43.1",
|
|
42
|
+
"@tsed/schema": "^7.43.1",
|
|
43
43
|
"ajv": ">=8.9.0",
|
|
44
44
|
"ajv-errors": ">=3.0.0"
|
|
45
45
|
},
|