git-digger 1.8.59 → 1.8.61
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.
|
@@ -53,6 +53,12 @@ if (typeof Math.log2 === 'undefined') {
|
|
|
53
53
|
return Math.log(x) * Math.LOG2E;
|
|
54
54
|
};
|
|
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
|
+
}
|
|
56
62
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
57
63
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
58
64
|
var subjectString = this.toString();
|
|
@@ -64,12 +70,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
64
70
|
return lastIndex !== -1 && lastIndex === position;
|
|
65
71
|
}});
|
|
66
72
|
}
|
|
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
|
(function (_) {
|
|
75
75
|
'use strict';
|
|
@@ -95,10 +95,10 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
95
95
|
initMetadataForInterface(Entry, 'Entry');
|
|
96
96
|
initMetadataForInterface(KtMap, 'Map');
|
|
97
97
|
initMetadataForInterface(MutableIterable, 'MutableIterable');
|
|
98
|
-
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList,
|
|
98
|
+
initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
|
|
99
99
|
initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
|
|
100
100
|
initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
|
|
101
|
-
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet,
|
|
101
|
+
initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
|
|
102
102
|
initMetadataForCompanion(Companion_0);
|
|
103
103
|
initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
|
|
104
104
|
initMetadataForCompanion(Companion_1);
|
|
@@ -116,7 +116,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
116
116
|
initMetadataForInterface(Comparator, 'Comparator');
|
|
117
117
|
initMetadataForObject(Unit, 'Unit');
|
|
118
118
|
initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
|
|
119
|
-
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection,
|
|
119
|
+
initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
|
|
120
120
|
initMetadataForClass(IteratorImpl, 'IteratorImpl');
|
|
121
121
|
initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
|
|
122
122
|
initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
|
|
@@ -129,7 +129,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
|
|
|
129
129
|
initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
|
|
130
130
|
initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMutableMap]);
|
|
131
131
|
initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
132
|
-
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [
|
|
132
|
+
initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
|
|
133
133
|
initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
|
|
134
134
|
initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
|
|
135
135
|
initMetadataForClass(HashMapKeysDefault$iterator$1);
|