js-mvc-framework
Advanced tools
Comparing version 1.2.26 to 1.2.27
@@ -23,2 +23,4 @@ import { Validator, Validation } from '/dependencies/mvc-framework.js' | ||
validation.valid = true | ||
} else { | ||
validation.valid = false | ||
} | ||
@@ -25,0 +27,0 @@ return validation |
@@ -79,2 +79,7 @@ import { typeOf } from '../../Coutil/index.js' | ||
) { addValidators.push(new EnumValidator()) } | ||
// Context Validator: Add Match | ||
if( | ||
Array.isArray(this.#_context[$contextKey].match) && | ||
this.#_context[$contextKey].match.length > 0 | ||
) { addValidators.push(new MatchValidator()) } | ||
this.#_context[$contextKey].validators = addValidators.concat(this.#_context[$contextKey].validators) | ||
@@ -81,0 +86,0 @@ } |
{ | ||
"name": "js-mvc-framework", | ||
"author": "Thomas Patrick Welborn", | ||
"version": "1.2.26", | ||
"version": "1.2.27", | ||
"type": "module", | ||
@@ -6,0 +6,0 @@ "scripts": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
1685321
13016