@komune-io/im-privilege-domain 0.16.3 → 0.16.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.
|
@@ -43,12 +43,6 @@ 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
|
-
}
|
|
52
46
|
if (typeof String.prototype.endsWith === 'undefined') {
|
|
53
47
|
Object.defineProperty(String.prototype, 'endsWith', {value: function (searchString, position) {
|
|
54
48
|
var subjectString = this.toString();
|
|
@@ -60,6 +54,12 @@ if (typeof String.prototype.endsWith === 'undefined') {
|
|
|
60
54
|
return lastIndex !== -1 && lastIndex === position;
|
|
61
55
|
}});
|
|
62
56
|
}
|
|
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;
|
|
@@ -456,11 +456,6 @@ if (typeof Math.imul === 'undefined') {
|
|
|
456
456
|
setMetadataFor($hasNextCOROUTINE$5, '$hasNextCOROUTINE$5', classMeta, CoroutineImpl);
|
|
457
457
|
setMetadataFor(SendBroadcast, 'SendBroadcast', classMeta, VOID, [Waiter]);
|
|
458
458
|
setMetadataFor(BufferedChannelIterator, 'BufferedChannelIterator', classMeta, VOID, [Waiter], VOID, VOID, VOID, [0, 3]);
|
|
459
|
-
function close$default(cause, $super) {
|
|
460
|
-
cause = cause === VOID ? null : cause;
|
|
461
|
-
return $super === VOID ? this.dx(cause) : $super.dx.call(this, cause);
|
|
462
|
-
}
|
|
463
|
-
setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
464
459
|
function cancel$default_0(cause, $super) {
|
|
465
460
|
cause = cause === VOID ? null : cause;
|
|
466
461
|
var tmp;
|
|
@@ -473,7 +468,12 @@ if (typeof Math.imul === 'undefined') {
|
|
|
473
468
|
return tmp;
|
|
474
469
|
}
|
|
475
470
|
setMetadataFor(ReceiveChannel, 'ReceiveChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [0]);
|
|
476
|
-
|
|
471
|
+
function close$default(cause, $super) {
|
|
472
|
+
cause = cause === VOID ? null : cause;
|
|
473
|
+
return $super === VOID ? this.dx(cause) : $super.dx.call(this, cause);
|
|
474
|
+
}
|
|
475
|
+
setMetadataFor(SendChannel, 'SendChannel', interfaceMeta, VOID, VOID, VOID, VOID, VOID, [1]);
|
|
476
|
+
setMetadataFor(BufferedChannel, 'BufferedChannel', classMeta, VOID, [ReceiveChannel, SendChannel], VOID, VOID, VOID, [1, 4, 0, 3]);
|
|
477
477
|
setMetadataFor(WaiterEB, 'WaiterEB', classMeta);
|
|
478
478
|
setMetadataFor(ReceiveCatching, 'ReceiveCatching', classMeta, VOID, [Waiter]);
|
|
479
479
|
setMetadataFor(Factory, 'Factory', objectMeta);
|
|
@@ -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]);
|