@flock/wirespec 0.8.23 → 0.8.24
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;
|
|
@@ -149,10 +149,10 @@ if (typeof Math.imul === 'undefined') {
|
|
|
149
149
|
setMetadataFor(DoubleCompanionObject, 'DoubleCompanionObject', objectMeta);
|
|
150
150
|
setMetadataFor(StringCompanionObject, 'StringCompanionObject', objectMeta);
|
|
151
151
|
setMetadataFor(BooleanCompanionObject, 'BooleanCompanionObject', objectMeta);
|
|
152
|
-
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection,
|
|
152
|
+
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Iterable, Collection]);
|
|
153
153
|
setMetadataFor(IteratorImpl_0, 'IteratorImpl', classMeta);
|
|
154
154
|
setMetadataFor(ListIteratorImpl_0, 'ListIteratorImpl', classMeta, IteratorImpl_0);
|
|
155
|
-
setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List,
|
|
155
|
+
setMetadataFor(MutableList, 'MutableList', interfaceMeta, VOID, [List, Iterable, Collection]);
|
|
156
156
|
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableList]);
|
|
157
157
|
setMetadataFor(SubList_0, 'SubList', classMeta, AbstractMutableList, [AbstractMutableList, RandomAccess]);
|
|
158
158
|
setMetadataFor(AbstractMutableMap$keys$1$iterator$1, VOID, classMeta);
|
|
@@ -160,7 +160,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
160
160
|
setMetadataFor(Entry, 'Entry', interfaceMeta);
|
|
161
161
|
setMetadataFor(MutableEntry, 'MutableEntry', interfaceMeta, VOID, [Entry]);
|
|
162
162
|
setMetadataFor(SimpleEntry, 'SimpleEntry', classMeta, VOID, [MutableEntry]);
|
|
163
|
-
setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set,
|
|
163
|
+
setMetadataFor(MutableSet, 'MutableSet', interfaceMeta, VOID, [Set, Iterable, Collection]);
|
|
164
164
|
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, MutableSet]);
|
|
165
165
|
setMetadataFor(AbstractEntrySet, 'AbstractEntrySet', classMeta, AbstractMutableSet);
|
|
166
166
|
setMetadataFor(AbstractMutableMap$keys$1, VOID, classMeta, AbstractMutableSet);
|