New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@devvit/multiplatform

Package Overview
Dependencies
Maintainers
0
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@devvit/multiplatform - npm Package Compare versions

Comparing version 0.0.1-20240717-e7a9986d to 0.0.1-20240726-a8e8afbe

177

kotlin/ui-shared-shared.js

@@ -262,6 +262,7 @@ import {

var intendedGeneration = $this.f7_1;
var tmp = DispatcherImpl$processBatch$lambda($this, mode, isRemote, request, requestId, intendedGeneration);
var cbs = new Callback(tmp, DispatcherImpl$processBatch$lambda_0($this, mode, isRemote, request, requestId, batch));
var tmp = DispatcherImpl$processBatch$lambda($this, mode, isRemote, requestId, intendedGeneration, request);
var cbs = new Callback(tmp, DispatcherImpl$processBatch$lambda_0($this, mode, isRemote, requestId, batch));
// Inline function 'kotlin.collections.set' call
$this.y6_1.g1(requestId, cbs);
$this.q6_1.z5(['handle runtime request', request]);
runtime.handle($this.o6_1, request, cbs.j6_1, cbs.k6_1);

@@ -290,2 +291,3 @@ }

var e = $p;
$this.q6_1.j7([e]);
$this.p6_1.errorHandler(e);

@@ -311,3 +313,3 @@ tmp_0 = default_0;

this$0.c7_1 = $timers;
this$0.j7();
this$0.k7();
return Unit_instance;

@@ -317,7 +319,7 @@ };

function DispatcherImpl$subscribe$1$1(this$0, $typedCallback) {
this.k7_1 = this$0;
this.l7_1 = $typedCallback;
this.l7_1 = this$0;
this.m7_1 = $typedCallback;
}
protoOf(DispatcherImpl$subscribe$1$1).unsubscribe = function () {
this.k7_1.z6_1.h(this.l7_1);
this.l7_1.z6_1.h(this.m7_1);
};

@@ -331,5 +333,5 @@ function DispatcherImpl$subscribe$lambda($callback, this$0) {

}
function DispatcherImpl$processBatch$lambda(this$0, $mode, $isRemote, $request, $requestId, $intendedGeneration) {
function DispatcherImpl$processBatch$lambda(this$0, $mode, $isRemote, $requestId, $intendedGeneration, $request) {
return function (rsp) {
this$0.q6_1.z5([$mode, $isRemote ? 'remote' : 'local', 'runtime success', $request, rsp]);
this$0.q6_1.z5([$mode, $isRemote ? 'remote' : 'local', 'runtime success', rsp]);
this$0.y6_1.h1($requestId);

@@ -357,3 +359,3 @@ var tmp;

}
this$0.m7(toList(rsp.replay), $mode);
this$0.n7(toList(rsp.replay), $mode);
var tmp_1;

@@ -364,9 +366,9 @@ if ($mode.equals(Mode_SYNC_getInstance()) ? this$0.g7_1 : false) {

}
this$0.j7();
this$0.k7();
return Unit_instance;
};
}
function DispatcherImpl$processBatch$lambda_0(this$0, $mode, $isRemote, $request, $requestId, $batch) {
function DispatcherImpl$processBatch$lambda_0(this$0, $mode, $isRemote, $requestId, $batch) {
return function (err) {
this$0.q6_1.n7([$mode, $isRemote ? 'remote' : 'local', 'runtime error', err, $request]);
this$0.q6_1.o7([$mode, $isRemote ? 'remote' : 'local', 'runtime error', err]);
this$0.y6_1.h1($requestId);

@@ -381,3 +383,3 @@ var tmp;

cancelSpeculation(this$0);
this$0.j7();
this$0.k7();
return Unit_instance;

@@ -418,3 +420,3 @@ }

var events = copyToArray(this_2);
this$0.q6_1.z5(arrayConcat([['unretryable', err], events]));
this$0.q6_1.z5(arrayConcat([['unretryable events', err], events]));
tmp_2 = this$0.p6_1.errorHandler(err);

@@ -441,7 +443,7 @@ }

var tmp2_elvis_lhs = replayable.p1(true);
this$0.m7(tmp2_elvis_lhs == null ? emptyList() : tmp2_elvis_lhs, $mode);
this$0.n7(tmp2_elvis_lhs == null ? emptyList() : tmp2_elvis_lhs, $mode);
if ($mode.equals(Mode_SYNC_getInstance()) ? this$0.g7_1 : false) {
recalculateSpeculativeWork(this$0);
}
this$0.j7();
this$0.k7();
tmp_3 = Unit_instance;

@@ -454,4 +456,4 @@ }

return function () {
this$0.q6_1.z5(arrayConcat([['submitted'], $events]));
var deduped = this$0.s6_1.o7(toList($events));
this$0.q6_1.z5(arrayConcat([['submitted events'], $events]));
var deduped = this$0.s6_1.p7(toList($events));
var tmp0_iterator = deduped.j();

@@ -470,3 +472,3 @@ while (tmp0_iterator.k()) {

}
this$0.j7();
this$0.k7();
return Unit_instance;

@@ -527,15 +529,15 @@ };

}
protoOf(DispatcherImpl).p7 = function (_set____db54di) {
protoOf(DispatcherImpl).q7 = function (_set____db54di) {
this.l6_1 = _set____db54di;
};
protoOf(DispatcherImpl).q7 = function () {
protoOf(DispatcherImpl).r7 = function () {
return this.l6_1;
};
protoOf(DispatcherImpl).r7 = function () {
protoOf(DispatcherImpl).s7 = function () {
return this.u6_1;
};
protoOf(DispatcherImpl).s7 = function () {
protoOf(DispatcherImpl).t7 = function () {
return this.v6_1;
};
protoOf(DispatcherImpl).t7 = function () {
protoOf(DispatcherImpl).u7 = function () {
return this.w6_1;

@@ -550,6 +552,6 @@ };

};
protoOf(DispatcherImpl).j7 = function () {
this.q6_1.z5(['ticking', this.x6_1, this.v6_1.d5_1, this.u6_1.d5_1, this.w6_1.d5_1]);
protoOf(DispatcherImpl).k7 = function () {
this.q6_1.z5(['ticking', 'syncInFlight ' + this.x6_1, 'asyncQueue.size ' + this.v6_1.d5_1, 'syncQueue.size ' + this.u6_1.d5_1, 'speculativeQueue.size ' + this.w6_1.d5_1]);
if ((!_get_local__en0sai(this).isReady() ? !_get_remote__f6fj3v(this).isReady() : false) ? !(this.u6_1.r() ? this.v6_1.r() : false) : false) {
this.q6_1.n7(['ticking with events and no runtime, deferring...']);
this.q6_1.o7(['ticking with events and no runtime, deferring...']);
return Unit_instance;

@@ -569,10 +571,10 @@ }

}
this.j7();
this.k7();
}
};
protoOf(DispatcherImpl).m7 = function (events, fromMode) {
protoOf(DispatcherImpl).n7 = function (events, fromMode) {
if (events.r() ? true : fromMode.equals(Mode_SPEC_getInstance())) {
return Unit_instance;
}
this.q6_1.z5(['replaying events', events]);
this.q6_1.z5(['replaying ' + events.o() + ' events', events]);
// Inline function 'kotlin.collections.groupBy' call

@@ -639,25 +641,25 @@ // Inline function 'kotlin.collections.groupByTo' call

function EmptyOptions() {
this.u7_1 = new NoOpLogger();
this.v7_1 = new NoOpLogger();
var tmp = this;
tmp.v7_1 = EmptyOptions$errorHandler$lambda;
this.w7_1 = Disabled_instance;
tmp.w7_1 = EmptyOptions$errorHandler$lambda;
this.x7_1 = Disabled_instance;
}
protoOf(EmptyOptions).x7 = function (_set____db54di) {
this.u7_1 = _set____db54di;
};
protoOf(EmptyOptions).y7 = function () {
return this.u7_1;
};
protoOf(EmptyOptions).z7 = function (_set____db54di) {
protoOf(EmptyOptions).y7 = function (_set____db54di) {
this.v7_1 = _set____db54di;
};
protoOf(EmptyOptions).a8 = function () {
protoOf(EmptyOptions).z7 = function () {
return this.v7_1;
};
protoOf(EmptyOptions).b8 = function (_set____db54di) {
protoOf(EmptyOptions).a8 = function (_set____db54di) {
this.w7_1 = _set____db54di;
};
protoOf(EmptyOptions).c8 = function () {
protoOf(EmptyOptions).b8 = function () {
return this.w7_1;
};
protoOf(EmptyOptions).c8 = function (_set____db54di) {
this.x7_1 = _set____db54di;
};
protoOf(EmptyOptions).d8 = function () {
return this.x7_1;
};
function DispatcherSnapshot(state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot) {

@@ -671,18 +673,18 @@ this.state = state;

}
protoOf(DispatcherSnapshot).q7 = function () {
protoOf(DispatcherSnapshot).r7 = function () {
return this.state;
};
protoOf(DispatcherSnapshot).r7 = function () {
protoOf(DispatcherSnapshot).s7 = function () {
return this.syncQueue;
};
protoOf(DispatcherSnapshot).s7 = function () {
protoOf(DispatcherSnapshot).t7 = function () {
return this.asyncQueue;
};
protoOf(DispatcherSnapshot).d8 = function () {
protoOf(DispatcherSnapshot).e8 = function () {
return this.localSnapshot;
};
protoOf(DispatcherSnapshot).e8 = function () {
protoOf(DispatcherSnapshot).f8 = function () {
return this.remoteSnapshot;
};
protoOf(DispatcherSnapshot).f8 = function () {
protoOf(DispatcherSnapshot).g8 = function () {
return this.timerSnapshot;

@@ -699,12 +701,12 @@ };

};
protoOf(DispatcherSnapshot).g8 = function () {
protoOf(DispatcherSnapshot).h8 = function () {
return this.localSnapshot;
};
protoOf(DispatcherSnapshot).h8 = function () {
protoOf(DispatcherSnapshot).i8 = function () {
return this.remoteSnapshot;
};
protoOf(DispatcherSnapshot).i8 = function () {
protoOf(DispatcherSnapshot).j8 = function () {
return this.timerSnapshot;
};
protoOf(DispatcherSnapshot).j8 = function (state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot) {
protoOf(DispatcherSnapshot).k8 = function (state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot) {
return new DispatcherSnapshot(state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot);

@@ -719,3 +721,3 @@ };

timerSnapshot = timerSnapshot === VOID ? this.timerSnapshot : timerSnapshot;
return this.j8(state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot);
return this.k8(state, syncQueue, asyncQueue, localSnapshot, remoteSnapshot, timerSnapshot);
};

@@ -802,8 +804,8 @@ protoOf(DispatcherSnapshot).toString = function () {

function LocalEventsDeduper(isLocalRuntimeReady, logger) {
this.m8_1 = isLocalRuntimeReady;
this.n8_1 = logger;
this.n8_1 = isLocalRuntimeReady;
this.o8_1 = logger;
}
protoOf(LocalEventsDeduper).o7 = function (events) {
protoOf(LocalEventsDeduper).p7 = function (events) {
var tmp;
if (this.m8_1()) {
if (this.n8_1()) {
tmp = events;

@@ -831,3 +833,3 @@ } else {

var tmp$ret$5 = ['Dropping ' + results.v5_1.o() + ' local events', results.v5_1];
this.n8_1.z5([tmp$ret$5]);
this.o8_1.z5([tmp$ret$5]);
}

@@ -847,6 +849,6 @@ tmp = results.u5_1;

function Disabled() {
this.o8_1 = false;
this.p8_1 = false;
}
protoOf(Disabled).p8 = function () {
return this.o8_1;
protoOf(Disabled).q8 = function () {
return this.p8_1;
};

@@ -860,3 +862,3 @@ var Disabled_instance;

}
protoOf(NiceLogger).n7 = function (messages) {
protoOf(NiceLogger).j7 = function (messages) {
// Inline function 'kotlin.arrayOf' call

@@ -866,2 +868,9 @@ // Inline function 'kotlin.js.unsafeCast' call

var tmp$ret$2 = [this.y5_1.tag(), messages];
this.y5_1.error(tmp$ret$2);
};
protoOf(NiceLogger).o7 = function (messages) {
// Inline function 'kotlin.arrayOf' call
// Inline function 'kotlin.js.unsafeCast' call
// Inline function 'kotlin.js.asDynamic' call
var tmp$ret$2 = [this.y5_1.tag(), messages];
this.y5_1.warn(tmp$ret$2);

@@ -893,6 +902,6 @@ };

}
protoOf(TimerDefinition).q8 = function () {
protoOf(TimerDefinition).r8 = function () {
return this.id;
};
protoOf(TimerDefinition).r8 = function () {
protoOf(TimerDefinition).s8 = function () {
return this.duration;

@@ -906,3 +915,3 @@ };

};
protoOf(TimerDefinition).s8 = function (id, duration) {
protoOf(TimerDefinition).t8 = function (id, duration) {
return new TimerDefinition(id, duration);

@@ -913,3 +922,3 @@ };

duration = duration === VOID ? this.duration : duration;
return this.s8(id, duration);
return this.t8(id, duration);
};

@@ -940,15 +949,15 @@ protoOf(TimerDefinition).toString = function () {

DispatcherImpl.call(this, state, new JsRequestBuilderAdapter(requestBuilder), new JsonStateOperations(), method, options);
this.q9_1 = method;
this.r9_1 = options;
this.r9_1 = method;
this.s9_1 = options;
}
function JsRequestBuilderAdapter(jsRequestBuilder) {
this.s9_1 = jsRequestBuilder;
this.t9_1 = jsRequestBuilder;
}
protoOf(JsRequestBuilderAdapter).t9 = function (state, events) {
protoOf(JsRequestBuilderAdapter).u9 = function (state, events) {
// Inline function 'kotlin.collections.toTypedArray' call
var tmp$ret$0 = copyToArray(events);
return this.s9_1.build(state, tmp$ret$0);
return this.t9_1.build(state, tmp$ret$0);
};
protoOf(JsRequestBuilderAdapter).i7 = function (state, events) {
return this.t9((!(state == null) ? !(state == null) : false) ? state : THROW_CCE(), events);
return this.u9((!(state == null) ? !(state == null) : false) ? state : THROW_CCE(), events);
};

@@ -1001,20 +1010,20 @@ function entriesOf(jsObject) {

defineProp(protoOf(DispatcherImpl), 'state', function () {
return this.q7();
return this.r7();
}, function (value) {
this.p7(value);
this.q7(value);
});
defineProp(protoOf(EmptyOptions), 'logger', function () {
return this.y7();
return this.z7();
}, function (value) {
this.x7(value);
this.y7(value);
});
defineProp(protoOf(EmptyOptions), 'errorHandler', function () {
return this.a8();
return this.b8();
}, function (value) {
this.z7(value);
this.a8(value);
});
defineProp(protoOf(EmptyOptions), 'featureFlags', function () {
return this.c8();
return this.d8();
}, function (value) {
this.b8(value);
this.c8(value);
});

@@ -1024,8 +1033,8 @@ defineProp(protoOf(EventScope), 'name', protoOf(EventScope).e4);

defineProp(protoOf(Disabled), 'isSpeculativeExecutionEnabled', function () {
return this.p8();
return this.q8();
});
defineProp(protoOf(JsDispatcherImpl), 'state', function () {
return this.q7();
return this.r7();
}, function (value) {
this.p7(value);
this.q7(value);
});

@@ -1032,0 +1041,0 @@ //endregion

{
"name": "@devvit/multiplatform",
"version": "0.0.1-20240717-e7a9986d",
"version": "0.0.1-20240726-a8e8afbe",
"main": "kotlin/ui-shared-shared.mjs",

@@ -5,0 +5,0 @@ "devDependencies": {

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc