datahike 0.8.1839 → 0.8.1842

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.
Files changed (145) hide show
  1. package/boring.core.js +2 -2
  2. package/boring.data.js +7 -7
  3. package/boring.options.js +16 -16
  4. package/boring.reader.js +4 -4
  5. package/boring.writer.js +2 -2
  6. package/browser/datahike.js +4189 -4152
  7. package/cljs.cache.js +10 -10
  8. package/cljs.cache.wrapped.js +7 -7
  9. package/cljs.core.async.impl.channels.js +9 -9
  10. package/cljs.core.async.impl.dispatch.js +3 -3
  11. package/cljs.core.async.impl.ioc_helpers.js +2 -1
  12. package/cljs.core.async.impl.timers.js +6 -6
  13. package/cljs.core.async.js +16 -15
  14. package/cljs.core.js +563 -563
  15. package/cljs.nodejs.js +1 -1
  16. package/cljs.reader.js +10 -10
  17. package/cljs.spec.alpha.js +71 -71
  18. package/cljs.tools.reader.edn.js +26 -26
  19. package/cljs.tools.reader.impl.commons.js +7 -7
  20. package/cljs.tools.reader.impl.errors.js +10 -10
  21. package/cljs.tools.reader.impl.inspect.js +4 -4
  22. package/cljs.tools.reader.impl.utils.js +3 -3
  23. package/cljs.tools.reader.js +2 -2
  24. package/cljs.tools.reader.reader_types.js +1 -1
  25. package/cljs_env.js +15 -15
  26. package/cljs_node_io.core.js +11 -11
  27. package/cljs_node_io.file.js +27 -27
  28. package/cljs_node_io.fs.js +1 -1
  29. package/clojure.data.js +14 -14
  30. package/clojure.set.js +1 -1
  31. package/clojure.string.js +11 -11
  32. package/clojure.walk.js +28 -28
  33. package/datahike.api.impl.js +34 -34
  34. package/datahike.api.js +14 -14
  35. package/datahike.api.specification.js +90 -90
  36. package/datahike.api.types.js +17 -17
  37. package/datahike.array.js +9 -9
  38. package/datahike.attr_preds.js +1 -1
  39. package/datahike.bitemporal.predicate.js +1 -1
  40. package/datahike.config.js +49 -49
  41. package/datahike.connections.js +4 -5
  42. package/datahike.connector.js +78 -78
  43. package/datahike.constants.js +21 -21
  44. package/datahike.core.js +1 -1
  45. package/datahike.datom.js +21 -21
  46. package/datahike.db.interface.js +11 -11
  47. package/datahike.db.js +92 -92
  48. package/datahike.db.search.js +49 -49
  49. package/datahike.db.transaction.js +11 -11
  50. package/datahike.db.utils.js +48 -48
  51. package/datahike.gc.js +11 -11
  52. package/datahike.gc_guard.js +1 -1
  53. package/datahike.gc_roots.js +2 -2
  54. package/datahike.impl.entity.js +16 -16
  55. package/datahike.index.interface.js +12 -12
  56. package/datahike.index.js +1 -1
  57. package/datahike.index.persistent_set.js +171 -171
  58. package/datahike.index.persistent_set.warm.js +1 -1
  59. package/datahike.index.secondary.js +2 -2
  60. package/datahike.js.api.js +239 -239
  61. package/datahike.lru.js +8 -8
  62. package/datahike.metrics.js +7 -0
  63. package/datahike.migrate.ids.js +1 -1
  64. package/datahike.online_gc.js +2 -2
  65. package/datahike.optimistic.js +12 -12
  66. package/datahike.pull_api.js +7 -7
  67. package/datahike.query.analyze.js +4 -4
  68. package/datahike.query.estimate.js +2 -2
  69. package/datahike.query.execute.js +7 -7
  70. package/datahike.query.ir.js +5 -5
  71. package/datahike.query.js +1380 -1380
  72. package/datahike.query.logical.js +2 -2
  73. package/datahike.query.lower.js +2 -2
  74. package/datahike.query.plan.js +11 -11
  75. package/datahike.query.relation.js +1 -1
  76. package/datahike.query_stats.js +1 -1
  77. package/datahike.readers.js +11 -11
  78. package/datahike.schema.js +48 -48
  79. package/datahike.schema_cache.js +3 -3
  80. package/datahike.store.js +60 -60
  81. package/datahike.tools.js +5 -5
  82. package/datahike.tx_preds.js +1 -1
  83. package/datahike.versioning.js +3 -3
  84. package/datahike.writer.js +770 -747
  85. package/datahike.writing.js +50 -50
  86. package/datalog.parser.impl.js +4 -4
  87. package/datalog.parser.impl.proto.js +1 -1
  88. package/datalog.parser.impl.util.js +1 -1
  89. package/datalog.parser.js +1 -1
  90. package/datalog.parser.pull.js +3 -3
  91. package/datalog.parser.type.js +32 -32
  92. package/environ.core.js +6 -6
  93. package/fress.api.js +1 -1
  94. package/fress.impl.adler32.js +4 -4
  95. package/fress.impl.bigdec.js +2 -2
  96. package/fress.impl.buffer.js +4 -4
  97. package/fress.impl.raw_input.js +1 -1
  98. package/fress.impl.raw_output.js +4 -4
  99. package/fress.impl.table.js +1 -1
  100. package/fress.reader.js +15 -15
  101. package/fress.util.js +11 -11
  102. package/fress.writer.js +24 -24
  103. package/geheimnis.aes.js +1 -1
  104. package/hasch.benc.js +3 -3
  105. package/hasch.core.js +11 -11
  106. package/hasch.platform.js +18 -18
  107. package/is.simm.partial_cps.sequence.js +5 -5
  108. package/konserve.compressor.js +16 -16
  109. package/konserve.core.js +56 -46
  110. package/konserve.encryptor.js +11 -11
  111. package/konserve.gc.js +1 -1
  112. package/konserve.impl.defaults.js +17 -16
  113. package/konserve.impl.storage_layout.js +3 -3
  114. package/konserve.memory.js +1 -1
  115. package/konserve.metrics.js +7 -0
  116. package/konserve.node_filestore.js +619 -603
  117. package/konserve.protocols.js +5 -5
  118. package/konserve.serializers.js +20 -20
  119. package/konserve.store.js +93 -93
  120. package/konserve.tiered.js +10 -10
  121. package/konserve.utils.js +6 -4
  122. package/malli.core.js +293 -293
  123. package/malli.error.js +33 -33
  124. package/malli.impl.regex.js +1 -1
  125. package/malli.impl.util.js +1 -1
  126. package/malli.registry.js +1 -1
  127. package/malli.sci.js +1 -1
  128. package/malli.util.js +1 -1
  129. package/org.replikativ.persistent_sorted_set.branch.js +3 -3
  130. package/org.replikativ.persistent_sorted_set.btset.js +367 -368
  131. package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
  132. package/org.replikativ.persistent_sorted_set.impl.boundary.js +1 -1
  133. package/org.replikativ.persistent_sorted_set.impl.nodes.js +2 -2
  134. package/org.replikativ.persistent_sorted_set.js +1 -1
  135. package/org.replikativ.persistent_sorted_set.leaf.js +1 -1
  136. package/org.replikativ.persistent_sorted_set.util.js +1 -1
  137. package/org.replikativ.persistent_sorted_set.warm.js +1 -1
  138. package/package.json +1 -1
  139. package/replikativ.logging.js +1 -1
  140. package/replikativ.metrics.js +2 -0
  141. package/s3/datahike.js +4768 -4717
  142. package/superv.async.js +25 -25
  143. package/tailrecursion.priority_map.js +17 -17
  144. package/taoensso.trove.console.js +4 -4
  145. package/taoensso.trove.js +1 -1
package/konserve.utils.js CHANGED
@@ -1,5 +1,7 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./clojure.walk.js");require("./konserve.protocols.js");
2
- 'use strict';var gna;$CLJS.ena=function(a){return $CLJS.fj.h($CLJS.Zg,$CLJS.Qh.h(function(b){var c=$CLJS.B(b,0,null);b=$CLJS.B(b,1,null);return new $CLJS.N(null,2,5,$CLJS.O,[b,c],null)},a))};gna=function(){return $CLJS.ll.h(fna,function(a){return $CLJS.vo.h(a,$CLJS.hg((new Date).getTime()))})};$CLJS.uD=function(){return new Date(gna())};
3
- $CLJS.xD=function(a,b,c){var d=""+$CLJS.S.g(hna)+"-"+$CLJS.S.g($CLJS.ll.h(ina,$CLJS.we));return $CLJS.vf(c)?new $CLJS.Q(null,4,[$CLJS.Cm,a,$CLJS.im,b,$CLJS.vD,$CLJS.uD(),$CLJS.wD,d],null):$CLJS.ck.i($CLJS.ck.i(c,$CLJS.vD,$CLJS.uD()),$CLJS.wD,d)};
4
- $CLJS.yD=function(a,b){a=$CLJS.fD(a);if($CLJS.u(a))if(a=$CLJS.Rc(a),$CLJS.u(a))if($CLJS.y(a)){a=$CLJS.y(a);for(var c=null,d=0,e=0;;)if(e<d){var f=c.da(null,e),g=$CLJS.B(f,0,null);f=$CLJS.B(f,1,null);try{f.g?f.g(b):f.call(null,b)}catch(h){if(h instanceof Error)console.warn("Write hook error:",g,$CLJS.Ro.l($CLJS.bf([h])));else throw h;}e+=1}else if(a=$CLJS.y(a)){if($CLJS.Ff(a))c=$CLJS.Bd(a),a=$CLJS.Cd(a),g=c,d=$CLJS.Re(c),c=g;else{c=$CLJS.z(a);g=$CLJS.B(c,0,null);f=$CLJS.B(c,1,null);try{f.g?f.g(b):
5
- f.call(null,b)}catch(h){if(h instanceof Error)console.warn("Write hook error:",g,$CLJS.Ro.l($CLJS.bf([h])));else throw h;}a=$CLJS.oe(a);c=null;d=0}e=0}else return null}else return null;else return null;else return null};$CLJS.wD=new $CLJS.F(null,"revision","revision",-1350113114);$CLJS.zD=new $CLJS.F(null,"serializer","serializer",-875689688);$CLJS.vD=new $CLJS.F(null,"last-write","last-write",447600431);$CLJS.AD=new $CLJS.ae(null,"\x3c?-","\x3c?-",209151002,null);var fna=$CLJS.Bh(0),hna=""+$CLJS.S.g($CLJS.wl()),ina=$CLJS.Bh(0);
2
+ 'use strict';var pna,sna,tna,una,vna,wna,yna,zna,Ana,Bna;$CLJS.nna=function(a){return $CLJS.cj.h($CLJS.Yg,$CLJS.Qh.h(function(b){var c=$CLJS.B(b,0,null);b=$CLJS.B(b,1,null);return new $CLJS.N(null,2,5,$CLJS.O,[b,c],null)},a))};pna=function(){return $CLJS.fl.h(ona,function(a){return $CLJS.ro.h(a,$CLJS.ig((new Date).getTime()))})};$CLJS.FD=function(){return new Date(pna())};
3
+ $CLJS.ID=function(a,b,c){var d=""+$CLJS.T.g(qna)+"-"+$CLJS.T.g($CLJS.fl.h(rna,$CLJS.we));return $CLJS.yf(c)?new $CLJS.Q(null,4,[$CLJS.Bm,a,$CLJS.km,b,$CLJS.GD,$CLJS.FD(),$CLJS.HD,d],null):$CLJS.Xj.i($CLJS.Xj.i(c,$CLJS.GD,$CLJS.FD()),$CLJS.HD,d)};
4
+ $CLJS.JD=function(a,b){a=$CLJS.SA(a);if($CLJS.t(a))if(a=$CLJS.Qc(a),$CLJS.t(a))if($CLJS.y(a)){a=$CLJS.y(a);for(var c=null,d=0,e=0;;)if(e<d){var f=c.ca(null,e),g=$CLJS.B(f,0,null);f=$CLJS.B(f,1,null);try{f.g?f.g(b):f.call(null,b)}catch(h){if(h instanceof Error)console.warn("Write hook error:",g,$CLJS.Xo.l($CLJS.cf([h])));else throw h;}e+=1}else if(a=$CLJS.y(a)){if($CLJS.Gf(a))c=$CLJS.zd(a),a=$CLJS.Ad(a),g=c,d=$CLJS.Se(c),c=g;else{c=$CLJS.z(a);g=$CLJS.B(c,0,null);f=$CLJS.B(c,1,null);try{f.g?f.g(b):
5
+ f.call(null,b)}catch(h){if(h instanceof Error)console.warn("Write hook error:",g,$CLJS.Xo.l($CLJS.cf([h])));else throw h;}a=$CLJS.pe(a);c=null;d=0}e=0}else return null}else return null;else return null;else return null};sna=new $CLJS.ae(null,"locked","locked",-18232293,null);tna=new $CLJS.ae(null,"maybe-locked","maybe-locked",2124511125,null);una=new $CLJS.ae("konserve.metrics","measured","konserve.metrics/measured",-972914499,null);vna=new $CLJS.ae(null,"go-locked","go-locked",318391579,null);
6
+ $CLJS.HD=new $CLJS.H(null,"revision","revision",-1350113114);wna=new $CLJS.ae(null,"go-try-","go-try-",480981026,null);$CLJS.xna=new $CLJS.ae(null,"reduce","reduce",1358839360,null);$CLJS.KD=new $CLJS.H(null,"serializer","serializer",-875689688);yna=new $CLJS.ae(null,"maybe-go-locked","maybe-go-locked",-633521351,null);zna=new $CLJS.ae(null,"reduce\x3c?-","reduce\x3c?-",-1212777367,null);$CLJS.GD=new $CLJS.H(null,"last-write","last-write",447600431);
7
+ $CLJS.LD=new $CLJS.ae(null,"\x3c?-","\x3c?-",209151002,null);Ana=new $CLJS.ae("konserve.metrics","measured-go","konserve.metrics/measured-go",-1712819506,null);Bna=new $CLJS.ae(null,"\x3c!-","\x3c!-",-1906786470,null);var ona=$CLJS.zh(0),qna=""+$CLJS.T.g($CLJS.wl()),rna=$CLJS.zh(0);$CLJS.Pj([wna,zna,$CLJS.Cn,Ana,yna,$CLJS.LD,Bna,vna,$CLJS.lca],[$CLJS.go,$CLJS.xna,$CLJS.zm,una,tna,$CLJS.zm,$CLJS.zm,sna,$CLJS.go]);