@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1856 → 1.3.0-SNAPSHOT.1859

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.
@@ -46,11 +46,6 @@ 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.log2 === 'undefined') {
50
- Math.log2 = function (x) {
51
- return Math.log(x) * Math.LOG2E;
52
- };
53
- }
54
49
  if (typeof Math.clz32 === 'undefined') {
55
50
  Math.clz32 = function (log, LN2) {
56
51
  return function (x) {
@@ -62,6 +57,11 @@ if (typeof Math.clz32 === 'undefined') {
62
57
  };
63
58
  }(Math.log, Math.LN2);
64
59
  }
60
+ if (typeof Math.log2 === 'undefined') {
61
+ Math.log2 = function (x) {
62
+ return Math.log(x) * Math.LOG2E;
63
+ };
64
+ }
65
65
  if (typeof String.prototype.startsWith === 'undefined') {
66
66
  Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
67
67
  position = position || 0;
@@ -111,12 +111,12 @@ if (typeof String.prototype.startsWith === 'undefined') {
111
111
  function asJsArrayView() {
112
112
  return createJsArrayViewFrom(this);
113
113
  }
114
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
114
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
115
115
  initMetadataForCompanion(Companion_2);
116
116
  function asJsSetView() {
117
117
  return createJsSetViewFrom(this);
118
118
  }
119
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
119
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
120
120
  initMetadataForInterface(Entry, 'Entry');
121
121
  initMetadataForCompanion(Companion_3);
122
122
  function asJsReadonlyMapView() {
@@ -137,7 +137,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
137
137
  initMetadataForInterface(Comparator, 'Comparator');
138
138
  initMetadataForObject(Unit, 'Unit');
139
139
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
140
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
140
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
141
141
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
142
142
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
143
143
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);
@@ -150,7 +150,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
150
150
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtMutableList, RandomAccess]);
151
151
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
152
152
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
153
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection, AbstractMutableCollection]);
153
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);
154
154
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
155
155
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
156
156
  initMetadataForClass(HashMapKeysDefault$iterator$1);