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.3 to 2.14.4

4

lib/structure/customLoader.js

@@ -12,2 +12,6 @@ var definitions = {

CommandHandler: require('./../definitions/commandHandler'),
errors: {
BusinessRuleError: require('../errors/businessRuleError'),
ValidationError: require('../errors/validationError'),
}
}

@@ -14,0 +18,0 @@

2

package.json
{
"author": "adrai",
"name": "cqrs-domain",
"version": "2.14.3",
"version": "2.14.4",
"private": false,

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

@@ -267,3 +267,3 @@

// options will contain a the domainPath, validatorExtension, and useLoaderExtensions options passed to the constructor
// as well as a definition object containing all the constructors of the domain components ( Context, Aggregate etc. )
// as well as a definition object containing all the constructors of the domain components ( Context, Aggregate etc. ) and error constructors ( inside errors )
function myCustomLoader(options) {

@@ -270,0 +270,0 @@ return {

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

## [v2.14.4](https://github.com/adrai/node-cqrs-domain/compare/v2.14.3...v2.14.4)
- pass error constructors to customLoader
## [v2.14.3](https://github.com/adrai/node-cqrs-domain/compare/v2.14.2...v2.14.3)

@@ -2,0 +5,0 @@ - update node-eventstore dependency

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