@clementine-solutions/jane-io 1.0.5 → 1.0.7

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 (189) hide show
  1. package/README.md +7 -6
  2. package/dist/core/analysis/diff.js +2 -2
  3. package/dist/core/analysis/index.js +4 -4
  4. package/dist/core/analysis/replay.js +2 -2
  5. package/dist/core/analysis/telemetry.js +1 -1
  6. package/dist/core/boundary-rules/at-most-one.js +1 -1
  7. package/dist/core/boundary-rules/conditionally-required.js +1 -1
  8. package/dist/core/boundary-rules/date-range.js +1 -1
  9. package/dist/core/boundary-rules/index.js +7 -7
  10. package/dist/core/boundary-rules/mutually-exclusive.js +1 -1
  11. package/dist/core/boundary-rules/no-unknown-fields.js +1 -1
  12. package/dist/core/boundary-rules/require-all.js +1 -1
  13. package/dist/core/boundary-rules/require-one.js +1 -1
  14. package/dist/core/common/fluent.js +6 -6
  15. package/dist/core/common/index.js +5 -5
  16. package/dist/core/common/policy.js +1 -1
  17. package/dist/core/field-path/construct.js +1 -1
  18. package/dist/core/field-path/format.js +1 -1
  19. package/dist/core/field-path/index.js +4 -4
  20. package/dist/core/field-path/walk.js +1 -1
  21. package/dist/core/fluent-registry.d.ts +53 -0
  22. package/dist/core/fluent-registry.js +71 -4
  23. package/dist/core/normalizers/array/compact-sparse-array.js +1 -1
  24. package/dist/core/normalizers/array/flatten-one-level.js +1 -1
  25. package/dist/core/normalizers/array/remove-empty-string-items.js +1 -1
  26. package/dist/core/normalizers/array/remove-null-items.js +1 -1
  27. package/dist/core/normalizers/array/remove-undefined-items.js +1 -1
  28. package/dist/core/normalizers/date/invalid-date-to-undefined.js +1 -1
  29. package/dist/core/normalizers/index.js +18 -18
  30. package/dist/core/normalizers/normalizer-register.js +1 -1
  31. package/dist/core/normalizers/number/infinity-to-undefined.js +1 -1
  32. package/dist/core/normalizers/number/nan-to-undefined.js +1 -1
  33. package/dist/core/normalizers/number/normalize-negative-zero.js +1 -1
  34. package/dist/core/normalizers/object/remove-empty-array-keys.js +1 -1
  35. package/dist/core/normalizers/object/remove-empty-object-keys.js +1 -1
  36. package/dist/core/normalizers/object/remove-empty-string-keys.js +1 -1
  37. package/dist/core/normalizers/object/remove-null-keys.js +1 -1
  38. package/dist/core/normalizers/object/remove-undefined-keys.js +1 -1
  39. package/dist/core/normalizers/string/collapse-whitespace.js +1 -1
  40. package/dist/core/normalizers/string/empty-to-undefined.js +1 -1
  41. package/dist/core/normalizers/string/trim.js +1 -1
  42. package/dist/core/parsers/index.js +12 -12
  43. package/dist/core/parsers/parse-array-string.js +1 -1
  44. package/dist/core/parsers/parse-bigint-string.js +1 -1
  45. package/dist/core/parsers/parse-binary-string.js +1 -1
  46. package/dist/core/parsers/parse-boolean-string.js +1 -1
  47. package/dist/core/parsers/parse-date-string.js +1 -1
  48. package/dist/core/parsers/parse-duration-string.js +1 -1
  49. package/dist/core/parsers/parse-hex-string.js +1 -1
  50. package/dist/core/parsers/parse-integer-string.js +1 -1
  51. package/dist/core/parsers/parse-json-string.js +1 -1
  52. package/dist/core/parsers/parse-numeric-string.js +1 -1
  53. package/dist/core/parsers/parse-object-string.js +1 -1
  54. package/dist/core/parsers/parse-octal-string.js +1 -1
  55. package/dist/core/parsers/parse-scientific-notation-string.js +1 -1
  56. package/dist/core/parsers/parse-url-string.js +1 -1
  57. package/dist/core/pipeline/boundary.js +2 -2
  58. package/dist/core/pipeline/contain.js +2 -2
  59. package/dist/core/pipeline/index.js +7 -7
  60. package/dist/core/pipeline/normalize.js +4 -4
  61. package/dist/core/pipeline/parse.js +1 -1
  62. package/dist/core/pipeline/pipeline.js +9 -9
  63. package/dist/core/pipeline/scan.js +5 -5
  64. package/dist/core/pipeline/validate.js +2 -2
  65. package/dist/core/scanners/any/scan-for-sentinels.js +2 -2
  66. package/dist/core/scanners/array/array-is-deep.js +1 -1
  67. package/dist/core/scanners/array/array-is-heterogenous.js +2 -2
  68. package/dist/core/scanners/array/array-is-large.js +1 -1
  69. package/dist/core/scanners/bigint/bigint-is-large.js +1 -1
  70. package/dist/core/scanners/bigint/bigint-not-safe.js +1 -1
  71. package/dist/core/scanners/date/date-is-before-epoch.js +1 -1
  72. package/dist/core/scanners/date/date-is-far-future.js +1 -1
  73. package/dist/core/scanners/date/date-is-invalid.js +1 -1
  74. package/dist/core/scanners/index.js +21 -21
  75. package/dist/core/scanners/number/number-is-infinite.js +1 -1
  76. package/dist/core/scanners/number/number-is-nan.js +1 -1
  77. package/dist/core/scanners/number/number-is-too-large.js +1 -1
  78. package/dist/core/scanners/number/number-is-unsafe-integer.js +1 -1
  79. package/dist/core/scanners/object/object-has-circular-references.js +1 -1
  80. package/dist/core/scanners/object/object-has-many-keys.js +1 -1
  81. package/dist/core/scanners/object/object-is-deep.js +2 -2
  82. package/dist/core/scanners/scanner-registry.js +1 -1
  83. package/dist/core/scanners/string/string-has-unsafe-unicode.js +1 -1
  84. package/dist/core/scanners/string/string-has-whitespace-edges.js +1 -1
  85. package/dist/core/scanners/string/string-is-long.js +1 -1
  86. package/dist/core/scanners/unknown/unknown-not-scannable.js +2 -2
  87. package/dist/core/validators/array/array-max-items.js +2 -2
  88. package/dist/core/validators/array/array-min-items.js +2 -2
  89. package/dist/core/validators/array/array.js +2 -2
  90. package/dist/core/validators/array/excludes.js +3 -3
  91. package/dist/core/validators/array/has-unique-items.js +2 -2
  92. package/dist/core/validators/array/includes.js +3 -3
  93. package/dist/core/validators/array/items-equal.js +2 -2
  94. package/dist/core/validators/array/no-empty-string-items.js +2 -2
  95. package/dist/core/validators/array/no-null-items.js +2 -2
  96. package/dist/core/validators/array/no-undefined-items.js +2 -2
  97. package/dist/core/validators/array/non-empty-array.js +2 -2
  98. package/dist/core/validators/array/not-sparse.js +2 -2
  99. package/dist/core/validators/bigint/bigint-equals.js +3 -3
  100. package/dist/core/validators/bigint/bigint-max.js +3 -3
  101. package/dist/core/validators/bigint/bigint-min.js +3 -3
  102. package/dist/core/validators/bigint/bigint-negative.js +3 -3
  103. package/dist/core/validators/bigint/bigint-non-negative.js +3 -3
  104. package/dist/core/validators/bigint/bigint-non-positive.js +3 -3
  105. package/dist/core/validators/bigint/bigint-positive.js +3 -3
  106. package/dist/core/validators/bigint/bigint-safe.js +3 -3
  107. package/dist/core/validators/bigint/bigint.js +2 -2
  108. package/dist/core/validators/boolean/boolean.js +2 -2
  109. package/dist/core/validators/boolean/is-false.js +2 -2
  110. package/dist/core/validators/boolean/is-true.js +2 -2
  111. package/dist/core/validators/common/is-country-code.js +3 -3
  112. package/dist/core/validators/common/is-currency-code.js +3 -3
  113. package/dist/core/validators/common/is-email-strict.js +3 -3
  114. package/dist/core/validators/common/is-email.js +3 -3
  115. package/dist/core/validators/common/is-ip.js +3 -3
  116. package/dist/core/validators/common/is-phone-strict.js +3 -3
  117. package/dist/core/validators/common/is-phone.js +3 -3
  118. package/dist/core/validators/common/is-port.js +2 -2
  119. package/dist/core/validators/common/is-postal-code.js +3 -3
  120. package/dist/core/validators/common/is-url.js +3 -3
  121. package/dist/core/validators/common/is-uuid.js +3 -3
  122. package/dist/core/validators/date/before-epoch.js +3 -3
  123. package/dist/core/validators/date/date-now-required.js +3 -3
  124. package/dist/core/validators/date/is-date.js +2 -2
  125. package/dist/core/validators/date/is-far-future.js +3 -3
  126. package/dist/core/validators/date/is-future.js +3 -3
  127. package/dist/core/validators/date/is-past.js +3 -3
  128. package/dist/core/validators/date/not-after.js +3 -3
  129. package/dist/core/validators/date/not-before.js +3 -3
  130. package/dist/core/validators/date/same-day.js +3 -3
  131. package/dist/core/validators/date/same-month.js +3 -3
  132. package/dist/core/validators/date/same-year.js +3 -3
  133. package/dist/core/validators/date/too-early.js +3 -3
  134. package/dist/core/validators/date/too-late.js +3 -3
  135. package/dist/core/validators/date/weekday.js +3 -3
  136. package/dist/core/validators/date/weekend.js +3 -3
  137. package/dist/core/validators/index.js +99 -99
  138. package/dist/core/validators/nullish/is-null-or-undefined.js +2 -2
  139. package/dist/core/validators/nullish/is-null.js +2 -2
  140. package/dist/core/validators/nullish/is-undefined.js +2 -2
  141. package/dist/core/validators/number/finite.js +3 -3
  142. package/dist/core/validators/number/integer.js +3 -3
  143. package/dist/core/validators/number/less-than.js +3 -3
  144. package/dist/core/validators/number/max.js +3 -3
  145. package/dist/core/validators/number/min.js +3 -3
  146. package/dist/core/validators/number/more-than.js +3 -3
  147. package/dist/core/validators/number/negative.js +3 -3
  148. package/dist/core/validators/number/non-negative.js +3 -3
  149. package/dist/core/validators/number/non-positive.js +3 -3
  150. package/dist/core/validators/number/number.js +2 -2
  151. package/dist/core/validators/number/positive.js +3 -3
  152. package/dist/core/validators/number/safe-integer.js +3 -3
  153. package/dist/core/validators/object/deep-equals.js +3 -3
  154. package/dist/core/validators/object/has-key.js +3 -3
  155. package/dist/core/validators/object/has-value.js +3 -3
  156. package/dist/core/validators/object/keys-equal.js +3 -3
  157. package/dist/core/validators/object/max-keys.js +3 -3
  158. package/dist/core/validators/object/min-keys.js +3 -3
  159. package/dist/core/validators/object/missing-key.js +3 -3
  160. package/dist/core/validators/object/no-empty-array-values.js +3 -3
  161. package/dist/core/validators/object/no-empty-object-values.js +3 -3
  162. package/dist/core/validators/object/no-null-values.js +3 -3
  163. package/dist/core/validators/object/no-undefined-values.js +3 -3
  164. package/dist/core/validators/object/non-empty-object.js +3 -3
  165. package/dist/core/validators/object/only-keys.js +3 -3
  166. package/dist/core/validators/object/plain-object.js +3 -3
  167. package/dist/core/validators/string/alpha-num.js +3 -3
  168. package/dist/core/validators/string/alpha.js +3 -3
  169. package/dist/core/validators/string/chars-equal.js +2 -2
  170. package/dist/core/validators/string/ends-with.js +3 -3
  171. package/dist/core/validators/string/is-ascii.js +3 -3
  172. package/dist/core/validators/string/is-printable.js +3 -3
  173. package/dist/core/validators/string/matches.js +3 -3
  174. package/dist/core/validators/string/max-length.js +2 -2
  175. package/dist/core/validators/string/min-length.js +2 -2
  176. package/dist/core/validators/string/no-lead-space.js +3 -3
  177. package/dist/core/validators/string/no-repeat-space.js +3 -3
  178. package/dist/core/validators/string/no-space.js +3 -3
  179. package/dist/core/validators/string/no-trail-space.js +3 -3
  180. package/dist/core/validators/string/non-empty.js +2 -2
  181. package/dist/core/validators/string/not-one-of.js +3 -3
  182. package/dist/core/validators/string/num-string.js +3 -3
  183. package/dist/core/validators/string/one-of.js +3 -3
  184. package/dist/core/validators/string/starts-with.js +3 -3
  185. package/dist/core/validators/string/string.js +2 -2
  186. package/dist/core/validators/string/trimmed.js +3 -3
  187. package/dist/index.d.ts +19 -0
  188. package/dist/index.js +22 -0
  189. package/package.json +4 -4
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { safeStringify } from '../../common/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { safeStringify } from '../../common';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { safeStringify } from '../../common/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { safeStringify } from '../../common';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { safeStringify } from '../../common/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { safeStringify } from '../../common';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,8 +7,8 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
12
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
13
13
  |* Implementation *|
14
14
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { safeStringify } from '../../common/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { safeStringify } from '../../common';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { safeStringify } from '../../common/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { safeStringify } from '../../common';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
12
- import { safeStringify } from '../../common/index.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
+ import { safeStringify } from '../../common';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { safeStringify } from '../../common/index.js';
13
- import { detectStructuralType } from '../../pipeline/scan.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { safeStringify } from '../../common';
13
+ import { detectStructuralType } from '../../pipeline/scan';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { safeStringify } from '../../common/index.js';
13
- import { detectStructuralType } from '../../pipeline/scan.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { safeStringify } from '../../common';
13
+ import { detectStructuralType } from '../../pipeline/scan';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,8 +7,8 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
12
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
13
13
  |* Implementation *|
14
14
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { safeStringify } from '../../common/index.js';
13
- import { detectStructuralType } from '../../pipeline/scan.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { safeStringify } from '../../common';
13
+ import { detectStructuralType } from '../../pipeline/scan';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -9,9 +9,9 @@
9
9
  * @see https://jane-io.com
10
10
  * ----------------------------------------------------------------------------
11
11
  */
12
- import { validationEvent } from '../../pipeline/index.js';
13
- import { safeStringify } from '../../common/index.js';
14
- import { detectStructuralType } from '../../pipeline/scan.js';
12
+ import { validationEvent } from '../../pipeline';
13
+ import { safeStringify } from '../../common';
14
+ import { detectStructuralType } from '../../pipeline/scan';
15
15
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
16
16
  |* Implementation *|
17
17
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -9,9 +9,9 @@
9
9
  * @see https://jane-io.com
10
10
  * ----------------------------------------------------------------------------
11
11
  */
12
- import { validationEvent } from '../../pipeline/index.js';
13
- import { safeStringify } from '../../common/index.js';
14
- import { detectStructuralType } from '../../pipeline/scan.js';
12
+ import { validationEvent } from '../../pipeline';
13
+ import { safeStringify } from '../../common';
14
+ import { detectStructuralType } from '../../pipeline/scan';
15
15
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
16
16
  |* Implementation *|
17
17
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { safeStringify } from '../../common/index.js';
13
- import { detectStructuralType } from '../../pipeline/scan.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { safeStringify } from '../../common';
13
+ import { detectStructuralType } from '../../pipeline/scan';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -8,9 +8,9 @@
8
8
  * @see https://jane-io.com
9
9
  * ----------------------------------------------------------------------------
10
10
  */
11
- import { validationEvent } from '../../pipeline/index.js';
12
- import { detectStructuralType } from '../../pipeline/scan.js';
13
- import { safeStringify } from '../../common/index.js';
11
+ import { validationEvent } from '../../pipeline';
12
+ import { detectStructuralType } from '../../pipeline/scan';
13
+ import { safeStringify } from '../../common';
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Implementation *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -14,126 +14,126 @@
14
14
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
15
15
  |* Array Values *|
16
16
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
17
- export { array } from './array/array.js';
18
- export { arrayMaxItems } from './array/array-max-items.js';
19
- export { arrayMinItems } from './array/array-min-items.js';
20
- export { excludes } from './array/excludes.js';
21
- export { hasUniqueItems } from './array/has-unique-items.js';
22
- export { includes } from './array/includes.js';
23
- export { itemsEqual } from './array/items-equal.js';
24
- export { noEmptyStringItems } from './array/no-empty-string-items.js';
25
- export { noNullItems } from './array/no-null-items.js';
26
- export { noUndefinedItems } from './array/no-undefined-items.js';
27
- export { nonEmptyArray } from './array/non-empty-array.js';
28
- export { notSparse } from './array/not-sparse.js';
17
+ export { array } from './array/array';
18
+ export { arrayMaxItems } from './array/array-max-items';
19
+ export { arrayMinItems } from './array/array-min-items';
20
+ export { excludes } from './array/excludes';
21
+ export { hasUniqueItems } from './array/has-unique-items';
22
+ export { includes } from './array/includes';
23
+ export { itemsEqual } from './array/items-equal';
24
+ export { noEmptyStringItems } from './array/no-empty-string-items';
25
+ export { noNullItems } from './array/no-null-items';
26
+ export { noUndefinedItems } from './array/no-undefined-items';
27
+ export { nonEmptyArray } from './array/non-empty-array';
28
+ export { notSparse } from './array/not-sparse';
29
29
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
30
30
  |* Bigint Values *|
31
31
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
32
- export { bigint } from './bigint/bigint.js';
33
- export { bigintEquals } from './bigint/bigint-equals.js';
34
- export { bigintMax } from './bigint/bigint-max.js';
35
- export { bigintMin } from './bigint/bigint-min.js';
36
- export { bigintNegative } from './bigint/bigint-negative.js';
37
- export { bigintNonNegative } from './bigint/bigint-non-negative.js';
38
- export { bigintNonPositive } from './bigint/bigint-non-positive.js';
39
- export { bigintPositive } from './bigint/bigint-positive.js';
40
- export { bigintSafe } from './bigint/bigint-safe.js';
32
+ export { bigint } from './bigint/bigint';
33
+ export { bigintEquals } from './bigint/bigint-equals';
34
+ export { bigintMax } from './bigint/bigint-max';
35
+ export { bigintMin } from './bigint/bigint-min';
36
+ export { bigintNegative } from './bigint/bigint-negative';
37
+ export { bigintNonNegative } from './bigint/bigint-non-negative';
38
+ export { bigintNonPositive } from './bigint/bigint-non-positive';
39
+ export { bigintPositive } from './bigint/bigint-positive';
40
+ export { bigintSafe } from './bigint/bigint-safe';
41
41
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
42
42
  |* Boolean Values *|
43
43
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
44
- export { boolean } from './boolean/boolean.js';
45
- export { isFalse } from './boolean/is-false.js';
46
- export { isTrue } from './boolean/is-true.js';
44
+ export { boolean } from './boolean/boolean';
45
+ export { isFalse } from './boolean/is-false';
46
+ export { isTrue } from './boolean/is-true';
47
47
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
48
48
  |* Common Values *|
49
49
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
50
- export { isCountryCode } from './common/is-country-code.js';
51
- export { isCurrencyCode } from './common/is-currency-code.js';
52
- export { isEmail } from './common/is-email.js';
53
- export { isEmailStrict } from './common/is-email-strict.js';
54
- export { isIp } from './common/is-ip.js';
55
- export { isPhone } from './common/is-phone.js';
56
- export { isPhoneStrict } from './common/is-phone-strict.js';
57
- export { isPort } from './common/is-port.js';
58
- export { isPostalCode } from './common/is-postal-code.js';
59
- export { isUrl } from './common/is-url.js';
60
- export { isUuid } from './common/is-uuid.js';
50
+ export { isCountryCode } from './common/is-country-code';
51
+ export { isCurrencyCode } from './common/is-currency-code';
52
+ export { isEmail } from './common/is-email';
53
+ export { isEmailStrict } from './common/is-email-strict';
54
+ export { isIp } from './common/is-ip';
55
+ export { isPhone } from './common/is-phone';
56
+ export { isPhoneStrict } from './common/is-phone-strict';
57
+ export { isPort } from './common/is-port';
58
+ export { isPostalCode } from './common/is-postal-code';
59
+ export { isUrl } from './common/is-url';
60
+ export { isUuid } from './common/is-uuid';
61
61
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
62
62
  |* Date Values *|
63
63
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
64
- export { beforeEpoch } from './date/before-epoch.js';
65
- export { dateNowRequired } from './date/date-now-required.js';
66
- export { isDate } from './date/is-date.js';
67
- export { isFarFuture } from './date/is-far-future.js';
68
- export { isFuture } from './date/is-future.js';
69
- export { isPast } from './date/is-past.js';
70
- export { notAfter } from './date/not-after.js';
71
- export { notBefore } from './date/not-before.js';
72
- export { sameDay } from './date/same-day.js';
73
- export { sameMonth } from './date/same-month.js';
74
- export { sameYear } from './date/same-year.js';
75
- export { tooEarly } from './date/too-early.js';
76
- export { tooLate } from './date/too-late.js';
77
- export { weekday } from './date/weekday.js';
78
- export { weekend } from './date/weekend.js';
64
+ export { beforeEpoch } from './date/before-epoch';
65
+ export { dateNowRequired } from './date/date-now-required';
66
+ export { isDate } from './date/is-date';
67
+ export { isFarFuture } from './date/is-far-future';
68
+ export { isFuture } from './date/is-future';
69
+ export { isPast } from './date/is-past';
70
+ export { notAfter } from './date/not-after';
71
+ export { notBefore } from './date/not-before';
72
+ export { sameDay } from './date/same-day';
73
+ export { sameMonth } from './date/same-month';
74
+ export { sameYear } from './date/same-year';
75
+ export { tooEarly } from './date/too-early';
76
+ export { tooLate } from './date/too-late';
77
+ export { weekday } from './date/weekday';
78
+ export { weekend } from './date/weekend';
79
79
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
80
80
  |* Nullish Values *|
81
81
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
82
- export { isNull } from './nullish/is-null.js';
83
- export { isNullOrUndefined } from './nullish/is-null-or-undefined.js';
84
- export { isUndefined } from './nullish/is-undefined.js';
82
+ export { isNull } from './nullish/is-null';
83
+ export { isNullOrUndefined } from './nullish/is-null-or-undefined';
84
+ export { isUndefined } from './nullish/is-undefined';
85
85
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
86
86
  |* Number Values *|
87
87
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
88
- export { finite } from './number/finite.js';
89
- export { integer } from './number/integer.js';
90
- export { lessThan } from './number/less-than.js';
91
- export { max } from './number/max.js';
92
- export { min } from './number/min.js';
93
- export { moreThan } from './number/more-than.js';
94
- export { negative } from './number/negative.js';
95
- export { nonNegative } from './number/non-negative.js';
96
- export { nonPositive } from './number/non-positive.js';
97
- export { number } from './number/number.js';
98
- export { positive } from './number/positive.js';
99
- export { safeInteger } from './number/safe-integer.js';
88
+ export { finite } from './number/finite';
89
+ export { integer } from './number/integer';
90
+ export { lessThan } from './number/less-than';
91
+ export { max } from './number/max';
92
+ export { min } from './number/min';
93
+ export { moreThan } from './number/more-than';
94
+ export { negative } from './number/negative';
95
+ export { nonNegative } from './number/non-negative';
96
+ export { nonPositive } from './number/non-positive';
97
+ export { number } from './number/number';
98
+ export { positive } from './number/positive';
99
+ export { safeInteger } from './number/safe-integer';
100
100
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
101
101
  |* Object Values *|
102
102
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
103
- export { deepEquals } from './object/deep-equals.js';
104
- export { hasKey } from './object/has-key.js';
105
- export { hasValue } from './object/has-value.js';
106
- export { keysEqual } from './object/keys-equal.js';
107
- export { maxKeys } from './object/max-keys.js';
108
- export { minKeys } from './object/min-keys.js';
109
- export { missingKey } from './object/missing-key.js';
110
- export { noEmptyArrayValues } from './object/no-empty-array-values.js';
111
- export { noEmptyObjectValues } from './object/no-empty-object-values.js';
112
- export { noNullValues } from './object/no-null-values.js';
113
- export { noUndefinedValues } from './object/no-undefined-values.js';
114
- export { nonEmptyObject } from './object/non-empty-object.js';
115
- export { plainObject } from './object/plain-object.js';
116
- export { onlyKeys } from './object/only-keys.js';
103
+ export { deepEquals } from './object/deep-equals';
104
+ export { hasKey } from './object/has-key';
105
+ export { hasValue } from './object/has-value';
106
+ export { keysEqual } from './object/keys-equal';
107
+ export { maxKeys } from './object/max-keys';
108
+ export { minKeys } from './object/min-keys';
109
+ export { missingKey } from './object/missing-key';
110
+ export { noEmptyArrayValues } from './object/no-empty-array-values';
111
+ export { noEmptyObjectValues } from './object/no-empty-object-values';
112
+ export { noNullValues } from './object/no-null-values';
113
+ export { noUndefinedValues } from './object/no-undefined-values';
114
+ export { nonEmptyObject } from './object/non-empty-object';
115
+ export { plainObject } from './object/plain-object';
116
+ export { onlyKeys } from './object/only-keys';
117
117
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
118
118
  |* String Values *|
119
119
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
120
- export { alpha } from './string/alpha.js';
121
- export { alphaNum } from './string/alpha-num.js';
122
- export { charsEqual } from './string/chars-equal.js';
123
- export { endsWith } from './string/ends-with.js';
124
- export { isAscii } from './string/is-ascii.js';
125
- export { isPrintable } from './string/is-printable.js';
126
- export { matches } from './string/matches.js';
127
- export { maxLength } from './string/max-length.js';
128
- export { minLength } from './string/min-length.js';
129
- export { noLeadSpace } from './string/no-lead-space.js';
130
- export { noRepeatSpace } from './string/no-repeat-space.js';
131
- export { noSpace } from './string/no-space.js';
132
- export { noTrailSpace } from './string/no-trail-space.js';
133
- export { nonEmpty } from './string/non-empty.js';
134
- export { notOneOf } from './string/not-one-of.js';
135
- export { numString } from './string/num-string.js';
136
- export { oneOf } from './string/one-of.js';
137
- export { startsWith } from './string/starts-with.js';
138
- export { string } from './string/string.js';
139
- export { trimmed } from './string/trimmed.js';
120
+ export { alpha } from './string/alpha';
121
+ export { alphaNum } from './string/alpha-num';
122
+ export { charsEqual } from './string/chars-equal';
123
+ export { endsWith } from './string/ends-with';
124
+ export { isAscii } from './string/is-ascii';
125
+ export { isPrintable } from './string/is-printable';
126
+ export { matches } from './string/matches';
127
+ export { maxLength } from './string/max-length';
128
+ export { minLength } from './string/min-length';
129
+ export { noLeadSpace } from './string/no-lead-space';
130
+ export { noRepeatSpace } from './string/no-repeat-space';
131
+ export { noSpace } from './string/no-space';
132
+ export { noTrailSpace } from './string/no-trail-space';
133
+ export { nonEmpty } from './string/non-empty';
134
+ export { notOneOf } from './string/not-one-of';
135
+ export { numString } from './string/num-string';
136
+ export { oneOf } from './string/one-of';
137
+ export { startsWith } from './string/starts-with';
138
+ export { string } from './string/string';
139
+ export { trimmed } from './string/trimmed';
@@ -7,8 +7,8 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
12
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
13
13
  |* Implementation *|
14
14
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,8 +7,8 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
12
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
13
13
  |* Implementation *|
14
14
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,8 +7,8 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
12
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
13
13
  |* Implementation *|
14
14
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
@@ -7,9 +7,9 @@
7
7
  * @see https://jane-io.com
8
8
  * ----------------------------------------------------------------------------
9
9
  */
10
- import { validationEvent } from '../../pipeline/index.js';
11
- import { detectStructuralType } from '../../pipeline/scan.js';
12
- import { safeStringify } from '../../common/index.js';
10
+ import { validationEvent } from '../../pipeline';
11
+ import { detectStructuralType } from '../../pipeline/scan';
12
+ import { safeStringify } from '../../common';
13
13
  /* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
14
14
  |* Implementation *|
15
15
  \* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */