viewmodel
Advanced tools
Comparing version 1.5.13 to 1.5.14
@@ -15,2 +15,8 @@ 'use strict'; | ||
Repository.call(this, options); | ||
if (options) { | ||
// set collectionName | ||
if (!options.collectionName) console.log('Warning: you did not provide a collectionName to the inMemory store.'); | ||
this.collectionName = options.collectionName; | ||
} | ||
} | ||
@@ -165,2 +171,2 @@ | ||
module.exports = Repository; | ||
module.exports = InMemory; |
{ | ||
"author": "adrai", | ||
"name": "viewmodel", | ||
"version": "1.5.13", | ||
"version": "1.5.14", | ||
"private": false, | ||
@@ -6,0 +6,0 @@ "main": "index.js", |
@@ -0,1 +1,4 @@ | ||
## [v1.5.14](https://github.com/adrai/node-viewmodel/compare/v1.5.13...v1.5.14) | ||
- inmemory: now correctly instantiates with collectionName [#46](https://github.com/adrai/node-viewmodel/pull/46) thanks to [hilkeheremans](https://github.com/hilkeheremans) | ||
## [v1.5.13](https://github.com/adrai/node-viewmodel/compare/v1.5.12...v1.5.13) | ||
@@ -2,0 +5,0 @@ - redis, mongodb: call disconnect on ping error |
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
106474
2863