Socket
Socket
Sign inDemoInstall

@nestjs/cqrs

Package Overview
Dependencies
206
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 10.0.3 to 10.1.0

7

dist/cqrs.module.d.ts

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

import { OnApplicationBootstrap } from '@nestjs/common';
import { DynamicModule, OnApplicationBootstrap } from '@nestjs/common';
import { CommandBus } from './command-bus';

@@ -12,4 +12,9 @@ import { EventBus } from './event-bus';

private readonly queryBus;
/**
* Registers the CQRS Module globally.
* @returns DynamicModule
*/
static forRoot(): DynamicModule;
constructor(explorerService: ExplorerService<EventBase>, eventBus: EventBus<EventBase>, commandBus: CommandBus, queryBus: QueryBus);
onApplicationBootstrap(): void;
}

@@ -11,2 +11,3 @@ "use strict";

};
var CqrsModule_1;
Object.defineProperty(exports, "__esModule", { value: true });

@@ -21,3 +22,3 @@ exports.CqrsModule = void 0;

const unhandled_exception_bus_1 = require("./unhandled-exception-bus");
let CqrsModule = class CqrsModule {
let CqrsModule = CqrsModule_1 = class CqrsModule {
constructor(explorerService, eventBus, commandBus, queryBus) {

@@ -29,2 +30,12 @@ this.explorerService = explorerService;

}
/**
* Registers the CQRS Module globally.
* @returns DynamicModule
*/
static forRoot() {
return {
module: CqrsModule_1,
global: true,
};
}
onApplicationBootstrap() {

@@ -38,3 +49,3 @@ const { events, queries, sagas, commands } = this.explorerService.explore();

};
CqrsModule = __decorate([
CqrsModule = CqrsModule_1 = __decorate([
(0, common_1.Module)({

@@ -41,0 +52,0 @@ providers: [

20

package.json
{
"name": "@nestjs/cqrs",
"version": "10.0.3",
"version": "10.1.0",
"description": "A lightweight CQRS module for Nest framework (node.js)",

@@ -26,13 +26,13 @@ "license": "MIT",

"@commitlint/config-angular": "17.6.7",
"@nestjs/common": "10.1.1",
"@nestjs/core": "10.1.1",
"@types/node": "18.17.0",
"@nestjs/common": "10.1.3",
"@nestjs/core": "10.1.3",
"@types/node": "18.17.1",
"@types/jest": "29.5.3",
"@typescript-eslint/eslint-plugin": "6.2.0",
"@typescript-eslint/parser": "6.2.0",
"eslint": "8.45.0",
"eslint-config-prettier": "8.8.0",
"eslint-plugin-import": "2.27.5",
"@typescript-eslint/eslint-plugin": "6.2.1",
"@typescript-eslint/parser": "6.2.1",
"eslint": "8.46.0",
"eslint-config-prettier": "8.9.0",
"eslint-plugin-import": "2.28.0",
"husky": "8.0.3",
"jest": "29.6.1",
"jest": "29.6.2",
"lint-staged": "13.2.3",

@@ -39,0 +39,0 @@ "prettier": "3.0.0",

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc