aurelia-validation
Advanced tools
Comparing version 1.3.3 to 1.4.0
@@ -717,2 +717,26 @@ import { AccessKeyed, AccessMember, AccessScope, Binary, Binding, BindingBehavior, CallMember, Conditional, Expression, Parser, Scope, ValueConverter } from 'aurelia-binding'; | ||
/** | ||
* Applies the "min" NUMBER validation rule to the property. | ||
* Value must be greater than or equal to the specified constraint. | ||
* null and undefined values are considered valid. | ||
*/ | ||
min(value: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "max" NUMBER validation rule to the property. | ||
* Value must be less than or equal to the specified constraint. | ||
* null and undefined values are considered valid. | ||
*/ | ||
max(value: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "range" NUMBER validation rule to the property. | ||
* Value must be between or equal to the specified min and max. | ||
* null and undefined values are considered valid. | ||
*/ | ||
range(min: number, max: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "between" NUMBER validation rule to the property. | ||
* Value must be between but not equal to the specified min and max. | ||
* null and undefined values are considered valid. | ||
*/ | ||
between(min: number, max: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "equals" validation rule to the property. | ||
@@ -797,2 +821,26 @@ * null, undefined and empty-string values are considered valid. | ||
/** | ||
* Applies the "min" NUMBER validation rule to the property. | ||
* Value must be greater than or equal to the specified constraint. | ||
* null and undefined values are considered valid. | ||
*/ | ||
min(constraint: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "max" NUMBER validation rule to the property. | ||
* Value must be less than or equal to the specified constraint. | ||
* null and undefined values are considered valid. | ||
*/ | ||
max(constraint: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "range" NUMBER validation rule to the property. | ||
* Value must be between or equal to the specified min and max. | ||
* null and undefined values are considered valid. | ||
*/ | ||
range(min: number, max: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "between" NUMBER validation rule to the property. | ||
* Value must be between but not equal to the specified min and max. | ||
* null and undefined values are considered valid. | ||
*/ | ||
between(min: number, max: number): FluentRuleCustomizer<TObject, TValue>; | ||
/** | ||
* Applies the "equals" validation rule to the property. | ||
@@ -799,0 +847,0 @@ * null and undefined values are considered valid. |
{ | ||
"name": "aurelia-validation", | ||
"version": "1.3.3", | ||
"version": "1.4.0", | ||
"description": "Validation for Aurelia applications", | ||
@@ -19,3 +19,3 @@ "keywords": [ | ||
"browser": "dist/umd/aurelia-validation.js", | ||
"unpkg": "dist/umd/aurelia-validation.js", | ||
"unpkg": "dist/umd-es2015/aurelia-validation.js", | ||
"types": "dist/aurelia-validation.d.ts", | ||
@@ -27,2 +27,10 @@ "typings": "dist/aurelia-validation.d.ts", | ||
}, | ||
"files": [ | ||
"dist", | ||
"doc", | ||
"src", | ||
"typings.json", | ||
"README.md", | ||
"LICENSE" | ||
], | ||
"scripts": { | ||
@@ -40,6 +48,4 @@ "lint": "cross-env tslint --project tsconfig.json", | ||
"postdoc": "cross-env node doc/shape-doc && rimraf dist/doc-temp", | ||
"changelog": "cross-env conventional-changelog -p angular -i doc/CHANGELOG.md -s", | ||
"bump-version": "npm --no-git-tag-version version", | ||
"preprepare-release": "cross-env npm run test", | ||
"prepare-release": "cross-env npm run changelog && npm run build && npm run doc" | ||
"precut-release": "cross-env npm run test", | ||
"cut-release": "standard-version -t \"\" -i doc/CHANGELOG.md && npm run build && npm run doc" | ||
}, | ||
@@ -94,2 +100,3 @@ "jspm": { | ||
"jasmine-core": "^3.2.1", | ||
"jspm": "^0.16.53", | ||
"karma": "^3.0.0", | ||
@@ -105,2 +112,3 @@ "karma-chrome-launcher": "^2.2.0", | ||
"rollup-plugin-typescript2": "^0.17.0", | ||
"standard-version": "^5.0.2", | ||
"tslib": "^1.9.3", | ||
@@ -107,0 +115,0 @@ "tslint": "^5.11.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
944415
18169
29
42
5