mol_view_tree2_lib 1.0.301 → 1.0.302

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.mjs CHANGED
@@ -4406,6 +4406,34 @@ var $;
4406
4406
  $.$mol_storage = $mol_storage;
4407
4407
  })($ || ($ = {}));
4408
4408
 
4409
+ ;
4410
+ "use strict";
4411
+ var $;
4412
+ (function ($) {
4413
+ /**
4414
+ * Disable reaping of current subscriber
4415
+ */
4416
+ function $mol_wire_solid() {
4417
+ let current = $mol_wire_auto();
4418
+ if (current.temp)
4419
+ current = current.host;
4420
+ if (current.reap !== nothing) {
4421
+ current?.sub_on(sub, sub.data.length);
4422
+ }
4423
+ current.reap = nothing;
4424
+ }
4425
+ $.$mol_wire_solid = $mol_wire_solid;
4426
+ const nothing = () => { };
4427
+ const sub = new $mol_wire_pub_sub;
4428
+ })($ || ($ = {}));
4429
+
4430
+ ;
4431
+ "use strict";
4432
+ var $;
4433
+ (function ($) {
4434
+ $.$mol_mem_persist = $mol_wire_solid;
4435
+ })($ || ($ = {}));
4436
+
4409
4437
  ;
4410
4438
  "use strict";
4411
4439
  var $;
@@ -4443,6 +4471,7 @@ var $;
4443
4471
  return true;
4444
4472
  }
4445
4473
  static stats() {
4474
+ $mol_mem_persist();
4446
4475
  $mol_state_time.now(1000);
4447
4476
  return $node.fs.statfsSync('.');
4448
4477
  }
@@ -4787,27 +4816,6 @@ var $;
4787
4816
  $.$mol_file_transaction = $mol_file_transaction;
4788
4817
  })($ || ($ = {}));
4789
4818
 
4790
- ;
4791
- "use strict";
4792
- var $;
4793
- (function ($) {
4794
- /**
4795
- * Disable reaping of current subscriber
4796
- */
4797
- function $mol_wire_solid() {
4798
- let current = $mol_wire_auto();
4799
- if (current.temp)
4800
- current = current.host;
4801
- if (current.reap !== nothing) {
4802
- current?.sub_on(sub, sub.data.length);
4803
- }
4804
- current.reap = nothing;
4805
- }
4806
- $.$mol_wire_solid = $mol_wire_solid;
4807
- const nothing = () => { };
4808
- const sub = new $mol_wire_pub_sub;
4809
- })($ || ($ = {}));
4810
-
4811
4819
  ;
4812
4820
  "use strict";
4813
4821
  var $;
package/node.test.js CHANGED
@@ -4397,6 +4397,34 @@ var $;
4397
4397
  $.$mol_storage = $mol_storage;
4398
4398
  })($ || ($ = {}));
4399
4399
 
4400
+ ;
4401
+ "use strict";
4402
+ var $;
4403
+ (function ($) {
4404
+ /**
4405
+ * Disable reaping of current subscriber
4406
+ */
4407
+ function $mol_wire_solid() {
4408
+ let current = $mol_wire_auto();
4409
+ if (current.temp)
4410
+ current = current.host;
4411
+ if (current.reap !== nothing) {
4412
+ current?.sub_on(sub, sub.data.length);
4413
+ }
4414
+ current.reap = nothing;
4415
+ }
4416
+ $.$mol_wire_solid = $mol_wire_solid;
4417
+ const nothing = () => { };
4418
+ const sub = new $mol_wire_pub_sub;
4419
+ })($ || ($ = {}));
4420
+
4421
+ ;
4422
+ "use strict";
4423
+ var $;
4424
+ (function ($) {
4425
+ $.$mol_mem_persist = $mol_wire_solid;
4426
+ })($ || ($ = {}));
4427
+
4400
4428
  ;
4401
4429
  "use strict";
4402
4430
  var $;
@@ -4434,6 +4462,7 @@ var $;
4434
4462
  return true;
4435
4463
  }
4436
4464
  static stats() {
4465
+ $mol_mem_persist();
4437
4466
  $mol_state_time.now(1000);
4438
4467
  return $node.fs.statfsSync('.');
4439
4468
  }
@@ -4778,27 +4807,6 @@ var $;
4778
4807
  $.$mol_file_transaction = $mol_file_transaction;
4779
4808
  })($ || ($ = {}));
4780
4809
 
4781
- ;
4782
- "use strict";
4783
- var $;
4784
- (function ($) {
4785
- /**
4786
- * Disable reaping of current subscriber
4787
- */
4788
- function $mol_wire_solid() {
4789
- let current = $mol_wire_auto();
4790
- if (current.temp)
4791
- current = current.host;
4792
- if (current.reap !== nothing) {
4793
- current?.sub_on(sub, sub.data.length);
4794
- }
4795
- current.reap = nothing;
4796
- }
4797
- $.$mol_wire_solid = $mol_wire_solid;
4798
- const nothing = () => { };
4799
- const sub = new $mol_wire_pub_sub;
4800
- })($ || ($ = {}));
4801
-
4802
4810
  ;
4803
4811
  "use strict";
4804
4812
  var $;
@@ -11899,6 +11907,18 @@ Clear
11899
11907
  })($$ = $_1.$$ || ($_1.$$ = {}));
11900
11908
  })($ || ($ = {}));
11901
11909
 
11910
+ ;
11911
+ "use strict";
11912
+ var $;
11913
+ (function ($) {
11914
+ $mol_test({
11915
+ async 'storage level'() {
11916
+ // prevent async in tests
11917
+ await $mol_wire_async($mol_storage).level();
11918
+ }
11919
+ });
11920
+ })($ || ($ = {}));
11921
+
11902
11922
  ;
11903
11923
  "use strict";
11904
11924
  var $;