@tsed/ajv 7.42.0 → 7.43.0

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.
@@ -16,4 +16,5 @@ export type ErrorFormatter = (error: AjvErrorObject) => string;
16
16
  export interface IAjvSettings extends Options {
17
17
  Ajv?: any;
18
18
  errorFormatter?: ErrorFormatter;
19
+ returnsCoercedValues?: boolean;
19
20
  }
@@ -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.42.0",
3
+ "version": "7.43.0",
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.42.0",
30
- "@tsed/di": "7.42.0",
29
+ "@tsed/core": "7.43.0",
30
+ "@tsed/di": "7.43.0",
31
31
  "@tsed/eslint": "7.39.1",
32
- "@tsed/exceptions": "7.42.0",
33
- "@tsed/schema": "7.42.0",
32
+ "@tsed/exceptions": "7.43.0",
33
+ "@tsed/schema": "7.43.0",
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.42.0",
40
- "@tsed/di": "^7.42.0",
41
- "@tsed/exceptions": "^7.42.0",
42
- "@tsed/schema": "^7.42.0",
39
+ "@tsed/core": "^7.43.0",
40
+ "@tsed/di": "^7.43.0",
41
+ "@tsed/exceptions": "^7.43.0",
42
+ "@tsed/schema": "^7.43.0",
43
43
  "ajv": ">=8.9.0",
44
44
  "ajv-errors": ">=3.0.0"
45
45
  },