eventstore
Advanced tools
Comparing version 1.12.2 to 1.12.3
16
index.js
@@ -8,2 +8,17 @@ 'use strict'; | ||
function exists(toCheck) { | ||
var _exists = require('fs').existsSync || require('path').existsSync; | ||
if (require('fs').accessSync) { | ||
_exists = function (toCheck) { | ||
try { | ||
require('fs').accessSync(toCheck); | ||
return true; | ||
} catch (e) { | ||
return false; | ||
} | ||
}; | ||
} | ||
return _exists(toCheck); | ||
} | ||
function getSpecificStore(options) { | ||
@@ -22,3 +37,2 @@ options = options || {}; | ||
var exists = require('fs').existsSync || require('path').existsSync; | ||
if (!exists(dbPath)) { | ||
@@ -25,0 +39,0 @@ var errMsg = 'Implementation for db "' + options.type + '" does not exist!'; |
@@ -851,3 +851,3 @@ 'use strict'; | ||
status = data.Table.TableStatus; | ||
setTimeout(cbUntil(null, data), 1000); | ||
setTimeout(cbUntil, 1000); | ||
} | ||
@@ -917,3 +917,3 @@ }); | ||
} else { | ||
setTimeout(cbUntil(null, data), 1000); | ||
setTimeout(cbUntil, 1000); | ||
} | ||
@@ -1008,3 +1008,3 @@ }); | ||
var delay = retryCount > 0 ? (50 * Math.pow(2, retryCount - 1)) : 0; | ||
setTimeout(write(retry, callback), delay); | ||
setTimeout(write, delay, retry, callback); | ||
return; | ||
@@ -1011,0 +1011,0 @@ } |
{ | ||
"author": "adrai", | ||
"name": "eventstore", | ||
"version": "1.12.2", | ||
"version": "1.12.3", | ||
"contributors": [ | ||
@@ -43,4 +43,4 @@ { | ||
"dependencies": { | ||
"async": "2.1.4", | ||
"debug": "2.6.0", | ||
"async": "2.3.0", | ||
"debug": "2.6.3", | ||
"dotty": "0.0.2", | ||
@@ -51,3 +51,3 @@ "jsondate": "0.0.1", | ||
"tolerance": "1.0.0", | ||
"uuid": "3.0.0" | ||
"uuid": "3.0.1" | ||
}, | ||
@@ -59,3 +59,2 @@ "devDependencies": { | ||
"elasticsearch": ">=10.0.0", | ||
"uuid": "^3.0.0", | ||
"eslint": ">=1.0.0", | ||
@@ -62,0 +61,0 @@ "expect.js": ">=0.1.2", |
@@ -0,1 +1,4 @@ | ||
#### [v1.12.3](https://github.com/adrai/node-eventstore/compare/v1.12.2...v1.12.3) | ||
- dynamodb: Fixed TypeError [#107](https://github.com/adrai/node-eventstore/pull/107) thanks to [jrutley](https://github.com/jrutley) | ||
#### [v1.12.2](https://github.com/adrai/node-eventstore/compare/v1.12.0...v1.12.2) | ||
@@ -2,0 +5,0 @@ - fix for new mongodb driver |
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
187663
10
4607
8
+ Addedasync@2.3.0(transitive)
+ Addeddebug@2.6.3(transitive)
+ Addeduuid@3.0.1(transitive)
- Removedasync@2.1.4(transitive)
- Removeddebug@2.6.0(transitive)
- Removeduuid@3.0.0(transitive)
Updatedasync@2.3.0
Updateddebug@2.6.3
Updateduuid@3.0.1