Socket
Socket
Sign inDemoInstall

cqrs-eventdenormalizer

Package Overview
Dependencies
14
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.10.1 to 1.10.2

15

lib/definitions/collection.js

@@ -25,2 +25,3 @@ 'use strict';

meta = meta || {};
this.repositorySettings = meta.repositorySettings || {};
this.defaultPayload = meta.defaultPayload || '';

@@ -46,6 +47,14 @@ this.indexes = meta.indexes || [];

}
this.repository = repository.extend({
var extendObject = {
collectionName: this.name,
indexes: this.indexes
});
indexes: this.indexes,
};
if (repository.repositoryType && this.repositorySettings[repository.repositoryType]) {
extendObject.repositorySettings = {};
extendObject.repositorySettings[repository.repositoryType] = this.repositorySettings[repository.repositoryType];
}
this.repository = repository.extend(extendObject);
},

@@ -52,0 +61,0 @@ /**

12

package.json
{
"author": "adrai",
"name": "cqrs-eventdenormalizer",
"version": "1.10.1",
"version": "1.10.2",
"private": false,

@@ -15,12 +15,12 @@ "main": "index.js",

"async": "1.5.2",
"debug": "2.6.4",
"debug": "2.6.8",
"dotty": "0.0.2",
"flat": "2.0.1",
"flat": "4.0.0",
"jsondate": "0.0.1",
"lodash": "4.17.4",
"parent-require": "1.0.0",
"sift": "3.3.2",
"sift": "3.3.12",
"tolerance": "1.0.0",
"uuid": "3.0.1",
"viewmodel": "1.5.22"
"uuid": "3.1.0",
"viewmodel": "1.6.0"
},

@@ -27,0 +27,0 @@ "devDependencies": {

@@ -93,3 +93,4 @@ # Introduction

queueTimeout: 1000, // optional, timeout for non-handled events in the internal in-memory queue
queueTimeoutMaxLoops: 3 // optional, maximal loop count for non-handled event in the internal in-memory queue
queueTimeoutMaxLoops: 3, // optional, maximal loop count for non-handled event in the internal in-memory queue
startRevisionNumber: 1, // optional, if defined the denormaizer waits for an event with that revision to be used as first event

@@ -470,3 +471,34 @@ type: 'redis',

// { index: {profileId: 1}, options: {} }
// ]
// ],
// repositorySettings: { // optional
// mongodb : { // for mongo db
// indexes: [ // same as above
// 'profileId',
// // or:
// { profileId: 1 },
// // or:
// { index: {profileId: 1}, options: {} }
// ]
// },
// elasticsearch6 : { // for elasticsearch 5.x and 6.x ( elasticsearch6 type / implementation / driver )
// refresh: 'wait_for', // refresh behaviour on index, default is true ( ie. force index refresh ) https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-refresh.html
// waitForActiveShards: 2, // optional, defaults to 1 ( ie. wait only for primary ) https://www.elastic.co/guide/en/elasticsearch/reference/current/indices-create-index.html#create-index-wait-for-active-shards
// index: { // optional applied on index create, https://www.elastic.co/guide/en/elasticsearch/reference/6.x/indices-create-index.html
// settings : { // will be merged with the default ones,
// number_of_shards: 3, // optional, otherwise taken from type settings, defaults to 1,
// number_of_replicas: 1 // optional otherwise taken from type settings, defaults to 0,
// },
// mappings : { // optiona will be merged with the default ones,
// properties: { // specific properties to not be handled by dynamic mapper
// title: {
// type: "text"
// }
// }
// }
// }
// }
// }
//
},

@@ -473,0 +505,0 @@

@@ -1,2 +0,5 @@

## [v1.10.1](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.10.1...v1.10.1)
## [v1.10.2](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.10.1...v1.10.2)
- Added non-breaking db implementation specific settings support to collection definition. [#56](https://github.com/adrai/node-cqrs-eventdenormalizer/pull/56) thanks to [nanov](https://github.com/nanov) and his company [eCollect](https://github.com/eCollect) which enabled him to work also during working hours
## [v1.10.1](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.10.0...v1.10.1)
- respect preEventExtenders in replayHandler

@@ -3,0 +6,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc