@flock/wirespec 0.22.2 → 0.22.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/kotlin-kotlin-stdlib.mjs
CHANGED
|
@@ -53,12 +53,6 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
53
53
|
};
|
|
54
54
|
}(Math.log, Math.LN2);
|
|
55
55
|
}
|
|
56
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
57
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
58
|
-
position = position || 0;
|
|
59
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
60
|
-
}});
|
|
61
|
-
}
|
|
62
56
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
63
57
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
64
58
|
var subjectString = this.toString();
|
|
@@ -70,6 +64,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
70
64
|
return lastIndex !== -1 && lastIndex === position;
|
|
71
65
|
}});
|
|
72
66
|
}
|
|
67
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
68
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
69
|
+
position = position || 0;
|
|
70
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
71
|
+
}});
|
|
72
|
+
}
|
|
73
73
|
//endregion
|
|
74
74
|
//region block: imports
|
|
75
75
|
var imul_0 = Math.imul;
|
|
@@ -101,8 +101,8 @@ initMetadataForInterface(KtMap, 'Map');
|
|
|
101
101
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
102
102
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
103
103
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
104
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
105
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
104
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
|
|
105
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
|
|
106
106
|
initMetadataForCompanion(Companion_0);
|
|
107
107
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
108
108
|
initMetadataForCompanion(Companion_1);
|
|
@@ -122,7 +122,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
|
|
|
122
122
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
123
123
|
initMetadataForObject(Unit, 'Unit');
|
|
124
124
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
125
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [
|
|
125
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
|
|
126
126
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
127
127
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
128
128
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
|
|
@@ -135,7 +135,7 @@ initMetadataForCompanion(Companion_2);
|
|
|
135
135
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
|
|
136
136
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
|
|
137
137
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
138
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
138
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
|
|
139
139
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
|
|
140
140
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
141
141
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|