@solibo/solibo-sdk 1.0.35-SNAPSHOT → 1.0.35
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/kotlin-kotlin-stdlib.js
CHANGED
|
@@ -46,16 +46,10 @@ if (typeof Array.prototype.fill === 'undefined') {
|
|
|
46
46
|
Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
|
|
47
47
|
}
|
|
48
48
|
});
|
|
49
|
-
if (typeof Math.
|
|
50
|
-
Math.
|
|
51
|
-
return
|
|
52
|
-
|
|
53
|
-
if (asUint === 0) {
|
|
54
|
-
return 32;
|
|
55
|
-
}
|
|
56
|
-
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
57
|
-
};
|
|
58
|
-
}(Math.log, Math.LN2);
|
|
49
|
+
if (typeof Math.log10 === 'undefined') {
|
|
50
|
+
Math.log10 = function (x) {
|
|
51
|
+
return Math.log(x) * Math.LOG10E;
|
|
52
|
+
};
|
|
59
53
|
}
|
|
60
54
|
if (typeof Math.trunc === 'undefined') {
|
|
61
55
|
Math.trunc = function (x) {
|
|
@@ -68,10 +62,16 @@ if (typeof Math.trunc === 'undefined') {
|
|
|
68
62
|
return Math.ceil(x);
|
|
69
63
|
};
|
|
70
64
|
}
|
|
71
|
-
if (typeof Math.
|
|
72
|
-
Math.
|
|
73
|
-
return
|
|
74
|
-
|
|
65
|
+
if (typeof Math.clz32 === 'undefined') {
|
|
66
|
+
Math.clz32 = function (log, LN2) {
|
|
67
|
+
return function (x) {
|
|
68
|
+
var asUint = x >>> 0;
|
|
69
|
+
if (asUint === 0) {
|
|
70
|
+
return 32;
|
|
71
|
+
}
|
|
72
|
+
return 31 - (log(asUint) / LN2 | 0) | 0; // the "| 0" acts like math.floor
|
|
73
|
+
};
|
|
74
|
+
}(Math.log, Math.LN2);
|
|
75
75
|
}
|
|
76
76
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
77
77
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
@@ -138,8 +138,8 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
138
138
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
139
139
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
140
140
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
141
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
142
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
141
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
142
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
143
143
|
initMetadataForCompanion(Companion_2);
|
|
144
144
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
145
145
|
initMetadataForCompanion(Companion_3);
|
|
@@ -163,7 +163,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
163
163
|
initMetadataForInterface(AutoCloseable, 'AutoCloseable');
|
|
164
164
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
165
165
|
initMetadataForObject(Unit, 'Unit');
|
|
166
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
166
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
167
167
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
168
168
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
169
169
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -175,7 +175,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
175
175
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
176
176
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
177
177
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
178
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
178
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
179
179
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
180
180
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
181
181
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|