datahike 0.8.1850 → 0.8.1852
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.
- package/boring.data.js +2 -2
- package/boring.options.js +8 -8
- package/browser/datahike.js +3637 -3631
- package/cljs.cache.js +5 -5
- package/cljs.cache.wrapped.js +4 -4
- package/cljs.core.async.impl.channels.js +8 -8
- package/cljs.core.async.impl.dispatch.js +3 -3
- package/cljs.core.async.impl.ioc_helpers.js +1 -2
- package/cljs.core.async.impl.timers.js +2 -2
- package/cljs.core.async.js +15 -15
- package/cljs.core.js +237 -238
- package/cljs.reader.js +11 -11
- package/cljs.spec.alpha.js +71 -74
- package/cljs.tools.reader.edn.js +26 -26
- package/cljs.tools.reader.impl.commons.js +7 -7
- package/cljs.tools.reader.impl.errors.js +10 -10
- package/cljs.tools.reader.impl.inspect.js +4 -4
- package/cljs.tools.reader.impl.utils.js +2 -2
- package/cljs.tools.reader.js +2 -2
- package/cljs.tools.reader.reader_types.js +1 -1
- package/cljs_env.js +6 -6
- package/cljs_node_io.core.js +10 -10
- package/cljs_node_io.file.js +20 -20
- package/cljs_node_io.fs.js +1 -1
- package/clojure.data.js +14 -14
- package/clojure.set.js +1 -1
- package/clojure.string.js +9 -6
- package/clojure.walk.js +26 -25
- package/datahike.api.impl.js +22 -22
- package/datahike.api.js +13 -13
- package/datahike.api.specification.js +90 -90
- package/datahike.api.types.js +17 -17
- package/datahike.array.js +4 -4
- package/datahike.attr_preds.js +1 -1
- package/datahike.bitemporal.predicate.js +1 -1
- package/datahike.config.js +47 -47
- package/datahike.connections.js +3 -3
- package/datahike.connector.js +76 -76
- package/datahike.constants.js +1 -1
- package/datahike.core.js +1 -1
- package/datahike.datom.js +8 -8
- package/datahike.db.interface.js +11 -11
- package/datahike.db.js +86 -86
- package/datahike.db.search.js +45 -45
- package/datahike.db.transaction.js +11 -11
- package/datahike.db.utils.js +46 -46
- package/datahike.env.js +4 -4
- package/datahike.gc.js +11 -11
- package/datahike.gc_guard.js +1 -1
- package/datahike.gc_roots.js +2 -2
- package/datahike.impl.entity.js +16 -16
- package/datahike.index.interface.js +12 -12
- package/datahike.index.js +1 -1
- package/datahike.index.persistent_set.js +153 -153
- package/datahike.index.secondary.js +2 -2
- package/datahike.js.api.js +215 -215
- package/datahike.lru.js +6 -6
- package/datahike.metrics.js +10 -6
- package/datahike.migrate.ids.js +1 -1
- package/datahike.online_gc.js +2 -2
- package/datahike.optimistic.js +12 -12
- package/datahike.pull_api.js +7 -7
- package/datahike.query.analyze.js +4 -4
- package/datahike.query.estimate.js +2 -2
- package/datahike.query.execute.js +7 -7
- package/datahike.query.ir.js +5 -5
- package/datahike.query.js +1195 -1186
- package/datahike.query.logical.js +2 -2
- package/datahike.query.lower.js +2 -2
- package/datahike.query.plan.js +11 -11
- package/datahike.query.relation.js +1 -1
- package/datahike.query_stats.js +1 -1
- package/datahike.readers.js +11 -11
- package/datahike.schema.js +47 -47
- package/datahike.schema_cache.js +3 -3
- package/datahike.store.js +57 -57
- package/datahike.tools.js +1 -1
- package/datahike.tx_preds.js +1 -1
- package/datahike.versioning.js +3 -3
- package/datahike.writer.js +731 -734
- package/datahike.writing.js +49 -49
- package/datalog.parser.impl.js +4 -4
- package/datalog.parser.impl.proto.js +1 -1
- package/datalog.parser.impl.util.js +1 -1
- package/datalog.parser.js +1 -1
- package/datalog.parser.pull.js +3 -3
- package/datalog.parser.type.js +26 -26
- package/fress.impl.adler32.js +1 -1
- package/fress.impl.buffer.js +1 -1
- package/fress.impl.raw_output.js +1 -1
- package/fress.reader.js +8 -8
- package/fress.util.js +6 -6
- package/fress.writer.js +18 -18
- package/hasch.benc.js +2 -2
- package/hasch.platform.js +12 -12
- package/is.simm.partial_cps.sequence.js +2 -2
- package/konserve.compressor.js +7 -7
- package/konserve.core.js +50 -50
- package/konserve.encryptor.js +7 -7
- package/konserve.gc.js +1 -1
- package/konserve.impl.defaults.js +6 -6
- package/konserve.impl.storage_layout.js +1 -1
- package/konserve.metrics.js +6 -6
- package/konserve.node_filestore.js +545 -545
- package/konserve.protocols.js +3 -3
- package/konserve.serializers.js +12 -12
- package/konserve.store.js +73 -73
- package/konserve.tiered.js +1 -1
- package/konserve.utils.js +6 -6
- package/malli.core.js +271 -271
- package/malli.error.js +32 -32
- package/malli.impl.util.js +1 -1
- package/malli.registry.js +1 -1
- package/malli.sci.js +1 -1
- package/malli.util.js +1 -1
- package/org.replikativ.persistent_sorted_set.btset.js +194 -194
- package/org.replikativ.persistent_sorted_set.fressian.js +5 -5
- package/org.replikativ.persistent_sorted_set.js +1 -1
- package/package.json +1 -1
- package/replikativ.logging.js +1 -1
- package/replikativ.metrics.js +1 -1
- package/s3/datahike.js +4242 -4235
- package/superv.async.js +20 -20
- package/tailrecursion.priority_map.js +11 -11
- package/taoensso.trove.console.js +1 -1
- 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 mL,Rpa,Spa,Upa;$CLJS.lL=function(a,b){return $CLJS.oD(a,b)};mL=function(a){if(a!=null&&a.Vr!=null)a=a.Vr(a);else{var b=mL[$CLJS.Za(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=mL._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.
|
|
3
|
-
Rpa=function(a){if(a.address==null)throw $CLJS.zl("PSS root must be flushed before serialization",new $CLJS.R(null,1,[$CLJS.
|
|
4
|
-
Spa=function(a){var b=a.M;a=function(){var d=$CLJS.AG.g(b);return $CLJS.t(d)?mL(d):null}();var c=new $CLJS.R(null,2,[$CLJS.BG,$CLJS.BG.g(b),$CLJS.
|
|
5
|
-
$CLJS.Tpa=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.Yg;;){if(e>=c)return $CLJS.Se(f)>0?f:null;var g=b[e];if(g==null){var h=f;e+=1;f=h}else h=e+1,f=$CLJS.Xj.i(f,e,new $CLJS.R(null,4,[$CLJS
|
|
6
|
-
Upa=function(a){var b=$CLJS.
|
|
2
|
+
'use strict';var mL,Rpa,Spa,Upa;$CLJS.lL=function(a,b){return $CLJS.oD(a,b)};mL=function(a){if(a!=null&&a.Vr!=null)a=a.Vr(a);else{var b=mL[$CLJS.Za(a==null?null:a)];if(b!=null)a=b.g?b.g(a):b.call(null,a);else if(b=mL._,b!=null)a=b.g?b.g(a):b.call(null,a);else throw $CLJS.Vb("PBoundary.-descriptor",a);}return a};
|
|
3
|
+
Rpa=function(a){if(a.address==null)throw $CLJS.zl("PSS root must be flushed before serialization",new $CLJS.R(null,1,[$CLJS.km,$CLJS.Qpa],null));var b=a.M,c=function(){var d=$CLJS.AG.g(b);return $CLJS.t(d)?mL(d):null}();a=new $CLJS.R(null,5,[$CLJS.Jk,$CLJS.sf(a),$CLJS.kL,a.address,$CLJS.Hn,a.W,$CLJS.BG,$CLJS.BG.g(b),$CLJS.Qu,function(){var d=$CLJS.Qu.g(b);return $CLJS.t(d)?d:0}()],null);a=$CLJS.t($CLJS.hL.g(b))?$CLJS.Xj.i(a,$CLJS.hL,$CLJS.hL.g(b)):a;return $CLJS.t(c)?$CLJS.Xj.i(a,$CLJS.AG,c):a};
|
|
4
|
+
Spa=function(a){var b=a.M;a=function(){var d=$CLJS.AG.g(b);return $CLJS.t(d)?mL(d):null}();var c=new $CLJS.R(null,2,[$CLJS.BG,$CLJS.BG.g(b),$CLJS.Qu,function(){var d=$CLJS.Qu.g(b);return $CLJS.t(d)?d:0}()],null);c=$CLJS.t($CLJS.hL.g(b))?$CLJS.Xj.i(c,$CLJS.hL,$CLJS.hL.g(b)):c;return $CLJS.t(a)?$CLJS.Xj.i(c,$CLJS.AG,a):c};
|
|
5
|
+
$CLJS.Tpa=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.Yg;;){if(e>=c)return $CLJS.Se(f)>0?f:null;var g=b[e];if(g==null){var h=f;e+=1;f=h}else h=e+1,f=$CLJS.Xj.i(f,e,new $CLJS.R(null,4,[$CLJS.Hn,$CLJS.Hn.g(g),$CLJS.DG,$CLJS.DG.g(g),$CLJS.HG,d?$CLJS.WH($CLJS.HG.g(g)):$CLJS.HG.g(g),$CLJS.RG,a.keys[e]],null)),e=h}};
|
|
6
|
+
Upa=function(a){var b=$CLJS.Ro.l;if(a instanceof $CLJS.YH){var c=$CLJS.Tpa(a);var d=new $CLJS.R(null,4,[$CLJS.Ru,a.Nk(null),$CLJS.em,$CLJS.ti(a.keys),$CLJS.JG,$CLJS.ti(a.wa),$CLJS.IG,a.Tc],null);d=a.qa!=null?$CLJS.Xj.i(d,$CLJS.DG,a.qa):d;c=$CLJS.t(c)?$CLJS.Xj.i(d,$CLJS.Xl,c):d}else c=new $CLJS.R(null,1,[$CLJS.em,$CLJS.ti(a.keys)],null),c=a.qa!=null?$CLJS.Xj.i(c,$CLJS.DG,a.qa):c;return b.call($CLJS.Ro,$CLJS.cf([c,Spa(a)]))};$CLJS.Vpa=$CLJS.Xg([$CLJS.VH,function(a,b){$CLJS.lD(a,"pss/leaf",1);return $CLJS.lL(a,Upa(b))},$CLJS.YH,function(a,b){$CLJS.lD(a,"pss/branch",1);return $CLJS.lL(a,Upa(b))}]);$CLJS.Wpa=$CLJS.Xg([$CLJS.GI,function(a,b){$CLJS.lD(a,"pss/set",1);return $CLJS.lL(a,Rpa(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.jJ=function(a,b,c){return $CLJS.FI(a,b,c)};$CLJS.tpa=new $CLJS.R(null,2,[$CLJS.BG,512,$CLJS.
|
|
2
|
+
'use strict';$CLJS.jJ=function(a,b,c){return $CLJS.FI(a,b,c)};$CLJS.tpa=new $CLJS.R(null,2,[$CLJS.BG,512,$CLJS.Qu,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.
|
|
20
|
+
"version" : "0.8.1852",
|
|
21
21
|
"publishConfig" : {
|
|
22
22
|
"access" : "public",
|
|
23
23
|
"registry" : "https://registry.npmjs.org/"
|
package/replikativ.logging.js
CHANGED
|
@@ -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.
|
|
2
|
+
'use strict';$CLJS.Kv=new $CLJS.H(null,"conn","conn",278309663);$CLJS.Lv=new $CLJS.H(null,"warn","warn",-436710552);
|
package/replikativ.metrics.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
var window=global;var $CLJS=require("./cljs_env.js");require("./cljs.core.js");
|
|
2
|
-
'use strict';$CLJS.
|
|
2
|
+
'use strict';$CLJS.iT=new $CLJS.H(null,"help","help",-439233446);$CLJS.Eva=new $CLJS.H(null,"sum","sum",136986814);$CLJS.jT=new $CLJS.H(null,"histogram","histogram",44258148);$CLJS.kT=new $CLJS.H(null,"buckets","buckets",-1916554731);$CLJS.lT=new $CLJS.H(null,"counter","counter",804008177);$CLJS.Fva=new $CLJS.H(null,"gauge","gauge",63470758);$CLJS.mT=new $CLJS.H(null,"series","series",600710694);$CLJS.Gva=new $CLJS.N(null,13,5,$CLJS.O,[.001,.0025,.005,.01,.025,.05,.1,.25,.5,1,2.5,5,10],null);$CLJS.nT=$CLJS.zh($CLJS.Yg);
|