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.9.17 to 1.9.18

16

lib/definitions/collection.js

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

sift = require('sift'),
flatten = require('flat'),
debug = require('debug')('denormalizer:collection');

@@ -209,3 +210,16 @@ /**

// Clone the values to be sure no reference mistakes happen!
vm.attributes = _.cloneDeep(vm.attributes);
if (vm.attributes) {
var flatAttr = flatten(vm.attributes);
var undefines = [];
_.each(flatAttr, function (v, k) {
if (v === undefined) {
undefines.push(k);
}
});
vm.attributes = vm.toJSON();
_.each(undefines, function (k) {
vm.set(k, undefined);
});
}
this.replayingVms[vm.id] = vm;

@@ -212,0 +226,0 @@ if (vm.actionOnCommit === 'delete') {

3

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

@@ -17,2 +17,3 @@ "main": "index.js",

"dotty": "0.0.2",
"flat": "1.6.0",
"jsondate": "0.0.1",

@@ -19,0 +20,0 @@ "lodash": "3.10.1",

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

## [v1.9.17](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.9.15...v1.9.17)
## [v1.9.18](https://github.com/adrai/node-cqrs-eventdenormalizer/compare/v1.9.15...v1.9.18)
- fix a replay inmemory issue

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

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