extra-react-hooks 0.3.2 → 0.3.3
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/es2015/index.min.mjs +1 -1
- package/dist/es2015/index.min.mjs.map +1 -1
- package/dist/es2015/index.mjs +175 -166
- package/dist/es2015/index.mjs.map +1 -1
- package/dist/es2015/index.umd.js +175 -166
- package/dist/es2015/index.umd.js.map +1 -1
- package/dist/es2015/index.umd.min.js +1 -1
- package/dist/es2015/index.umd.min.js.map +1 -1
- package/dist/es2018/index.min.mjs +1 -1
- package/dist/es2018/index.min.mjs.map +1 -1
- package/dist/es2018/index.mjs +175 -166
- package/dist/es2018/index.mjs.map +1 -1
- package/dist/es2018/index.umd.js +175 -166
- package/dist/es2018/index.umd.js.map +1 -1
- package/dist/es2018/index.umd.min.js +1 -1
- package/dist/es2018/index.umd.min.js.map +1 -1
- package/package.json +8 -8
package/dist/es2015/index.mjs
CHANGED
|
@@ -2560,7 +2560,7 @@ var customError$1 = {};
|
|
|
2560
2560
|
|
|
2561
2561
|
var es2018$a = {};
|
|
2562
2562
|
|
|
2563
|
-
var middleware
|
|
2563
|
+
var middleware = {};
|
|
2564
2564
|
|
|
2565
2565
|
var chunkAsync$2 = {};
|
|
2566
2566
|
|
|
@@ -4712,7 +4712,7 @@ function* zipWithSize$2(...iterables) {
|
|
|
4712
4712
|
var hasRequiredMiddleware;
|
|
4713
4713
|
|
|
4714
4714
|
function requireMiddleware () {
|
|
4715
|
-
if (hasRequiredMiddleware) return middleware
|
|
4715
|
+
if (hasRequiredMiddleware) return middleware;
|
|
4716
4716
|
hasRequiredMiddleware = 1;
|
|
4717
4717
|
(function (exports) {
|
|
4718
4718
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -4776,11 +4776,11 @@ function requireMiddleware () {
|
|
|
4776
4776
|
__exportStar(zipAsync$3, exports);
|
|
4777
4777
|
__exportStar(zip$7, exports);
|
|
4778
4778
|
|
|
4779
|
-
} (middleware
|
|
4780
|
-
return middleware
|
|
4779
|
+
} (middleware));
|
|
4780
|
+
return middleware;
|
|
4781
4781
|
}
|
|
4782
4782
|
|
|
4783
|
-
var output
|
|
4783
|
+
var output = {};
|
|
4784
4784
|
|
|
4785
4785
|
var consume$3 = {};
|
|
4786
4786
|
|
|
@@ -4968,10 +4968,10 @@ function includes$2(iterable, value) {
|
|
|
4968
4968
|
}
|
|
4969
4969
|
includes$3.includes = includes$2;
|
|
4970
4970
|
|
|
4971
|
-
var matchAsync$
|
|
4971
|
+
var matchAsync$1 = {};
|
|
4972
4972
|
|
|
4973
|
-
matchAsync$
|
|
4974
|
-
async function matchAsync
|
|
4973
|
+
matchAsync$1.matchAsync = void 0;
|
|
4974
|
+
async function matchAsync(iterable, sequence) {
|
|
4975
4975
|
const sequenceLength = sequence.length;
|
|
4976
4976
|
let matchCount = 0;
|
|
4977
4977
|
for await (const element of iterable) {
|
|
@@ -4982,12 +4982,12 @@ async function matchAsync$2(iterable, sequence) {
|
|
|
4982
4982
|
}
|
|
4983
4983
|
return false;
|
|
4984
4984
|
}
|
|
4985
|
-
matchAsync$
|
|
4985
|
+
matchAsync$1.matchAsync = matchAsync;
|
|
4986
4986
|
|
|
4987
|
-
var match$
|
|
4987
|
+
var match$1 = {};
|
|
4988
4988
|
|
|
4989
|
-
match$
|
|
4990
|
-
function match
|
|
4989
|
+
match$1.match = void 0;
|
|
4990
|
+
function match(iterable, sequence) {
|
|
4991
4991
|
const sequenceLength = sequence.length;
|
|
4992
4992
|
let matchCount = 0;
|
|
4993
4993
|
for (const element of iterable) {
|
|
@@ -4998,7 +4998,7 @@ function match$2(iterable, sequence) {
|
|
|
4998
4998
|
}
|
|
4999
4999
|
return false;
|
|
5000
5000
|
}
|
|
5001
|
-
match$
|
|
5001
|
+
match$1.match = match;
|
|
5002
5002
|
|
|
5003
5003
|
var reduceAsync$3 = {};
|
|
5004
5004
|
|
|
@@ -5233,12 +5233,12 @@ function last$5(iterable) {
|
|
|
5233
5233
|
}
|
|
5234
5234
|
last$6.last = last$5;
|
|
5235
5235
|
|
|
5236
|
-
var toArrayAsync$
|
|
5236
|
+
var toArrayAsync$3 = {};
|
|
5237
5237
|
|
|
5238
|
-
toArrayAsync$
|
|
5239
|
-
const consume_1$
|
|
5240
|
-
function toArrayAsync$
|
|
5241
|
-
return (0, consume_1$
|
|
5238
|
+
toArrayAsync$3.toArrayAsync = void 0;
|
|
5239
|
+
const consume_1$3 = consume$3;
|
|
5240
|
+
function toArrayAsync$2(iterable) {
|
|
5241
|
+
return (0, consume_1$3.consume)(iterable, async (iterable) => {
|
|
5242
5242
|
const result = [];
|
|
5243
5243
|
for await (const element of iterable) {
|
|
5244
5244
|
result.push(element);
|
|
@@ -5246,23 +5246,23 @@ function toArrayAsync$3(iterable) {
|
|
|
5246
5246
|
return result;
|
|
5247
5247
|
});
|
|
5248
5248
|
}
|
|
5249
|
-
toArrayAsync$
|
|
5249
|
+
toArrayAsync$3.toArrayAsync = toArrayAsync$2;
|
|
5250
5250
|
|
|
5251
5251
|
var toArray$5 = {};
|
|
5252
5252
|
|
|
5253
5253
|
toArray$5.toArray = void 0;
|
|
5254
|
-
const consume_1$
|
|
5254
|
+
const consume_1$2 = consume$3;
|
|
5255
5255
|
function toArray$4(iterable) {
|
|
5256
|
-
return (0, consume_1$
|
|
5256
|
+
return (0, consume_1$2.consume)(iterable, iterable => Array.from(iterable));
|
|
5257
5257
|
}
|
|
5258
5258
|
toArray$5.toArray = toArray$4;
|
|
5259
5259
|
|
|
5260
5260
|
var toSetAsync$3 = {};
|
|
5261
5261
|
|
|
5262
5262
|
toSetAsync$3.toSetAsync = void 0;
|
|
5263
|
-
const consume_1$
|
|
5263
|
+
const consume_1$1 = consume$3;
|
|
5264
5264
|
function toSetAsync$2(iterable) {
|
|
5265
|
-
return (0, consume_1$
|
|
5265
|
+
return (0, consume_1$1.consume)(iterable, async (iterable) => {
|
|
5266
5266
|
const result = new Set();
|
|
5267
5267
|
for await (const element of iterable) {
|
|
5268
5268
|
result.add(element);
|
|
@@ -5275,9 +5275,9 @@ toSetAsync$3.toSetAsync = toSetAsync$2;
|
|
|
5275
5275
|
var toSet$3 = {};
|
|
5276
5276
|
|
|
5277
5277
|
toSet$3.toSet = void 0;
|
|
5278
|
-
const consume_1
|
|
5278
|
+
const consume_1 = consume$3;
|
|
5279
5279
|
function toSet$2(iterable) {
|
|
5280
|
-
return (0, consume_1
|
|
5280
|
+
return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
|
|
5281
5281
|
}
|
|
5282
5282
|
toSet$3.toSet = toSet$2;
|
|
5283
5283
|
|
|
@@ -5330,22 +5330,22 @@ countAsync$3.countAsync = countAsync$2;
|
|
|
5330
5330
|
__exportStar(first$5, exports);
|
|
5331
5331
|
__exportStar(includesAsync$3, exports);
|
|
5332
5332
|
__exportStar(includes$3, exports);
|
|
5333
|
-
__exportStar(matchAsync$
|
|
5334
|
-
__exportStar(match$
|
|
5333
|
+
__exportStar(matchAsync$1, exports);
|
|
5334
|
+
__exportStar(match$1, exports);
|
|
5335
5335
|
__exportStar(reduceAsync$3, exports);
|
|
5336
5336
|
__exportStar(reduce$5, exports);
|
|
5337
5337
|
__exportStar(someAsync$3, exports);
|
|
5338
5338
|
__exportStar(some$3, exports);
|
|
5339
5339
|
__exportStar(lastAsync$3, exports);
|
|
5340
5340
|
__exportStar(last$6, exports);
|
|
5341
|
-
__exportStar(toArrayAsync$
|
|
5341
|
+
__exportStar(toArrayAsync$3, exports);
|
|
5342
5342
|
__exportStar(toArray$5, exports);
|
|
5343
5343
|
__exportStar(toSetAsync$3, exports);
|
|
5344
5344
|
__exportStar(toSet$3, exports);
|
|
5345
5345
|
__exportStar(count$5, exports);
|
|
5346
5346
|
__exportStar(countAsync$3, exports);
|
|
5347
5347
|
|
|
5348
|
-
} (output
|
|
5348
|
+
} (output));
|
|
5349
5349
|
|
|
5350
5350
|
var hasRequiredEs2018;
|
|
5351
5351
|
|
|
@@ -5367,7 +5367,7 @@ function requireEs2018 () {
|
|
|
5367
5367
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
5368
5368
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
5369
5369
|
};__exportStar(requireMiddleware(), exports);
|
|
5370
|
-
__exportStar(output
|
|
5370
|
+
__exportStar(output, exports);
|
|
5371
5371
|
|
|
5372
5372
|
} (es2018$a));
|
|
5373
5373
|
return es2018$a;
|
|
@@ -5576,7 +5576,7 @@ function useSingleSelection(options, defaultSelectedIndex) {
|
|
|
5576
5576
|
|
|
5577
5577
|
var es2018$5 = {};
|
|
5578
5578
|
|
|
5579
|
-
var
|
|
5579
|
+
var intermediate = {};
|
|
5580
5580
|
|
|
5581
5581
|
var chunkAsync$1 = {};
|
|
5582
5582
|
|
|
@@ -6340,6 +6340,91 @@ function concat$4(iterable, ...otherIterables) {
|
|
|
6340
6340
|
}
|
|
6341
6341
|
concat$5.concat = concat$4;
|
|
6342
6342
|
|
|
6343
|
+
var differenceAsync$1 = {};
|
|
6344
|
+
|
|
6345
|
+
var filterAsync$1 = {};
|
|
6346
|
+
|
|
6347
|
+
filterAsync$1.filterAsync = void 0;
|
|
6348
|
+
const types_1$g = es2018$1;
|
|
6349
|
+
function filterAsync(iterable, predicate) {
|
|
6350
|
+
if ((0, types_1$g.isAsyncIterable)(iterable)) {
|
|
6351
|
+
return filterAsyncIterable(iterable, predicate);
|
|
6352
|
+
}
|
|
6353
|
+
else {
|
|
6354
|
+
return filterIterable(iterable, predicate);
|
|
6355
|
+
}
|
|
6356
|
+
}
|
|
6357
|
+
filterAsync$1.filterAsync = filterAsync;
|
|
6358
|
+
async function* filterAsyncIterable(iterable, predicate) {
|
|
6359
|
+
let index = 0;
|
|
6360
|
+
for await (const element of iterable) {
|
|
6361
|
+
if (await predicate(element, index))
|
|
6362
|
+
yield element;
|
|
6363
|
+
index++;
|
|
6364
|
+
}
|
|
6365
|
+
}
|
|
6366
|
+
async function* filterIterable(iterable, predicate) {
|
|
6367
|
+
let index = 0;
|
|
6368
|
+
for (const element of iterable) {
|
|
6369
|
+
if (await predicate(element, index))
|
|
6370
|
+
yield element;
|
|
6371
|
+
index++;
|
|
6372
|
+
}
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
var toSetAsync$1 = {};
|
|
6376
|
+
|
|
6377
|
+
toSetAsync$1.toSetAsync = void 0;
|
|
6378
|
+
async function toSetAsync(iterable) {
|
|
6379
|
+
const result = new Set();
|
|
6380
|
+
for await (const element of iterable) {
|
|
6381
|
+
result.add(await element);
|
|
6382
|
+
}
|
|
6383
|
+
return result;
|
|
6384
|
+
}
|
|
6385
|
+
toSetAsync$1.toSetAsync = toSetAsync;
|
|
6386
|
+
|
|
6387
|
+
differenceAsync$1.differenceAsync = void 0;
|
|
6388
|
+
const filter_async_1$1 = filterAsync$1;
|
|
6389
|
+
const to_set_async_1$1 = toSetAsync$1;
|
|
6390
|
+
async function* differenceAsync(left, right) {
|
|
6391
|
+
const rightSet = await (0, to_set_async_1$1.toSetAsync)(right);
|
|
6392
|
+
yield* (0, filter_async_1$1.filterAsync)(left, async (x) => !rightSet.has(await x));
|
|
6393
|
+
}
|
|
6394
|
+
differenceAsync$1.differenceAsync = differenceAsync;
|
|
6395
|
+
|
|
6396
|
+
var difference$1 = {};
|
|
6397
|
+
|
|
6398
|
+
var filter$3 = {};
|
|
6399
|
+
|
|
6400
|
+
filter$3.filter = void 0;
|
|
6401
|
+
function* filter$2(iterable, predicate) {
|
|
6402
|
+
let index = 0;
|
|
6403
|
+
for (const element of iterable) {
|
|
6404
|
+
if (predicate(element, index))
|
|
6405
|
+
yield element;
|
|
6406
|
+
index++;
|
|
6407
|
+
}
|
|
6408
|
+
}
|
|
6409
|
+
filter$3.filter = filter$2;
|
|
6410
|
+
|
|
6411
|
+
var toSet$1 = {};
|
|
6412
|
+
|
|
6413
|
+
toSet$1.toSet = void 0;
|
|
6414
|
+
function toSet(iterable) {
|
|
6415
|
+
return new Set(iterable);
|
|
6416
|
+
}
|
|
6417
|
+
toSet$1.toSet = toSet;
|
|
6418
|
+
|
|
6419
|
+
difference$1.difference = void 0;
|
|
6420
|
+
const filter_1$6 = filter$3;
|
|
6421
|
+
const to_set_1$1 = toSet$1;
|
|
6422
|
+
function difference(left, right) {
|
|
6423
|
+
const rightSet = (0, to_set_1$1.toSet)(right);
|
|
6424
|
+
return (0, filter_1$6.filter)(left, x => !rightSet.has(x));
|
|
6425
|
+
}
|
|
6426
|
+
difference$1.difference = difference;
|
|
6427
|
+
|
|
6343
6428
|
var dropAsync$1 = {};
|
|
6344
6429
|
|
|
6345
6430
|
var utils = {};
|
|
@@ -6393,17 +6478,30 @@ dropAsync$1.dropAsync = dropAsync;
|
|
|
6393
6478
|
|
|
6394
6479
|
var dropRightAsync$1 = {};
|
|
6395
6480
|
|
|
6481
|
+
var toArrayAsync$1 = {};
|
|
6482
|
+
|
|
6483
|
+
toArrayAsync$1.toArrayAsync = void 0;
|
|
6484
|
+
async function toArrayAsync(iterable) {
|
|
6485
|
+
const result = [];
|
|
6486
|
+
for await (const element of iterable) {
|
|
6487
|
+
result.push(element);
|
|
6488
|
+
}
|
|
6489
|
+
return result;
|
|
6490
|
+
}
|
|
6491
|
+
toArrayAsync$1.toArrayAsync = toArrayAsync;
|
|
6492
|
+
|
|
6396
6493
|
dropRightAsync$1.dropRightAsync = void 0;
|
|
6397
6494
|
const go_1$a = es2018$4;
|
|
6398
6495
|
const utils_1$2 = utils;
|
|
6399
6496
|
const errors_1$f = es2018$b;
|
|
6497
|
+
const to_array_async_1 = toArrayAsync$1;
|
|
6400
6498
|
function dropRightAsync(iterable, count) {
|
|
6401
6499
|
(0, errors_1$f.assert)(Number.isInteger(count), 'The parameter count must be an integer');
|
|
6402
6500
|
(0, errors_1$f.assert)(count >= 0, 'The parameter count must be greater than or equal to 0');
|
|
6403
6501
|
if (count === 0)
|
|
6404
6502
|
return (0, utils_1$2.copyAsyncIterable)(iterable);
|
|
6405
6503
|
return (0, go_1$a.go)(async function* () {
|
|
6406
|
-
const arr = await toArrayAsync
|
|
6504
|
+
const arr = await (0, to_array_async_1.toArrayAsync)(iterable);
|
|
6407
6505
|
const result = arr.slice(0, -count);
|
|
6408
6506
|
for (const value of result) {
|
|
6409
6507
|
yield value;
|
|
@@ -6411,13 +6509,6 @@ function dropRightAsync(iterable, count) {
|
|
|
6411
6509
|
});
|
|
6412
6510
|
}
|
|
6413
6511
|
dropRightAsync$1.dropRightAsync = dropRightAsync;
|
|
6414
|
-
async function toArrayAsync$2(iterable) {
|
|
6415
|
-
const result = [];
|
|
6416
|
-
for await (const element of iterable) {
|
|
6417
|
-
result.push(element);
|
|
6418
|
-
}
|
|
6419
|
-
return result;
|
|
6420
|
-
}
|
|
6421
6512
|
|
|
6422
6513
|
var dropRight$1 = {};
|
|
6423
6514
|
|
|
@@ -6440,9 +6531,9 @@ dropRight$1.dropRight = dropRight;
|
|
|
6440
6531
|
var dropUntilAsync$1 = {};
|
|
6441
6532
|
|
|
6442
6533
|
dropUntilAsync$1.dropUntilAsync = void 0;
|
|
6443
|
-
const types_1$
|
|
6534
|
+
const types_1$f = es2018$1;
|
|
6444
6535
|
function dropUntilAsync(iterable, predicate) {
|
|
6445
|
-
if ((0, types_1$
|
|
6536
|
+
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
6446
6537
|
return dropUntilAsyncIterable(iterable, predicate);
|
|
6447
6538
|
}
|
|
6448
6539
|
else {
|
|
@@ -6554,49 +6645,6 @@ function drop(iterable, count) {
|
|
|
6554
6645
|
}
|
|
6555
6646
|
drop$1.drop = drop;
|
|
6556
6647
|
|
|
6557
|
-
var filterAsync$1 = {};
|
|
6558
|
-
|
|
6559
|
-
filterAsync$1.filterAsync = void 0;
|
|
6560
|
-
const types_1$f = es2018$1;
|
|
6561
|
-
function filterAsync(iterable, predicate) {
|
|
6562
|
-
if ((0, types_1$f.isAsyncIterable)(iterable)) {
|
|
6563
|
-
return filterAsyncIterable(iterable, predicate);
|
|
6564
|
-
}
|
|
6565
|
-
else {
|
|
6566
|
-
return filterIterable(iterable, predicate);
|
|
6567
|
-
}
|
|
6568
|
-
}
|
|
6569
|
-
filterAsync$1.filterAsync = filterAsync;
|
|
6570
|
-
async function* filterAsyncIterable(iterable, predicate) {
|
|
6571
|
-
let index = 0;
|
|
6572
|
-
for await (const element of iterable) {
|
|
6573
|
-
if (await predicate(element, index))
|
|
6574
|
-
yield element;
|
|
6575
|
-
index++;
|
|
6576
|
-
}
|
|
6577
|
-
}
|
|
6578
|
-
async function* filterIterable(iterable, predicate) {
|
|
6579
|
-
let index = 0;
|
|
6580
|
-
for (const element of iterable) {
|
|
6581
|
-
if (await predicate(element, index))
|
|
6582
|
-
yield element;
|
|
6583
|
-
index++;
|
|
6584
|
-
}
|
|
6585
|
-
}
|
|
6586
|
-
|
|
6587
|
-
var filter$3 = {};
|
|
6588
|
-
|
|
6589
|
-
filter$3.filter = void 0;
|
|
6590
|
-
function* filter$2(iterable, predicate) {
|
|
6591
|
-
let index = 0;
|
|
6592
|
-
for (const element of iterable) {
|
|
6593
|
-
if (predicate(element, index))
|
|
6594
|
-
yield element;
|
|
6595
|
-
index++;
|
|
6596
|
-
}
|
|
6597
|
-
}
|
|
6598
|
-
filter$3.filter = filter$2;
|
|
6599
|
-
|
|
6600
6648
|
var flattenAsync$1 = {};
|
|
6601
6649
|
|
|
6602
6650
|
var flattenDeepAsync$1 = {};
|
|
@@ -6702,6 +6750,28 @@ function flatten(iterable) {
|
|
|
6702
6750
|
}
|
|
6703
6751
|
flatten$1.flatten = flatten;
|
|
6704
6752
|
|
|
6753
|
+
var intersectionAsync$1 = {};
|
|
6754
|
+
|
|
6755
|
+
intersectionAsync$1.intersectionAsync = void 0;
|
|
6756
|
+
const filter_async_1 = filterAsync$1;
|
|
6757
|
+
const to_set_async_1 = toSetAsync$1;
|
|
6758
|
+
async function* intersectionAsync(left, right) {
|
|
6759
|
+
const rightSet = await (0, to_set_async_1.toSetAsync)(right);
|
|
6760
|
+
yield* (0, filter_async_1.filterAsync)(left, async (x) => rightSet.has(await x));
|
|
6761
|
+
}
|
|
6762
|
+
intersectionAsync$1.intersectionAsync = intersectionAsync;
|
|
6763
|
+
|
|
6764
|
+
var intersection$1 = {};
|
|
6765
|
+
|
|
6766
|
+
intersection$1.intersection = void 0;
|
|
6767
|
+
const filter_1$5 = filter$3;
|
|
6768
|
+
const to_set_1 = toSet$1;
|
|
6769
|
+
function intersection(left, right) {
|
|
6770
|
+
const rightSet = (0, to_set_1.toSet)(right);
|
|
6771
|
+
return (0, filter_1$5.filter)(left, x => rightSet.has(x));
|
|
6772
|
+
}
|
|
6773
|
+
intersection$1.intersection = intersection;
|
|
6774
|
+
|
|
6705
6775
|
var mapAsync$1 = {};
|
|
6706
6776
|
|
|
6707
6777
|
mapAsync$1.mapAsync = void 0;
|
|
@@ -7154,7 +7224,7 @@ var toAsyncIterable$1 = {};
|
|
|
7154
7224
|
toAsyncIterable$1.toAsyncIterable = void 0;
|
|
7155
7225
|
async function* toAsyncIterable(iterable) {
|
|
7156
7226
|
for (const value of iterable) {
|
|
7157
|
-
yield value;
|
|
7227
|
+
yield await value;
|
|
7158
7228
|
}
|
|
7159
7229
|
}
|
|
7160
7230
|
toAsyncIterable$1.toAsyncIterable = toAsyncIterable;
|
|
@@ -7299,7 +7369,7 @@ async function* zipWithSize$1(...iterables) {
|
|
|
7299
7369
|
dones[i] = true;
|
|
7300
7370
|
return;
|
|
7301
7371
|
}
|
|
7302
|
-
result[i] = temp.value;
|
|
7372
|
+
result[i] = await temp.value;
|
|
7303
7373
|
}
|
|
7304
7374
|
yield result;
|
|
7305
7375
|
}
|
|
@@ -7368,6 +7438,8 @@ function* zipWithSize(...iterables) {
|
|
|
7368
7438
|
__exportStar(chunk$1, exports);
|
|
7369
7439
|
__exportStar(concatAsync$1, exports);
|
|
7370
7440
|
__exportStar(concat$5, exports);
|
|
7441
|
+
__exportStar(differenceAsync$1, exports);
|
|
7442
|
+
__exportStar(difference$1, exports);
|
|
7371
7443
|
__exportStar(dropAsync$1, exports);
|
|
7372
7444
|
__exportStar(dropRightAsync$1, exports);
|
|
7373
7445
|
__exportStar(dropRight$1, exports);
|
|
@@ -7382,6 +7454,8 @@ function* zipWithSize(...iterables) {
|
|
|
7382
7454
|
__exportStar(flattenDeepAsync$1, exports);
|
|
7383
7455
|
__exportStar(flattenDeep$1, exports);
|
|
7384
7456
|
__exportStar(flatten$1, exports);
|
|
7457
|
+
__exportStar(intersectionAsync$1, exports);
|
|
7458
|
+
__exportStar(intersection$1, exports);
|
|
7385
7459
|
__exportStar(mapAsync$1, exports);
|
|
7386
7460
|
__exportStar(map$3, exports);
|
|
7387
7461
|
__exportStar(repeatAsync$1, exports);
|
|
@@ -7410,9 +7484,9 @@ function* zipWithSize(...iterables) {
|
|
|
7410
7484
|
__exportStar(zipAsync$1, exports);
|
|
7411
7485
|
__exportStar(zip$5, exports);
|
|
7412
7486
|
|
|
7413
|
-
} (
|
|
7487
|
+
} (intermediate));
|
|
7414
7488
|
|
|
7415
|
-
var
|
|
7489
|
+
var terminal = {};
|
|
7416
7490
|
|
|
7417
7491
|
var consume$1 = {};
|
|
7418
7492
|
|
|
@@ -7422,6 +7496,14 @@ function consume(iterable, consumer) {
|
|
|
7422
7496
|
}
|
|
7423
7497
|
consume$1.consume = consume;
|
|
7424
7498
|
|
|
7499
|
+
var consumeAsync$1 = {};
|
|
7500
|
+
|
|
7501
|
+
consumeAsync$1.consumeAsync = void 0;
|
|
7502
|
+
async function consumeAsync(iterable, consumer) {
|
|
7503
|
+
return await consumer(iterable);
|
|
7504
|
+
}
|
|
7505
|
+
consumeAsync$1.consumeAsync = consumeAsync;
|
|
7506
|
+
|
|
7425
7507
|
var eachAsync$1 = {};
|
|
7426
7508
|
|
|
7427
7509
|
eachAsync$1.eachAsync = void 0;
|
|
@@ -7600,38 +7682,6 @@ function includes(iterable, value) {
|
|
|
7600
7682
|
}
|
|
7601
7683
|
includes$1.includes = includes;
|
|
7602
7684
|
|
|
7603
|
-
var matchAsync$1 = {};
|
|
7604
|
-
|
|
7605
|
-
matchAsync$1.matchAsync = void 0;
|
|
7606
|
-
async function matchAsync(iterable, sequence) {
|
|
7607
|
-
const sequenceLength = sequence.length;
|
|
7608
|
-
let matchCount = 0;
|
|
7609
|
-
for await (const element of iterable) {
|
|
7610
|
-
if (element === sequence[matchCount])
|
|
7611
|
-
matchCount++;
|
|
7612
|
-
if (matchCount === sequenceLength)
|
|
7613
|
-
return true;
|
|
7614
|
-
}
|
|
7615
|
-
return false;
|
|
7616
|
-
}
|
|
7617
|
-
matchAsync$1.matchAsync = matchAsync;
|
|
7618
|
-
|
|
7619
|
-
var match$1 = {};
|
|
7620
|
-
|
|
7621
|
-
match$1.match = void 0;
|
|
7622
|
-
function match(iterable, sequence) {
|
|
7623
|
-
const sequenceLength = sequence.length;
|
|
7624
|
-
let matchCount = 0;
|
|
7625
|
-
for (const element of iterable) {
|
|
7626
|
-
if (element === sequence[matchCount])
|
|
7627
|
-
matchCount++;
|
|
7628
|
-
if (matchCount === sequenceLength)
|
|
7629
|
-
return true;
|
|
7630
|
-
}
|
|
7631
|
-
return false;
|
|
7632
|
-
}
|
|
7633
|
-
match$1.match = match;
|
|
7634
|
-
|
|
7635
7685
|
var reduceAsync$1 = {};
|
|
7636
7686
|
|
|
7637
7687
|
reduceAsync$1.reduceAsync = void 0;
|
|
@@ -7865,54 +7915,14 @@ function last$3(iterable) {
|
|
|
7865
7915
|
}
|
|
7866
7916
|
last$4.last = last$3;
|
|
7867
7917
|
|
|
7868
|
-
var toArrayAsync$1 = {};
|
|
7869
|
-
|
|
7870
|
-
toArrayAsync$1.toArrayAsync = void 0;
|
|
7871
|
-
const consume_1$3 = consume$1;
|
|
7872
|
-
function toArrayAsync(iterable) {
|
|
7873
|
-
return (0, consume_1$3.consume)(iterable, async (iterable) => {
|
|
7874
|
-
const result = [];
|
|
7875
|
-
for await (const element of iterable) {
|
|
7876
|
-
result.push(element);
|
|
7877
|
-
}
|
|
7878
|
-
return result;
|
|
7879
|
-
});
|
|
7880
|
-
}
|
|
7881
|
-
toArrayAsync$1.toArrayAsync = toArrayAsync;
|
|
7882
|
-
|
|
7883
7918
|
var toArray$3 = {};
|
|
7884
7919
|
|
|
7885
7920
|
toArray$3.toArray = void 0;
|
|
7886
|
-
const consume_1$2 = consume$1;
|
|
7887
7921
|
function toArray$2(iterable) {
|
|
7888
|
-
return
|
|
7922
|
+
return Array.from(iterable);
|
|
7889
7923
|
}
|
|
7890
7924
|
toArray$3.toArray = toArray$2;
|
|
7891
7925
|
|
|
7892
|
-
var toSetAsync$1 = {};
|
|
7893
|
-
|
|
7894
|
-
toSetAsync$1.toSetAsync = void 0;
|
|
7895
|
-
const consume_1$1 = consume$1;
|
|
7896
|
-
function toSetAsync(iterable) {
|
|
7897
|
-
return (0, consume_1$1.consume)(iterable, async (iterable) => {
|
|
7898
|
-
const result = new Set();
|
|
7899
|
-
for await (const element of iterable) {
|
|
7900
|
-
result.add(element);
|
|
7901
|
-
}
|
|
7902
|
-
return result;
|
|
7903
|
-
});
|
|
7904
|
-
}
|
|
7905
|
-
toSetAsync$1.toSetAsync = toSetAsync;
|
|
7906
|
-
|
|
7907
|
-
var toSet$1 = {};
|
|
7908
|
-
|
|
7909
|
-
toSet$1.toSet = void 0;
|
|
7910
|
-
const consume_1 = consume$1;
|
|
7911
|
-
function toSet(iterable) {
|
|
7912
|
-
return (0, consume_1.consume)(iterable, iterable => new Set(iterable));
|
|
7913
|
-
}
|
|
7914
|
-
toSet$1.toSet = toSet;
|
|
7915
|
-
|
|
7916
7926
|
var count$3 = {};
|
|
7917
7927
|
|
|
7918
7928
|
count$3.count = void 0;
|
|
@@ -7986,6 +7996,7 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
7986
7996
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
7987
7997
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
7988
7998
|
};__exportStar(consume$1, exports);
|
|
7999
|
+
__exportStar(consumeAsync$1, exports);
|
|
7989
8000
|
__exportStar(eachAsync$1, exports);
|
|
7990
8001
|
__exportStar(each$1, exports);
|
|
7991
8002
|
__exportStar(everyAsync$1, exports);
|
|
@@ -7996,8 +8007,6 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
7996
8007
|
__exportStar(first$3, exports);
|
|
7997
8008
|
__exportStar(includesAsync$1, exports);
|
|
7998
8009
|
__exportStar(includes$1, exports);
|
|
7999
|
-
__exportStar(matchAsync$1, exports);
|
|
8000
|
-
__exportStar(match$1, exports);
|
|
8001
8010
|
__exportStar(reduceAsync$1, exports);
|
|
8002
8011
|
__exportStar(reduce$3, exports);
|
|
8003
8012
|
__exportStar(someAsync$1, exports);
|
|
@@ -8013,7 +8022,7 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
8013
8022
|
__exportStar(groupBy$3, exports);
|
|
8014
8023
|
__exportStar(groupByAsync$1, exports);
|
|
8015
8024
|
|
|
8016
|
-
} (
|
|
8025
|
+
} (terminal));
|
|
8017
8026
|
|
|
8018
8027
|
(function (exports) {
|
|
8019
8028
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
@@ -8029,8 +8038,8 @@ groupByAsync$1.groupByAsync = groupByAsync;
|
|
|
8029
8038
|
}));
|
|
8030
8039
|
var __exportStar = (commonjsGlobal && commonjsGlobal.__exportStar) || function(m, exports) {
|
|
8031
8040
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
8032
|
-
};__exportStar(
|
|
8033
|
-
__exportStar(
|
|
8041
|
+
};__exportStar(intermediate, exports);
|
|
8042
|
+
__exportStar(terminal, exports);
|
|
8034
8043
|
|
|
8035
8044
|
} (es2018$5));
|
|
8036
8045
|
|