async-validate
Advanced tools
Comparing version 0.9.8 to 0.9.9
@@ -46,2 +46,3 @@ ### API | ||
* `field`: Field name for the source object, default is `source` when not specified. | ||
* `parent`: Parent object for the `source` value. | ||
* `state`: Object to be used as the initial user data state. | ||
@@ -48,0 +49,0 @@ * `vars`: Object map of variables to assign to each rule. |
@@ -99,4 +99,4 @@ var iterator = require('./iterator') | ||
if(assign && opts._parent && rule.field) { | ||
opts._parent[rule.field] = assign; | ||
if(assign && opts.parent && rule.field) { | ||
opts.parent[rule.field] = assign; | ||
} | ||
@@ -240,3 +240,3 @@ | ||
options._parent = rule.value; | ||
options.parent = rule.value; | ||
options._deep = true; | ||
@@ -243,0 +243,0 @@ |
{ | ||
"name": "async-validate", | ||
"description": "Asynchronous validation for node and the browser", | ||
"version": "0.9.8", | ||
"version": "0.9.9", | ||
"author": "muji <noop@xpm.io>", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
@@ -699,2 +699,3 @@ Table of Contents | ||
* `field`: Field name for the source object, default is `source` when not specified. | ||
* `parent`: Parent object for the `source` value. | ||
* `state`: Object to be used as the initial user data state. | ||
@@ -701,0 +702,0 @@ * `vars`: Object map of variables to assign to each rule. |
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
187113
888