@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1831 → 1.3.0-SNAPSHOT.1832

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;
@@ -134,13 +134,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
134
134
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
135
135
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
136
136
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
137
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection, MutableIterable]);
137
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, MutableIterable, KtList]);
138
138
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
139
139
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
140
140
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
141
141
  initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableSet]);
142
142
  initMetadataForCompanion(Companion_5);
143
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection, MutableIterable]);
143
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, MutableIterable, KtList]);
144
144
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
145
145
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet, AbstractMutableSet]);
146
146
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable, AbstractMutableCollection]);