@duplojs/utils 1.2.16 → 1.2.18
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/dist/array/chunk.cjs +16 -0
- package/dist/array/chunk.d.ts +2 -0
- package/dist/array/chunk.mjs +14 -0
- package/dist/array/index.cjs +30 -28
- package/dist/array/index.d.ts +1 -0
- package/dist/array/index.mjs +15 -14
- package/dist/array/reduce.cjs +0 -27
- package/dist/array/reduce.mjs +0 -27
- package/dist/array/reduceRight.cjs +0 -27
- package/dist/array/reduceRight.mjs +0 -27
- package/dist/common/createKindIdentifier.cjs +1 -26
- package/dist/common/createKindIdentifier.mjs +1 -26
- package/dist/common/instanceOf.cjs +0 -27
- package/dist/common/instanceOf.mjs +0 -27
- package/dist/common/override.cjs +1 -26
- package/dist/common/override.mjs +1 -26
- package/dist/dataParser/base.cjs +3 -27
- package/dist/dataParser/base.mjs +3 -27
- package/dist/dataParser/baseExtended.cjs +9 -71
- package/dist/dataParser/baseExtended.d.ts +4 -4
- package/dist/dataParser/baseExtended.mjs +9 -71
- package/dist/dataParser/extended/array.cjs +1 -48
- package/dist/dataParser/extended/array.d.ts +3 -3
- package/dist/dataParser/extended/array.mjs +1 -48
- package/dist/dataParser/extended/bigint.cjs +1 -48
- package/dist/dataParser/extended/bigint.d.ts +2 -2
- package/dist/dataParser/extended/bigint.mjs +1 -48
- package/dist/dataParser/extended/boolean.cjs +1 -48
- package/dist/dataParser/extended/boolean.d.ts +2 -2
- package/dist/dataParser/extended/boolean.mjs +1 -48
- package/dist/dataParser/extended/coerce/bigint.cjs +0 -21
- package/dist/dataParser/extended/coerce/bigint.mjs +0 -21
- package/dist/dataParser/extended/coerce/boolean.cjs +0 -21
- package/dist/dataParser/extended/coerce/boolean.mjs +0 -21
- package/dist/dataParser/extended/coerce/date.cjs +0 -21
- package/dist/dataParser/extended/coerce/date.mjs +0 -21
- package/dist/dataParser/extended/coerce/empty.cjs +0 -21
- package/dist/dataParser/extended/coerce/empty.mjs +0 -21
- package/dist/dataParser/extended/coerce/nil.cjs +0 -21
- package/dist/dataParser/extended/coerce/nil.mjs +0 -21
- package/dist/dataParser/extended/coerce/number.cjs +0 -21
- package/dist/dataParser/extended/coerce/number.mjs +0 -21
- package/dist/dataParser/extended/coerce/string.cjs +0 -21
- package/dist/dataParser/extended/coerce/string.mjs +0 -21
- package/dist/dataParser/extended/date.cjs +1 -48
- package/dist/dataParser/extended/date.d.ts +3 -2
- package/dist/dataParser/extended/date.mjs +1 -48
- package/dist/dataParser/extended/empty.cjs +1 -48
- package/dist/dataParser/extended/empty.d.ts +2 -2
- package/dist/dataParser/extended/empty.mjs +1 -48
- package/dist/dataParser/extended/lazy.cjs +1 -48
- package/dist/dataParser/extended/lazy.d.ts +3 -3
- package/dist/dataParser/extended/lazy.mjs +1 -48
- package/dist/dataParser/extended/literal.cjs +1 -48
- package/dist/dataParser/extended/literal.d.ts +2 -2
- package/dist/dataParser/extended/literal.mjs +1 -48
- package/dist/dataParser/extended/nil.cjs +1 -48
- package/dist/dataParser/extended/nil.d.ts +2 -2
- package/dist/dataParser/extended/nil.mjs +1 -48
- package/dist/dataParser/extended/nullable.cjs +1 -48
- package/dist/dataParser/extended/nullable.d.ts +3 -3
- package/dist/dataParser/extended/nullable.mjs +1 -48
- package/dist/dataParser/extended/number.cjs +1 -48
- package/dist/dataParser/extended/number.d.ts +2 -2
- package/dist/dataParser/extended/number.mjs +1 -48
- package/dist/dataParser/extended/object.cjs +5 -52
- package/dist/dataParser/extended/object.d.ts +2 -2
- package/dist/dataParser/extended/object.mjs +5 -52
- package/dist/dataParser/extended/optional.cjs +1 -48
- package/dist/dataParser/extended/optional.d.ts +3 -3
- package/dist/dataParser/extended/optional.mjs +1 -48
- package/dist/dataParser/extended/pipe.cjs +1 -48
- package/dist/dataParser/extended/pipe.d.ts +3 -3
- package/dist/dataParser/extended/pipe.mjs +1 -48
- package/dist/dataParser/extended/record.cjs +1 -48
- package/dist/dataParser/extended/record.d.ts +3 -3
- package/dist/dataParser/extended/record.mjs +1 -48
- package/dist/dataParser/extended/recover.cjs +1 -48
- package/dist/dataParser/extended/recover.d.ts +3 -3
- package/dist/dataParser/extended/recover.mjs +1 -48
- package/dist/dataParser/extended/string.cjs +1 -48
- package/dist/dataParser/extended/string.d.ts +2 -2
- package/dist/dataParser/extended/string.mjs +1 -48
- package/dist/dataParser/extended/templateLiteral.cjs +1 -48
- package/dist/dataParser/extended/templateLiteral.d.ts +2 -2
- package/dist/dataParser/extended/templateLiteral.mjs +1 -48
- package/dist/dataParser/extended/transform.cjs +1 -48
- package/dist/dataParser/extended/transform.d.ts +3 -3
- package/dist/dataParser/extended/transform.mjs +1 -48
- package/dist/dataParser/extended/tuple.cjs +1 -48
- package/dist/dataParser/extended/tuple.d.ts +3 -3
- package/dist/dataParser/extended/tuple.mjs +1 -48
- package/dist/dataParser/extended/union.cjs +1 -48
- package/dist/dataParser/extended/union.d.ts +3 -3
- package/dist/dataParser/extended/union.mjs +1 -48
- package/dist/dataParser/extended/unknown.cjs +1 -48
- package/dist/dataParser/extended/unknown.d.ts +2 -2
- package/dist/dataParser/extended/unknown.mjs +1 -48
- package/dist/dataParser/identifier.cjs +0 -5
- package/dist/dataParser/identifier.d.ts +6 -156
- package/dist/dataParser/identifier.mjs +0 -5
- package/dist/dataParser/index.cjs +52 -52
- package/dist/dataParser/index.mjs +19 -19
- package/dist/dataParser/kind.cjs +0 -27
- package/dist/dataParser/kind.mjs +0 -27
- package/dist/dataParser/parsers/array/index.cjs +1 -33
- package/dist/dataParser/parsers/array/index.mjs +1 -29
- package/dist/dataParser/parsers/bigint/index.cjs +1 -33
- package/dist/dataParser/parsers/bigint/index.mjs +1 -29
- package/dist/dataParser/parsers/boolean.cjs +1 -27
- package/dist/dataParser/parsers/boolean.mjs +1 -27
- package/dist/dataParser/parsers/coerce/bigint.cjs +0 -21
- package/dist/dataParser/parsers/coerce/bigint.mjs +0 -21
- package/dist/dataParser/parsers/coerce/boolean.cjs +0 -21
- package/dist/dataParser/parsers/coerce/boolean.mjs +0 -21
- package/dist/dataParser/parsers/coerce/date.cjs +0 -21
- package/dist/dataParser/parsers/coerce/date.mjs +0 -21
- package/dist/dataParser/parsers/coerce/empty.cjs +0 -21
- package/dist/dataParser/parsers/coerce/empty.mjs +0 -21
- package/dist/dataParser/parsers/coerce/nil.cjs +0 -21
- package/dist/dataParser/parsers/coerce/nil.mjs +0 -21
- package/dist/dataParser/parsers/coerce/number.cjs +0 -21
- package/dist/dataParser/parsers/coerce/number.mjs +0 -21
- package/dist/dataParser/parsers/coerce/string.cjs +0 -21
- package/dist/dataParser/parsers/coerce/string.mjs +0 -21
- package/dist/dataParser/parsers/date.cjs +2 -31
- package/dist/dataParser/parsers/date.mjs +2 -31
- package/dist/dataParser/parsers/empty.cjs +1 -27
- package/dist/dataParser/parsers/empty.mjs +1 -27
- package/dist/dataParser/parsers/lazy.cjs +2 -28
- package/dist/dataParser/parsers/lazy.mjs +2 -28
- package/dist/dataParser/parsers/literal.cjs +2 -28
- package/dist/dataParser/parsers/literal.mjs +2 -28
- package/dist/dataParser/parsers/nil.cjs +1 -27
- package/dist/dataParser/parsers/nil.mjs +1 -27
- package/dist/dataParser/parsers/nullable.cjs +1 -27
- package/dist/dataParser/parsers/nullable.mjs +1 -27
- package/dist/dataParser/parsers/number/index.cjs +1 -37
- package/dist/dataParser/parsers/number/index.mjs +1 -30
- package/dist/dataParser/parsers/object/index.cjs +7 -33
- package/dist/dataParser/parsers/object/index.mjs +7 -33
- package/dist/dataParser/parsers/object/omit.cjs +2 -29
- package/dist/dataParser/parsers/object/omit.mjs +2 -29
- package/dist/dataParser/parsers/object/pick.cjs +2 -29
- package/dist/dataParser/parsers/object/pick.mjs +2 -29
- package/dist/dataParser/parsers/optional.cjs +1 -27
- package/dist/dataParser/parsers/optional.mjs +1 -27
- package/dist/dataParser/parsers/pipe.cjs +1 -27
- package/dist/dataParser/parsers/pipe.mjs +1 -27
- package/dist/dataParser/parsers/record/findRecordRequiredKey.cjs +17 -46
- package/dist/dataParser/parsers/record/findRecordRequiredKey.mjs +17 -46
- package/dist/dataParser/parsers/record/index.cjs +1 -27
- package/dist/dataParser/parsers/record/index.mjs +1 -27
- package/dist/dataParser/parsers/recover.cjs +1 -27
- package/dist/dataParser/parsers/recover.mjs +1 -27
- package/dist/dataParser/parsers/string/index.cjs +1 -44
- package/dist/dataParser/parsers/string/index.mjs +1 -32
- package/dist/dataParser/parsers/templateLiteral/createTemplateLiteralPattern.cjs +14 -43
- package/dist/dataParser/parsers/templateLiteral/createTemplateLiteralPattern.mjs +14 -43
- package/dist/dataParser/parsers/templateLiteral/index.cjs +2 -28
- package/dist/dataParser/parsers/templateLiteral/index.mjs +2 -28
- package/dist/dataParser/parsers/transform.cjs +1 -27
- package/dist/dataParser/parsers/transform.mjs +1 -27
- package/dist/dataParser/parsers/tuple.cjs +1 -27
- package/dist/dataParser/parsers/tuple.mjs +1 -27
- package/dist/dataParser/parsers/union.cjs +1 -27
- package/dist/dataParser/parsers/union.mjs +1 -27
- package/dist/dataParser/parsers/unknown.cjs +1 -27
- package/dist/dataParser/parsers/unknown.mjs +1 -27
- package/dist/date/create.cjs +0 -25
- package/dist/date/create.mjs +0 -25
- package/dist/date/createOrThrow.cjs +2 -29
- package/dist/date/createOrThrow.mjs +2 -29
- package/dist/date/getters/getDayOfMonth.cjs +0 -30
- package/dist/date/getters/getDayOfMonth.mjs +0 -30
- package/dist/date/getters/getDayOfWeek.cjs +0 -30
- package/dist/date/getters/getDayOfWeek.mjs +0 -30
- package/dist/date/getters/getDayOfYear.cjs +0 -30
- package/dist/date/getters/getDayOfYear.mjs +0 -30
- package/dist/date/getters/getHour.cjs +0 -30
- package/dist/date/getters/getHour.mjs +0 -30
- package/dist/date/getters/getMilliseconds.cjs +0 -30
- package/dist/date/getters/getMilliseconds.mjs +0 -30
- package/dist/date/getters/getMinute.cjs +0 -30
- package/dist/date/getters/getMinute.mjs +0 -30
- package/dist/date/getters/getMonth.cjs +0 -30
- package/dist/date/getters/getMonth.mjs +0 -30
- package/dist/date/getters/getSecond.cjs +0 -30
- package/dist/date/getters/getSecond.mjs +0 -30
- package/dist/date/getters/getWeekOfYear.cjs +0 -30
- package/dist/date/getters/getWeekOfYear.mjs +0 -30
- package/dist/date/getters/getYear.cjs +0 -30
- package/dist/date/getters/getYear.mjs +0 -30
- package/dist/date/index.cjs +15 -15
- package/dist/date/index.mjs +7 -7
- package/dist/date/toTimestamp.cjs +2 -29
- package/dist/date/toTimestamp.mjs +2 -29
- package/dist/either/bool/falsy.cjs +3 -26
- package/dist/either/bool/falsy.mjs +3 -26
- package/dist/either/bool/truthy.cjs +5 -28
- package/dist/either/bool/truthy.mjs +5 -28
- package/dist/either/future/create.cjs +2 -27
- package/dist/either/future/create.mjs +2 -27
- package/dist/either/future/error.cjs +2 -25
- package/dist/either/future/error.mjs +2 -25
- package/dist/either/future/success.cjs +0 -23
- package/dist/either/future/success.mjs +0 -23
- package/dist/either/index.cjs +7 -7
- package/dist/either/index.mjs +3 -3
- package/dist/either/kind.cjs +0 -26
- package/dist/either/kind.mjs +0 -26
- package/dist/either/left/when.cjs +1 -28
- package/dist/either/left/when.mjs +1 -28
- package/dist/either/nullable/empty.cjs +4 -27
- package/dist/either/nullable/empty.mjs +4 -27
- package/dist/either/nullable/filled.cjs +4 -27
- package/dist/either/nullable/filled.mjs +4 -27
- package/dist/either/nullish/empty.cjs +4 -27
- package/dist/either/nullish/empty.mjs +4 -27
- package/dist/either/nullish/filled.cjs +4 -27
- package/dist/either/nullish/filled.mjs +4 -27
- package/dist/either/optional/empty.cjs +0 -23
- package/dist/either/optional/empty.mjs +0 -23
- package/dist/either/optional/filled.cjs +6 -29
- package/dist/either/optional/filled.mjs +6 -29
- package/dist/either/right/asyncPipe.cjs +3 -29
- package/dist/either/right/asyncPipe.mjs +3 -29
- package/dist/either/right/pipe.cjs +2 -28
- package/dist/either/right/pipe.mjs +2 -28
- package/dist/either/right/when.cjs +1 -28
- package/dist/either/right/when.mjs +1 -28
- package/dist/either/whenHasInformation.cjs +2 -28
- package/dist/either/whenHasInformation.mjs +2 -28
- package/dist/generator/asyncReduce.cjs +0 -27
- package/dist/generator/asyncReduce.mjs +0 -27
- package/dist/generator/chunk.cjs +24 -0
- package/dist/generator/chunk.d.ts +2 -0
- package/dist/generator/chunk.mjs +22 -0
- package/dist/generator/index.cjs +2 -0
- package/dist/generator/index.d.ts +1 -0
- package/dist/generator/index.mjs +1 -0
- package/dist/generator/reduce.cjs +0 -27
- package/dist/generator/reduce.mjs +0 -27
- package/dist/index.cjs +33 -33
- package/dist/index.mjs +33 -33
- package/dist/object/deepDiscriminate.cjs +1 -28
- package/dist/object/deepDiscriminate.mjs +1 -28
- package/dist/object/discriminate.cjs +0 -27
- package/dist/object/discriminate.mjs +0 -27
- package/dist/object/entries.cjs +1 -28
- package/dist/object/entries.mjs +1 -28
- package/dist/object/keys.cjs +1 -28
- package/dist/object/keys.mjs +1 -28
- package/dist/object/values.cjs +1 -28
- package/dist/object/values.mjs +1 -28
- package/dist/pattern/exhaustive.cjs +0 -27
- package/dist/pattern/exhaustive.mjs +0 -27
- package/dist/pattern/index.cjs +2 -2
- package/dist/pattern/index.mjs +1 -1
- package/dist/pattern/match/builder.cjs +2 -28
- package/dist/pattern/match/builder.mjs +2 -28
- package/dist/pattern/match/index.d.ts +3 -3
- package/dist/pattern/otherwise.cjs +1 -28
- package/dist/pattern/otherwise.mjs +1 -28
- package/dist/pattern/result.cjs +0 -27
- package/dist/pattern/result.mjs +0 -27
- package/dist/pattern/when.d.ts +5 -5
- package/dist/string/index.cjs +12 -12
- package/dist/string/index.mjs +6 -6
- package/package.json +2 -1
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
function chunk(...args) {
|
|
4
|
+
if (args.length === 1) {
|
|
5
|
+
const [size] = args;
|
|
6
|
+
return (input) => chunk(input, size);
|
|
7
|
+
}
|
|
8
|
+
const [input, size] = args;
|
|
9
|
+
const result = [];
|
|
10
|
+
for (let index = 0; index < input.length; index += size) {
|
|
11
|
+
result.push(input.slice(index, index + size));
|
|
12
|
+
}
|
|
13
|
+
return result;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
exports.chunk = chunk;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
function chunk(...args) {
|
|
2
|
+
if (args.length === 1) {
|
|
3
|
+
const [size] = args;
|
|
4
|
+
return (input) => chunk(input, size);
|
|
5
|
+
}
|
|
6
|
+
const [input, size] = args;
|
|
7
|
+
const result = [];
|
|
8
|
+
for (let index = 0; index < input.length; index += size) {
|
|
9
|
+
result.push(input.slice(index, index + size));
|
|
10
|
+
}
|
|
11
|
+
return result;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export { chunk };
|
package/dist/array/index.cjs
CHANGED
|
@@ -13,16 +13,7 @@ var minOf = require('./minOf.cjs');
|
|
|
13
13
|
var push = require('./push.cjs');
|
|
14
14
|
var reduce = require('./reduce.cjs');
|
|
15
15
|
var some = require('./some.cjs');
|
|
16
|
-
var _default = require('./sort/default.cjs');
|
|
17
|
-
var number = require('./sort/number.cjs');
|
|
18
|
-
var string = require('./sort/string.cjs');
|
|
19
|
-
var _delete = require('./splice/delete.cjs');
|
|
20
|
-
var insert = require('./splice/insert.cjs');
|
|
21
|
-
var replace = require('./splice/replace.cjs');
|
|
22
16
|
var is = require('./is.cjs');
|
|
23
|
-
var _default$1 = require('./at/default.cjs');
|
|
24
|
-
var first = require('./at/first.cjs');
|
|
25
|
-
var last = require('./at/last.cjs');
|
|
26
17
|
var findIndex = require('./findIndex.cjs');
|
|
27
18
|
var findLastIndex = require('./findLastIndex.cjs');
|
|
28
19
|
var flat = require('./flat.cjs');
|
|
@@ -38,20 +29,30 @@ var every = require('./every.cjs');
|
|
|
38
29
|
var lastIndexOf = require('./lastIndexOf.cjs');
|
|
39
30
|
var indexOf = require('./indexOf.cjs');
|
|
40
31
|
var slice = require('./slice.cjs');
|
|
41
|
-
var _default$2 = require('./fill/default.cjs');
|
|
42
|
-
var all = require('./fill/all.cjs');
|
|
43
32
|
var set = require('./set.cjs');
|
|
44
33
|
var concat = require('./concat.cjs');
|
|
45
34
|
var copyWithin = require('./copyWithin.cjs');
|
|
46
35
|
var findAndReplace = require('./findAndReplace.cjs');
|
|
47
|
-
var _delete$1 = require('./findAndSplice/delete.cjs');
|
|
48
|
-
var insert$1 = require('./findAndSplice/insert.cjs');
|
|
49
|
-
var replace$1 = require('./findAndSplice/replace.cjs');
|
|
50
36
|
var sum = require('./sum.cjs');
|
|
51
37
|
var length = require('./length.cjs');
|
|
52
38
|
var coalescing = require('./coalescing.cjs');
|
|
53
39
|
var toTuple = require('./toTuple.cjs');
|
|
54
40
|
var notIncludes = require('./notIncludes.cjs');
|
|
41
|
+
var chunk = require('./chunk.cjs');
|
|
42
|
+
var _default = require('./sort/default.cjs');
|
|
43
|
+
var number = require('./sort/number.cjs');
|
|
44
|
+
var string = require('./sort/string.cjs');
|
|
45
|
+
var _delete = require('./splice/delete.cjs');
|
|
46
|
+
var insert = require('./splice/insert.cjs');
|
|
47
|
+
var replace = require('./splice/replace.cjs');
|
|
48
|
+
var _default$1 = require('./at/default.cjs');
|
|
49
|
+
var first = require('./at/first.cjs');
|
|
50
|
+
var last = require('./at/last.cjs');
|
|
51
|
+
var _default$2 = require('./fill/default.cjs');
|
|
52
|
+
var all = require('./fill/all.cjs');
|
|
53
|
+
var _delete$1 = require('./findAndSplice/delete.cjs');
|
|
54
|
+
var insert$1 = require('./findAndSplice/insert.cjs');
|
|
55
|
+
var replace$1 = require('./findAndSplice/replace.cjs');
|
|
55
56
|
|
|
56
57
|
|
|
57
58
|
|
|
@@ -70,16 +71,7 @@ exports.push = push.push;
|
|
|
70
71
|
exports.reduce = reduce.reduce;
|
|
71
72
|
exports.reduceFrom = reduce.reduceFrom;
|
|
72
73
|
exports.some = some.some;
|
|
73
|
-
exports.sort = _default.sort;
|
|
74
|
-
exports.sortNumber = number.sortNumber;
|
|
75
|
-
exports.sortString = string.sortString;
|
|
76
|
-
exports.spliceDelete = _delete.spliceDelete;
|
|
77
|
-
exports.spliceInsert = insert.spliceInsert;
|
|
78
|
-
exports.spliceReplace = replace.spliceReplace;
|
|
79
74
|
exports.is = is.is;
|
|
80
|
-
exports.at = _default$1.at;
|
|
81
|
-
exports.first = first.first;
|
|
82
|
-
exports.last = last.last;
|
|
83
75
|
exports.findIndex = findIndex.findIndex;
|
|
84
76
|
exports.findLastIndex = findLastIndex.findLastIndex;
|
|
85
77
|
exports.flat = flat.flat;
|
|
@@ -95,17 +87,27 @@ exports.every = every.every;
|
|
|
95
87
|
exports.lastIndexOf = lastIndexOf.lastIndexOf;
|
|
96
88
|
exports.indexOf = indexOf.indexOf;
|
|
97
89
|
exports.slice = slice.slice;
|
|
98
|
-
exports.fill = _default$2.fill;
|
|
99
|
-
exports.fillAll = all.fillAll;
|
|
100
90
|
exports.set = set.set;
|
|
101
91
|
exports.concat = concat.concat;
|
|
102
92
|
exports.copyWithin = copyWithin.copyWithin;
|
|
103
93
|
exports.findAndReplace = findAndReplace.findAndReplace;
|
|
104
|
-
exports.findAndSpliceDelete = _delete$1.findAndSpliceDelete;
|
|
105
|
-
exports.findAndSpliceInsert = insert$1.findAndSpliceInsert;
|
|
106
|
-
exports.findAndSpliceReplace = replace$1.findAndSpliceReplace;
|
|
107
94
|
exports.sum = sum.sum;
|
|
108
95
|
exports.length = length.length;
|
|
109
96
|
exports.coalescing = coalescing.coalescing;
|
|
110
97
|
exports.toTuple = toTuple.toTuple;
|
|
111
98
|
exports.notIncludes = notIncludes.notIncludes;
|
|
99
|
+
exports.chunk = chunk.chunk;
|
|
100
|
+
exports.sort = _default.sort;
|
|
101
|
+
exports.sortNumber = number.sortNumber;
|
|
102
|
+
exports.sortString = string.sortString;
|
|
103
|
+
exports.spliceDelete = _delete.spliceDelete;
|
|
104
|
+
exports.spliceInsert = insert.spliceInsert;
|
|
105
|
+
exports.spliceReplace = replace.spliceReplace;
|
|
106
|
+
exports.at = _default$1.at;
|
|
107
|
+
exports.first = first.first;
|
|
108
|
+
exports.last = last.last;
|
|
109
|
+
exports.fill = _default$2.fill;
|
|
110
|
+
exports.fillAll = all.fillAll;
|
|
111
|
+
exports.findAndSpliceDelete = _delete$1.findAndSpliceDelete;
|
|
112
|
+
exports.findAndSpliceInsert = insert$1.findAndSpliceInsert;
|
|
113
|
+
exports.findAndSpliceReplace = replace$1.findAndSpliceReplace;
|
package/dist/array/index.d.ts
CHANGED
package/dist/array/index.mjs
CHANGED
|
@@ -11,16 +11,7 @@ export { minOf } from './minOf.mjs';
|
|
|
11
11
|
export { push } from './push.mjs';
|
|
12
12
|
export { reduce, reduceFrom } from './reduce.mjs';
|
|
13
13
|
export { some } from './some.mjs';
|
|
14
|
-
export { sort } from './sort/default.mjs';
|
|
15
|
-
export { sortNumber } from './sort/number.mjs';
|
|
16
|
-
export { sortString } from './sort/string.mjs';
|
|
17
|
-
export { spliceDelete } from './splice/delete.mjs';
|
|
18
|
-
export { spliceInsert } from './splice/insert.mjs';
|
|
19
|
-
export { spliceReplace } from './splice/replace.mjs';
|
|
20
14
|
export { is } from './is.mjs';
|
|
21
|
-
export { at } from './at/default.mjs';
|
|
22
|
-
export { first } from './at/first.mjs';
|
|
23
|
-
export { last } from './at/last.mjs';
|
|
24
15
|
export { findIndex } from './findIndex.mjs';
|
|
25
16
|
export { findLastIndex } from './findLastIndex.mjs';
|
|
26
17
|
export { flat } from './flat.mjs';
|
|
@@ -36,17 +27,27 @@ export { every } from './every.mjs';
|
|
|
36
27
|
export { lastIndexOf } from './lastIndexOf.mjs';
|
|
37
28
|
export { indexOf } from './indexOf.mjs';
|
|
38
29
|
export { slice } from './slice.mjs';
|
|
39
|
-
export { fill } from './fill/default.mjs';
|
|
40
|
-
export { fillAll } from './fill/all.mjs';
|
|
41
30
|
export { set } from './set.mjs';
|
|
42
31
|
export { concat } from './concat.mjs';
|
|
43
32
|
export { copyWithin } from './copyWithin.mjs';
|
|
44
33
|
export { findAndReplace } from './findAndReplace.mjs';
|
|
45
|
-
export { findAndSpliceDelete } from './findAndSplice/delete.mjs';
|
|
46
|
-
export { findAndSpliceInsert } from './findAndSplice/insert.mjs';
|
|
47
|
-
export { findAndSpliceReplace } from './findAndSplice/replace.mjs';
|
|
48
34
|
export { sum } from './sum.mjs';
|
|
49
35
|
export { length } from './length.mjs';
|
|
50
36
|
export { coalescing } from './coalescing.mjs';
|
|
51
37
|
export { toTuple } from './toTuple.mjs';
|
|
52
38
|
export { notIncludes } from './notIncludes.mjs';
|
|
39
|
+
export { chunk } from './chunk.mjs';
|
|
40
|
+
export { sort } from './sort/default.mjs';
|
|
41
|
+
export { sortNumber } from './sort/number.mjs';
|
|
42
|
+
export { sortString } from './sort/string.mjs';
|
|
43
|
+
export { spliceDelete } from './splice/delete.mjs';
|
|
44
|
+
export { spliceInsert } from './splice/insert.mjs';
|
|
45
|
+
export { spliceReplace } from './splice/replace.mjs';
|
|
46
|
+
export { at } from './at/default.mjs';
|
|
47
|
+
export { first } from './at/first.mjs';
|
|
48
|
+
export { last } from './at/last.mjs';
|
|
49
|
+
export { fill } from './fill/default.mjs';
|
|
50
|
+
export { fillAll } from './fill/all.mjs';
|
|
51
|
+
export { findAndSpliceDelete } from './findAndSplice/delete.mjs';
|
|
52
|
+
export { findAndSpliceInsert } from './findAndSplice/insert.mjs';
|
|
53
|
+
export { findAndSpliceReplace } from './findAndSplice/replace.mjs';
|
package/dist/array/reduce.cjs
CHANGED
|
@@ -3,33 +3,6 @@
|
|
|
3
3
|
var kind = require('../common/kind.cjs');
|
|
4
4
|
var wrapValue = require('../common/wrapValue.cjs');
|
|
5
5
|
var unwrap = require('../common/unwrap.cjs');
|
|
6
|
-
require('../common/stringToBytes.cjs');
|
|
7
|
-
require('../common/stringToMillisecond.cjs');
|
|
8
|
-
require('../common/globalStore.cjs');
|
|
9
|
-
require('../common/builder.cjs');
|
|
10
|
-
require('../either/bool/falsy.cjs');
|
|
11
|
-
require('../either/bool/truthy.cjs');
|
|
12
|
-
require('../either/bool/base.cjs');
|
|
13
|
-
require('../either/left/create.cjs');
|
|
14
|
-
require('../either/left/error.cjs');
|
|
15
|
-
require('../either/left/fail.cjs');
|
|
16
|
-
require('../either/kind.cjs');
|
|
17
|
-
require('../either/right/success.cjs');
|
|
18
|
-
require('../either/right/create.cjs');
|
|
19
|
-
require('../either/right/ok.cjs');
|
|
20
|
-
require('../either/future/success.cjs');
|
|
21
|
-
require('../either/future/error.cjs');
|
|
22
|
-
require('../either/future/base.cjs');
|
|
23
|
-
require('../either/nullable/empty.cjs');
|
|
24
|
-
require('../either/nullable/filled.cjs');
|
|
25
|
-
require('../either/nullable/base.cjs');
|
|
26
|
-
require('../either/nullish/empty.cjs');
|
|
27
|
-
require('../either/nullish/filled.cjs');
|
|
28
|
-
require('../either/nullish/base.cjs');
|
|
29
|
-
require('../either/optional/empty.cjs');
|
|
30
|
-
require('../either/optional/filled.cjs');
|
|
31
|
-
require('../either/optional/base.cjs');
|
|
32
|
-
require('../common/override.cjs');
|
|
33
6
|
var override = require('../object/override.cjs');
|
|
34
7
|
|
|
35
8
|
const arrayReduceFromKind = kind.createKind("array-reduce-from");
|
package/dist/array/reduce.mjs
CHANGED
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
import { createKind } from '../common/kind.mjs';
|
|
2
2
|
import { wrapValue } from '../common/wrapValue.mjs';
|
|
3
3
|
import { unwrap } from '../common/unwrap.mjs';
|
|
4
|
-
import '../common/stringToBytes.mjs';
|
|
5
|
-
import '../common/stringToMillisecond.mjs';
|
|
6
|
-
import '../common/globalStore.mjs';
|
|
7
|
-
import '../common/builder.mjs';
|
|
8
|
-
import '../either/bool/falsy.mjs';
|
|
9
|
-
import '../either/bool/truthy.mjs';
|
|
10
|
-
import '../either/bool/base.mjs';
|
|
11
|
-
import '../either/left/create.mjs';
|
|
12
|
-
import '../either/left/error.mjs';
|
|
13
|
-
import '../either/left/fail.mjs';
|
|
14
|
-
import '../either/kind.mjs';
|
|
15
|
-
import '../either/right/success.mjs';
|
|
16
|
-
import '../either/right/create.mjs';
|
|
17
|
-
import '../either/right/ok.mjs';
|
|
18
|
-
import '../either/future/success.mjs';
|
|
19
|
-
import '../either/future/error.mjs';
|
|
20
|
-
import '../either/future/base.mjs';
|
|
21
|
-
import '../either/nullable/empty.mjs';
|
|
22
|
-
import '../either/nullable/filled.mjs';
|
|
23
|
-
import '../either/nullable/base.mjs';
|
|
24
|
-
import '../either/nullish/empty.mjs';
|
|
25
|
-
import '../either/nullish/filled.mjs';
|
|
26
|
-
import '../either/nullish/base.mjs';
|
|
27
|
-
import '../either/optional/empty.mjs';
|
|
28
|
-
import '../either/optional/filled.mjs';
|
|
29
|
-
import '../either/optional/base.mjs';
|
|
30
|
-
import '../common/override.mjs';
|
|
31
4
|
import { override } from '../object/override.mjs';
|
|
32
5
|
|
|
33
6
|
const arrayReduceFromKind = createKind("array-reduce-from");
|
|
@@ -1,33 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var unwrap = require('../common/unwrap.cjs');
|
|
4
|
-
require('../common/stringToBytes.cjs');
|
|
5
|
-
require('../common/stringToMillisecond.cjs');
|
|
6
|
-
require('../common/globalStore.cjs');
|
|
7
|
-
require('../common/builder.cjs');
|
|
8
|
-
require('../either/bool/falsy.cjs');
|
|
9
|
-
require('../either/bool/truthy.cjs');
|
|
10
|
-
require('../either/bool/base.cjs');
|
|
11
|
-
require('../either/left/create.cjs');
|
|
12
|
-
require('../either/left/error.cjs');
|
|
13
|
-
require('../either/left/fail.cjs');
|
|
14
|
-
require('../either/kind.cjs');
|
|
15
|
-
require('../either/right/success.cjs');
|
|
16
|
-
require('../either/right/create.cjs');
|
|
17
|
-
require('../either/right/ok.cjs');
|
|
18
|
-
require('../either/future/success.cjs');
|
|
19
|
-
require('../either/future/error.cjs');
|
|
20
|
-
require('../either/future/base.cjs');
|
|
21
|
-
require('../either/nullable/empty.cjs');
|
|
22
|
-
require('../either/nullable/filled.cjs');
|
|
23
|
-
require('../either/nullable/base.cjs');
|
|
24
|
-
require('../either/nullish/empty.cjs');
|
|
25
|
-
require('../either/nullish/filled.cjs');
|
|
26
|
-
require('../either/nullish/base.cjs');
|
|
27
|
-
require('../either/optional/empty.cjs');
|
|
28
|
-
require('../either/optional/filled.cjs');
|
|
29
|
-
require('../either/optional/base.cjs');
|
|
30
|
-
require('../common/override.cjs');
|
|
31
4
|
var override = require('../object/override.cjs');
|
|
32
5
|
|
|
33
6
|
function reduceRight(...args) {
|
|
@@ -1,31 +1,4 @@
|
|
|
1
1
|
import { unwrap } from '../common/unwrap.mjs';
|
|
2
|
-
import '../common/stringToBytes.mjs';
|
|
3
|
-
import '../common/stringToMillisecond.mjs';
|
|
4
|
-
import '../common/globalStore.mjs';
|
|
5
|
-
import '../common/builder.mjs';
|
|
6
|
-
import '../either/bool/falsy.mjs';
|
|
7
|
-
import '../either/bool/truthy.mjs';
|
|
8
|
-
import '../either/bool/base.mjs';
|
|
9
|
-
import '../either/left/create.mjs';
|
|
10
|
-
import '../either/left/error.mjs';
|
|
11
|
-
import '../either/left/fail.mjs';
|
|
12
|
-
import '../either/kind.mjs';
|
|
13
|
-
import '../either/right/success.mjs';
|
|
14
|
-
import '../either/right/create.mjs';
|
|
15
|
-
import '../either/right/ok.mjs';
|
|
16
|
-
import '../either/future/success.mjs';
|
|
17
|
-
import '../either/future/error.mjs';
|
|
18
|
-
import '../either/future/base.mjs';
|
|
19
|
-
import '../either/nullable/empty.mjs';
|
|
20
|
-
import '../either/nullable/filled.mjs';
|
|
21
|
-
import '../either/nullable/base.mjs';
|
|
22
|
-
import '../either/nullish/empty.mjs';
|
|
23
|
-
import '../either/nullish/filled.mjs';
|
|
24
|
-
import '../either/nullish/base.mjs';
|
|
25
|
-
import '../either/optional/empty.mjs';
|
|
26
|
-
import '../either/optional/filled.mjs';
|
|
27
|
-
import '../either/optional/base.mjs';
|
|
28
|
-
import '../common/override.mjs';
|
|
29
2
|
import { override } from '../object/override.mjs';
|
|
30
3
|
|
|
31
4
|
function reduceRight(...args) {
|
|
@@ -1,33 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('
|
|
4
|
-
require('./stringToMillisecond.cjs');
|
|
5
|
-
require('./globalStore.cjs');
|
|
6
|
-
require('./builder.cjs');
|
|
7
|
-
require('../either/bool/falsy.cjs');
|
|
8
|
-
require('../either/bool/truthy.cjs');
|
|
9
|
-
require('../either/bool/base.cjs');
|
|
10
|
-
require('../either/left/create.cjs');
|
|
3
|
+
var coalescing = require('../array/coalescing.cjs');
|
|
11
4
|
var error = require('../either/left/error.cjs');
|
|
12
|
-
require('../either/left/fail.cjs');
|
|
13
|
-
require('../either/kind.cjs');
|
|
14
5
|
var success = require('../either/right/success.cjs');
|
|
15
|
-
require('../either/right/create.cjs');
|
|
16
|
-
require('../either/right/ok.cjs');
|
|
17
|
-
require('../either/future/success.cjs');
|
|
18
|
-
require('../either/future/error.cjs');
|
|
19
|
-
require('../either/future/base.cjs');
|
|
20
|
-
require('../either/nullable/empty.cjs');
|
|
21
|
-
require('../either/nullable/filled.cjs');
|
|
22
|
-
require('../either/nullable/base.cjs');
|
|
23
|
-
require('../either/nullish/empty.cjs');
|
|
24
|
-
require('../either/nullish/filled.cjs');
|
|
25
|
-
require('../either/nullish/base.cjs');
|
|
26
|
-
require('../either/optional/empty.cjs');
|
|
27
|
-
require('../either/optional/filled.cjs');
|
|
28
|
-
require('../either/optional/base.cjs');
|
|
29
|
-
require('./override.cjs');
|
|
30
|
-
var coalescing = require('../array/coalescing.cjs');
|
|
31
6
|
|
|
32
7
|
function createKindIdentifier() {
|
|
33
8
|
function identifier(...args) {
|
|
@@ -1,31 +1,6 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import './stringToMillisecond.mjs';
|
|
3
|
-
import './globalStore.mjs';
|
|
4
|
-
import './builder.mjs';
|
|
5
|
-
import '../either/bool/falsy.mjs';
|
|
6
|
-
import '../either/bool/truthy.mjs';
|
|
7
|
-
import '../either/bool/base.mjs';
|
|
8
|
-
import '../either/left/create.mjs';
|
|
1
|
+
import { coalescing } from '../array/coalescing.mjs';
|
|
9
2
|
import { error } from '../either/left/error.mjs';
|
|
10
|
-
import '../either/left/fail.mjs';
|
|
11
|
-
import '../either/kind.mjs';
|
|
12
3
|
import { success } from '../either/right/success.mjs';
|
|
13
|
-
import '../either/right/create.mjs';
|
|
14
|
-
import '../either/right/ok.mjs';
|
|
15
|
-
import '../either/future/success.mjs';
|
|
16
|
-
import '../either/future/error.mjs';
|
|
17
|
-
import '../either/future/base.mjs';
|
|
18
|
-
import '../either/nullable/empty.mjs';
|
|
19
|
-
import '../either/nullable/filled.mjs';
|
|
20
|
-
import '../either/nullable/base.mjs';
|
|
21
|
-
import '../either/nullish/empty.mjs';
|
|
22
|
-
import '../either/nullish/filled.mjs';
|
|
23
|
-
import '../either/nullish/base.mjs';
|
|
24
|
-
import '../either/optional/empty.mjs';
|
|
25
|
-
import '../either/optional/filled.mjs';
|
|
26
|
-
import '../either/optional/base.mjs';
|
|
27
|
-
import './override.mjs';
|
|
28
|
-
import { coalescing } from '../array/coalescing.mjs';
|
|
29
4
|
|
|
30
5
|
function createKindIdentifier() {
|
|
31
6
|
function identifier(...args) {
|
|
@@ -1,32 +1,5 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
require('./stringToBytes.cjs');
|
|
4
|
-
require('./stringToMillisecond.cjs');
|
|
5
|
-
require('./globalStore.cjs');
|
|
6
|
-
require('./builder.cjs');
|
|
7
|
-
require('../either/bool/falsy.cjs');
|
|
8
|
-
require('../either/bool/truthy.cjs');
|
|
9
|
-
require('../either/bool/base.cjs');
|
|
10
|
-
require('../either/left/create.cjs');
|
|
11
|
-
require('../either/left/error.cjs');
|
|
12
|
-
require('../either/left/fail.cjs');
|
|
13
|
-
require('../either/kind.cjs');
|
|
14
|
-
require('../either/right/success.cjs');
|
|
15
|
-
require('../either/right/create.cjs');
|
|
16
|
-
require('../either/right/ok.cjs');
|
|
17
|
-
require('../either/future/success.cjs');
|
|
18
|
-
require('../either/future/error.cjs');
|
|
19
|
-
require('../either/future/base.cjs');
|
|
20
|
-
require('../either/nullable/empty.cjs');
|
|
21
|
-
require('../either/nullable/filled.cjs');
|
|
22
|
-
require('../either/nullable/base.cjs');
|
|
23
|
-
require('../either/nullish/empty.cjs');
|
|
24
|
-
require('../either/nullish/filled.cjs');
|
|
25
|
-
require('../either/nullish/base.cjs');
|
|
26
|
-
require('../either/optional/empty.cjs');
|
|
27
|
-
require('../either/optional/filled.cjs');
|
|
28
|
-
require('../either/optional/base.cjs');
|
|
29
|
-
require('./override.cjs');
|
|
30
3
|
var coalescing = require('../array/coalescing.cjs');
|
|
31
4
|
|
|
32
5
|
function instanceOf(...args) {
|
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
import './stringToBytes.mjs';
|
|
2
|
-
import './stringToMillisecond.mjs';
|
|
3
|
-
import './globalStore.mjs';
|
|
4
|
-
import './builder.mjs';
|
|
5
|
-
import '../either/bool/falsy.mjs';
|
|
6
|
-
import '../either/bool/truthy.mjs';
|
|
7
|
-
import '../either/bool/base.mjs';
|
|
8
|
-
import '../either/left/create.mjs';
|
|
9
|
-
import '../either/left/error.mjs';
|
|
10
|
-
import '../either/left/fail.mjs';
|
|
11
|
-
import '../either/kind.mjs';
|
|
12
|
-
import '../either/right/success.mjs';
|
|
13
|
-
import '../either/right/create.mjs';
|
|
14
|
-
import '../either/right/ok.mjs';
|
|
15
|
-
import '../either/future/success.mjs';
|
|
16
|
-
import '../either/future/error.mjs';
|
|
17
|
-
import '../either/future/base.mjs';
|
|
18
|
-
import '../either/nullable/empty.mjs';
|
|
19
|
-
import '../either/nullable/filled.mjs';
|
|
20
|
-
import '../either/nullable/base.mjs';
|
|
21
|
-
import '../either/nullish/empty.mjs';
|
|
22
|
-
import '../either/nullish/filled.mjs';
|
|
23
|
-
import '../either/nullish/base.mjs';
|
|
24
|
-
import '../either/optional/empty.mjs';
|
|
25
|
-
import '../either/optional/filled.mjs';
|
|
26
|
-
import '../either/optional/base.mjs';
|
|
27
|
-
import './override.mjs';
|
|
28
1
|
import { coalescing } from '../array/coalescing.mjs';
|
|
29
2
|
|
|
30
3
|
function instanceOf(...args) {
|
package/dist/common/override.cjs
CHANGED
|
@@ -2,33 +2,8 @@
|
|
|
2
2
|
|
|
3
3
|
var globalStore = require('./globalStore.cjs');
|
|
4
4
|
var pipe = require('./pipe.cjs');
|
|
5
|
-
require('./stringToBytes.cjs');
|
|
6
|
-
require('./stringToMillisecond.cjs');
|
|
7
|
-
var map = require('../array/map.cjs');
|
|
8
|
-
require('./builder.cjs');
|
|
9
|
-
require('../either/bool/falsy.cjs');
|
|
10
|
-
require('../either/bool/truthy.cjs');
|
|
11
|
-
require('../either/bool/base.cjs');
|
|
12
|
-
require('../either/left/create.cjs');
|
|
13
|
-
require('../either/left/error.cjs');
|
|
14
|
-
require('../either/left/fail.cjs');
|
|
15
|
-
require('../either/kind.cjs');
|
|
16
|
-
require('../either/right/success.cjs');
|
|
17
|
-
require('../either/right/create.cjs');
|
|
18
|
-
require('../either/right/ok.cjs');
|
|
19
|
-
require('../either/future/success.cjs');
|
|
20
|
-
require('../either/future/error.cjs');
|
|
21
|
-
require('../either/future/base.cjs');
|
|
22
|
-
require('../either/nullable/empty.cjs');
|
|
23
|
-
require('../either/nullable/filled.cjs');
|
|
24
|
-
require('../either/nullable/base.cjs');
|
|
25
|
-
require('../either/nullish/empty.cjs');
|
|
26
|
-
require('../either/nullish/filled.cjs');
|
|
27
|
-
require('../either/nullish/base.cjs');
|
|
28
|
-
require('../either/optional/empty.cjs');
|
|
29
|
-
require('../either/optional/filled.cjs');
|
|
30
|
-
require('../either/optional/base.cjs');
|
|
31
5
|
var fromEntries = require('../object/fromEntries.cjs');
|
|
6
|
+
var map = require('../array/map.cjs');
|
|
32
7
|
var entry = require('../object/entry.cjs');
|
|
33
8
|
|
|
34
9
|
const SymbolOverrideStore = Symbol.for("@duplojs/utils/override");
|
package/dist/common/override.mjs
CHANGED
|
@@ -1,32 +1,7 @@
|
|
|
1
1
|
import { createGlobalStore } from './globalStore.mjs';
|
|
2
2
|
import { pipe } from './pipe.mjs';
|
|
3
|
-
import './stringToBytes.mjs';
|
|
4
|
-
import './stringToMillisecond.mjs';
|
|
5
|
-
import { map } from '../array/map.mjs';
|
|
6
|
-
import './builder.mjs';
|
|
7
|
-
import '../either/bool/falsy.mjs';
|
|
8
|
-
import '../either/bool/truthy.mjs';
|
|
9
|
-
import '../either/bool/base.mjs';
|
|
10
|
-
import '../either/left/create.mjs';
|
|
11
|
-
import '../either/left/error.mjs';
|
|
12
|
-
import '../either/left/fail.mjs';
|
|
13
|
-
import '../either/kind.mjs';
|
|
14
|
-
import '../either/right/success.mjs';
|
|
15
|
-
import '../either/right/create.mjs';
|
|
16
|
-
import '../either/right/ok.mjs';
|
|
17
|
-
import '../either/future/success.mjs';
|
|
18
|
-
import '../either/future/error.mjs';
|
|
19
|
-
import '../either/future/base.mjs';
|
|
20
|
-
import '../either/nullable/empty.mjs';
|
|
21
|
-
import '../either/nullable/filled.mjs';
|
|
22
|
-
import '../either/nullable/base.mjs';
|
|
23
|
-
import '../either/nullish/empty.mjs';
|
|
24
|
-
import '../either/nullish/filled.mjs';
|
|
25
|
-
import '../either/nullish/base.mjs';
|
|
26
|
-
import '../either/optional/empty.mjs';
|
|
27
|
-
import '../either/optional/filled.mjs';
|
|
28
|
-
import '../either/optional/base.mjs';
|
|
29
3
|
import { fromEntries } from '../object/fromEntries.mjs';
|
|
4
|
+
import { map } from '../array/map.mjs';
|
|
30
5
|
import { entry } from '../object/entry.mjs';
|
|
31
6
|
|
|
32
7
|
const SymbolOverrideStore = Symbol.for("@duplojs/utils/override");
|
package/dist/dataParser/base.cjs
CHANGED
|
@@ -1,37 +1,13 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
var error = require('./error.cjs');
|
|
4
|
+
var kind = require('./kind.cjs');
|
|
3
5
|
var pipe = require('../common/pipe.cjs');
|
|
4
6
|
var simpleClone = require('../common/simpleClone.cjs');
|
|
5
|
-
require('../common/stringToBytes.cjs');
|
|
6
|
-
require('../common/stringToMillisecond.cjs');
|
|
7
7
|
var wrapValue = require('../common/wrapValue.cjs');
|
|
8
|
-
require('../common/
|
|
9
|
-
require('../common/builder.cjs');
|
|
10
|
-
require('../either/bool/falsy.cjs');
|
|
11
|
-
require('../either/bool/truthy.cjs');
|
|
12
|
-
require('../either/bool/base.cjs');
|
|
13
|
-
require('../either/left/create.cjs');
|
|
8
|
+
var override = require('../common/override.cjs');
|
|
14
9
|
var error$1 = require('../either/left/error.cjs');
|
|
15
|
-
require('../either/left/fail.cjs');
|
|
16
|
-
require('../either/kind.cjs');
|
|
17
10
|
var success = require('../either/right/success.cjs');
|
|
18
|
-
require('../either/right/create.cjs');
|
|
19
|
-
require('../either/right/ok.cjs');
|
|
20
|
-
require('../either/future/success.cjs');
|
|
21
|
-
require('../either/future/error.cjs');
|
|
22
|
-
require('../either/future/base.cjs');
|
|
23
|
-
require('../either/nullable/empty.cjs');
|
|
24
|
-
require('../either/nullable/filled.cjs');
|
|
25
|
-
require('../either/nullable/base.cjs');
|
|
26
|
-
require('../either/nullish/empty.cjs');
|
|
27
|
-
require('../either/nullish/filled.cjs');
|
|
28
|
-
require('../either/nullish/base.cjs');
|
|
29
|
-
require('../either/optional/empty.cjs');
|
|
30
|
-
require('../either/optional/filled.cjs');
|
|
31
|
-
require('../either/optional/base.cjs');
|
|
32
|
-
var override = require('../common/override.cjs');
|
|
33
|
-
var error = require('./error.cjs');
|
|
34
|
-
var kind = require('./kind.cjs');
|
|
35
11
|
|
|
36
12
|
const SymbolDataParserErrorLabel = "SymbolDataParserError";
|
|
37
13
|
const SymbolDataParserError = Symbol.for(SymbolDataParserErrorLabel);
|
package/dist/dataParser/base.mjs
CHANGED
|
@@ -1,35 +1,11 @@
|
|
|
1
|
+
import { createError, addIssue, addPromiseIssue, SymbolDataParserErrorIssue, SymbolDataParserErrorPromiseIssue } from './error.mjs';
|
|
2
|
+
import { createDataParserKind } from './kind.mjs';
|
|
1
3
|
import { pipe } from '../common/pipe.mjs';
|
|
2
4
|
import { simpleClone } from '../common/simpleClone.mjs';
|
|
3
|
-
import '../common/stringToBytes.mjs';
|
|
4
|
-
import '../common/stringToMillisecond.mjs';
|
|
5
5
|
import { keyWrappedValue } from '../common/wrapValue.mjs';
|
|
6
|
-
import '../common/
|
|
7
|
-
import '../common/builder.mjs';
|
|
8
|
-
import '../either/bool/falsy.mjs';
|
|
9
|
-
import '../either/bool/truthy.mjs';
|
|
10
|
-
import '../either/bool/base.mjs';
|
|
11
|
-
import '../either/left/create.mjs';
|
|
6
|
+
import { createOverride } from '../common/override.mjs';
|
|
12
7
|
import { error } from '../either/left/error.mjs';
|
|
13
|
-
import '../either/left/fail.mjs';
|
|
14
|
-
import '../either/kind.mjs';
|
|
15
8
|
import { success } from '../either/right/success.mjs';
|
|
16
|
-
import '../either/right/create.mjs';
|
|
17
|
-
import '../either/right/ok.mjs';
|
|
18
|
-
import '../either/future/success.mjs';
|
|
19
|
-
import '../either/future/error.mjs';
|
|
20
|
-
import '../either/future/base.mjs';
|
|
21
|
-
import '../either/nullable/empty.mjs';
|
|
22
|
-
import '../either/nullable/filled.mjs';
|
|
23
|
-
import '../either/nullable/base.mjs';
|
|
24
|
-
import '../either/nullish/empty.mjs';
|
|
25
|
-
import '../either/nullish/filled.mjs';
|
|
26
|
-
import '../either/nullish/base.mjs';
|
|
27
|
-
import '../either/optional/empty.mjs';
|
|
28
|
-
import '../either/optional/filled.mjs';
|
|
29
|
-
import '../either/optional/base.mjs';
|
|
30
|
-
import { createOverride } from '../common/override.mjs';
|
|
31
|
-
import { createError, addIssue, addPromiseIssue, SymbolDataParserErrorIssue, SymbolDataParserErrorPromiseIssue } from './error.mjs';
|
|
32
|
-
import { createDataParserKind } from './kind.mjs';
|
|
33
9
|
|
|
34
10
|
const SymbolDataParserErrorLabel = "SymbolDataParserError";
|
|
35
11
|
const SymbolDataParserError = Symbol.for(SymbolDataParserErrorLabel);
|