From a0e947daaa413cc9a4ce0b673d3f3ff46d7128a1 Mon Sep 17 00:00:00 2001 From: elvis Date: Wed, 24 Aug 2016 15:58:54 +0200 Subject: [PATCH 1/2] Fix invalid character in datastore.js --- lib/datastore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/datastore.js b/lib/datastore.js index 4b978ad3..f972cf61 100755 --- a/lib/datastore.js +++ b/lib/datastore.js @@ -314,7 +314,7 @@ Datastore.prototype.getCandidates = function (query, dontExpireStaleDocs, callba docs.forEach(function (doc) { var valid = true; ttlIndexesFieldNames.forEach(function (i) { - if (doc[i] !== undefined && util.isDate(doc[i]) && Date.now() > doc[i].getTime() + self.ttlIndexes[i] * 1000) { + if (doc[i] !== undefined && util.isDate(doc[i]) && Date.now() > doc[i].getTime() + self.ttlIndexes[i] * 1000) { valid = false; } }); From 4cc937167ab3754490de631e9efed90d243314f7 Mon Sep 17 00:00:00 2001 From: Pierre Fourgeaud Date: Tue, 25 Oct 2016 13:29:23 +0200 Subject: [PATCH 2/2] Bump version for private registry... --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ee7e4fb..a96661e1 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "nedb", - "version": "1.8.0", + "version": "4.8.0", "author": { "name": "Louis Chatriot", "email": "louis.chatriot@gmail.com"