@flock/wirespec 0.22.2 → 0.22.4

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,11 +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.log2 === 'undefined') {
41
- Math.log2 = function (x) {
42
- return Math.log(x) * Math.LOG2E;
43
- };
44
- }
45
40
  if (typeof Math.clz32 === 'undefined') {
46
41
  Math.clz32 = function (log, LN2) {
47
42
  return function (x) {
@@ -53,11 +48,10 @@ if (typeof Math.clz32 === 'undefined') {
53
48
  };
54
49
  }(Math.log, Math.LN2);
55
50
  }
56
- if (typeof String.prototype.startsWith === 'undefined') {
57
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
58
- position = position || 0;
59
- return this.lastIndexOf(searchString, position) === position;
60
- }});
51
+ if (typeof Math.log2 === 'undefined') {
52
+ Math.log2 = function (x) {
53
+ return Math.log(x) * Math.LOG2E;
54
+ };
61
55
  }
62
56
  if (typeof String.prototype.endsWith === 'undefined') {
63
57
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
@@ -70,6 +64,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
70
64
  return lastIndex !== -1 && lastIndex === position;
71
65
  }});
72
66
  }
67
+ if (typeof String.prototype.startsWith === 'undefined') {
68
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
69
+ position = position || 0;
70
+ return this.lastIndexOf(searchString, position) === position;
71
+ }});
72
+ }
73
73
  //endregion
74
74
  //region block: imports
75
75
  var imul_0 = Math.imul;
@@ -101,8 +101,8 @@ initMetadataForInterface(KtMap, 'Map');
101
101
  initMetadataForInterface(KtSet, 'Set', VOID, VOID, [Collection]);
102
102
  initMetadataForInterface(KtMutableMap, 'MutableMap', VOID, VOID, [KtMap]);
103
103
  initMetadataForInterface(MutableIterable, 'MutableIterable');
104
- initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, MutableIterable, Collection]);
105
- initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, MutableIterable, Collection]);
104
+ initMetadataForInterface(KtMutableList, 'MutableList', VOID, VOID, [KtList, Collection, MutableIterable]);
105
+ initMetadataForInterface(KtMutableSet, 'MutableSet', VOID, VOID, [KtSet, Collection, MutableIterable]);
106
106
  initMetadataForCompanion(Companion_0);
107
107
  initMetadataForClass(Enum, 'Enum', VOID, VOID, [Comparable]);
108
108
  initMetadataForCompanion(Companion_1);
@@ -122,7 +122,7 @@ initMetadataForObject(OtherLowercase, 'OtherLowercase');
122
122
  initMetadataForInterface(Comparator, 'Comparator');
123
123
  initMetadataForObject(Unit, 'Unit');
124
124
  initMetadataForClass(AbstractCollection, 'AbstractCollection', VOID, VOID, [Collection]);
125
- initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [MutableIterable, Collection]);
125
+ initMetadataForClass(AbstractMutableCollection, 'AbstractMutableCollection', VOID, AbstractCollection, [Collection, MutableIterable]);
126
126
  initMetadataForClass(IteratorImpl, 'IteratorImpl');
127
127
  initMetadataForClass(ListIteratorImpl, 'ListIteratorImpl', VOID, IteratorImpl);
128
128
  initMetadataForClass(AbstractMutableList, 'AbstractMutableList', VOID, AbstractMutableCollection, [KtMutableList]);
@@ -135,7 +135,7 @@ initMetadataForCompanion(Companion_2);
135
135
  initMetadataForClass(ArrayList, 'ArrayList', ArrayList_init_$Create$, AbstractMutableList, [KtMutableList, RandomAccess]);
136
136
  initMetadataForClass(HashMap, 'HashMap', HashMap_init_$Create$, AbstractMutableMap, [KtMutableMap]);
137
137
  initMetadataForClass(HashMapKeys, 'HashMapKeys', VOID, AbstractMutableSet, [KtMutableSet]);
138
- initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [MutableIterable, Collection]);
138
+ initMetadataForClass(HashMapValues, 'HashMapValues', VOID, AbstractMutableCollection, [Collection, MutableIterable]);
139
139
  initMetadataForClass(HashMapEntrySetBase, 'HashMapEntrySetBase', VOID, AbstractMutableSet, [KtMutableSet]);
140
140
  initMetadataForClass(HashMapEntrySet, 'HashMapEntrySet', VOID, HashMapEntrySetBase);
141
141
  initMetadataForClass(HashMapKeysDefault$iterator$1);