@cruglobal/godtools-shared 1.3.0-SNAPSHOT.1871 → 1.3.0-SNAPSHOT.1873

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,6 +46,11 @@ 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
+ }
49
54
  if (typeof Math.clz32 === 'undefined') {
50
55
  Math.clz32 = function (log, LN2) {
51
56
  return function (x) {
@@ -57,11 +62,6 @@ if (typeof Math.clz32 === 'undefined') {
57
62
  };
58
63
  }(Math.log, Math.LN2);
59
64
  }
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;
@@ -129,13 +129,13 @@ if (typeof String.prototype.startsWith === 'undefined') {
129
129
  initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection]);
130
130
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
131
131
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
132
- initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, Collection, KtList]);
132
+ initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtList, Collection]);
133
133
  initMetadataForClass(SubList, 'SubList', VOID, AbstractMutableList);
134
134
  initMetadataForClass(AbstractMap, 'AbstractMap', VOID, VOID, [KtMap]);
135
135
  initMetadataForClass(AbstractMutableMap, 'AbstractMutableMap', VOID, AbstractMap, [AbstractMap, KtMap]);
136
136
  initMetadataForClass(AbstractMutableSet, 'AbstractMutableSet', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtSet, Collection]);
137
137
  initMetadataForCompanion(Companion_4);
138
- initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, Collection, KtList]);
138
+ initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [AbstractMutableList, KtList, Collection]);
139
139
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [AbstractMutableMap, KtMap]);
140
140
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtSet, Collection, AbstractMutableSet]);
141
141
  initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, AbstractMutableCollection]);
@@ -5606,7 +5606,7 @@ if (typeof String.prototype.startsWith === 'undefined') {
5606
5606
  var tmp_11 = this;
5607
5607
  // Inline function 'kotlin.js.unsafeCast' call
5608
5608
  // Inline function 'kotlin.js.asDynamic' call
5609
- var tmp_12 = BigInt;
5609
+ var tmp_12 = typeof BigInt === 'undefined' ? VOID : BigInt;
5610
5610
  tmp_11.longClass = new PrimitiveKClassImpl(tmp_12, 'Long', PrimitiveClasses$longClass$lambda);
5611
5611
  var tmp_13 = this;
5612
5612
  // Inline function 'kotlin.js.unsafeCast' call