aurelia-validation
Advanced tools
Comparing version 0.12.3 to 0.12.4
{ | ||
"name": "aurelia-validation", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"description": "Validation for Aurelia applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -21,2 +21,3 @@ /** | ||
constructor(rule: any, message: string, object: any, propertyName?: string | null); | ||
toString(): string; | ||
} |
@@ -21,2 +21,5 @@ define(["require", "exports"], function (require, exports) { | ||
} | ||
ValidationError.prototype.toString = function () { | ||
return this.message; | ||
}; | ||
ValidationError.nextId = 0; | ||
@@ -23,0 +26,0 @@ return ValidationError; |
@@ -21,2 +21,3 @@ /** | ||
constructor(rule: any, message: string, object: any, propertyName?: string | null); | ||
toString(): string; | ||
} |
@@ -20,2 +20,5 @@ "use strict"; | ||
} | ||
ValidationError.prototype.toString = function () { | ||
return this.message; | ||
}; | ||
ValidationError.nextId = 0; | ||
@@ -22,0 +25,0 @@ return ValidationError; |
@@ -21,2 +21,3 @@ /** | ||
constructor(rule: any, message: string, object: any, propertyName?: string | null); | ||
toString(): string; | ||
} |
@@ -18,3 +18,6 @@ /** | ||
} | ||
toString() { | ||
return this.message; | ||
} | ||
} | ||
ValidationError.nextId = 0; |
@@ -21,2 +21,3 @@ /** | ||
constructor(rule: any, message: string, object: any, propertyName?: string | null); | ||
toString(): string; | ||
} |
@@ -19,4 +19,7 @@ /** | ||
} | ||
ValidationError.prototype.toString = function () { | ||
return this.message; | ||
}; | ||
ValidationError.nextId = 0; | ||
return ValidationError; | ||
}()); |
@@ -21,2 +21,3 @@ /** | ||
constructor(rule: any, message: string, object: any, propertyName?: string | null); | ||
toString(): string; | ||
} |
@@ -26,2 +26,5 @@ System.register([], function(exports_1, context_1) { | ||
} | ||
ValidationError.prototype.toString = function () { | ||
return this.message; | ||
}; | ||
ValidationError.nextId = 0; | ||
@@ -28,0 +31,0 @@ return ValidationError; |
@@ -582,3 +582,3 @@ --- | ||
|| Number.isInteger(value) && value >= config.min && value <= config.max, | ||
`\${$displayName} must be an integer between \${$config.min} and \${config.max}.`, | ||
`\${$displayName} must be an integer between \${$config.min} and \${$config.max}.`, | ||
(min, max) => ({ min, max }) | ||
@@ -585,0 +585,0 @@ ); |
{ | ||
"name": "aurelia-validation", | ||
"version": "0.12.3", | ||
"version": "0.12.4", | ||
"description": "Validation for Aurelia applications", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -26,2 +26,6 @@ /** | ||
} | ||
toString() { | ||
return this.message; | ||
} | ||
} |
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
671633
225
13014