Comparing version 0.1.0-alpha.4 to 0.1.0-alpha.5
@@ -191,7 +191,22 @@ 'use strict'; | ||
case 0: | ||
previousFacts = this.all(); | ||
if (!this.pendingMerge) { | ||
_context5.next = 5; | ||
break; | ||
} | ||
_context5.next = 3; | ||
return mergeFacts(previousFacts, facts, this.context); | ||
return this.pendingMerge; | ||
case 3: | ||
_context5.next = 0; | ||
break; | ||
case 5: | ||
previousFacts = this.all(); | ||
this.pendingMerge = mergeFacts(previousFacts, facts, this.context); | ||
_context5.next = 9; | ||
return this.pendingMerge; | ||
case 9: | ||
finalFacts = _context5.sent; | ||
@@ -201,5 +216,6 @@ | ||
notifySubscribers.call(this, facts, finalFacts, previousFacts); | ||
delete this.pendingMerge; | ||
return _context5.abrupt('return', this); | ||
case 7: | ||
case 14: | ||
case 'end': | ||
@@ -248,2 +264,2 @@ return _context5.stop(); | ||
}; | ||
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9zdG9yZS9zdG9yZS5qcyJdLCJuYW1lcyI6WyJuZXdGYWN0cyIsIm5ld0dyYXBoIiwib2xkR3JhcGgiLCJjb250ZXh0IiwiZmxhdEZhY3RzIiwiZm9yRWFjaElkIiwidXBkYXRlZElkIiwiZXZlbnRzIiwiZ2V0UmVzb3VyY2UiLCJlbWl0Iiwibm90aWZ5U3Vic2NyaWJlcnMiLCJpZCIsImdyYXBoIiwiY29tcGFjdCIsImZhY3RzIiwiaGFuZGxlciIsIm1hcCIsIml0IiwiZm9yRWFjaCIsIm1lcmdlRmFjdHMiLCJwcmV2aW91c0ZhY3RzIiwiZXhwYW5kZWRQcmV2aW91c0ZhY3RzIiwiZXhwYW5kZWROZXdGYWN0cyIsImNvbmNhdHRlZCIsIlN0b3JlIiwiZnJlZXplciIsIkZyZWV6ZXIiLCJFdmVudHMiLCJnZXQiLCJhbGwiLCJmaW5hbEZhY3RzIiwicmVzZXQiLCJjYWxsIiwib24iL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250ZXh0KTtcbiAgICBjb25zdCBmaW5hbEZhY3RzID0gYXdhaXQgdGhpcy5wZW5kaW5nTWVyZ2U7XG4gICAgcHJldmlvdXNGYWN0c1snQGdyYXBoJ10ucmVzZXQoZmluYWxGYWN0c1tcIkBncmFwaFwiXSk7XG4gICAgbm90aWZ5U3Vic2NyaWJlcnMuY2FsbCh0aGlzLCBmYWN0cywgZmluYWxGYWN0cywgcHJldmlvdXNGYWN0cyk7XG4gICAgZGVsZXRlIHRoaXMucGVuZGluZ01lcmdlO1xuICAgIHJldHVybiB0aGlzO1xuICB9XG5cbiAgc3Vic2NyaWJlKGlkLCBoYW5kbGVyKSB7XG4gICAgdGhpcy5ldmVudHMub24oaWQsIGhhbmRsZXIpO1xuICB9XG5cbiAgdW5zdWJzY3JpYmUoaWQsIGhhbmRsZXIpIHtcbiAgICB0aGlzLmV2ZW50cy5vZmYoaWQsIGhhbmRsZXIpO1xuICB9XG5cbiAgZ2V0UmVzb3VyY2UoaWQsIGNvbnRleHQgPSB0aGlzLmNvbnRleHQpIHtcbiAgICByZXR1cm4gZ2V0UmVzb3VyY2UoaWQsIHRoaXMuYWxsKCksIGNvbnRleHQpO1xuICB9XG59XG5cbmV4cG9ydCBkZWZhdWx0IChjb250ZXh0KSA9PiBuZXcgU3RvcmUoY29udGV4dCA/IHtcbiAgXCJAY29udGV4dFwiOiBjb250ZXh0LFxuICBcIkBncmFwaFwiOiBbXVxufSA6IHtcbiAgXCJAZ3JhcGhcIjogW11cbn0sIGNvbnRleHQpOyJdfQ== |
{ | ||
"name": "hyperfact", | ||
"version": "0.1.0-alpha.4", | ||
"version": "0.1.0-alpha.5", | ||
"description": "Store data as a unified JSON-LD graph.", | ||
@@ -5,0 +5,0 @@ "repository": { |
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
19062
222