@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.
- package/README.md +7 -6
- package/dist/core/analysis/diff.js +2 -2
- package/dist/core/analysis/index.js +4 -4
- package/dist/core/analysis/replay.js +2 -2
- package/dist/core/analysis/telemetry.js +1 -1
- package/dist/core/boundary-rules/at-most-one.js +1 -1
- package/dist/core/boundary-rules/conditionally-required.js +1 -1
- package/dist/core/boundary-rules/date-range.js +1 -1
- package/dist/core/boundary-rules/index.js +7 -7
- package/dist/core/boundary-rules/mutually-exclusive.js +1 -1
- package/dist/core/boundary-rules/no-unknown-fields.js +1 -1
- package/dist/core/boundary-rules/require-all.js +1 -1
- package/dist/core/boundary-rules/require-one.js +1 -1
- package/dist/core/common/fluent.js +6 -6
- package/dist/core/common/index.js +5 -5
- package/dist/core/common/policy.js +1 -1
- package/dist/core/field-path/construct.js +1 -1
- package/dist/core/field-path/format.js +1 -1
- package/dist/core/field-path/index.js +4 -4
- package/dist/core/field-path/walk.js +1 -1
- package/dist/core/fluent-registry.d.ts +53 -0
- package/dist/core/fluent-registry.js +71 -4
- package/dist/core/normalizers/array/compact-sparse-array.js +1 -1
- package/dist/core/normalizers/array/flatten-one-level.js +1 -1
- package/dist/core/normalizers/array/remove-empty-string-items.js +1 -1
- package/dist/core/normalizers/array/remove-null-items.js +1 -1
- package/dist/core/normalizers/array/remove-undefined-items.js +1 -1
- package/dist/core/normalizers/date/invalid-date-to-undefined.js +1 -1
- package/dist/core/normalizers/index.js +18 -18
- package/dist/core/normalizers/normalizer-register.js +1 -1
- package/dist/core/normalizers/number/infinity-to-undefined.js +1 -1
- package/dist/core/normalizers/number/nan-to-undefined.js +1 -1
- package/dist/core/normalizers/number/normalize-negative-zero.js +1 -1
- package/dist/core/normalizers/object/remove-empty-array-keys.js +1 -1
- package/dist/core/normalizers/object/remove-empty-object-keys.js +1 -1
- package/dist/core/normalizers/object/remove-empty-string-keys.js +1 -1
- package/dist/core/normalizers/object/remove-null-keys.js +1 -1
- package/dist/core/normalizers/object/remove-undefined-keys.js +1 -1
- package/dist/core/normalizers/string/collapse-whitespace.js +1 -1
- package/dist/core/normalizers/string/empty-to-undefined.js +1 -1
- package/dist/core/normalizers/string/trim.js +1 -1
- package/dist/core/parsers/index.js +12 -12
- package/dist/core/parsers/parse-array-string.js +1 -1
- package/dist/core/parsers/parse-bigint-string.js +1 -1
- package/dist/core/parsers/parse-binary-string.js +1 -1
- package/dist/core/parsers/parse-boolean-string.js +1 -1
- package/dist/core/parsers/parse-date-string.js +1 -1
- package/dist/core/parsers/parse-duration-string.js +1 -1
- package/dist/core/parsers/parse-hex-string.js +1 -1
- package/dist/core/parsers/parse-integer-string.js +1 -1
- package/dist/core/parsers/parse-json-string.js +1 -1
- package/dist/core/parsers/parse-numeric-string.js +1 -1
- package/dist/core/parsers/parse-object-string.js +1 -1
- package/dist/core/parsers/parse-octal-string.js +1 -1
- package/dist/core/parsers/parse-scientific-notation-string.js +1 -1
- package/dist/core/parsers/parse-url-string.js +1 -1
- package/dist/core/pipeline/boundary.js +2 -2
- package/dist/core/pipeline/contain.js +2 -2
- package/dist/core/pipeline/index.js +7 -7
- package/dist/core/pipeline/normalize.js +4 -4
- package/dist/core/pipeline/parse.js +1 -1
- package/dist/core/pipeline/pipeline.js +9 -9
- package/dist/core/pipeline/scan.js +5 -5
- package/dist/core/pipeline/validate.js +2 -2
- package/dist/core/scanners/any/scan-for-sentinels.js +2 -2
- package/dist/core/scanners/array/array-is-deep.js +1 -1
- package/dist/core/scanners/array/array-is-heterogenous.js +2 -2
- package/dist/core/scanners/array/array-is-large.js +1 -1
- package/dist/core/scanners/bigint/bigint-is-large.js +1 -1
- package/dist/core/scanners/bigint/bigint-not-safe.js +1 -1
- package/dist/core/scanners/date/date-is-before-epoch.js +1 -1
- package/dist/core/scanners/date/date-is-far-future.js +1 -1
- package/dist/core/scanners/date/date-is-invalid.js +1 -1
- package/dist/core/scanners/index.js +21 -21
- package/dist/core/scanners/number/number-is-infinite.js +1 -1
- package/dist/core/scanners/number/number-is-nan.js +1 -1
- package/dist/core/scanners/number/number-is-too-large.js +1 -1
- package/dist/core/scanners/number/number-is-unsafe-integer.js +1 -1
- package/dist/core/scanners/object/object-has-circular-references.js +1 -1
- package/dist/core/scanners/object/object-has-many-keys.js +1 -1
- package/dist/core/scanners/object/object-is-deep.js +2 -2
- package/dist/core/scanners/scanner-registry.js +1 -1
- package/dist/core/scanners/string/string-has-unsafe-unicode.js +1 -1
- package/dist/core/scanners/string/string-has-whitespace-edges.js +1 -1
- package/dist/core/scanners/string/string-is-long.js +1 -1
- package/dist/core/scanners/unknown/unknown-not-scannable.js +2 -2
- package/dist/core/validators/array/array-max-items.js +2 -2
- package/dist/core/validators/array/array-min-items.js +2 -2
- package/dist/core/validators/array/array.js +2 -2
- package/dist/core/validators/array/excludes.js +3 -3
- package/dist/core/validators/array/has-unique-items.js +2 -2
- package/dist/core/validators/array/includes.js +3 -3
- package/dist/core/validators/array/items-equal.js +2 -2
- package/dist/core/validators/array/no-empty-string-items.js +2 -2
- package/dist/core/validators/array/no-null-items.js +2 -2
- package/dist/core/validators/array/no-undefined-items.js +2 -2
- package/dist/core/validators/array/non-empty-array.js +2 -2
- package/dist/core/validators/array/not-sparse.js +2 -2
- package/dist/core/validators/bigint/bigint-equals.js +3 -3
- package/dist/core/validators/bigint/bigint-max.js +3 -3
- package/dist/core/validators/bigint/bigint-min.js +3 -3
- package/dist/core/validators/bigint/bigint-negative.js +3 -3
- package/dist/core/validators/bigint/bigint-non-negative.js +3 -3
- package/dist/core/validators/bigint/bigint-non-positive.js +3 -3
- package/dist/core/validators/bigint/bigint-positive.js +3 -3
- package/dist/core/validators/bigint/bigint-safe.js +3 -3
- package/dist/core/validators/bigint/bigint.js +2 -2
- package/dist/core/validators/boolean/boolean.js +2 -2
- package/dist/core/validators/boolean/is-false.js +2 -2
- package/dist/core/validators/boolean/is-true.js +2 -2
- package/dist/core/validators/common/is-country-code.js +3 -3
- package/dist/core/validators/common/is-currency-code.js +3 -3
- package/dist/core/validators/common/is-email-strict.js +3 -3
- package/dist/core/validators/common/is-email.js +3 -3
- package/dist/core/validators/common/is-ip.js +3 -3
- package/dist/core/validators/common/is-phone-strict.js +3 -3
- package/dist/core/validators/common/is-phone.js +3 -3
- package/dist/core/validators/common/is-port.js +2 -2
- package/dist/core/validators/common/is-postal-code.js +3 -3
- package/dist/core/validators/common/is-url.js +3 -3
- package/dist/core/validators/common/is-uuid.js +3 -3
- package/dist/core/validators/date/before-epoch.js +3 -3
- package/dist/core/validators/date/date-now-required.js +3 -3
- package/dist/core/validators/date/is-date.js +2 -2
- package/dist/core/validators/date/is-far-future.js +3 -3
- package/dist/core/validators/date/is-future.js +3 -3
- package/dist/core/validators/date/is-past.js +3 -3
- package/dist/core/validators/date/not-after.js +3 -3
- package/dist/core/validators/date/not-before.js +3 -3
- package/dist/core/validators/date/same-day.js +3 -3
- package/dist/core/validators/date/same-month.js +3 -3
- package/dist/core/validators/date/same-year.js +3 -3
- package/dist/core/validators/date/too-early.js +3 -3
- package/dist/core/validators/date/too-late.js +3 -3
- package/dist/core/validators/date/weekday.js +3 -3
- package/dist/core/validators/date/weekend.js +3 -3
- package/dist/core/validators/index.js +99 -99
- package/dist/core/validators/nullish/is-null-or-undefined.js +2 -2
- package/dist/core/validators/nullish/is-null.js +2 -2
- package/dist/core/validators/nullish/is-undefined.js +2 -2
- package/dist/core/validators/number/finite.js +3 -3
- package/dist/core/validators/number/integer.js +3 -3
- package/dist/core/validators/number/less-than.js +3 -3
- package/dist/core/validators/number/max.js +3 -3
- package/dist/core/validators/number/min.js +3 -3
- package/dist/core/validators/number/more-than.js +3 -3
- package/dist/core/validators/number/negative.js +3 -3
- package/dist/core/validators/number/non-negative.js +3 -3
- package/dist/core/validators/number/non-positive.js +3 -3
- package/dist/core/validators/number/number.js +2 -2
- package/dist/core/validators/number/positive.js +3 -3
- package/dist/core/validators/number/safe-integer.js +3 -3
- package/dist/core/validators/object/deep-equals.js +3 -3
- package/dist/core/validators/object/has-key.js +3 -3
- package/dist/core/validators/object/has-value.js +3 -3
- package/dist/core/validators/object/keys-equal.js +3 -3
- package/dist/core/validators/object/max-keys.js +3 -3
- package/dist/core/validators/object/min-keys.js +3 -3
- package/dist/core/validators/object/missing-key.js +3 -3
- package/dist/core/validators/object/no-empty-array-values.js +3 -3
- package/dist/core/validators/object/no-empty-object-values.js +3 -3
- package/dist/core/validators/object/no-null-values.js +3 -3
- package/dist/core/validators/object/no-undefined-values.js +3 -3
- package/dist/core/validators/object/non-empty-object.js +3 -3
- package/dist/core/validators/object/only-keys.js +3 -3
- package/dist/core/validators/object/plain-object.js +3 -3
- package/dist/core/validators/string/alpha-num.js +3 -3
- package/dist/core/validators/string/alpha.js +3 -3
- package/dist/core/validators/string/chars-equal.js +2 -2
- package/dist/core/validators/string/ends-with.js +3 -3
- package/dist/core/validators/string/is-ascii.js +3 -3
- package/dist/core/validators/string/is-printable.js +3 -3
- package/dist/core/validators/string/matches.js +3 -3
- package/dist/core/validators/string/max-length.js +2 -2
- package/dist/core/validators/string/min-length.js +2 -2
- package/dist/core/validators/string/no-lead-space.js +3 -3
- package/dist/core/validators/string/no-repeat-space.js +3 -3
- package/dist/core/validators/string/no-space.js +3 -3
- package/dist/core/validators/string/no-trail-space.js +3 -3
- package/dist/core/validators/string/non-empty.js +2 -2
- package/dist/core/validators/string/not-one-of.js +3 -3
- package/dist/core/validators/string/num-string.js +3 -3
- package/dist/core/validators/string/one-of.js +3 -3
- package/dist/core/validators/string/starts-with.js +3 -3
- package/dist/core/validators/string/string.js +2 -2
- package/dist/core/validators/string/trimmed.js +3 -3
- package/dist/index.d.ts +19 -0
- package/dist/index.js +22 -0
- package/package.json +4 -4
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see https://jane-io.com
|
|
10
10
|
* ----------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
|
-
import { normalizationEvent } from '../../pipeline
|
|
12
|
+
import { normalizationEvent } from '../../pipeline';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Implementation *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see https://jane-io.com
|
|
10
10
|
* ----------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
|
-
import { normalizationEvent } from '../../pipeline
|
|
12
|
+
import { normalizationEvent } from '../../pipeline';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Implementation *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see https://jane-io.com
|
|
10
10
|
* ----------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
|
-
import { normalizationEvent } from '../../pipeline
|
|
12
|
+
import { normalizationEvent } from '../../pipeline';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Implementation *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { normalizationEvent } from '../../pipeline
|
|
11
|
+
import { normalizationEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -11,33 +11,33 @@
|
|
|
11
11
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
12
12
|
|* Array Values *|
|
|
13
13
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
14
|
-
export { parseArrayString } from './parse-array-string
|
|
15
|
-
export { parseJsonString } from './parse-json-string
|
|
14
|
+
export { parseArrayString } from './parse-array-string';
|
|
15
|
+
export { parseJsonString } from './parse-json-string';
|
|
16
16
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
17
17
|
|* Bigint Values *|
|
|
18
18
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
19
|
-
export { parseBigIntString } from './parse-bigint-string
|
|
20
|
-
export { parseBinaryString } from './parse-binary-string
|
|
21
|
-
export { parseHexString } from './parse-hex-string
|
|
22
|
-
export { parseOctalString } from './parse-octal-string
|
|
19
|
+
export { parseBigIntString } from './parse-bigint-string';
|
|
20
|
+
export { parseBinaryString } from './parse-binary-string';
|
|
21
|
+
export { parseHexString } from './parse-hex-string';
|
|
22
|
+
export { parseOctalString } from './parse-octal-string';
|
|
23
23
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
24
24
|
|* Boolean Values *|
|
|
25
25
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
26
|
-
export { parseBooleanString } from './parse-boolean-string
|
|
26
|
+
export { parseBooleanString } from './parse-boolean-string';
|
|
27
27
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
28
28
|
|* Date Values *|
|
|
29
29
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
30
|
-
export { parseIsoDateString } from './parse-date-string
|
|
31
|
-
export { parseDurationString } from './parse-duration-string
|
|
30
|
+
export { parseIsoDateString } from './parse-date-string';
|
|
31
|
+
export { parseDurationString } from './parse-duration-string';
|
|
32
32
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
33
33
|
|* Number Values *|
|
|
34
34
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
35
|
-
export { parseNumericString } from './parse-numeric-string
|
|
35
|
+
export { parseNumericString } from './parse-numeric-string';
|
|
36
36
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
37
37
|
|* Object Values *|
|
|
38
38
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
39
|
-
export { parseObjectString } from './parse-object-string
|
|
39
|
+
export { parseObjectString } from './parse-object-string';
|
|
40
40
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
41
41
|
|* URL Values *|
|
|
42
42
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
43
|
-
export { parseUrlString } from './parse-url-string
|
|
43
|
+
export { parseUrlString } from './parse-url-string';
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { parseEvent } from '../pipeline
|
|
11
|
+
import { parseEvent } from '../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { applyEscalate, applyOverride, defaultPolicy, generateRunId, matchesWildcard, resolveLevel, } from '../common
|
|
12
|
-
import { boundaryPolicyDefault } from '../common/policy
|
|
11
|
+
import { applyEscalate, applyOverride, defaultPolicy, generateRunId, matchesWildcard, resolveLevel, } from '../common';
|
|
12
|
+
import { boundaryPolicyDefault } from '../common/policy';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Boundary Rule Registry *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { appendSegment, rootPath, setIndex, setKey } from '../field-path
|
|
12
|
-
import { defaultPolicy } from '../common
|
|
11
|
+
import { appendSegment, rootPath, setIndex, setKey } from '../field-path';
|
|
12
|
+
import { defaultPolicy } from '../common';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Containment Sentinel *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -10,28 +10,28 @@
|
|
|
10
10
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
11
11
|
|* Boundary *|
|
|
12
12
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
13
|
-
export { boundaryRunner, decideBoundary } from './boundary
|
|
13
|
+
export { boundaryRunner, decideBoundary } from './boundary';
|
|
14
14
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
15
15
|
|* Contain *|
|
|
16
16
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
17
|
-
export { ContainmentSentinel, containArray, containBigInt, containObject, containRecursive, containValue, createContainmentContext, deepClone, defaultContainmentOptions, isSentinel, safeObjectKeys, safePropertyDescriptor, sentinelEvent, } from './contain
|
|
17
|
+
export { ContainmentSentinel, containArray, containBigInt, containObject, containRecursive, containValue, createContainmentContext, deepClone, defaultContainmentOptions, isSentinel, safeObjectKeys, safePropertyDescriptor, sentinelEvent, } from './contain';
|
|
18
18
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
19
19
|
|* Normalize *|
|
|
20
20
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
21
|
-
export { normalizationEvent, normalizationRunner, selectNormalizationRules } from './normalize
|
|
21
|
+
export { normalizationEvent, normalizationRunner, selectNormalizationRules } from './normalize';
|
|
22
22
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
23
23
|
|* Parse *|
|
|
24
24
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
25
|
-
export { isFluentParser, isParseFactory, parseEvent, parseRunner } from './parse
|
|
25
|
+
export { isFluentParser, isParseFactory, parseEvent, parseRunner } from './parse';
|
|
26
26
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
27
27
|
|* Pipeline *|
|
|
28
28
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
29
|
-
export { createPipeline, pipelineRunner } from './pipeline
|
|
29
|
+
export { createPipeline, pipelineRunner } from './pipeline';
|
|
30
30
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
31
31
|
|* Scan *|
|
|
32
32
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
33
|
-
export { detectStructuralType, measureDepth, scanEvent, scanRunner, selectScanRules } from './scan
|
|
33
|
+
export { detectStructuralType, measureDepth, scanEvent, scanRunner, selectScanRules } from './scan';
|
|
34
34
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
35
35
|
|* Validate *|
|
|
36
36
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
37
|
-
export { isFluentValidator, isValidationFactory, validationEvent, validationRunner, } from './validate
|
|
37
|
+
export { isFluentValidator, isValidationFactory, validationEvent, validationRunner, } from './validate';
|
|
@@ -8,10 +8,10 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { createEvent } from '../common
|
|
12
|
-
import { rootPath } from '../field-path
|
|
13
|
-
import { normalizationRuleRegistry } from '../normalizers
|
|
14
|
-
import { detectStructuralType } from './scan
|
|
11
|
+
import { createEvent } from '../common';
|
|
12
|
+
import { rootPath } from '../field-path';
|
|
13
|
+
import { normalizationRuleRegistry } from '../normalizers';
|
|
14
|
+
import { detectStructuralType } from './scan';
|
|
15
15
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
16
16
|
|* Normalization Event *|
|
|
17
17
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { rootPath } from '../field-path
|
|
11
|
+
import { rootPath } from '../field-path';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Parse Event *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,15 +8,15 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { attachFluentParsers, attachFluentValidators, createEvent, defaultPolicy, policyDecision, resolvePolicy, } from '../common
|
|
12
|
-
import { rootPath } from '../field-path
|
|
13
|
-
import { deepClone, detectStructuralType, normalizationRunner, scanRunner, selectNormalizationRules, selectScanRules, validationRunner, } from '../pipeline
|
|
14
|
-
import { janeRegistry } from '../fluent-registry
|
|
15
|
-
import { diff, explain, replay, telemetry } from '../analysis
|
|
16
|
-
import { parseRunner } from '
|
|
17
|
-
import { isFluentValidator, isValidationFactory } from './validate
|
|
18
|
-
import { isFluentParser, isParseFactory } from '../pipeline
|
|
19
|
-
import { normalizePolicy } from '../common/policy
|
|
11
|
+
import { attachFluentParsers, attachFluentValidators, createEvent, defaultPolicy, policyDecision, resolvePolicy, } from '../common';
|
|
12
|
+
import { rootPath } from '../field-path';
|
|
13
|
+
import { deepClone, detectStructuralType, normalizationRunner, scanRunner, selectNormalizationRules, selectScanRules, validationRunner, } from '../pipeline';
|
|
14
|
+
import { janeRegistry } from '../fluent-registry';
|
|
15
|
+
import { diff, explain, replay, telemetry } from '../analysis';
|
|
16
|
+
import { parseRunner } from '.';
|
|
17
|
+
import { isFluentValidator, isValidationFactory } from './validate';
|
|
18
|
+
import { isFluentParser, isParseFactory } from '../pipeline';
|
|
19
|
+
import { normalizePolicy } from '../common/policy';
|
|
20
20
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
21
21
|
|* Pipeline Runner *|
|
|
22
22
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,11 +8,11 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { createEvent } from '../common
|
|
12
|
-
import { rootPath, walk } from '../field-path
|
|
13
|
-
import { scanRuleRegistry } from '../scanners
|
|
14
|
-
import { containValue, defaultContainmentOptions } from '
|
|
15
|
-
import { makeFieldPath } from '../field-path/construct
|
|
11
|
+
import { createEvent } from '../common';
|
|
12
|
+
import { rootPath, walk } from '../field-path';
|
|
13
|
+
import { scanRuleRegistry } from '../scanners';
|
|
14
|
+
import { containValue, defaultContainmentOptions } from '.';
|
|
15
|
+
import { makeFieldPath } from '../field-path/construct';
|
|
16
16
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
17
17
|
|* Detect Structural Type *|
|
|
18
18
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { createEvent } from '../common
|
|
12
|
-
import { rootPath } from '../field-path
|
|
11
|
+
import { createEvent } from '../common';
|
|
12
|
+
import { rootPath } from '../field-path';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Is Validation Factory *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
12
12
|
|* Internal Modules *|
|
|
13
13
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
14
|
-
import { isSentinel, sentinelEvent } from '../../../core/pipeline
|
|
15
|
-
import { scanEvent } from '../../pipeline
|
|
14
|
+
import { isSentinel, sentinelEvent } from '../../../core/pipeline';
|
|
15
|
+
import { scanEvent } from '../../pipeline';
|
|
16
16
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
17
17
|
|* Implementation *|
|
|
18
18
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { scanEvent } from '../../pipeline
|
|
11
|
+
import { scanEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
12
12
|
|* Internal Modules *|
|
|
13
13
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
14
|
-
import { detectStructuralType } from '../../../core/pipeline
|
|
15
|
-
import { scanEvent } from '../../pipeline
|
|
14
|
+
import { detectStructuralType } from '../../../core/pipeline';
|
|
15
|
+
import { scanEvent } from '../../pipeline';
|
|
16
16
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
17
17
|
|* Implementation *|
|
|
18
18
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { scanEvent } from '../../pipeline
|
|
11
|
+
import { scanEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see https://jane-io.com
|
|
10
10
|
* ----------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
|
-
import { scanEvent } from '../../pipeline
|
|
12
|
+
import { scanEvent } from '../../pipeline';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Implementation *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* @see https://jane-io.com
|
|
10
10
|
* ----------------------------------------------------------------------------
|
|
11
11
|
*/
|
|
12
|
-
import { scanEvent } from '../../pipeline
|
|
12
|
+
import { scanEvent } from '../../pipeline';
|
|
13
13
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
14
14
|
|* Implementation *|
|
|
15
15
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { scanEvent } from '../../pipeline
|
|
11
|
+
import { scanEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { scanEvent } from '../../pipeline
|
|
11
|
+
import { scanEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* @see https://jane-io.com
|
|
9
9
|
* ----------------------------------------------------------------------------
|
|
10
10
|
*/
|
|
11
|
-
import { scanEvent } from '../../pipeline
|
|
11
|
+
import { scanEvent } from '../../pipeline';
|
|
12
12
|
/* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— *\
|
|
13
13
|
|* Implementation *|
|
|
14
14
|
\* ——— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ————— * ——— */
|