fergies-inverted-index
Advanced tools
Comparing version 13.0.0-rc.5 to 13.0.0-rc.6
{ | ||
"name": "fergies-inverted-index", | ||
"version": "13.0.0-rc.5", | ||
"version": "13.0.0-rc.6", | ||
"description": "An inverted index that allows javascript objects to be easily serialised and retrieved using promises and map-reduce", | ||
@@ -10,3 +10,3 @@ "browser": "src/entrypoints/browser.js", | ||
"charwise": "3.0.1", | ||
"traverse": "0.6.7" | ||
"traverse": "0.6.9" | ||
}, | ||
@@ -20,3 +20,3 @@ "directories": { | ||
"devDependencies": { | ||
"classic-level": "^1.3.0", | ||
"classic-level": "^1.4.1", | ||
"diacritic": "^0.0.2", | ||
@@ -27,3 +27,3 @@ "level-out": "^1.0.1", | ||
"path-browserify": "^1.0.1", | ||
"prettier": "^2.8.8", | ||
"prettier": "^3.3.3", | ||
"process": "^0.11.10", | ||
@@ -34,5 +34,5 @@ "standard": "17.1.0", | ||
"stream-browserify": "^3.0.0", | ||
"tape": "^5.6.3", | ||
"tape-run": "^10.0.0", | ||
"webpack": "^5.87.0", | ||
"tape": "^5.8.1", | ||
"tape-run": "^11.0.0", | ||
"webpack": "^5.93.0", | ||
"webpack-cli": "^5.1.4", | ||
@@ -39,0 +39,0 @@ "world-bank-dataset": "^1.0.0" |
@@ -153,3 +153,3 @@ # Fergie's Inverted Index | ||
.then(([facetResult, queryResult]) => | ||
AGGREGATION_FILTER(facetResult, queryResult) | ||
AGGREGATION_FILTER(facetResult, queryResult, true) | ||
) | ||
@@ -156,0 +156,0 @@ .then(result) |
@@ -255,2 +255,4 @@ import charwise from 'charwise' | ||
// TODO: this should just take one token with a limits on total hits and total | ||
// values (as in DICTIONARY). Maybe (token, reduceFunc, limit) | ||
const DISTINCT = (...tokens) => | ||
@@ -257,0 +259,0 @@ Promise.all( |
@@ -236,4 +236,6 @@ import trav from 'traverse' | ||
const timestamp = () => new Date().toISOString() | ||
const TIMESTAMP_LAST_UPDATED = passThrough => | ||
ops.db.put(['~LAST_UPDATED'], Date.now()).then(() => passThrough) | ||
ops.db.put(['~LAST_UPDATED'], timestamp()).then(() => passThrough) | ||
@@ -245,3 +247,3 @@ const TIMESTAMP = () => | ||
.catch(e => | ||
ops.db.put(['~CREATED'], Date.now()).then(TIMESTAMP_LAST_UPDATED) | ||
ops.db.put(['~CREATED'], timestamp()).then(TIMESTAMP_LAST_UPDATED) | ||
) | ||
@@ -248,0 +250,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37280
781
+ Addedarray-buffer-byte-length@1.0.1(transitive)
+ Addedarraybuffer.prototype.slice@1.0.3(transitive)
+ Addedavailable-typed-arrays@1.0.7(transitive)
+ Addedcall-bind@1.0.7(transitive)
+ Addeddata-view-buffer@1.0.1(transitive)
+ Addeddata-view-byte-length@1.0.1(transitive)
+ Addeddata-view-byte-offset@1.0.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addedes-abstract@1.23.3(transitive)
+ Addedes-define-property@1.0.0(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes-object-atoms@1.0.0(transitive)
+ Addedes-set-tostringtag@2.0.3(transitive)
+ Addedes-to-primitive@1.2.1(transitive)
+ Addedfor-each@0.3.3(transitive)
+ Addedfunction-bind@1.1.2(transitive)
+ Addedfunction.prototype.name@1.1.6(transitive)
+ Addedfunctions-have-names@1.2.3(transitive)
+ Addedget-intrinsic@1.2.4(transitive)
+ Addedget-symbol-description@1.0.2(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.0.1(transitive)
+ Addedhas-bigints@1.0.2(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedhas-proto@1.0.3(transitive)
+ Addedhas-symbols@1.0.3(transitive)
+ Addedhas-tostringtag@1.0.2(transitive)
+ Addedhasown@2.0.2(transitive)
+ Addedinternal-slot@1.0.7(transitive)
+ Addedis-array-buffer@3.0.4(transitive)
+ Addedis-bigint@1.0.4(transitive)
+ Addedis-boolean-object@1.1.2(transitive)
+ Addedis-callable@1.2.7(transitive)
+ Addedis-data-view@1.0.1(transitive)
+ Addedis-date-object@1.0.5(transitive)
+ Addedis-negative-zero@2.0.3(transitive)
+ Addedis-number-object@1.0.7(transitive)
+ Addedis-regex@1.1.4(transitive)
+ Addedis-shared-array-buffer@1.0.3(transitive)
+ Addedis-string@1.0.7(transitive)
+ Addedis-symbol@1.0.4(transitive)
+ Addedis-typed-array@1.1.13(transitive)
+ Addedis-weakref@1.0.2(transitive)
+ Addedisarray@2.0.5(transitive)
+ Addedobject-inspect@1.13.2(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedobject.assign@4.1.5(transitive)
+ Addedpossible-typed-array-names@1.0.0(transitive)
+ Addedregexp.prototype.flags@1.5.3(transitive)
+ Addedsafe-array-concat@1.1.2(transitive)
+ Addedsafe-regex-test@1.0.3(transitive)
+ Addedset-function-length@1.2.2(transitive)
+ Addedset-function-name@2.0.2(transitive)
+ Addedside-channel@1.0.6(transitive)
+ Addedstring.prototype.trim@1.2.9(transitive)
+ Addedstring.prototype.trimend@1.0.8(transitive)
+ Addedstring.prototype.trimstart@1.0.8(transitive)
+ Addedtraverse@0.6.9(transitive)
+ Addedtyped-array-buffer@1.0.2(transitive)
+ Addedtyped-array-byte-length@1.0.1(transitive)
+ Addedtyped-array-byte-offset@1.0.2(transitive)
+ Addedtyped-array-length@1.0.6(transitive)
+ Addedtypedarray.prototype.slice@1.0.3(transitive)
+ Addedunbox-primitive@1.0.2(transitive)
+ Addedwhich-boxed-primitive@1.0.2(transitive)
+ Addedwhich-typed-array@1.1.15(transitive)
- Removedtraverse@0.6.7(transitive)
Updatedtraverse@0.6.9