ajv-formats
Advanced tools
Comparing version 1.5.1 to 1.6.0
{ | ||
"name": "ajv-formats", | ||
"version": "1.5.1", | ||
"version": "1.6.0", | ||
"description": "Format validation for Ajv v7", | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
"homepage": "https://github.com/ajv-validator/ajv-formats#readme", | ||
"dependencies": { | ||
"peerDependencies": { | ||
"ajv": "^7.0.0" | ||
@@ -47,2 +47,3 @@ }, | ||
"@typescript-eslint/parser": "^3.7.0", | ||
"ajv": "^7.0.0", | ||
"eslint": "^7.5.0", | ||
@@ -49,0 +50,0 @@ "eslint-config-prettier": "^6.11.0", |
@@ -53,5 +53,5 @@ # ajv-formats | ||
The value of keywords `formatMaximum`/`formatMinimum` and `formatExclusiveMaximum`/`formatExclusiveMinimum` should be a string or [\$data reference](https://github.com/ajv-validator/ajv/blob/v7-beta/docs/validation.md#data-reference). This value is the maximum (minimum) allowed value for the data to be valid as determined by `format` keyword. If `format` keyword is not present schema compilation will throw exception. | ||
The value of keywords `formatMaximum`/`formatMinimum` and `formatExclusiveMaximum`/`formatExclusiveMinimum` should be a string or [\$data reference](https://github.com/ajv-validator/ajv/blob/master/docs/validation.md#data-reference). This value is the maximum (minimum) allowed value for the data to be valid as determined by `format` keyword. If `format` keyword is not present schema compilation will throw exception. | ||
When these keyword are added, they also add comparison functions to formats `"date"`, `"time"` and `"date-time"`. User-defined formats also can have comparison functions. See [addFormat](https://github.com/ajv-validator/ajv/blob/v7-beta/docs/api.md#api-addformat) method. | ||
When these keyword are added, they also add comparison functions to formats `"date"`, `"time"` and `"date-time"`. User-defined formats also can have comparison functions. See [addFormat](https://github.com/ajv-validator/ajv/blob/master/docs/api.md#api-addformat) method. | ||
@@ -58,0 +58,0 @@ ```javascript |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47791
15
- Removedajv@^7.0.0