quival 0.2.4 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -5
- package/dist/locales/en.js +1 -1
- package/dist/locales/en.min.js +1 -1
- package/dist/locales/ms.js +1 -1
- package/dist/locales/ms.min.js +1 -1
- package/dist/quival.js +1269 -2763
- package/dist/quival.min.js +2 -2
- package/package.json +5 -2
- package/rollup.config.js +1 -1
- package/src/Checkers.js +1 -1
- package/src/Validator.js +31 -19
- package/src/helpers.js +38 -2
- package/test/test.js +219 -0
package/README.md
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
# Quival
|
|
2
2
|
|
|
3
|
-

|
|
4
|
-
](https://www.npmjs.com/package/quival)
|
|
4
|
+
[](https://www.npmjs.com/package/quival)
|
|
5
|
+
[](https://cdn.jsdelivr.net/npm/quival@latest/)
|
|
6
|
+
[](LICENSE.md)
|
|
6
7
|
|
|
7
|
-
This library provides the ability to perform data validation easily in JavaScript. It is heavily based on [Laravel Validation](https://laravel.com/docs/
|
|
8
|
+
This library provides the ability to perform data validation easily in JavaScript. It is heavily based on [Laravel Validation](https://laravel.com/docs/validation).
|
|
8
9
|
|
|
9
10
|
By sharing similar conventions, it is possible to reuse validation rules on both front and back ends. This library can be used for preliminary data validation on the front end, before submitting the data to Laravel-based app, where the data should be validated again.
|
|
10
11
|
|
|
@@ -15,7 +16,7 @@ This library is intended to be used in the browser environment, and it was not t
|
|
|
15
16
|
## Features
|
|
16
17
|
|
|
17
18
|
- Provide similar conventions to Laravel Validation
|
|
18
|
-
- Implement most of the rules listed [here](https://laravel.com/docs/
|
|
19
|
+
- Implement most of the rules listed [here](https://laravel.com/docs/validation#available-validation-rules)
|
|
19
20
|
|
|
20
21
|
## Installation
|
|
21
22
|
|
package/dist/locales/en.js
CHANGED
package/dist/locales/en.min.js
CHANGED
package/dist/locales/ms.js
CHANGED
package/dist/locales/ms.min.js
CHANGED