hyoo_sync_client 0.0.453 → 0.0.454
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.
- package/node.d.ts +25 -37
- package/node.d.ts.map +1 -1
- package/node.deps.json +1 -1
- package/node.js +22 -37
- package/node.js.map +1 -1
- package/node.meta.tree +5 -4
- package/node.mjs +22 -37
- package/node.test.js +23 -47
- package/node.test.js.map +1 -1
- package/package.json +2 -3
- package/web.d.ts +26 -36
- package/web.d.ts.map +1 -1
- package/web.deps.json +1 -1
- package/web.js +17 -34
- package/web.js.map +1 -1
- package/web.meta.tree +5 -4
- package/web.mjs +17 -34
- package/web.test.js +1 -10
- package/web.test.js.map +1 -1
package/web.meta.tree
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
\/
|
|
2
|
+
pack bun git \https://github.com/spleekz/mam_bun.git
|
|
2
3
|
pack hyoo git \https://github.com/hyoo-ru/mam_hyoo.git
|
|
3
4
|
pack jin git \https://github.com/nin-jin/mam_jin.git
|
|
4
|
-
pack node git \https://github.com/hyoo-ru/mam_node.git
|
|
5
|
-
pack mol git \https://github.com/hyoo-ru/mam_mol.git
|
|
6
5
|
pack lib git \https://github.com/hyoo-ru/mam_lib.git
|
|
6
|
+
pack mol git \https://github.com/hyoo-ru/mam_mol.git
|
|
7
|
+
pack mpds git \https://github.com/mpds-io/mam_mpds.git
|
|
8
|
+
pack node git \https://github.com/hyoo-ru/mam_node.git
|
|
9
|
+
pack optimade git \https://github.com/mpds-io/mam_optimade.git
|
|
7
10
|
pack piterjs git \https://github.com/piterjs/piterjs.git
|
|
8
11
|
pack psb git \https://github.com/MolDevHack/psb.git
|
|
9
|
-
pack mpds git \https://github.com/mpds-io/mam_mpds
|
|
10
|
-
pack bun git \https://github.com/spleekz/mam_bun
|
|
11
12
|
pack yuf git \https://github.com/zerkalica/yuf.git
|
|
12
13
|
\/hyoo
|
|
13
14
|
pack about git \https://github.com/hyoo-ru/about.hyoo.ru.git
|
package/web.mjs
CHANGED
|
@@ -1213,24 +1213,21 @@ var $;
|
|
|
1213
1213
|
"use strict";
|
|
1214
1214
|
var $;
|
|
1215
1215
|
(function ($) {
|
|
1216
|
-
class $
|
|
1216
|
+
class $mol_after_timeout extends $mol_object2 {
|
|
1217
|
+
delay;
|
|
1217
1218
|
task;
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
constructor(task) {
|
|
1219
|
+
id;
|
|
1220
|
+
constructor(delay, task) {
|
|
1221
1221
|
super();
|
|
1222
|
+
this.delay = delay;
|
|
1222
1223
|
this.task = task;
|
|
1223
|
-
this.
|
|
1224
|
-
if (this.cancelled)
|
|
1225
|
-
return;
|
|
1226
|
-
task();
|
|
1227
|
-
});
|
|
1224
|
+
this.id = setTimeout(task, delay);
|
|
1228
1225
|
}
|
|
1229
1226
|
destructor() {
|
|
1230
|
-
this.
|
|
1227
|
+
clearTimeout(this.id);
|
|
1231
1228
|
}
|
|
1232
1229
|
}
|
|
1233
|
-
$.$
|
|
1230
|
+
$.$mol_after_timeout = $mol_after_timeout;
|
|
1234
1231
|
})($ || ($ = {}));
|
|
1235
1232
|
|
|
1236
1233
|
;
|
|
@@ -1238,7 +1235,12 @@ var $;
|
|
|
1238
1235
|
var $;
|
|
1239
1236
|
(function ($) {
|
|
1240
1237
|
function $mol_promise_like(val) {
|
|
1241
|
-
|
|
1238
|
+
try {
|
|
1239
|
+
return val && typeof val === 'object' && 'then' in val && typeof val.then === 'function';
|
|
1240
|
+
}
|
|
1241
|
+
catch {
|
|
1242
|
+
return false;
|
|
1243
|
+
}
|
|
1242
1244
|
}
|
|
1243
1245
|
$.$mol_promise_like = $mol_promise_like;
|
|
1244
1246
|
})($ || ($ = {}));
|
|
@@ -1258,7 +1260,7 @@ var $;
|
|
|
1258
1260
|
static plan() {
|
|
1259
1261
|
if (this.plan_task)
|
|
1260
1262
|
return;
|
|
1261
|
-
this.plan_task = new $
|
|
1263
|
+
this.plan_task = new $mol_after_timeout(0, () => {
|
|
1262
1264
|
try {
|
|
1263
1265
|
this.sync();
|
|
1264
1266
|
}
|
|
@@ -1318,6 +1320,7 @@ var $;
|
|
|
1318
1320
|
plan() {
|
|
1319
1321
|
$mol_wire_fiber.planning.add(this);
|
|
1320
1322
|
$mol_wire_fiber.plan();
|
|
1323
|
+
return this;
|
|
1321
1324
|
}
|
|
1322
1325
|
reap() {
|
|
1323
1326
|
$mol_wire_fiber.reaping.add(this);
|
|
@@ -1417,6 +1420,7 @@ var $;
|
|
|
1417
1420
|
}
|
|
1418
1421
|
this.track_off(bu);
|
|
1419
1422
|
this.put(result);
|
|
1423
|
+
return this;
|
|
1420
1424
|
}
|
|
1421
1425
|
refresh() {
|
|
1422
1426
|
this.cursor = $mol_wire_cursor.stale;
|
|
@@ -3547,27 +3551,6 @@ var $;
|
|
|
3547
3551
|
$.$mol_promise = $mol_promise;
|
|
3548
3552
|
})($ || ($ = {}));
|
|
3549
3553
|
|
|
3550
|
-
;
|
|
3551
|
-
"use strict";
|
|
3552
|
-
var $;
|
|
3553
|
-
(function ($) {
|
|
3554
|
-
class $mol_after_timeout extends $mol_object2 {
|
|
3555
|
-
delay;
|
|
3556
|
-
task;
|
|
3557
|
-
id;
|
|
3558
|
-
constructor(delay, task) {
|
|
3559
|
-
super();
|
|
3560
|
-
this.delay = delay;
|
|
3561
|
-
this.task = task;
|
|
3562
|
-
this.id = setTimeout(task, delay);
|
|
3563
|
-
}
|
|
3564
|
-
destructor() {
|
|
3565
|
-
clearTimeout(this.id);
|
|
3566
|
-
}
|
|
3567
|
-
}
|
|
3568
|
-
$.$mol_after_timeout = $mol_after_timeout;
|
|
3569
|
-
})($ || ($ = {}));
|
|
3570
|
-
|
|
3571
3554
|
;
|
|
3572
3555
|
"use strict";
|
|
3573
3556
|
var $;
|
package/web.test.js
CHANGED
|
@@ -1230,7 +1230,7 @@ var $;
|
|
|
1230
1230
|
var $;
|
|
1231
1231
|
(function ($_1) {
|
|
1232
1232
|
$mol_test_mocks.push($ => {
|
|
1233
|
-
$.$
|
|
1233
|
+
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1234
1234
|
});
|
|
1235
1235
|
})($ || ($ = {}));
|
|
1236
1236
|
|
|
@@ -1319,15 +1319,6 @@ var $;
|
|
|
1319
1319
|
;
|
|
1320
1320
|
"use strict";
|
|
1321
1321
|
|
|
1322
|
-
;
|
|
1323
|
-
"use strict";
|
|
1324
|
-
var $;
|
|
1325
|
-
(function ($_1) {
|
|
1326
|
-
$mol_test_mocks.push($ => {
|
|
1327
|
-
$.$mol_after_timeout = $mol_after_mock_timeout;
|
|
1328
|
-
});
|
|
1329
|
-
})($ || ($ = {}));
|
|
1330
|
-
|
|
1331
1322
|
;
|
|
1332
1323
|
"use strict";
|
|
1333
1324
|
var $;
|