datahike 0.8.1907 → 0.8.1909

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 (107) 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 +2248 -2248
  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 -15
  14. package/cljs.core.js +117 -117
  15. package/cljs.reader.js +10 -10
  16. package/cljs.spec.alpha.js +71 -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 +4 -4
  25. package/cljs_node_io.file.js +11 -11
  26. package/clojure.data.js +14 -14
  27. package/clojure.set.js +1 -1
  28. package/clojure.string.js +10 -10
  29. package/clojure.walk.js +6 -3
  30. package/datahike.api.impl.js +23 -23
  31. package/datahike.api.js +1 -1
  32. package/datahike.array.js +8 -8
  33. package/datahike.config.js +34 -34
  34. package/datahike.connections.js +4 -4
  35. package/datahike.connector.js +66 -66
  36. package/datahike.constants.js +21 -20
  37. package/datahike.datom.js +22 -22
  38. package/datahike.db.interface.js +7 -7
  39. package/datahike.db.js +61 -61
  40. package/datahike.db.search.js +43 -43
  41. package/datahike.db.utils.js +36 -36
  42. package/datahike.env.js +4 -4
  43. package/datahike.gc.js +13 -12
  44. package/datahike.impl.entity.js +7 -7
  45. package/datahike.index.interface.js +13 -13
  46. package/datahike.index.js +1 -1
  47. package/datahike.index.persistent_set.js +158 -158
  48. package/datahike.js.api.js +249 -249
  49. package/datahike.lru.js +4 -4
  50. package/datahike.metrics.js +7 -7
  51. package/datahike.pull_api.js +5 -5
  52. package/datahike.query.analyze.js +1 -1
  53. package/datahike.query.js +1026 -1027
  54. package/datahike.query.resolve.js +1 -1
  55. package/datahike.readers.js +9 -9
  56. package/datahike.schema.js +38 -38
  57. package/datahike.schema_cache.js +1 -1
  58. package/datahike.store.js +60 -60
  59. package/datahike.tools.js +4 -4
  60. package/datahike.writer.js +818 -823
  61. package/datahike.writing.js +44 -44
  62. package/datalog.parser.pull.js +2 -2
  63. package/datalog.parser.type.js +15 -15
  64. package/fress.impl.adler32.js +3 -3
  65. package/fress.impl.bigdec.js +2 -2
  66. package/fress.impl.buffer.js +4 -4
  67. package/fress.impl.raw_input.js +1 -1
  68. package/fress.impl.raw_output.js +3 -3
  69. package/fress.impl.table.js +1 -1
  70. package/fress.reader.js +14 -14
  71. package/fress.util.js +10 -10
  72. package/fress.writer.js +23 -23
  73. package/geheimnis.aes.js +1 -1
  74. package/hasch.benc.js +3 -3
  75. package/hasch.core.js +6 -6
  76. package/hasch.platform.js +16 -16
  77. package/is.simm.partial_cps.runtime.js +1 -1
  78. package/is.simm.partial_cps.sequence.js +3 -3
  79. package/kabel/datahike.js +2958 -2958
  80. package/konserve.compressor.js +16 -16
  81. package/konserve.core.js +42 -42
  82. package/konserve.encryptor.js +13 -13
  83. package/konserve.gc_guard.js +1 -1
  84. package/konserve.impl.defaults.js +15 -15
  85. package/konserve.impl.storage_layout.js +2 -2
  86. package/konserve.memory.js +1 -1
  87. package/konserve.metrics.js +6 -6
  88. package/konserve.node_filestore.js +530 -530
  89. package/konserve.protocols.js +7 -7
  90. package/konserve.serializers.js +15 -15
  91. package/konserve.store.js +87 -87
  92. package/konserve.tiered.js +10 -10
  93. package/konserve.utils.js +6 -6
  94. package/org.replikativ.persistent_sorted_set.branch.js +3 -3
  95. package/org.replikativ.persistent_sorted_set.btset.js +375 -375
  96. package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
  97. package/org.replikativ.persistent_sorted_set.impl.boundary.js +1 -1
  98. package/org.replikativ.persistent_sorted_set.js +1 -1
  99. package/org.replikativ.persistent_sorted_set.leaf.js +1 -1
  100. package/org.replikativ.persistent_sorted_set.util.js +1 -1
  101. package/package.json +1 -1
  102. package/replikativ.logging.js +1 -1
  103. package/s3/datahike.js +2740 -2739
  104. package/superv.async.js +24 -24
  105. package/tailrecursion.priority_map.js +9 -9
  106. package/taoensso.trove.console.js +2 -2
  107. package/taoensso.trove.js +1 -1
@@ -1,6 +1,6 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./org.replikativ.persistent_sorted_set.impl.nodes.js");require("./fress.api.js");require("./org.replikativ.persistent_sorted_set.leaf.js");require("./org.replikativ.persistent_sorted_set.branch.js");require("./org.replikativ.persistent_sorted_set.btset.js");
2
- 'use strict';var AG,qma,rma,tma;$CLJS.zG=function(a,b){return $CLJS.Oy(a,b)};AG=function(a){if(a!=null&&a.So!=null)a=a.So(a);else{var b=AG[$CLJS.$a(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=AG._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Vb("PBoundary.-descriptor",a);}return a};
3
- qma=function(a){if(a.address==null)throw $CLJS.wl("PSS root must be flushed before serialization",new $CLJS.U(null,1,[$CLJS.cn,$CLJS.pma],null));var b=a.K,c=function(){var d=$CLJS.$B.g(b);return $CLJS.u(d)?AG(d):null}();a=new $CLJS.U(null,5,[$CLJS.Mk,$CLJS.Af(a),$CLJS.wG,a.address,$CLJS.fn,a.U,$CLJS.aC,$CLJS.aC.g(b),$CLJS.qC,function(){var d=$CLJS.qC.g(b);return $CLJS.u(d)?d:0}()],null);a=$CLJS.u($CLJS.yG.g(b))?$CLJS.ck.i(a,$CLJS.yG,$CLJS.yG.g(b)):a;return $CLJS.u(c)?$CLJS.ck.i(a,$CLJS.$B,c):a};
4
- rma=function(a){var b=a.K;a=function(){var d=$CLJS.$B.g(b);return $CLJS.u(d)?AG(d):null}();var c=new $CLJS.U(null,2,[$CLJS.aC,$CLJS.aC.g(b),$CLJS.qC,function(){var d=$CLJS.qC.g(b);return $CLJS.u(d)?d:0}()],null);c=$CLJS.u($CLJS.yG.g(b))?$CLJS.ck.i(c,$CLJS.yG,$CLJS.yG.g(b)):c;return $CLJS.u(a)?$CLJS.ck.i(c,$CLJS.$B,a):c};
5
- $CLJS.sma=function(a){var b=a.ya;if(b==null)return null;for(var c=a.keys.length,d=a.level===1,e=0,f=$CLJS.oh;;){if(e>=c)return $CLJS.Ze(f)>0?f:null;var g=b[e];if(g==null){var h=f;e+=1;f=h}else h=e+1,f=$CLJS.ck.i(f,e,new $CLJS.U(null,4,[$CLJS.fn,$CLJS.fn.g(g),$CLJS.cC,$CLJS.cC.g(g),$CLJS.gC,d?$CLJS.wD($CLJS.gC.g(g)):$CLJS.gC.g(g),$CLJS.nC,a.keys[e]],null)),e=h}};
6
- tma=function(a){var b=$CLJS.Uo.l;if(a instanceof $CLJS.xD){var c=$CLJS.sma(a);var d=new $CLJS.U(null,4,[$CLJS.Lp,a.ij(null),$CLJS.Im,$CLJS.Di(a.keys),$CLJS.kC,$CLJS.Di(a.ua),$CLJS.hC,a.tc],null);d=a.pa!=null?$CLJS.ck.i(d,$CLJS.cC,a.pa):d;c=$CLJS.u(c)?$CLJS.ck.i(d,$CLJS.xm,c):d}else c=new $CLJS.U(null,1,[$CLJS.Im,$CLJS.Di(a.keys)],null),c=a.pa!=null?$CLJS.ck.i(c,$CLJS.cC,a.pa):c;return b.call($CLJS.Uo,$CLJS.kf([c,rma(a)]))};$CLJS.uma=$CLJS.nh([$CLJS.sD,function(a,b){$CLJS.Ly(a,"pss/leaf",1);return $CLJS.zG(a,tma(b))},$CLJS.xD,function(a,b){$CLJS.Ly(a,"pss/branch",1);return $CLJS.zG(a,tma(b))}]);$CLJS.vma=$CLJS.nh([$CLJS.SD,function(a,b){$CLJS.Ly(a,"pss/set",1);return $CLJS.zG(a,qma(b))}]);
2
+ 'use strict';var AG,qma,rma,tma;$CLJS.zG=function(a,b){return $CLJS.Ny(a,b)};AG=function(a){if(a!=null&&a.So!=null)a=a.So(a);else{var b=AG[$CLJS.$a(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=AG._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Vb("PBoundary.-descriptor",a);}return a};
3
+ qma=function(a){if(a.address==null)throw $CLJS.wl("PSS root must be flushed before serialization",new $CLJS.U(null,1,[$CLJS.en,$CLJS.pma],null));var b=a.K,c=function(){var d=$CLJS.ZB.g(b);return $CLJS.u(d)?AG(d):null}();a=new $CLJS.U(null,5,[$CLJS.Mk,$CLJS.Af(a),$CLJS.wG,a.address,$CLJS.hn,a.U,$CLJS.$B,$CLJS.$B.g(b),$CLJS.pC,function(){var d=$CLJS.pC.g(b);return $CLJS.u(d)?d:0}()],null);a=$CLJS.u($CLJS.yG.g(b))?$CLJS.ck.i(a,$CLJS.yG,$CLJS.yG.g(b)):a;return $CLJS.u(c)?$CLJS.ck.i(a,$CLJS.ZB,c):a};
4
+ rma=function(a){var b=a.K;a=function(){var d=$CLJS.ZB.g(b);return $CLJS.u(d)?AG(d):null}();var c=new $CLJS.U(null,2,[$CLJS.$B,$CLJS.$B.g(b),$CLJS.pC,function(){var d=$CLJS.pC.g(b);return $CLJS.u(d)?d:0}()],null);c=$CLJS.u($CLJS.yG.g(b))?$CLJS.ck.i(c,$CLJS.yG,$CLJS.yG.g(b)):c;return $CLJS.u(a)?$CLJS.ck.i(c,$CLJS.ZB,a):c};
5
+ $CLJS.sma=function(a){var b=a.ya;if(b==null)return null;for(var c=a.keys.length,d=a.level===1,e=0,f=$CLJS.oh;;){if(e>=c)return $CLJS.Ze(f)>0?f:null;var g=b[e];if(g==null){var h=f;e+=1;f=h}else h=e+1,f=$CLJS.ck.i(f,e,new $CLJS.U(null,4,[$CLJS.hn,$CLJS.hn.g(g),$CLJS.bC,$CLJS.bC.g(g),$CLJS.fC,d?$CLJS.vD($CLJS.fC.g(g)):$CLJS.fC.g(g),$CLJS.mC,a.keys[e]],null)),e=h}};
6
+ tma=function(a){var b=$CLJS.Wo.l;if(a instanceof $CLJS.wD){var c=$CLJS.sma(a);var d=new $CLJS.U(null,4,[$CLJS.Lp,a.ij(null),$CLJS.Cp,$CLJS.Di(a.keys),$CLJS.jC,$CLJS.Di(a.ua),$CLJS.gC,a.tc],null);d=a.pa!=null?$CLJS.ck.i(d,$CLJS.bC,a.pa):d;c=$CLJS.u(c)?$CLJS.ck.i(d,$CLJS.ym,c):d}else c=new $CLJS.U(null,1,[$CLJS.Cp,$CLJS.Di(a.keys)],null),c=a.pa!=null?$CLJS.ck.i(c,$CLJS.bC,a.pa):c;return b.call($CLJS.Wo,$CLJS.kf([c,rma(a)]))};$CLJS.uma=$CLJS.nh([$CLJS.rD,function(a,b){$CLJS.Ky(a,"pss/leaf",1);return $CLJS.zG(a,tma(b))},$CLJS.wD,function(a,b){$CLJS.Ky(a,"pss/branch",1);return $CLJS.zG(a,tma(b))}]);$CLJS.vma=$CLJS.nh([$CLJS.RD,function(a,b){$CLJS.Ky(a,"pss/set",1);return $CLJS.zG(a,qma(b))}]);
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");
2
- 'use strict';$CLJS.$B=new $CLJS.H(null,"boundary","boundary",-2000996754);$CLJS.kla=$CLJS.Eh(null);
2
+ 'use strict';$CLJS.ZB=new $CLJS.H(null,"boundary","boundary",-2000996754);$CLJS.kla=$CLJS.Eh(null);
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./clojure.string.js");require("./org.replikativ.persistent_sorted_set.btset.js");
2
- 'use strict';$CLJS.wE=function(a,b,c){return $CLJS.RD(a,b,c)};$CLJS.Mla=new $CLJS.U(null,2,[$CLJS.aC,512,$CLJS.qC,0],null);
2
+ 'use strict';$CLJS.vE=function(a,b,c){return $CLJS.QD(a,b,c)};$CLJS.Mla=new $CLJS.U(null,2,[$CLJS.$B,512,$CLJS.pC,0],null);
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./is.simm.partial_cps.runtime.js");require("./clojure.string.js");require("./org.replikativ.persistent_sorted_set.impl.boundary.js");require("./org.replikativ.persistent_sorted_set.util.js");
2
- 'use strict';$CLJS.bC=new $CLJS.H(null,"removed-out","removed-out",780264512);$CLJS.cC=new $CLJS.H(null,"measure","measure",-1857519826);
2
+ 'use strict';$CLJS.aC=new $CLJS.H(null,"removed-out","removed-out",780264512);$CLJS.bC=new $CLJS.H(null,"measure","measure",-1857519826);
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./clojure.string.js");
2
- 'use strict';$CLJS.aC=new $CLJS.H(null,"branching-factor","branching-factor",1903198601);
2
+ 'use strict';$CLJS.$B=new $CLJS.H(null,"branching-factor","branching-factor",1903198601);
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "types" : "index.d.ts",
18
18
  "author" : "Christian Weilbach",
19
19
  "files" : [ "*.js", "!test*.js", "*.js.map", "browser/datahike.js", "browser/index.mjs", "browser/index.js", "s3/datahike.js", "s3/index.mjs", "s3/index.js", "kabel/datahike.js", "kabel/index.mjs", "kabel/index.js", "remote/index.mjs", "remote/index.js", "remote/*.d.ts", "index.d.ts", "kabel.d.ts", "README.md", "LICENSE", "THIRD_PARTY_LICENSES.md" ],
20
- "version" : "0.8.1907",
20
+ "version" : "0.8.1909",
21
21
  "publishConfig" : {
22
22
  "access" : "public",
23
23
  "registry" : "https://registry.npmjs.org/"
@@ -1,2 +1,2 @@
1
1
  var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");require("./taoensso.trove.js");
2
- 'use strict';$CLJS.Up=function(a){return a instanceof Error?a.message:null};$CLJS.Vp=new $CLJS.H(null,"ref","ref",1289896967);$CLJS.Wp=new $CLJS.H(null,"errors","errors",-908790718);$CLJS.Xp=new $CLJS.H(null,"conn","conn",278309663);$CLJS.Yp=new $CLJS.H(null,"warn","warn",-436710552);$CLJS.Zp=new $CLJS.H(null,"eavt","eavt",-666437073);
2
+ 'use strict';$CLJS.Tp=function(a){return a instanceof Error?a.message:null};$CLJS.Up=new $CLJS.H(null,"ref","ref",1289896967);$CLJS.Vp=new $CLJS.H(null,"errors","errors",-908790718);$CLJS.Wp=new $CLJS.H(null,"conn","conn",278309663);$CLJS.Xp=new $CLJS.H(null,"warn","warn",-436710552);$CLJS.Yp=new $CLJS.H(null,"eavt","eavt",-666437073);