@flock/wirespec 0.14.25 → 0.14.26

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.
@@ -42,11 +42,6 @@ if (typeof Math.log2 === 'undefined') {
42
42
  return Math.log(x) * Math.LOG2E;
43
43
  };
44
44
  }
45
- if (typeof Math.log10 === 'undefined') {
46
- Math.log10 = function (x) {
47
- return Math.log(x) * Math.LOG10E;
48
- };
49
- }
50
45
  if (typeof Math.clz32 === 'undefined') {
51
46
  Math.clz32 = function (log, LN2) {
52
47
  return function (x) {
@@ -58,11 +53,10 @@ if (typeof Math.clz32 === 'undefined') {
58
53
  };
59
54
  }(Math.log, Math.LN2);
60
55
  }
61
- if (typeof String.prototype.startsWith === 'undefined') {
62
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
63
- position = position || 0;
64
- return this.lastIndexOf(searchString, position) === position;
65
- }});
56
+ if (typeof Math.log10 === 'undefined') {
57
+ Math.log10 = function (x) {
58
+ return Math.log(x) * Math.LOG10E;
59
+ };
66
60
  }
67
61
  if (typeof String.prototype.endsWith === 'undefined') {
68
62
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -75,6 +69,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
75
69
  return lastIndex !== -1 && lastIndex === position;
76
70
  }});
77
71
  }
72
+ if (typeof String.prototype.startsWith === 'undefined') {
73
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
74
+ position = position || 0;
75
+ return this.lastIndexOf(searchString, position) === position;
76
+ }});
77
+ }
78
78
  //endregion
79
79
  //region block: imports
80
80
  var imul_0 = Math.imul;
@@ -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]);