Comparing version 0.3.1 to 0.3.2
@@ -32,2 +32,3 @@ // FBP Graph | ||
super(); | ||
this.setMaxListeners(0); | ||
this.name = name; | ||
@@ -1035,3 +1036,3 @@ this.properties = {}; | ||
})(); | ||
}).call(this); | ||
@@ -1038,0 +1039,0 @@ exports.Graph = Graph; |
@@ -110,3 +110,3 @@ // FBP Graph Journal | ||
})(); | ||
}).call(this); | ||
@@ -495,4 +495,4 @@ MemoryJournalStore = class MemoryJournalStore extends JournalStore { | ||
if (revId > this.currentRevision) { | ||
// Forward replay journal to revId | ||
for (r = j = ref = this.currentRevision + 1, ref1 = revId; ref <= ref1 ? j <= ref1 : j >= ref1; r = ref <= ref1 ? ++j : --j) { | ||
// Forward replay journal to revId | ||
for (r = j = ref = this.currentRevision + 1, ref1 = revId; (ref <= ref1 ? j <= ref1 : j >= ref1); r = ref <= ref1 ? ++j : --j) { | ||
ref2 = this.store.fetchTransaction(r); | ||
@@ -505,6 +505,6 @@ for (l = 0, len = ref2.length; l < len; l++) { | ||
} else { | ||
// Move backwards, and apply inverse changes | ||
for (r = m = ref3 = this.currentRevision, ref4 = revId + 1; m >= ref4; r = m += -1) { | ||
// Move backwards, and apply inverse changes | ||
for (r = m = ref3 = this.currentRevision, ref4 = revId + 1; -1 !== 0 && (-1 > 0 ? m <= ref4 : m >= ref4); r = m += -1) { | ||
entries = this.store.fetchTransaction(r); | ||
for (i = n = ref5 = entries.length - 1; n >= 0; i = n += -1) { | ||
for (i = n = ref5 = entries.length - 1; -1 !== 0 && (-1 > 0 ? n <= 0 : n >= 0); i = n += -1) { | ||
this.executeEntryInversed(entries[i]); | ||
@@ -552,3 +552,3 @@ } | ||
lines = []; | ||
for (r = j = ref = startRev, ref1 = endRev; ref <= ref1 ? j < ref1 : j > ref1; r = ref <= ref1 ? ++j : --j) { | ||
for (r = j = ref = startRev, ref1 = endRev; (ref <= ref1 ? j < ref1 : j > ref1); r = ref <= ref1 ? ++j : --j) { | ||
e = this.store.fetchTransaction(r); | ||
@@ -569,3 +569,3 @@ for (l = 0, len = e.length; l < len; l++) { | ||
entries = []; | ||
for (r = j = ref = startRev, ref1 = endRev; j < ref1; r = j += 1) { | ||
for (r = j = ref = startRev, ref1 = endRev; 1 !== 0 && (1 > 0 ? j < ref1 : j > ref1); r = j += 1) { | ||
ref2 = this.store.fetchTransaction(r); | ||
@@ -601,3 +601,3 @@ for (l = 0, len = ref2.length; l < len; l++) { | ||
})(); | ||
}).call(this); | ||
@@ -604,0 +604,0 @@ exports.Journal = Journal; |
{ | ||
"name": "fbp-graph", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "JavaScript FBP graph library", | ||
@@ -43,3 +43,3 @@ "main": "index.js", | ||
"json-loader": "^0.5.4", | ||
"mocha": "^4.0.0", | ||
"mocha": "^5.0.0", | ||
"nyc": "^11.3.0" | ||
@@ -46,0 +46,0 @@ }, |
Sorry, the diff of this file is not supported yet
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
132883
1767