js-laravel-validation
Advanced tools
Comparing version 1.2.8 to 1.2.9
{ | ||
"name": "js-laravel-validation", | ||
"version": "1.2.8", | ||
"version": "1.2.9", | ||
"description": "Laravel style form validation for JavaScript", | ||
@@ -35,5 +35,5 @@ "main": "index.js", | ||
"babel-core": "^7.0.0-bridge.0", | ||
"babel-jest": "^23.6.0", | ||
"babel-jest": "^24.8.0", | ||
"babel-loader": "^8.0.4", | ||
"jest": "^23.6.0" | ||
"jest": "^24.8.0" | ||
}, | ||
@@ -40,0 +40,0 @@ "jest": { |
@@ -44,12 +44,14 @@ # js-laravel-validation [![npm version](https://badge.fury.io/js/js-laravel-validation.svg)](https://badge.fury.io/js/js-laravel-validation) [![Build Status](https://travis-ci.org/nik-m2/js-laravel-validation.svg?branch=master)](https://travis-ci.org/nik-m2/js-laravel-validation) | ||
## Missing Rules | ||
- active_url | ||
- `active_url` | ||
- This cannot be supported because JS does not support hostname lookups (dns_get_record in PHP) | ||
- This could be implemented if there was a reliable way to host a small API to do the lookup | ||
- date_format | ||
- `date_format` | ||
- This can be added with something like `return new Date(value).format(params[0]) === value;` | ||
- Unfortunately that isn't so easy in vanilla js atm | ||
- `exists & unqiue` | ||
- These are both rules relating to the database | ||
- not_regex (to come) | ||
- regex (to come) | ||
- `not_regex` (to come) | ||
- `regex` (to come) | ||
- Regex requires extra parsing to remove forward slashes around regex | ||
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
50739
57