async-validate
Advanced tools
Comparing version 0.7.5 to 0.7.6
@@ -252,3 +252,3 @@ ## Guide | ||
The important point to remember is that for helper methods assign to `this` and for static rule functions (located by `type`) assign to `main` in the plugin. | ||
The important point to remember is that for helper methods assign to `this` and for static rule functions (located by `type`) assign to `this.main` in the plugin. | ||
@@ -327,7 +327,7 @@ Helper method: | ||
A range is defined using the `min` and `max` properties. For `string` and `array` types comparison is performed against the `length`, for `number` types the number must not be less than `min` nor greater than `max`. | ||
A range is defined using the `min` and `max` properties. For `string`, `function` and `array` types comparison is performed against the `length`, for `number` types the number must not be less than `min` nor greater than `max`. | ||
#### Length | ||
To validate an exact length of a field specify the `len` property. For `string` and `array` types comparison is performed on the `length` property, for the `number` type this property indicates an exact match for the `number`, ie, it may only be strictly equal to `len`. | ||
To validate an exact length of a field specify the `len` property. For `string`, `function` and `array` types comparison is performed on the `length` property, for the `number` type this property indicates an exact match for the `number`, ie, it may only be strictly equal to `len`. | ||
@@ -334,0 +334,0 @@ If the `len` property is combined with the `min` and `max` range properties, `len` takes precedence. |
{ | ||
"name": "async-validate", | ||
"description": "Asynchronous validation for node and the browser", | ||
"version": "0.7.5", | ||
"version": "0.7.6", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -355,3 +355,3 @@ Table of Contents | ||
The important point to remember is that for helper methods assign to `this` and for static rule functions (located by `type`) assign to `main` in the plugin. | ||
The important point to remember is that for helper methods assign to `this` and for static rule functions (located by `type`) assign to `this.main` in the plugin. | ||
@@ -430,7 +430,7 @@ Helper method: | ||
A range is defined using the `min` and `max` properties. For `string` and `array` types comparison is performed against the `length`, for `number` types the number must not be less than `min` nor greater than `max`. | ||
A range is defined using the `min` and `max` properties. For `string`, `function` and `array` types comparison is performed against the `length`, for `number` types the number must not be less than `min` nor greater than `max`. | ||
#### Length | ||
To validate an exact length of a field specify the `len` property. For `string` and `array` types comparison is performed on the `length` property, for the `number` type this property indicates an exact match for the `number`, ie, it may only be strictly equal to `len`. | ||
To validate an exact length of a field specify the `len` property. For `string`, `function` and `array` types comparison is performed on the `length` property, for the `number` type this property indicates an exact match for the `number`, ie, it may only be strictly equal to `len`. | ||
@@ -437,0 +437,0 @@ If the `len` property is combined with the `min` and `max` range properties, `len` takes precedence. |
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
134320