Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
pattern: {
func: Validators.pattern,
params: ["pattern"]
},
required: {
func: Validators.required
},
requiredTrue: {
func: Validators.requiredTrue
},
base64: {
func: CustomValidators.base64,
params: ["min"]
},
creditCard: {
func: CustomValidators.creditCard
},
date: {
func: CustomValidators.date
},
dateISO: {
func: CustomValidators.dateISO
},
digits: {
func: CustomValidators.digits
},
equal: {
func: CustomValidators.equal,
params: ["equal"]
},
equalTo: {
func: CustomValidators.equalTo,