datahike 0.8.1837 → 0.8.1839

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 (123) hide show
  1. package/boring.data.js +5 -5
  2. package/boring.options.js +7 -7
  3. package/browser/datahike.js +3991 -3988
  4. package/cljs.cache.js +6 -6
  5. package/cljs.cache.wrapped.js +5 -5
  6. package/cljs.core.async.impl.channels.js +2 -2
  7. package/cljs.core.async.impl.ioc_helpers.js +1 -2
  8. package/cljs.core.async.impl.timers.js +2 -2
  9. package/cljs.core.async.js +8 -8
  10. package/cljs.core.js +363 -364
  11. package/cljs.reader.js +9 -9
  12. package/cljs.spec.alpha.js +71 -74
  13. package/cljs.tools.reader.edn.js +26 -26
  14. package/cljs.tools.reader.impl.commons.js +7 -7
  15. package/cljs.tools.reader.impl.errors.js +10 -10
  16. package/cljs.tools.reader.impl.inspect.js +4 -4
  17. package/cljs.tools.reader.impl.utils.js +2 -2
  18. package/cljs.tools.reader.js +2 -2
  19. package/cljs.tools.reader.reader_types.js +1 -1
  20. package/cljs_env.js +14 -14
  21. package/cljs_node_io.core.js +10 -10
  22. package/cljs_node_io.file.js +18 -18
  23. package/cljs_node_io.fs.js +1 -1
  24. package/clojure.data.js +14 -14
  25. package/clojure.set.js +1 -1
  26. package/clojure.string.js +9 -6
  27. package/clojure.walk.js +27 -26
  28. package/datahike.api.impl.js +30 -30
  29. package/datahike.api.js +15 -15
  30. package/datahike.api.specification.js +90 -89
  31. package/datahike.api.types.js +17 -17
  32. package/datahike.array.js +6 -6
  33. package/datahike.attr_preds.js +1 -1
  34. package/datahike.config.js +32 -32
  35. package/datahike.connections.js +4 -4
  36. package/datahike.connector.js +78 -78
  37. package/datahike.constants.js +2 -2
  38. package/datahike.core.js +1 -1
  39. package/datahike.datom.js +7 -7
  40. package/datahike.db.interface.js +9 -9
  41. package/datahike.db.js +85 -85
  42. package/datahike.db.search.js +21 -21
  43. package/datahike.db.transaction.js +11 -11
  44. package/datahike.db.utils.js +33 -33
  45. package/datahike.gc.js +11 -11
  46. package/datahike.gc_guard.js +1 -1
  47. package/datahike.gc_roots.js +2 -2
  48. package/datahike.impl.entity.js +16 -16
  49. package/datahike.index.interface.js +12 -12
  50. package/datahike.index.persistent_set.js +112 -112
  51. package/datahike.index.secondary.js +2 -2
  52. package/datahike.js.api.js +228 -226
  53. package/datahike.lru.js +5 -5
  54. package/datahike.migrate.ids.js +1 -1
  55. package/datahike.online_gc.js +2 -2
  56. package/datahike.optimistic.js +12 -12
  57. package/datahike.pull_api.js +7 -7
  58. package/datahike.query.analyze.js +4 -4
  59. package/datahike.query.estimate.js +2 -2
  60. package/datahike.query.execute.js +7 -7
  61. package/datahike.query.ir.js +5 -5
  62. package/datahike.query.js +1310 -1306
  63. package/datahike.query.logical.js +2 -2
  64. package/datahike.query.lower.js +2 -2
  65. package/datahike.query.plan.js +11 -11
  66. package/datahike.query.relation.js +1 -1
  67. package/datahike.query_stats.js +1 -1
  68. package/datahike.readers.js +11 -11
  69. package/datahike.schema.js +29 -29
  70. package/datahike.schema_cache.js +3 -3
  71. package/datahike.store.js +33 -33
  72. package/datahike.tools.js +2 -2
  73. package/datahike.tx_preds.js +1 -1
  74. package/datahike.versioning.js +3 -3
  75. package/datahike.writer.js +691 -691
  76. package/datahike.writing.js +44 -44
  77. package/datalog.parser.impl.js +4 -4
  78. package/datalog.parser.impl.proto.js +1 -1
  79. package/datalog.parser.impl.util.js +1 -1
  80. package/datalog.parser.js +1 -1
  81. package/datalog.parser.pull.js +3 -3
  82. package/datalog.parser.type.js +29 -29
  83. package/environ.core.js +6 -6
  84. package/fress.impl.adler32.js +1 -1
  85. package/fress.impl.buffer.js +1 -1
  86. package/fress.impl.raw_input.js +1 -1
  87. package/fress.impl.raw_output.js +1 -1
  88. package/fress.impl.table.js +1 -1
  89. package/fress.reader.js +11 -11
  90. package/fress.util.js +6 -6
  91. package/fress.writer.js +17 -17
  92. package/hasch.benc.js +3 -3
  93. package/hasch.core.js +7 -7
  94. package/hasch.platform.js +13 -13
  95. package/index.d.ts +5 -2
  96. package/is.simm.partial_cps.sequence.js +2 -2
  97. package/konserve.compressor.js +15 -15
  98. package/konserve.core.js +32 -32
  99. package/konserve.encryptor.js +10 -10
  100. package/konserve.gc.js +1 -1
  101. package/konserve.impl.defaults.js +3 -3
  102. package/konserve.impl.storage_layout.js +1 -1
  103. package/konserve.node_filestore.js +559 -559
  104. package/konserve.protocols.js +3 -3
  105. package/konserve.serializers.js +17 -17
  106. package/konserve.store.js +62 -62
  107. package/konserve.tiered.js +1 -1
  108. package/konserve.utils.js +4 -4
  109. package/malli.core.js +275 -275
  110. package/malli.error.js +32 -32
  111. package/malli.impl.util.js +1 -1
  112. package/malli.registry.js +1 -1
  113. package/malli.util.js +1 -1
  114. package/org.replikativ.persistent_sorted_set.btset.js +251 -251
  115. package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
  116. package/org.replikativ.persistent_sorted_set.js +1 -1
  117. package/package.json +1 -1
  118. package/replikativ.logging.js +1 -1
  119. package/s3/datahike.js +4362 -4358
  120. package/superv.async.js +15 -15
  121. package/tailrecursion.priority_map.js +15 -15
  122. package/taoensso.trove.console.js +2 -2
  123. 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 $K,ypa,zpa,Bpa;$CLJS.ZK=function(a,b){return $CLJS.cD(a,b)};$K=function(a){if(a!=null&&a.Vr!=null)a=a.Vr(a);else{var b=$K[$CLJS.Za(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=$K._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Yb("PBoundary.-descriptor",a);}return a};
3
- ypa=function(a){if(a.address==null)throw $CLJS.zl("PSS root must be flushed before serialization",new $CLJS.Q(null,1,[$CLJS.km,$CLJS.xpa],null));var b=a.M,c=function(){var d=$CLJS.mG.g(b);return $CLJS.u(d)?$K(d):null}();a=new $CLJS.Q(null,5,[$CLJS.Ok,$CLJS.sf(a),$CLJS.YK,a.address,$CLJS.Sn,a.W,$CLJS.nG,$CLJS.nG.g(b),$CLJS.Mu,function(){var d=$CLJS.Mu.g(b);return $CLJS.u(d)?d:0}()],null);a=$CLJS.u($CLJS.VK.g(b))?$CLJS.ek.i(a,$CLJS.VK,$CLJS.VK.g(b)):a;return $CLJS.u(c)?$CLJS.ek.i(a,$CLJS.mG,c):a};
4
- zpa=function(a){var b=a.M;a=function(){var d=$CLJS.mG.g(b);return $CLJS.u(d)?$K(d):null}();var c=new $CLJS.Q(null,2,[$CLJS.nG,$CLJS.nG.g(b),$CLJS.Mu,function(){var d=$CLJS.Mu.g(b);return $CLJS.u(d)?d:0}()],null);c=$CLJS.u($CLJS.VK.g(b))?$CLJS.ek.i(c,$CLJS.VK,$CLJS.VK.g(b)):c;return $CLJS.u(a)?$CLJS.ek.i(c,$CLJS.mG,a):c};
5
- $CLJS.Apa=function(a){var b=a.za;if(b==null)return null;for(var c=a.keys.length,d=a.level===1,e=0,f=$CLJS.Zg;;){if(e>=c)return $CLJS.Re(f)>0?f:null;var g=b[e];if(g==null){var h=f;e+=1;f=h}else h=e+1,f=$CLJS.ek.i(f,e,new $CLJS.Q(null,4,[$CLJS.Sn,$CLJS.Sn.g(g),$CLJS.pG,$CLJS.pG.g(g),$CLJS.tG,d?$CLJS.JH($CLJS.tG.g(g)):$CLJS.tG.g(g),$CLJS.EG,a.keys[e]],null)),e=h}};
6
- Bpa=function(a){var b=$CLJS.Uo.l;if(a instanceof $CLJS.LH){var c=$CLJS.Apa(a);var d=new $CLJS.Q(null,4,[$CLJS.AG,a.Nk(null),$CLJS.hm,$CLJS.vi(a.keys),$CLJS.vG,$CLJS.vi(a.wa),$CLJS.uG,a.Tc],null);d=a.qa!=null?$CLJS.ek.i(d,$CLJS.pG,a.qa):d;c=$CLJS.u(c)?$CLJS.ek.i(d,$CLJS.Zl,c):d}else c=new $CLJS.Q(null,1,[$CLJS.hm,$CLJS.vi(a.keys)],null),c=a.qa!=null?$CLJS.ek.i(c,$CLJS.pG,a.qa):c;return b.call($CLJS.Uo,$CLJS.bf([c,zpa(a)]))};$CLJS.Cpa=$CLJS.Yg([$CLJS.IH,function(a,b){$CLJS.$C(a,"pss/leaf",1);return $CLJS.ZK(a,Bpa(b))},$CLJS.LH,function(a,b){$CLJS.$C(a,"pss/branch",1);return $CLJS.ZK(a,Bpa(b))}]);$CLJS.Dpa=$CLJS.Yg([$CLJS.tI,function(a,b){$CLJS.$C(a,"pss/set",1);return $CLJS.ZK(a,ypa(b))}]);
2
+ 'use strict';var $K,ypa,zpa,Bpa;$CLJS.ZK=function(a,b){return $CLJS.cD(a,b)};$K=function(a){if(a!=null&&a.Vr!=null)a=a.Vr(a);else{var b=$K[$CLJS.Za(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=$K._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Xb("PBoundary.-descriptor",a);}return a};
3
+ ypa=function(a){if(a.address==null)throw $CLJS.zl("PSS root must be flushed before serialization",new $CLJS.Q(null,1,[$CLJS.im,$CLJS.xpa],null));var b=a.M,c=function(){var d=$CLJS.mG.g(b);return $CLJS.u(d)?$K(d):null}();a=new $CLJS.Q(null,5,[$CLJS.Ok,$CLJS.qf(a),$CLJS.YK,a.address,$CLJS.Mn,a.W,$CLJS.nG,$CLJS.nG.g(b),$CLJS.Uu,function(){var d=$CLJS.Uu.g(b);return $CLJS.u(d)?d:0}()],null);a=$CLJS.u($CLJS.VK.g(b))?$CLJS.ck.i(a,$CLJS.VK,$CLJS.VK.g(b)):a;return $CLJS.u(c)?$CLJS.ck.i(a,$CLJS.mG,c):a};
4
+ zpa=function(a){var b=a.M;a=function(){var d=$CLJS.mG.g(b);return $CLJS.u(d)?$K(d):null}();var c=new $CLJS.Q(null,2,[$CLJS.nG,$CLJS.nG.g(b),$CLJS.Uu,function(){var d=$CLJS.Uu.g(b);return $CLJS.u(d)?d:0}()],null);c=$CLJS.u($CLJS.VK.g(b))?$CLJS.ck.i(c,$CLJS.VK,$CLJS.VK.g(b)):c;return $CLJS.u(a)?$CLJS.ck.i(c,$CLJS.mG,a):c};
5
+ $CLJS.Apa=function(a){var b=a.za;if(b==null)return null;for(var c=a.keys.length,d=a.level===1,e=0,f=$CLJS.Zg;;){if(e>=c)return $CLJS.Re(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.Q(null,4,[$CLJS.Mn,$CLJS.Mn.g(g),$CLJS.pG,$CLJS.pG.g(g),$CLJS.tG,d?$CLJS.JH($CLJS.tG.g(g)):$CLJS.tG.g(g),$CLJS.EG,a.keys[e]],null)),e=h}};
6
+ Bpa=function(a){var b=$CLJS.Oo.l;if(a instanceof $CLJS.LH){var c=$CLJS.Apa(a);var d=new $CLJS.Q(null,4,[$CLJS.AG,a.Nk(null),$CLJS.fm,$CLJS.vi(a.keys),$CLJS.vG,$CLJS.vi(a.wa),$CLJS.uG,a.Tc],null);d=a.qa!=null?$CLJS.ck.i(d,$CLJS.pG,a.qa):d;c=$CLJS.u(c)?$CLJS.ck.i(d,$CLJS.Xl,c):d}else c=new $CLJS.Q(null,1,[$CLJS.fm,$CLJS.vi(a.keys)],null),c=a.qa!=null?$CLJS.ck.i(c,$CLJS.pG,a.qa):c;return b.call($CLJS.Oo,$CLJS.bf([c,zpa(a)]))};$CLJS.Cpa=$CLJS.Yg([$CLJS.IH,function(a,b){$CLJS.$C(a,"pss/leaf",1);return $CLJS.ZK(a,Bpa(b))},$CLJS.LH,function(a,b){$CLJS.$C(a,"pss/branch",1);return $CLJS.ZK(a,Bpa(b))}]);$CLJS.Dpa=$CLJS.Yg([$CLJS.tI,function(a,b){$CLJS.$C(a,"pss/set",1);return $CLJS.ZK(a,ypa(b))}]);
@@ -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.XI=function(a,b,c){return $CLJS.sI(a,b,c)};$CLJS.apa=new $CLJS.Q(null,2,[$CLJS.nG,512,$CLJS.Mu,0],null);
2
+ 'use strict';$CLJS.XI=function(a,b,c){return $CLJS.sI(a,b,c)};$CLJS.apa=new $CLJS.Q(null,2,[$CLJS.nG,512,$CLJS.Uu,0],null);
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", "index.d.ts", "README.md", "LICENSE", "THIRD_PARTY_LICENSES.md" ],
20
- "version" : "0.8.1837",
20
+ "version" : "0.8.1839",
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.ov=new $CLJS.F(null,"warn","warn",-436710552);
2
+ 'use strict';$CLJS.Jv=new $CLJS.F(null,"warn","warn",-436710552);