fergies-inverted-index
Advanced tools
Comparing version 13.1.0 to 13.1.1
{ | ||
"name": "fergies-inverted-index", | ||
"version": "13.1.0", | ||
"version": "13.1.1", | ||
"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", |
@@ -244,4 +244,5 @@ import trav from 'traverse' | ||
.get(['~CREATED']) | ||
.then(/* already created- do nothing */) | ||
.catch(e => | ||
.then(() => events.emit('ready')) | ||
.catch(e => { | ||
/* if no timestamp exists, create a new one before emitting 'ready' */ | ||
ops.db | ||
@@ -251,3 +252,3 @@ .put(['~CREATED'], timestamp()) | ||
.then(() => events.emit('ready')) | ||
) | ||
}) | ||
@@ -254,0 +255,0 @@ return { |
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
37554
788