@flock/wirespec 0.13.0 → 0.13.1

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.
@@ -37,16 +37,6 @@ if (typeof Array.prototype.fill === 'undefined') {
37
37
  Object.defineProperty(TypedArray.prototype, 'fill', {value: Array.prototype.fill});
38
38
  }
39
39
  });
40
- if (typeof Math.log10 === 'undefined') {
41
- Math.log10 = function (x) {
42
- return Math.log(x) * Math.LOG10E;
43
- };
44
- }
45
- if (typeof Math.log2 === 'undefined') {
46
- Math.log2 = function (x) {
47
- return Math.log(x) * Math.LOG2E;
48
- };
49
- }
50
40
  if (typeof Math.clz32 === 'undefined') {
51
41
  Math.clz32 = function (log, LN2) {
52
42
  return function (x) {
@@ -58,6 +48,16 @@ if (typeof Math.clz32 === 'undefined') {
58
48
  };
59
49
  }(Math.log, Math.LN2);
60
50
  }
51
+ if (typeof Math.log10 === 'undefined') {
52
+ Math.log10 = function (x) {
53
+ return Math.log(x) * Math.LOG10E;
54
+ };
55
+ }
56
+ if (typeof Math.log2 === 'undefined') {
57
+ Math.log2 = function (x) {
58
+ return Math.log(x) * Math.LOG2E;
59
+ };
60
+ }
61
61
  if (typeof String.prototype.endsWith === 'undefined') {
62
62
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
63
63
  var subjectString = this.toString();
@@ -99,8 +99,8 @@ initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
99
99
  initMetadataForInterface(Entry, 'Entry');
100
100
  initMetadataForInterface(KtMap, 'Map');
101
101
  initMetadataForInterface(MutableIterable, 'MutableIterable');
102
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
103
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
102
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
103
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
104
104
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
105
105
  initMetadataForCompanion(Companion_0);
106
106
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
@@ -121,7 +121,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
121
121
  initMetadataForInterface(Comparator, 'Comparator');
122
122
  initMetadataForObject(Unit, 'Unit');
123
123
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
124
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
124
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
125
125
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
126
126
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
127
127
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [AbstractMutableCollection, KtMutableList]);