@komune-io/im-space-domain 0.16.2 → 0.17.0-alpha.3bfaea3
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.
|
@@ -43,6 +43,12 @@ if (typeof Math.clz32 === 'undefined') {
|
|
|
43
43
|
};
|
|
44
44
|
}(Math.log, Math.LN2);
|
|
45
45
|
}
|
|
46
|
+
if (typeof String.prototype.startsWith === 'undefined') {
|
|
47
|
+
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
48
|
+
position = position || 0;
|
|
49
|
+
return this.lastIndexOf(searchString, position) === position;
|
|
50
|
+
}});
|
|
51
|
+
}
|
|
46
52
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
47
53
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
48
54
|
var subjectString = this.toString();
|
|
@@ -54,12 +60,6 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
54
60
|
return lastIndex !== -1 && lastIndex === position;
|
|
55
61
|
}});
|
|
56
62
|
}
|
|
57
|
-
if (typeof String.prototype.startsWith === 'undefined') {
|
|
58
|
-
Object.defineProperty(String.prototype, 'startsWith', {value: function (searchString, position) {
|
|
59
|
-
position = position || 0;
|
|
60
|
-
return this.lastIndexOf(searchString, position) === position;
|
|
61
|
-
}});
|
|
62
|
-
}
|
|
63
63
|
if (typeof Math.imul === 'undefined') {
|
|
64
64
|
Math.imul = function imul(a, b) {
|
|
65
65
|
return (a & 4.29490176E9) * (b & 65535) + (a & 65535) * (b | 0) | 0;
|
|
@@ -501,7 +501,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
501
501
|
setMetadataFor(Symbol_0, 'Symbol', classMeta);
|
|
502
502
|
setMetadataFor(SelectInstance, 'SelectInstance', interfaceMeta);
|
|
503
503
|
setMetadataFor(ClauseData, 'ClauseData', classMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
504
|
-
setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, CancelHandler, [CancelHandler,
|
|
504
|
+
setMetadataFor(SelectImplementation, 'SelectImplementation', classMeta, CancelHandler, [CancelHandler, Waiter, SelectInstance], VOID, VOID, VOID, [0, 2]);
|
|
505
505
|
setMetadataFor(TrySelectDetailedResult, 'TrySelectDetailedResult', classMeta, Enum);
|
|
506
506
|
setMetadataFor(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', classMeta, CoroutineDispatcher, [CoroutineDispatcher, Delay], VOID, VOID, VOID, [1]);
|
|
507
507
|
setMetadataFor(NodeDispatcher, 'NodeDispatcher', objectMeta, SetTimeoutBasedDispatcher, VOID, VOID, VOID, VOID, [1]);
|