@flock/wirespec 0.8.50 → 0.8.52

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.
@@ -4,16 +4,6 @@ if (typeof ArrayBuffer.isView === 'undefined') {
4
4
  return a != null && a.__proto__ != null && a.__proto__.__proto__ === Int8Array.prototype.__proto__;
5
5
  };
6
6
  }
7
- if (typeof Math.log2 === 'undefined') {
8
- Math.log2 = function (x) {
9
- return Math.log(x) * Math.LOG2E;
10
- };
11
- }
12
- if (typeof Math.log10 === 'undefined') {
13
- Math.log10 = function (x) {
14
- return Math.log(x) * Math.LOG10E;
15
- };
16
- }
17
7
  if (typeof Math.clz32 === 'undefined') {
18
8
  Math.clz32 = function (log, LN2) {
19
9
  return function (x) {
@@ -25,6 +15,22 @@ if (typeof Math.clz32 === 'undefined') {
25
15
  };
26
16
  }(Math.log, Math.LN2);
27
17
  }
18
+ if (typeof Math.log10 === 'undefined') {
19
+ Math.log10 = function (x) {
20
+ return Math.log(x) * Math.LOG10E;
21
+ };
22
+ }
23
+ if (typeof Math.log2 === 'undefined') {
24
+ Math.log2 = function (x) {
25
+ return Math.log(x) * Math.LOG2E;
26
+ };
27
+ }
28
+ if (typeof String.prototype.startsWith === 'undefined') {
29
+ Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
30
+ position = position || 0;
31
+ return this.lastIndexOf(searchString, position) === position;
32
+ }});
33
+ }
28
34
  if (typeof String.prototype.endsWith === 'undefined') {
29
35
  Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
30
36
  var subjectString = this.toString();
@@ -36,12 +42,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
36
42
  return lastIndex !== -1 && lastIndex === position;
37
43
  }});
38
44
  }
39
- if (typeof String.prototype.startsWith === 'undefined') {
40
- Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
41
- position = position || 0;
42
- return this.lastIndexOf(searchString, position) === position;
43
- }});
44
- }
45
45
  if (typeof Math.imul === 'undefined') {
46
46
  Math.imul = function imul(a, b) {
47
47
  return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
@@ -175,17 +175,17 @@ if (typeof Math.imul === 'undefined') {
175
175
  setMetadataFor(StringCompanionObject, 'StringCompanionObject', objectMeta);
176
176
  setMetadataFor(BooleanCompanionObject, 'BooleanCompanionObject', objectMeta);
177
177
  setMetadataFor(MutableIterable, 'MutableIterable', interfaceMeta, VOID, [Iterable]);
178
- setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection, MutableIterable]);
178
+ setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, MutableIterable, Collection]);
179
179
  setMetadataFor(IteratorImpl_0, 'IteratorImpl', classMeta);
180
180
  setMetadataFor(ListIteratorImpl_0, 'ListIteratorImpl', classMeta, IteratorImpl_0);
181
- setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, Collection, MutableIterable]);
181
+ setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, MutableIterable, Collection]);
182
182
  setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableList]);
183
183
  setMetadataFor(SubList_0, 'SubList', classMeta, AbstractMutableList, [AbstractMutableList, RandomAccess]);
184
184
  setMetadataFor(AbstractMutableMap$keys$1$iterator$1, VOID, classMeta);
185
185
  setMetadataFor(Entry, 'Entry', interfaceMeta);
186
186
  setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
187
187
  setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
188
- setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, Collection, MutableIterable]);
188
+ setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, MutableIterable, Collection]);
189
189
  setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableSet]);
190
190
  setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
191
191
  setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);