datahike 0.8.1908 → 0.8.1910

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 (115) hide show
  1. package/boring.core.js +2 -2
  2. package/boring.data.js +6 -6
  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 +3668 -3672
  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 -2
  12. package/cljs.core.async.impl.timers.js +2 -2
  13. package/cljs.core.async.js +15 -14
  14. package/cljs.core.js +122 -122
  15. package/cljs.reader.js +10 -10
  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 +9 -9
  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_node_io.core.js +9 -9
  25. package/cljs_node_io.file.js +18 -18
  26. package/cljs_node_io.fs.js +1 -1
  27. package/clojure.data.js +14 -14
  28. package/clojure.set.js +1 -1
  29. package/clojure.string.js +10 -10
  30. package/clojure.walk.js +3 -3
  31. package/datahike.api.impl.js +26 -26
  32. package/datahike.api.js +5 -5
  33. package/datahike.array.js +8 -8
  34. package/datahike.bitemporal.predicate.js +1 -1
  35. package/datahike.config.js +49 -49
  36. package/datahike.connections.js +4 -4
  37. package/datahike.connector.js +76 -76
  38. package/datahike.constants.js +21 -21
  39. package/datahike.datom.js +22 -22
  40. package/datahike.db.interface.js +11 -11
  41. package/datahike.db.js +66 -66
  42. package/datahike.db.search.js +44 -44
  43. package/datahike.db.utils.js +37 -37
  44. package/datahike.env.js +4 -4
  45. package/datahike.gc.js +13 -14
  46. package/datahike.impl.entity.js +8 -8
  47. package/datahike.index.interface.js +13 -13
  48. package/datahike.index.js +1 -1
  49. package/datahike.index.persistent_set.js +165 -165
  50. package/datahike.index.persistent_set.warm.js +1 -1
  51. package/datahike.js.api.js +250 -255
  52. package/datahike.js.convert.js +1 -1
  53. package/datahike.lru.js +4 -4
  54. package/datahike.metrics.js +7 -7
  55. package/datahike.optimistic.js +12 -12
  56. package/datahike.pull_api.js +6 -6
  57. package/datahike.query.analyze.js +1 -1
  58. package/datahike.query.js +1228 -1229
  59. package/datahike.query.resolve.js +1 -1
  60. package/datahike.readers.js +9 -9
  61. package/datahike.schema.js +47 -47
  62. package/datahike.schema_cache.js +2 -2
  63. package/datahike.store.js +59 -59
  64. package/datahike.tools.js +4 -4
  65. package/datahike.versioning.js +4 -4
  66. package/datahike.writer.js +810 -814
  67. package/datahike.writing.js +42 -42
  68. package/datalog.parser.pull.js +2 -2
  69. package/datalog.parser.type.js +21 -21
  70. package/fress.impl.adler32.js +3 -3
  71. package/fress.impl.bigdec.js +2 -2
  72. package/fress.impl.buffer.js +4 -4
  73. package/fress.impl.raw_input.js +1 -1
  74. package/fress.impl.raw_output.js +3 -3
  75. package/fress.impl.table.js +1 -1
  76. package/fress.reader.js +14 -14
  77. package/fress.util.js +10 -10
  78. package/fress.writer.js +23 -23
  79. package/geheimnis.aes.js +1 -1
  80. package/hasch.benc.js +3 -3
  81. package/hasch.core.js +6 -6
  82. package/hasch.platform.js +17 -17
  83. package/is.simm.partial_cps.runtime.js +1 -1
  84. package/is.simm.partial_cps.sequence.js +3 -3
  85. package/kabel/datahike.js +5045 -5049
  86. package/konserve.compressor.js +16 -16
  87. package/konserve.core.js +53 -53
  88. package/konserve.encryptor.js +17 -17
  89. package/konserve.gc_guard.js +1 -1
  90. package/konserve.impl.defaults.js +14 -14
  91. package/konserve.impl.storage_layout.js +2 -2
  92. package/konserve.memory.js +1 -1
  93. package/konserve.metrics.js +6 -6
  94. package/konserve.node_filestore.js +584 -584
  95. package/konserve.protocols.js +7 -7
  96. package/konserve.serializers.js +17 -17
  97. package/konserve.store.js +91 -91
  98. package/konserve.tiered.js +10 -10
  99. package/konserve.utils.js +6 -6
  100. package/org.replikativ.persistent_sorted_set.branch.js +3 -3
  101. package/org.replikativ.persistent_sorted_set.btset.js +375 -375
  102. package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
  103. package/org.replikativ.persistent_sorted_set.impl.boundary.js +1 -1
  104. package/org.replikativ.persistent_sorted_set.impl.nodes.js +2 -2
  105. package/org.replikativ.persistent_sorted_set.js +1 -1
  106. package/org.replikativ.persistent_sorted_set.leaf.js +1 -1
  107. package/org.replikativ.persistent_sorted_set.util.js +1 -1
  108. package/org.replikativ.persistent_sorted_set.warm.js +1 -1
  109. package/package.json +1 -1
  110. package/replikativ.logging.js +1 -1
  111. package/s3/datahike.js +2920 -2923
  112. package/superv.async.js +24 -24
  113. package/tailrecursion.priority_map.js +12 -12
  114. package/taoensso.trove.console.js +3 -3
  115. package/taoensso.trove.js +1 -1
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.jj.i(e,g,$CLJS.Ag.h($CLJS.vf(e,g,$CLJS.ji),f))}function c(){return $CLJS.od($CLJS.oh)}var d=null;d=function(e,f){switch(arguments.length){case 0:return c.call(this);case 1:return $CLJS.rd(e);case 2:return b.call(this,e,f)}throw Error("Invalid arity: "+arguments.length);};d.o=c;d.g=function(e){return $CLJS.rd(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.dw=new $CLJS.H(null,"rels","rels",1770187185);$CLJS.ew=new $CLJS.H(null,"rows","rows",850049680);$CLJS.Nga=new $CLJS.H("async","no-result","async/no-result",2078914585);$CLJS.fw=new $CLJS.H(null,"tuples","tuples",-676032639);$CLJS.gw=new $CLJS.H(null,"t","t",-1397832519);$CLJS.hw=function hw(a){switch(arguments.length){case 0:return hw.o();case 1:return hw.g(arguments[0]);case 2:return hw.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 hw.l(arguments[0],arguments[1],c)}};$CLJS.hw.o=function(){return null};$CLJS.hw.g=function(a){return a};
4
- $CLJS.hw.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.Vf(c,e)){d=$CLJS.ck.i;var g=$CLJS.D(c,e);f=$CLJS.If(g)&&$CLJS.If(f)?$CLJS.hw.h(g,f):f;c=d.call($CLJS.ck,c,e,f)}else c=$CLJS.ck.i(c,e,f);return c},$CLJS.u(a)?a:$CLJS.oh,$CLJS.y(b)):null};$CLJS.hw.l=function(a,b,c){return $CLJS.cc($CLJS.hw,$CLJS.u(a)?a:$CLJS.oh,$CLJS.Eg(b,c))};$CLJS.hw.P=function(a){var b=$CLJS.z(a),c=$CLJS.we(a);a=$CLJS.z(c);c=$CLJS.we(c);return this.l(b,a,c)};
5
- $CLJS.hw.J=2;
6
- $CLJS.iw=function iw(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.Eg(e,new $CLJS.Hg(null,function(){var h=$CLJS.re(b);return iw.i?iw.i(a,h,c):iw.call(null,a,h,c)},null,null)):$CLJS.A.h(g,0)?$CLJS.Eg(e,new $CLJS.Hg(null,function(){var h=$CLJS.re(b),l=$CLJS.re(c);return iw.i?iw.i(a,h,l):iw.call(null,a,h,l)},null,null)):$CLJS.Eg(f,new $CLJS.Hg(null,function(){var h=$CLJS.re(c);return iw.i?iw.i(a,b,h):iw.call(null,
3
+ $CLJS.Mga=new $CLJS.H(null,"res","res",-1395007879);$CLJS.cw=new $CLJS.H(null,"rels","rels",1770187185);$CLJS.dw=new $CLJS.H(null,"rows","rows",850049680);$CLJS.Nga=new $CLJS.H("async","no-result","async/no-result",2078914585);$CLJS.ew=new $CLJS.H(null,"tuples","tuples",-676032639);$CLJS.fw=new $CLJS.H(null,"t","t",-1397832519);$CLJS.gw=function gw(a){switch(arguments.length){case 0:return gw.o();case 1:return gw.g(arguments[0]);case 2:return gw.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 gw.l(arguments[0],arguments[1],c)}};$CLJS.gw.o=function(){return null};$CLJS.gw.g=function(a){return a};
4
+ $CLJS.gw.h=function(a,b){return $CLJS.u($CLJS.u(a)?a:b)?$CLJS.bc(function(c,d){var e=$CLJS.Bc(d),f=$CLJS.Cc(d);if($CLJS.Vf(c,e)){d=$CLJS.ck.i;var g=$CLJS.D(c,e);f=$CLJS.If(g)&&$CLJS.If(f)?$CLJS.gw.h(g,f):f;c=d.call($CLJS.ck,c,e,f)}else c=$CLJS.ck.i(c,e,f);return c},$CLJS.u(a)?a:$CLJS.oh,$CLJS.y(b)):null};$CLJS.gw.l=function(a,b,c){return $CLJS.bc($CLJS.gw,$CLJS.u(a)?a:$CLJS.oh,$CLJS.Eg(b,c))};$CLJS.gw.P=function(a){var b=$CLJS.z(a),c=$CLJS.we(a);a=$CLJS.z(c);c=$CLJS.we(c);return this.l(b,a,c)};
5
+ $CLJS.gw.J=2;
6
+ $CLJS.hw=function hw(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.Eg(e,new $CLJS.Hg(null,function(){var h=$CLJS.re(b);return hw.i?hw.i(a,h,c):hw.call(null,a,h,c)},null,null)):$CLJS.A.h(g,0)?$CLJS.Eg(e,new $CLJS.Hg(null,function(){var h=$CLJS.re(b),l=$CLJS.re(c);return hw.i?hw.i(a,h,l):hw.call(null,a,h,l)},null,null)):$CLJS.Eg(f,new $CLJS.Hg(null,function(){var h=$CLJS.re(c);return hw.i?hw.i(a,b,h):hw.call(null,
7
7
  a,b,h)},null,null))};
@@ -1,5 +1,5 @@
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.sLa=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.tLa=new $CLJS.H("datahike.versioning","not-read","datahike.versioning/not-read",-1068780498);$CLJS.Y4=new $CLJS.H("datahike.versioning","retry","datahike.versioning/retry",749222995);$CLJS.uLa=new $CLJS.H(null,"db-value-required","db-value-required",2060842397);
3
- $CLJS.vLa=new $CLJS.H("datahike","branch-head-contention","datahike/branch-head-contention",301632905);$CLJS.Z4=new $CLJS.H(null,"branch-does-not-exist","branch-does-not-exist",-787901775);$CLJS.wLa=new $CLJS.H("datahike","branch-registry-contention","datahike/branch-registry-contention",-343010443);$CLJS.xLa=new $CLJS.H(null,"branch-must-be-keyword","branch-must-be-keyword",-231096522);$CLJS.$4=new $CLJS.H(null,"written","written",-1069705267);
4
- $CLJS.yLa=new $CLJS.H("datahike.versioning","conflict","datahike.versioning/conflict",1158264354);$CLJS.zLa=new $CLJS.H(null,"cannot-delete-main-db-branch","cannot-delete-main-db-branch",-232400040);$CLJS.a5=new $CLJS.H(null,"new-branch","new-branch",-613967578);$CLJS.ALa=new $CLJS.H(null,"commit-id-must-be-uuid","commit-id-must-be-uuid",-422229185);$CLJS.b5=new $CLJS.H(null,"branch-already-exists","branch-already-exists",-77035672);
5
- $CLJS.BLa=new $CLJS.H(null,"must-provide-at-least-one-parent","must-provide-at-least-one-parent",-219570398);
2
+ 'use strict';$CLJS.tLa=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.uLa=new $CLJS.H("datahike.versioning","not-read","datahike.versioning/not-read",-1068780498);$CLJS.Y4=new $CLJS.H("datahike.versioning","retry","datahike.versioning/retry",749222995);$CLJS.vLa=new $CLJS.H(null,"db-value-required","db-value-required",2060842397);
3
+ $CLJS.wLa=new $CLJS.H("datahike","branch-head-contention","datahike/branch-head-contention",301632905);$CLJS.Z4=new $CLJS.H(null,"branch-does-not-exist","branch-does-not-exist",-787901775);$CLJS.xLa=new $CLJS.H("datahike","branch-registry-contention","datahike/branch-registry-contention",-343010443);$CLJS.yLa=new $CLJS.H(null,"branch-must-be-keyword","branch-must-be-keyword",-231096522);$CLJS.$4=new $CLJS.H(null,"written","written",-1069705267);
4
+ $CLJS.zLa=new $CLJS.H("datahike.versioning","conflict","datahike.versioning/conflict",1158264354);$CLJS.ALa=new $CLJS.H(null,"cannot-delete-main-db-branch","cannot-delete-main-db-branch",-232400040);$CLJS.a5=new $CLJS.H(null,"new-branch","new-branch",-613967578);$CLJS.BLa=new $CLJS.H(null,"commit-id-must-be-uuid","commit-id-must-be-uuid",-422229185);$CLJS.b5=new $CLJS.H(null,"branch-already-exists","branch-already-exists",-77035672);
5
+ $CLJS.CLa=new $CLJS.H(null,"must-provide-at-least-one-parent","must-provide-at-least-one-parent",-219570398);