Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

aurelia-validation

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

aurelia-validation - npm Package Compare versions

Comparing version 1.3.3 to 1.4.0

dist/umd-es2015/aurelia-validation.js

48

dist/aurelia-validation.d.ts

@@ -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.

20

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc