Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cqrs-eventdenormalizer

Package Overview
Dependencies
Maintainers
2
Versions
169
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cqrs-eventdenormalizer - npm Package Compare versions

Comparing version 1.3.9 to 1.3.10

21

lib/definitions/collection.js

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

if (this.isReplaying) {
vm.actionOnCommitForReplay = vm.actionOnCommit;
this.replayingVms[vm.id] = vm;

@@ -255,2 +256,5 @@ if (vm.actionOnCommit === 'delete') {

}
if (vm.actionOnCommit === 'create') {
vm.actionOnCommit = 'update';
}
return callback(null);

@@ -398,14 +402,7 @@ }

async.series([
function (callback) {
async.each(replVmsToDelete, function (vm, callback) {
self.repository.commit(vm, callback);
}, callback);
},
function (callback) {
async.each(replVms, function (vm, callback) {
self.repository.commit(vm, callback);
}, callback);
}
], function (err) {
async.each(replVmsToDelete.concat(replVms), function (vm, callback) {
vm.actionOnCommit = vm.actionOnCommitForReplay;
delete vm.actionOnCommitForReplay;
self.repository.commit(vm, callback);
}, function (err) {
if (err) {

@@ -412,0 +409,0 @@ debug(err);

{
"author": "adrai",
"name": "cqrs-eventdenormalizer",
"version": "1.3.9",
"version": "1.3.10",
"private": false,

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

"async": "0.9.0",
"debug": "2.1.0",
"debug": "2.1.3",
"dotty": "0.0.2",
"jsondate": "0.0.1",
"lodash": "2.4.1",
"node-uuid": "1.4.1",
"sift": "0.1.0",
"lodash": "3.6.0",
"node-uuid": "1.4.3",
"sift": "1.1.0",
"tolerance": "1.0.0",

@@ -23,0 +23,0 @@ "viewmodel": "1.3.2"

@@ -0,1 +1,4 @@

## [v1.3.10](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.3.9...v1.3.10)
- correct actionOnCommit handling during replay
## [v1.3.9](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.3.8...v1.3.9)

@@ -2,0 +5,0 @@ - update viewmodel dependency

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc