@dmarket/p2p-tracker-core 1.3.1-SNAPSHOT-development.232 → 1.3.1-SNAPSHOT-development.247
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/VERSION +5 -5
- package/dmarket-p2p-tracker-core-domain.mjs +29 -24
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +62 -62
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/kotlinx-coroutines-core.mjs +7 -7
- package/kotlinx-coroutines-core.mjs.map +1 -1
- package/ktor-ktor-websockets.mjs +2 -2
- package/p2p-tracker-core.mjs +7663 -7181
- package/p2p-tracker-core.mjs.map +1 -1
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -102,8 +102,8 @@ initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
|
102
102
|
initMetadataForInterface(Entry, 'Entry');
|
|
103
103
|
initMetadataForInterface(KtMap, 'Map');
|
|
104
104
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
105
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
106
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
105
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
106
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
107
107
|
initMetadataForInterface(MutableEntry, 'MutableEntry', VOID, VOID, [Entry]);
|
|
108
108
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
109
109
|
initMetadataForCompanion(Companion_2);
|
|
@@ -127,7 +127,7 @@ initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
|
127
127
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
128
128
|
initMetadataForObject(Unit, 'Unit');
|
|
129
129
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
130
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
130
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
|
|
131
131
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
132
132
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
133
133
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -140,7 +140,7 @@ initMetadataForCompanion(Companion_4);
|
|
|
140
140
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
141
141
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
142
142
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
143
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
143
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
|
|
144
144
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
145
145
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
146
146
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|
|
@@ -689,6 +689,15 @@ function indexOf(_this__u8e3s4, element) {
|
|
|
689
689
|
function get_indices_0(_this__u8e3s4) {
|
|
690
690
|
return new IntRange(0, get_lastIndex_1(_this__u8e3s4));
|
|
691
691
|
}
|
|
692
|
+
function joinToString(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
693
|
+
separator = separator === VOID ? ', ' : separator;
|
|
694
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
695
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
696
|
+
limit = limit === VOID ? -1 : limit;
|
|
697
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
698
|
+
transform = transform === VOID ? null : transform;
|
|
699
|
+
return joinTo(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
700
|
+
}
|
|
692
701
|
function filterNotNull(_this__u8e3s4) {
|
|
693
702
|
return filterNotNullTo(_this__u8e3s4, ArrayList_init_$Create$());
|
|
694
703
|
}
|
|
@@ -736,6 +745,38 @@ function get_lastIndex_0(_this__u8e3s4) {
|
|
|
736
745
|
function get_lastIndex_1(_this__u8e3s4) {
|
|
737
746
|
return _this__u8e3s4.length - 1 | 0;
|
|
738
747
|
}
|
|
748
|
+
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
749
|
+
separator = separator === VOID ? ', ' : separator;
|
|
750
|
+
prefix = prefix === VOID ? '' : prefix;
|
|
751
|
+
postfix = postfix === VOID ? '' : postfix;
|
|
752
|
+
limit = limit === VOID ? -1 : limit;
|
|
753
|
+
truncated = truncated === VOID ? '...' : truncated;
|
|
754
|
+
transform = transform === VOID ? null : transform;
|
|
755
|
+
buffer.c1(prefix);
|
|
756
|
+
var count = 0;
|
|
757
|
+
var inductionVariable = 0;
|
|
758
|
+
var last = _this__u8e3s4.length;
|
|
759
|
+
$l$loop: while (inductionVariable < last) {
|
|
760
|
+
var element = _this__u8e3s4[inductionVariable];
|
|
761
|
+
inductionVariable = inductionVariable + 1 | 0;
|
|
762
|
+
count = count + 1 | 0;
|
|
763
|
+
if (count > 1) {
|
|
764
|
+
buffer.c1(separator);
|
|
765
|
+
}
|
|
766
|
+
if (limit < 0 || count <= limit) {
|
|
767
|
+
if (!(transform == null))
|
|
768
|
+
buffer.c1(transform(element));
|
|
769
|
+
else
|
|
770
|
+
buffer.c1(element.toString());
|
|
771
|
+
} else
|
|
772
|
+
break $l$loop;
|
|
773
|
+
}
|
|
774
|
+
if (limit >= 0 && count > limit) {
|
|
775
|
+
buffer.c1(truncated);
|
|
776
|
+
}
|
|
777
|
+
buffer.c1(postfix);
|
|
778
|
+
return buffer;
|
|
779
|
+
}
|
|
739
780
|
function indexOf_0(_this__u8e3s4, element) {
|
|
740
781
|
var inductionVariable = 0;
|
|
741
782
|
var last = _this__u8e3s4.length - 1 | 0;
|
|
@@ -776,14 +817,14 @@ function lastIndexOf(_this__u8e3s4, element) {
|
|
|
776
817
|
}
|
|
777
818
|
return -1;
|
|
778
819
|
}
|
|
779
|
-
function
|
|
820
|
+
function joinToString_0(_this__u8e3s4, separator, prefix, postfix, limit, truncated, transform) {
|
|
780
821
|
separator = separator === VOID ? ', ' : separator;
|
|
781
822
|
prefix = prefix === VOID ? '' : prefix;
|
|
782
823
|
postfix = postfix === VOID ? '' : postfix;
|
|
783
824
|
limit = limit === VOID ? -1 : limit;
|
|
784
825
|
truncated = truncated === VOID ? '...' : truncated;
|
|
785
826
|
transform = transform === VOID ? null : transform;
|
|
786
|
-
return
|
|
827
|
+
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
787
828
|
}
|
|
788
829
|
function contains_1(_this__u8e3s4, element) {
|
|
789
830
|
return indexOf_1(_this__u8e3s4, element) >= 0;
|
|
@@ -797,16 +838,7 @@ function contains_3(_this__u8e3s4, element) {
|
|
|
797
838
|
function contains_4(_this__u8e3s4, element) {
|
|
798
839
|
return indexOf_4(_this__u8e3s4, element) >= 0;
|
|
799
840
|
}
|
|
800
|
-
function
|
|
801
|
-
separator = separator === VOID ? ', ' : separator;
|
|
802
|
-
prefix = prefix === VOID ? '' : prefix;
|
|
803
|
-
postfix = postfix === VOID ? '' : postfix;
|
|
804
|
-
limit = limit === VOID ? -1 : limit;
|
|
805
|
-
truncated = truncated === VOID ? '...' : truncated;
|
|
806
|
-
transform = transform === VOID ? null : transform;
|
|
807
|
-
return joinTo_0(_this__u8e3s4, StringBuilder_init_$Create$_0(), separator, prefix, postfix, limit, truncated, transform).toString();
|
|
808
|
-
}
|
|
809
|
-
function joinTo(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
841
|
+
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
810
842
|
separator = separator === VOID ? ', ' : separator;
|
|
811
843
|
prefix = prefix === VOID ? '' : prefix;
|
|
812
844
|
postfix = postfix === VOID ? '' : postfix;
|
|
@@ -891,38 +923,6 @@ function indexOf_4(_this__u8e3s4, element) {
|
|
|
891
923
|
while (inductionVariable <= last);
|
|
892
924
|
return -1;
|
|
893
925
|
}
|
|
894
|
-
function joinTo_0(_this__u8e3s4, buffer, separator, prefix, postfix, limit, truncated, transform) {
|
|
895
|
-
separator = separator === VOID ? ', ' : separator;
|
|
896
|
-
prefix = prefix === VOID ? '' : prefix;
|
|
897
|
-
postfix = postfix === VOID ? '' : postfix;
|
|
898
|
-
limit = limit === VOID ? -1 : limit;
|
|
899
|
-
truncated = truncated === VOID ? '...' : truncated;
|
|
900
|
-
transform = transform === VOID ? null : transform;
|
|
901
|
-
buffer.c1(prefix);
|
|
902
|
-
var count = 0;
|
|
903
|
-
var inductionVariable = 0;
|
|
904
|
-
var last = _this__u8e3s4.length;
|
|
905
|
-
$l$loop: while (inductionVariable < last) {
|
|
906
|
-
var element = _this__u8e3s4[inductionVariable];
|
|
907
|
-
inductionVariable = inductionVariable + 1 | 0;
|
|
908
|
-
count = count + 1 | 0;
|
|
909
|
-
if (count > 1) {
|
|
910
|
-
buffer.c1(separator);
|
|
911
|
-
}
|
|
912
|
-
if (limit < 0 || count <= limit) {
|
|
913
|
-
if (!(transform == null))
|
|
914
|
-
buffer.c1(transform(element));
|
|
915
|
-
else
|
|
916
|
-
buffer.c1(element.toString());
|
|
917
|
-
} else
|
|
918
|
-
break $l$loop;
|
|
919
|
-
}
|
|
920
|
-
if (limit >= 0 && count > limit) {
|
|
921
|
-
buffer.c1(truncated);
|
|
922
|
-
}
|
|
923
|
-
buffer.c1(postfix);
|
|
924
|
-
return buffer;
|
|
925
|
-
}
|
|
926
926
|
function getOrNull(_this__u8e3s4, index) {
|
|
927
927
|
return (0 <= index ? index <= (_this__u8e3s4.length - 1 | 0) : false) ? _this__u8e3s4[index] : null;
|
|
928
928
|
}
|
|
@@ -1572,10 +1572,6 @@ function filter(_this__u8e3s4, predicate) {
|
|
|
1572
1572
|
function map(_this__u8e3s4, transform) {
|
|
1573
1573
|
return new TransformingSequence(_this__u8e3s4, transform);
|
|
1574
1574
|
}
|
|
1575
|
-
function asIterable(_this__u8e3s4) {
|
|
1576
|
-
// Inline function 'kotlin.collections.Iterable' call
|
|
1577
|
-
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
|
|
1578
|
-
}
|
|
1579
1575
|
function toList_2(_this__u8e3s4) {
|
|
1580
1576
|
var it = _this__u8e3s4.t();
|
|
1581
1577
|
if (!it.u())
|
|
@@ -1590,6 +1586,10 @@ function toList_2(_this__u8e3s4) {
|
|
|
1590
1586
|
}
|
|
1591
1587
|
return dst;
|
|
1592
1588
|
}
|
|
1589
|
+
function asIterable(_this__u8e3s4) {
|
|
1590
|
+
// Inline function 'kotlin.collections.Iterable' call
|
|
1591
|
+
return new asIterable$$inlined$Iterable$1(_this__u8e3s4);
|
|
1592
|
+
}
|
|
1593
1593
|
function asIterable$$inlined$Iterable$1($this_asIterable) {
|
|
1594
1594
|
this.z1_1 = $this_asIterable;
|
|
1595
1595
|
}
|
|
@@ -2529,7 +2529,7 @@ function charSequenceSubSequence(a, startIndex, endIndex) {
|
|
|
2529
2529
|
return tmp;
|
|
2530
2530
|
}
|
|
2531
2531
|
function arrayToString(array) {
|
|
2532
|
-
return
|
|
2532
|
+
return joinToString_0(array, ', ', '[', ']', VOID, VOID, arrayToString$lambda);
|
|
2533
2533
|
}
|
|
2534
2534
|
function contentEqualsInternal(_this__u8e3s4, other) {
|
|
2535
2535
|
// Inline function 'kotlin.js.asDynamic' call
|
|
@@ -3665,7 +3665,7 @@ function contentEquals(_this__u8e3s4, other) {
|
|
|
3665
3665
|
return contentEqualsInternal(_this__u8e3s4, other);
|
|
3666
3666
|
}
|
|
3667
3667
|
function contentToString(_this__u8e3s4) {
|
|
3668
|
-
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null :
|
|
3668
|
+
var tmp1_elvis_lhs = _this__u8e3s4 == null ? null : joinToString_0(_this__u8e3s4, ', ', '[', ']');
|
|
3669
3669
|
return tmp1_elvis_lhs == null ? 'null' : tmp1_elvis_lhs;
|
|
3670
3670
|
}
|
|
3671
3671
|
function contentHashCode(_this__u8e3s4) {
|
|
@@ -10752,6 +10752,13 @@ function minus_0(_this__u8e3s4, keys) {
|
|
|
10752
10752
|
removeAll_1(this_0.y2(), keys);
|
|
10753
10753
|
return optimizeReadOnlyMap(this_0);
|
|
10754
10754
|
}
|
|
10755
|
+
function minus_1(_this__u8e3s4, key) {
|
|
10756
|
+
// Inline function 'kotlin.apply' call
|
|
10757
|
+
var this_0 = toMutableMap(_this__u8e3s4);
|
|
10758
|
+
// Inline function 'kotlin.collections.minusAssign' call
|
|
10759
|
+
this_0.h3(key);
|
|
10760
|
+
return optimizeReadOnlyMap(this_0);
|
|
10761
|
+
}
|
|
10755
10762
|
function hashMapOf(pairs) {
|
|
10756
10763
|
// Inline function 'kotlin.apply' call
|
|
10757
10764
|
var this_0 = HashMap_init_$Create$_0(mapCapacity(pairs.length));
|
|
@@ -10861,13 +10868,6 @@ function putAll_0(_this__u8e3s4, pairs) {
|
|
|
10861
10868
|
_this__u8e3s4.g3(key, value);
|
|
10862
10869
|
}
|
|
10863
10870
|
}
|
|
10864
|
-
function minus_1(_this__u8e3s4, key) {
|
|
10865
|
-
// Inline function 'kotlin.apply' call
|
|
10866
|
-
var this_0 = toMutableMap(_this__u8e3s4);
|
|
10867
|
-
// Inline function 'kotlin.collections.minusAssign' call
|
|
10868
|
-
this_0.h3(key);
|
|
10869
|
-
return optimizeReadOnlyMap(this_0);
|
|
10870
|
-
}
|
|
10871
10871
|
function toMap_3(_this__u8e3s4) {
|
|
10872
10872
|
return optimizeReadOnlyMap(toMap_4(_this__u8e3s4, LinkedHashMap_init_$Create$()));
|
|
10873
10873
|
}
|
|
@@ -17634,7 +17634,7 @@ protoOf(Uuid).hashCode = function () {
|
|
|
17634
17634
|
return bitwiseXor(this.sr_1, this.tr_1).hashCode();
|
|
17635
17635
|
};
|
|
17636
17636
|
function truncateForErrorMessage_0(_this__u8e3s4, maxSize) {
|
|
17637
|
-
return
|
|
17637
|
+
return joinToString(_this__u8e3s4, VOID, '[', ']', maxSize);
|
|
17638
17638
|
}
|
|
17639
17639
|
function truncateForErrorMessage_1(_this__u8e3s4, maxLength) {
|
|
17640
17640
|
return _this__u8e3s4.length <= maxLength ? _this__u8e3s4 : substring(_this__u8e3s4, 0, maxLength) + '...';
|