fergies-inverted-index
Advanced tools
Comparing version 13.0.0-rc.2 to 13.0.0-rc.3
{ | ||
"name": "fergies-inverted-index", | ||
"version": "13.0.0-rc.2", | ||
"version": "13.0.0-rc.3", | ||
"description": "An inverted index that allows javascript objects to be easily serialised and retrieved using promises and map-reduce", | ||
@@ -5,0 +5,0 @@ "browser": "src/entrypoints/browser.js", |
@@ -202,7 +202,11 @@ import trav from 'traverse' | ||
const IMPORT = index => | ||
ops.db.clear().then(() => | ||
ops.db.batch( | ||
index.map(entry => Object.assign(entry, { type: 'put' })) // , | ||
ops.db | ||
.clear() | ||
.then(() => | ||
ops.db.batch( | ||
index.map(entry => Object.assign(entry, { type: 'put' })) // , | ||
) | ||
) | ||
) | ||
.then(() => reader(ops).FIELDS()) | ||
.then(fields => ops.tokenParser.setAvailableFields(fields)) | ||
@@ -209,0 +213,0 @@ const PUT = (docs, putOptions = {}) => |
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
36289
762