datahike 0.8.1931 → 0.8.1932

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 (125) hide show
  1. package/boring.core.js +2 -2
  2. package/boring.data.js +6 -6
  3. package/boring.options.js +18 -18
  4. package/boring.reader.js +4 -4
  5. package/boring.writer.js +2 -2
  6. package/browser/datahike.js +2690 -2689
  7. package/cljs.cache.js +8 -8
  8. package/cljs.cache.wrapped.js +7 -7
  9. package/cljs.core.async.impl.channels.js +8 -8
  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 +2 -2
  13. package/cljs.core.async.js +15 -14
  14. package/cljs.core.js +358 -358
  15. package/cljs.reader.js +11 -11
  16. package/cljs.spec.alpha.js +74 -74
  17. package/cljs.tools.reader.edn.js +26 -26
  18. package/cljs.tools.reader.impl.commons.js +7 -7
  19. package/cljs.tools.reader.impl.errors.js +10 -10
  20. package/cljs.tools.reader.impl.inspect.js +4 -4
  21. package/cljs.tools.reader.impl.utils.js +2 -2
  22. package/cljs.tools.reader.js +2 -2
  23. package/cljs.tools.reader.reader_types.js +1 -1
  24. package/cljs_env.js +9 -9
  25. package/cljs_node_io.core.js +11 -11
  26. package/cljs_node_io.file.js +20 -20
  27. package/cljs_node_io.fs.js +1 -1
  28. package/clojure.data.js +14 -14
  29. package/clojure.set.js +1 -1
  30. package/clojure.string.js +13 -13
  31. package/clojure.walk.js +3 -3
  32. package/datahike.api.impl.js +36 -36
  33. package/datahike.api.js +5 -5
  34. package/datahike.array.js +8 -8
  35. package/datahike.bitemporal.predicate.js +1 -1
  36. package/datahike.config.js +49 -49
  37. package/datahike.connections.js +4 -4
  38. package/datahike.connector.js +84 -84
  39. package/datahike.constants.js +20 -21
  40. package/datahike.core.js +1 -1
  41. package/datahike.datom.js +12 -12
  42. package/datahike.db.interface.js +11 -11
  43. package/datahike.db.js +85 -85
  44. package/datahike.db.search.js +49 -49
  45. package/datahike.db.utils.js +47 -47
  46. package/datahike.dependency_tracking.js +2 -2
  47. package/datahike.env.js +4 -4
  48. package/datahike.gc.js +14 -14
  49. package/datahike.gc_roots.js +2 -2
  50. package/datahike.impl.entity.js +13 -13
  51. package/datahike.index.interface.js +13 -13
  52. package/datahike.index.js +1 -1
  53. package/datahike.index.persistent_set.js +164 -164
  54. package/datahike.index.secondary.js +5 -5
  55. package/datahike.js.api.js +254 -254
  56. package/datahike.js.convert.js +1 -1
  57. package/datahike.lru.js +7 -7
  58. package/datahike.metrics.js +8 -8
  59. package/datahike.online_gc.js +2 -2
  60. package/datahike.optimistic.js +12 -12
  61. package/datahike.pull_api.js +4 -4
  62. package/datahike.query.analyze.js +3 -3
  63. package/datahike.query.estimate.js +1 -1
  64. package/datahike.query.ir.js +1 -1
  65. package/datahike.query.js +1167 -1164
  66. package/datahike.query.plan.js +1 -1
  67. package/datahike.query.resolve.js +2 -2
  68. package/datahike.readers.js +10 -10
  69. package/datahike.remote.js +1 -1
  70. package/datahike.schema.js +48 -48
  71. package/datahike.schema_cache.js +1 -1
  72. package/datahike.store.js +62 -62
  73. package/datahike.tools.js +4 -4
  74. package/datahike.tx_preds.js +1 -1
  75. package/datahike.versioning.js +3 -3
  76. package/datahike.writer.js +874 -874
  77. package/datahike.writing.js +54 -54
  78. package/datalog.parser.impl.js +2 -2
  79. package/datalog.parser.impl.proto.js +1 -1
  80. package/datalog.parser.pull.js +2 -2
  81. package/datalog.parser.type.js +19 -19
  82. package/fress.impl.adler32.js +3 -3
  83. package/fress.impl.bigdec.js +2 -2
  84. package/fress.impl.buffer.js +4 -4
  85. package/fress.impl.raw_input.js +1 -1
  86. package/fress.impl.raw_output.js +3 -3
  87. package/fress.impl.table.js +1 -1
  88. package/fress.reader.js +14 -14
  89. package/fress.util.js +10 -10
  90. package/fress.writer.js +23 -23
  91. package/geheimnis.aes.js +1 -1
  92. package/hasch.benc.js +3 -3
  93. package/hasch.core.js +6 -6
  94. package/hasch.platform.js +16 -16
  95. package/is.simm.partial_cps.runtime.js +1 -1
  96. package/is.simm.partial_cps.sequence.js +6 -6
  97. package/kabel/datahike.js +3273 -3274
  98. package/konserve.compressor.js +16 -16
  99. package/konserve.core.js +46 -46
  100. package/konserve.encryptor.js +18 -18
  101. package/konserve.gc.js +1 -1
  102. package/konserve.gc_guard.js +1 -1
  103. package/konserve.impl.defaults.js +16 -16
  104. package/konserve.impl.storage_layout.js +3 -3
  105. package/konserve.memory.js +1 -1
  106. package/konserve.metrics.js +6 -6
  107. package/konserve.node_filestore.js +616 -616
  108. package/konserve.protocols.js +7 -7
  109. package/konserve.serializers.js +16 -16
  110. package/konserve.store.js +87 -87
  111. package/konserve.tiered.js +10 -10
  112. package/konserve.utils.js +6 -6
  113. package/org.replikativ.persistent_sorted_set.branch.js +3 -3
  114. package/org.replikativ.persistent_sorted_set.btset.js +375 -375
  115. package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
  116. package/org.replikativ.persistent_sorted_set.impl.boundary.js +1 -1
  117. package/org.replikativ.persistent_sorted_set.js +1 -1
  118. package/org.replikativ.persistent_sorted_set.leaf.js +1 -1
  119. package/org.replikativ.persistent_sorted_set.util.js +1 -1
  120. package/package.json +1 -1
  121. package/replikativ.logging.js +1 -1
  122. package/s3/datahike.js +2179 -2179
  123. package/superv.async.js +25 -25
  124. package/tailrecursion.priority_map.js +15 -15
  125. package/taoensso.trove.console.js +2 -2
package/datahike.tools.js CHANGED
@@ -1,7 +1,7 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./superv.async.js");require("./clojure.string.js");require("./hasch.core.js");require("./cljs.core.async.js");require("./replikativ.logging.js");
2
2
  'use strict';$CLJS.Kga=function(a){return function(){function b(e,f){var g=a.g?a.g(f):a.call(null,f);return $CLJS.nj.i(e,g,$CLJS.Cg.h($CLJS.vf(e,g,$CLJS.li),f))}function c(){return $CLJS.qd($CLJS.oh)}var d=null;d=function(e,f){switch(arguments.length){case 0:return c.call(this);case 1:return $CLJS.sd(e);case 2:return b.call(this,e,f)}throw Error("Invalid arity: "+arguments.length);};d.o=c;d.g=function(e){return $CLJS.sd(e)};d.h=b;return d}()};$CLJS.Lga=new $CLJS.H(null,"any","any",1705907423);
3
- $CLJS.Mga=new $CLJS.H(null,"res","res",-1395007879);$CLJS.mw=new $CLJS.H(null,"rows","rows",850049680);$CLJS.nw=new $CLJS.H(null,"tuples","tuples",-676032639);$CLJS.ow=new $CLJS.H(null,"rels","rels",1770187185);$CLJS.Nga=new $CLJS.H("async","no-result","async/no-result",2078914585);$CLJS.pw=new $CLJS.H(null,"t","t",-1397832519);$CLJS.qw=function qw(a){switch(arguments.length){case 0:return qw.o();case 1:return qw.g(arguments[0]);case 2:return qw.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=2<c.length?new $CLJS.me(c.slice(2),0,null):null;return qw.l(arguments[0],arguments[1],c)}};$CLJS.qw.o=function(){return null};$CLJS.qw.g=function(a){return a};
4
- $CLJS.qw.h=function(a,b){return $CLJS.u($CLJS.u(a)?a:b)?$CLJS.cc(function(c,d){var e=$CLJS.Bc(d),f=$CLJS.Cc(d);if($CLJS.Uf(c,e)){d=$CLJS.ik.i;var g=$CLJS.D(c,e);f=$CLJS.If(g)&&$CLJS.If(f)?$CLJS.qw.h(g,f):f;c=d.call($CLJS.ik,c,e,f)}else c=$CLJS.ik.i(c,e,f);return c},$CLJS.u(a)?a:$CLJS.oh,$CLJS.y(b)):null};$CLJS.qw.l=function(a,b,c){return $CLJS.cc($CLJS.qw,$CLJS.u(a)?a:$CLJS.oh,$CLJS.Fg(b,c))};$CLJS.qw.P=function(a){var b=$CLJS.z(a),c=$CLJS.ue(a);a=$CLJS.z(c);c=$CLJS.ue(c);return this.l(b,a,c)};
5
- $CLJS.qw.J=2;
6
- $CLJS.rw=function rw(a,b,c){if($CLJS.Df(b))return c;if($CLJS.Df(c))return b;var e=$CLJS.z(b),f=$CLJS.z(c),g=a.h?a.h(e,f):a.call(null,e,f);return g<0?$CLJS.Fg(e,new $CLJS.Jg(null,function(){var h=$CLJS.qe(b);return rw.i?rw.i(a,h,c):rw.call(null,a,h,c)},null,null)):$CLJS.A.h(g,0)?$CLJS.Fg(e,new $CLJS.Jg(null,function(){var h=$CLJS.qe(b),k=$CLJS.qe(c);return rw.i?rw.i(a,h,k):rw.call(null,a,h,k)},null,null)):$CLJS.Fg(f,new $CLJS.Jg(null,function(){var h=$CLJS.qe(c);return rw.i?rw.i(a,b,h):rw.call(null,
3
+ $CLJS.Mga=new $CLJS.H(null,"res","res",-1395007879);$CLJS.ow=new $CLJS.H(null,"rows","rows",850049680);$CLJS.pw=new $CLJS.H(null,"tuples","tuples",-676032639);$CLJS.qw=new $CLJS.H(null,"rels","rels",1770187185);$CLJS.Nga=new $CLJS.H("async","no-result","async/no-result",2078914585);$CLJS.rw=new $CLJS.H(null,"t","t",-1397832519);$CLJS.sw=function sw(a){switch(arguments.length){case 0:return sw.o();case 1:return sw.g(arguments[0]);case 2:return sw.h(arguments[0],arguments[1]);default:for(var c=[],d=arguments.length,e=0;;)if(e<d)c.push(arguments[e]),e+=1;else break;c=2<c.length?new $CLJS.le(c.slice(2),0,null):null;return sw.l(arguments[0],arguments[1],c)}};$CLJS.sw.o=function(){return null};$CLJS.sw.g=function(a){return a};
4
+ $CLJS.sw.h=function(a,b){return $CLJS.u($CLJS.u(a)?a:b)?$CLJS.cc(function(c,d){var e=$CLJS.Bc(d),f=$CLJS.Cc(d);if($CLJS.Uf(c,e)){d=$CLJS.ik.i;var g=$CLJS.D(c,e);f=$CLJS.If(g)&&$CLJS.If(f)?$CLJS.sw.h(g,f):f;c=d.call($CLJS.ik,c,e,f)}else c=$CLJS.ik.i(c,e,f);return c},$CLJS.u(a)?a:$CLJS.oh,$CLJS.y(b)):null};$CLJS.sw.l=function(a,b,c){return $CLJS.cc($CLJS.sw,$CLJS.u(a)?a:$CLJS.oh,$CLJS.Fg(b,c))};$CLJS.sw.P=function(a){var b=$CLJS.z(a),c=$CLJS.te(a);a=$CLJS.z(c);c=$CLJS.te(c);return this.l(b,a,c)};
5
+ $CLJS.sw.J=2;
6
+ $CLJS.tw=function tw(a,b,c){if($CLJS.Df(b))return c;if($CLJS.Df(c))return b;var e=$CLJS.z(b),f=$CLJS.z(c),g=a.h?a.h(e,f):a.call(null,e,f);return g<0?$CLJS.Fg(e,new $CLJS.Jg(null,function(){var h=$CLJS.pe(b);return tw.i?tw.i(a,h,c):tw.call(null,a,h,c)},null,null)):$CLJS.A.h(g,0)?$CLJS.Fg(e,new $CLJS.Jg(null,function(){var h=$CLJS.pe(b),k=$CLJS.pe(c);return tw.i?tw.i(a,h,k):tw.call(null,a,h,k)},null,null)):$CLJS.Fg(f,new $CLJS.Jg(null,function(){var h=$CLJS.pe(c);return tw.i?tw.i(a,b,h):tw.call(null,
7
7
  a,b,h)},null,null))};
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");
2
- 'use strict';$CLJS.bFa=$CLJS.Fh($CLJS.oh);
2
+ 'use strict';$CLJS.cFa=$CLJS.Fh($CLJS.oh);
@@ -1,4 +1,4 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./konserve.core.js");require("./datahike.connections.js");require("./konserve.gc_guard.js");require("./datahike.schema_cache.js");require("./datahike.store.js");require("./datahike.writing.js");require("./datahike.writer.js");require("./superv.async.js");require("./datahike.db.utils.js");require("./datahike.tools.js");require("./replikativ.logging.js");require("./konserve.utils.js");require("./cljs.core.async.js");
2
- 'use strict';$CLJS.jMa=new $CLJS.H(null,"from-branch-does-not-point-to-existing-branch-or-commit","from-branch-does-not-point-to-existing-branch-or-commit",-331214863);$CLJS.kMa=new $CLJS.H("datahike.versioning","not-read","datahike.versioning/not-read",-1068780498);$CLJS.lMa=new $CLJS.H(null,"db-value-required","db-value-required",2060842397);$CLJS.mMa=new $CLJS.H("datahike","branch-head-contention","datahike/branch-head-contention",301632905);
3
- $CLJS.X4=new $CLJS.H(null,"branch-does-not-exist","branch-does-not-exist",-787901775);$CLJS.nMa=new $CLJS.H("datahike","branch-registry-contention","datahike/branch-registry-contention",-343010443);$CLJS.oMa=new $CLJS.H(null,"branch-must-be-keyword","branch-must-be-keyword",-231096522);$CLJS.Y4=new $CLJS.H(null,"written","written",-1069705267);$CLJS.pMa=new $CLJS.H("datahike.versioning","conflict","datahike.versioning/conflict",1158264354);$CLJS.Z4=new $CLJS.H(null,"new-branch","new-branch",-613967578);
4
- $CLJS.$4=new $CLJS.H(null,"branch-already-exists","branch-already-exists",-77035672);$CLJS.qMa=new $CLJS.H(null,"must-provide-at-least-one-parent","must-provide-at-least-one-parent",-219570398);$CLJS.a5=new $CLJS.H("datahike.versioning","retry","datahike.versioning/retry",749222995);$CLJS.rMa=new $CLJS.H(null,"cannot-delete-main-db-branch","cannot-delete-main-db-branch",-232400040);$CLJS.sMa=new $CLJS.H(null,"commit-id-must-be-uuid","commit-id-must-be-uuid",-422229185);
2
+ 'use strict';$CLJS.kMa=new $CLJS.H(null,"from-branch-does-not-point-to-existing-branch-or-commit","from-branch-does-not-point-to-existing-branch-or-commit",-331214863);$CLJS.lMa=new $CLJS.H("datahike.versioning","not-read","datahike.versioning/not-read",-1068780498);$CLJS.mMa=new $CLJS.H(null,"db-value-required","db-value-required",2060842397);$CLJS.nMa=new $CLJS.H("datahike","branch-head-contention","datahike/branch-head-contention",301632905);
3
+ $CLJS.X4=new $CLJS.H(null,"branch-does-not-exist","branch-does-not-exist",-787901775);$CLJS.oMa=new $CLJS.H("datahike","branch-registry-contention","datahike/branch-registry-contention",-343010443);$CLJS.pMa=new $CLJS.H(null,"branch-must-be-keyword","branch-must-be-keyword",-231096522);$CLJS.Y4=new $CLJS.H(null,"written","written",-1069705267);$CLJS.qMa=new $CLJS.H("datahike.versioning","conflict","datahike.versioning/conflict",1158264354);$CLJS.Z4=new $CLJS.H(null,"new-branch","new-branch",-613967578);
4
+ $CLJS.$4=new $CLJS.H(null,"branch-already-exists","branch-already-exists",-77035672);$CLJS.rMa=new $CLJS.H(null,"must-provide-at-least-one-parent","must-provide-at-least-one-parent",-219570398);$CLJS.a5=new $CLJS.H("datahike.versioning","retry","datahike.versioning/retry",749222995);$CLJS.sMa=new $CLJS.H(null,"cannot-delete-main-db-branch","cannot-delete-main-db-branch",-232400040);$CLJS.tMa=new $CLJS.H(null,"commit-id-must-be-uuid","commit-id-must-be-uuid",-422229185);