@impelsys/validatorjs 3.22.3 → 3.23.0

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.
Files changed (58) hide show
  1. package/dist/lang/en.js +1 -54
  2. package/dist/validator.js +2 -2183
  3. package/package.json +2 -2
  4. package/src/{async.js → async.mjs} +1 -1
  5. package/src/{attributes.js → attributes.mjs} +1 -1
  6. package/src/{errors.js → errors.mjs} +1 -1
  7. package/src/lang/{en.js → en.mjs} +1 -1
  8. package/src/{lang.js → lang.mjs} +3 -6
  9. package/src/{messages.js → messages.mjs} +2 -2
  10. package/src/{rules.js → rules.mjs} +4 -4
  11. package/src/{validator.js → validator.mjs} +7 -6
  12. package/src/lang/ar.js +0 -63
  13. package/src/lang/az.js +0 -101
  14. package/src/lang/be.js +0 -102
  15. package/src/lang/bg.js +0 -102
  16. package/src/lang/bs.js +0 -103
  17. package/src/lang/ca.js +0 -37
  18. package/src/lang/cs.js +0 -104
  19. package/src/lang/cy.js +0 -103
  20. package/src/lang/da.js +0 -48
  21. package/src/lang/de.js +0 -43
  22. package/src/lang/el.js +0 -40
  23. package/src/lang/es.js +0 -37
  24. package/src/lang/et.js +0 -103
  25. package/src/lang/eu.js +0 -103
  26. package/src/lang/fa.js +0 -39
  27. package/src/lang/fi.js +0 -48
  28. package/src/lang/fr.js +0 -37
  29. package/src/lang/hr.js +0 -103
  30. package/src/lang/hu.js +0 -103
  31. package/src/lang/id.js +0 -48
  32. package/src/lang/it.js +0 -38
  33. package/src/lang/ja.js +0 -51
  34. package/src/lang/ka.js +0 -103
  35. package/src/lang/ko.js +0 -103
  36. package/src/lang/lt.js +0 -103
  37. package/src/lang/lv.js +0 -103
  38. package/src/lang/mk.js +0 -103
  39. package/src/lang/mn.js +0 -103
  40. package/src/lang/ms.js +0 -103
  41. package/src/lang/nb_NO.js +0 -39
  42. package/src/lang/nl.js +0 -48
  43. package/src/lang/pl.js +0 -39
  44. package/src/lang/pt.js +0 -107
  45. package/src/lang/pt_BR.js +0 -102
  46. package/src/lang/ro.js +0 -48
  47. package/src/lang/ru.js +0 -37
  48. package/src/lang/se.js +0 -47
  49. package/src/lang/sl.js +0 -103
  50. package/src/lang/sq.js +0 -103
  51. package/src/lang/sr.js +0 -103
  52. package/src/lang/sv.js +0 -102
  53. package/src/lang/tr.js +0 -48
  54. package/src/lang/ua.js +0 -37
  55. package/src/lang/uk.js +0 -103
  56. package/src/lang/vi.js +0 -39
  57. package/src/lang/zh.js +0 -39
  58. package/src/lang/zh_TW.js +0 -39
package/dist/lang/en.js CHANGED
@@ -1,54 +1 @@
1
- require=(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({"./lang/en":[function(require,module,exports){
2
- module.exports = {
3
- accepted: 'The :attribute must be accepted.',
4
- after: 'The :attribute must be after :after.',
5
- after_or_equal: 'The :attribute must be equal or after :after_or_equal.',
6
- alpha: 'The :attribute field must contain only alphabetic characters.',
7
- alpha_dash: 'The :attribute field may only contain alpha-numeric characters, as well as dashes and underscores.',
8
- alpha_num: 'The :attribute field must be alphanumeric.',
9
- before: 'The :attribute must be before :before.',
10
- before_or_equal: 'The :attribute must be equal or before :before_or_equal.',
11
- between: {
12
- numeric: 'The :attribute field must be between :min and :max.',
13
- string: 'The :attribute field must be between :min and :max characters.',
14
- },
15
- confirmed: 'The :attribute confirmation does not match.',
16
- email: 'The :attribute format is invalid.',
17
- date: 'The :attribute is not a valid date format.',
18
- def: 'The :attribute attribute has errors.',
19
- digits: 'The :attribute must be :digits digits.',
20
- digits_between: 'The :attribute field must be between :min and :max digits.',
21
- different: 'The :attribute and :different must be different.',
22
- in: 'The selected :attribute is invalid.',
23
- integer: 'The :attribute must be an integer.',
24
- hex: 'The :attribute field should have hexadecimal format',
25
- min: {
26
- numeric: 'The :attribute must be at least :min.',
27
- string: 'The :attribute must be at least :min characters.'
28
- },
29
- max: {
30
- numeric: 'The :attribute may not be greater than :max.',
31
- string: 'The :attribute may not be greater than :max characters.'
32
- },
33
- not_in: 'The selected :attribute is invalid.',
34
- numeric: 'The :attribute must be a number.',
35
- present: 'The :attribute field must be present (but can be empty).',
36
- required: 'The :attribute field is required.',
37
- required_if: 'The :attribute field is required when :other is :value.',
38
- required_unless: 'The :attribute field is required when :other is not :value.',
39
- required_with: 'The :attribute field is required when :field is not empty.',
40
- required_with_all: 'The :attribute field is required when :fields are not empty.',
41
- required_without: 'The :attribute field is required when :field is empty.',
42
- required_without_all: 'The :attribute field is required when :fields are empty.',
43
- same: 'The :attribute and :same fields must match.',
44
- size: {
45
- numeric: 'The :attribute must be :size.',
46
- string: 'The :attribute must be :size characters.'
47
- },
48
- string: 'The :attribute must be a string.',
49
- url: 'The :attribute format is invalid.',
50
- regex: 'The :attribute format is invalid.',
51
- attributes: {}
52
- };
53
-
54
- },{}]},{},[]);
1
+ (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({},{},[]);