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

cqrs-domain

Package Overview
Dependencies
Maintainers
2
Versions
215
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cqrs-domain - npm Package Compare versions

Comparing version 2.14.6 to 2.14.7

4

lib/definitions/aggregate.js

@@ -741,2 +741,4 @@ var Definition = require('../definitionBase'),

var previousModel = new AggregateModel(aggregateModel.id, aggregateModel);
this.checkPreConditions(cmd, aggregateModel, function (err) {

@@ -747,4 +749,2 @@ if (err) {

var previousModel = new AggregateModel(aggregateModel.id, aggregateModel);
// attach apply function

@@ -751,0 +751,0 @@ aggregateModel.apply = applyHelper(self, aggregateModel, cmd);

{
"author": "adrai",
"name": "cqrs-domain",
"version": "2.14.6",
"version": "2.14.7",
"private": false,

@@ -6,0 +6,0 @@ "main": "index.js",

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

## [v2.14.7](https://github.com/adrai/node-cqrs-domain/compare/v2.14.6...v2.14.7)
- prepare previousModel before evaluating preConditions in order to prevent model mutation inside them
## [v2.14.6](https://github.com/adrai/node-cqrs-domain/compare/v2.14.5...v2.14.6)

@@ -2,0 +5,0 @@ - updated node-eventstore and added optional position property to event

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