@dmarket/p2p-tracker-headless 1.3.1-SNAPSHOT-development.231 → 1.3.1-SNAPSHOT-development.244
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 +1240 -1205
- package/dmarket-p2p-tracker-core-domain.mjs.map +1 -1
- package/kotlin-kotlin-stdlib.mjs +23 -23
- package/kotlin-kotlin-stdlib.mjs.map +1 -1
- package/p2p-tracker-core.mjs +9430 -8690
- package/p2p-tracker-core.mjs.map +1 -1
- package/p2p-tracker-headless.mjs +776 -776
- package/package.json +1 -1
package/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -1240,6 +1240,11 @@ function takeLast(_this__u8e3s4, n) {
|
|
|
1240
1240
|
}
|
|
1241
1241
|
return list;
|
|
1242
1242
|
}
|
|
1243
|
+
function contains_5(_this__u8e3s4, element) {
|
|
1244
|
+
if (isInterface(_this__u8e3s4, Collection))
|
|
1245
|
+
return _this__u8e3s4.k1(element);
|
|
1246
|
+
return indexOf_5(_this__u8e3s4, element) >= 0;
|
|
1247
|
+
}
|
|
1243
1248
|
function toMutableList(_this__u8e3s4) {
|
|
1244
1249
|
return ArrayList_init_$Create$_1(_this__u8e3s4);
|
|
1245
1250
|
}
|
|
@@ -1265,11 +1270,6 @@ function distinct(_this__u8e3s4) {
|
|
|
1265
1270
|
function singleOrNull(_this__u8e3s4) {
|
|
1266
1271
|
return _this__u8e3s4.g1() === 1 ? _this__u8e3s4.h1(0) : null;
|
|
1267
1272
|
}
|
|
1268
|
-
function contains_5(_this__u8e3s4, element) {
|
|
1269
|
-
if (isInterface(_this__u8e3s4, Collection))
|
|
1270
|
-
return _this__u8e3s4.k1(element);
|
|
1271
|
-
return indexOf_5(_this__u8e3s4, element) >= 0;
|
|
1272
|
-
}
|
|
1273
1273
|
function toByteArray(_this__u8e3s4) {
|
|
1274
1274
|
var result = new Int8Array(_this__u8e3s4.g1());
|
|
1275
1275
|
var index = 0;
|
|
@@ -8367,14 +8367,6 @@ function _init_properties_stringJs_kt__bg7zye() {
|
|
|
8367
8367
|
STRING_CASE_INSENSITIVE_ORDER = new sam$kotlin_Comparator$0(tmp);
|
|
8368
8368
|
}
|
|
8369
8369
|
}
|
|
8370
|
-
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
8371
|
-
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8372
|
-
var tmp2 = new RegExp(Companion_getInstance_6().od(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
8373
|
-
// Inline function 'kotlin.text.nativeReplace' call
|
|
8374
|
-
var replacement = Companion_getInstance_6().pd(newValue);
|
|
8375
|
-
// Inline function 'kotlin.js.asDynamic' call
|
|
8376
|
-
return _this__u8e3s4.replace(tmp2, replacement);
|
|
8377
|
-
}
|
|
8378
8370
|
function endsWith(_this__u8e3s4, suffix, ignoreCase) {
|
|
8379
8371
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8380
8372
|
if (!ignoreCase) {
|
|
@@ -8418,6 +8410,14 @@ function equals_0(_this__u8e3s4, other, ignoreCase) {
|
|
|
8418
8410
|
while (inductionVariable < last);
|
|
8419
8411
|
return true;
|
|
8420
8412
|
}
|
|
8413
|
+
function replace(_this__u8e3s4, oldValue, newValue, ignoreCase) {
|
|
8414
|
+
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8415
|
+
var tmp2 = new RegExp(Companion_getInstance_6().od(oldValue), ignoreCase ? 'gui' : 'gu');
|
|
8416
|
+
// Inline function 'kotlin.text.nativeReplace' call
|
|
8417
|
+
var replacement = Companion_getInstance_6().pd(newValue);
|
|
8418
|
+
// Inline function 'kotlin.js.asDynamic' call
|
|
8419
|
+
return _this__u8e3s4.replace(tmp2, replacement);
|
|
8420
|
+
}
|
|
8421
8421
|
function startsWith_0(_this__u8e3s4, prefix, startIndex, ignoreCase) {
|
|
8422
8422
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
8423
8423
|
if (!ignoreCase) {
|
|
@@ -14907,6 +14907,16 @@ function substringAfter(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
|
14907
14907
|
var index = indexOf_6(_this__u8e3s4, delimiter);
|
|
14908
14908
|
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + delimiter.length | 0, _this__u8e3s4.length);
|
|
14909
14909
|
}
|
|
14910
|
+
function substringBefore_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
14911
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
14912
|
+
var index = indexOf_7(_this__u8e3s4, delimiter);
|
|
14913
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
|
|
14914
|
+
}
|
|
14915
|
+
function substringAfter_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
14916
|
+
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
14917
|
+
var index = indexOf_7(_this__u8e3s4, delimiter);
|
|
14918
|
+
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + 1 | 0, _this__u8e3s4.length);
|
|
14919
|
+
}
|
|
14910
14920
|
function contains_8(_this__u8e3s4, other, ignoreCase) {
|
|
14911
14921
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14912
14922
|
var tmp;
|
|
@@ -14963,11 +14973,6 @@ function indexOf_7(_this__u8e3s4, char, startIndex, ignoreCase) {
|
|
|
14963
14973
|
}
|
|
14964
14974
|
return tmp;
|
|
14965
14975
|
}
|
|
14966
|
-
function substringBefore_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
14967
|
-
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
14968
|
-
var index = indexOf_7(_this__u8e3s4, delimiter);
|
|
14969
|
-
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, 0, index);
|
|
14970
|
-
}
|
|
14971
14976
|
function contains_9(_this__u8e3s4, char, ignoreCase) {
|
|
14972
14977
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|
|
14973
14978
|
return indexOf_7(_this__u8e3s4, char, VOID, ignoreCase) >= 0;
|
|
@@ -15137,11 +15142,6 @@ function toBooleanStrictOrNull(_this__u8e3s4) {
|
|
|
15137
15142
|
return null;
|
|
15138
15143
|
}
|
|
15139
15144
|
}
|
|
15140
|
-
function substringAfter_0(_this__u8e3s4, delimiter, missingDelimiterValue) {
|
|
15141
|
-
missingDelimiterValue = missingDelimiterValue === VOID ? _this__u8e3s4 : missingDelimiterValue;
|
|
15142
|
-
var index = indexOf_7(_this__u8e3s4, delimiter);
|
|
15143
|
-
return index === -1 ? missingDelimiterValue : substring(_this__u8e3s4, index + 1 | 0, _this__u8e3s4.length);
|
|
15144
|
-
}
|
|
15145
15145
|
function lastIndexOf_0(_this__u8e3s4, string, startIndex, ignoreCase) {
|
|
15146
15146
|
startIndex = startIndex === VOID ? get_lastIndex_3(_this__u8e3s4) : startIndex;
|
|
15147
15147
|
ignoreCase = ignoreCase === VOID ? false : ignoreCase;
|