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

js-laravel-validation

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-laravel-validation - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

6

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