@flock/wirespec 0.8.41 → 0.8.42

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.
@@ -15,6 +15,12 @@ if (typeof Math.clz32 === 'undefined') {
15
15
  };
16
16
  }(Math.log, Math.LN2);
17
17
  }
18
+ if (typeof String.prototype.startsWith === 'undefined') {
19
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
20
+ position = position || 0;
21
+ return this.lastIndexOf(searchString, position) === position;
22
+ }});
23
+ }
18
24
  if (typeof String.prototype.endsWith === 'undefined') {
19
25
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
20
26
  var subjectString = this.toString();
@@ -26,12 +32,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
26
32
  return lastIndex !== -1 && lastIndex === position;
27
33
  }});
28
34
  }
29
- if (typeof String.prototype.startsWith === 'undefined') {
30
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
31
- position = position || 0;
32
- return this.lastIndexOf(searchString, position) === position;
33
- }});
34
- }
35
35
  if (typeof Math.imul === 'undefined') {
36
36
  Math.imul = function imul(a, b) {
37
37
  return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
@@ -153,10 +153,10 @@ if (typeof Math.imul === 'undefined') {
153
153
  setMetadataFor(DoubleCompanionObject, 'DoubleCompanionObject', objectMeta);
154
154
  setMetadataFor(StringCompanionObject, 'StringCompanionObject', objectMeta);
155
155
  setMetadataFor(BooleanCompanionObject, 'BooleanCompanionObject', objectMeta);
156
- setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Iterable, Collection]);
156
+ setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection, Iterable]);
157
157
  setMetadataFor(IteratorImpl_0, 'IteratorImpl', classMeta);
158
158
  setMetadataFor(ListIteratorImpl_0, 'ListIteratorImpl', classMeta, IteratorImpl_0);
159
- setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, Iterable, Collection]);
159
+ setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, Collection, Iterable]);
160
160
  setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableList]);
161
161
  setMetadataFor(SubList_0, 'SubList', classMeta, AbstractMutableList, [AbstractMutableList, RandomAccess]);
162
162
  setMetadataFor(AbstractMutableMap$keys$1$iterator$1, VOID, classMeta);
@@ -164,7 +164,7 @@ if (typeof Math.imul === 'undefined') {
164
164
  setMetadataFor(Entry, 'Entry', interfaceMeta);
165
165
  setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
166
166
  setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
167
- setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, Iterable, Collection]);
167
+ setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, Collection, Iterable]);
168
168
  setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableSet]);
169
169
  setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
170
170
  setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);