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

@piggly/ddd-toolkit

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@piggly/ddd-toolkit - npm Package Compare versions

Comparing version 3.0.4 to 3.0.5

dist/cjs/core/EventEmmiter.js

4

dist/cjs/index.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.schemaValidator = exports.splitAndTrim = exports.mountURL = exports.toRFC3339 = exports.toMoment = exports.toArray = exports.toJSON = exports.randomString = exports.removeIndex = exports.removeItem = exports.parseToJson = exports.preserve = exports.parseEmpty = exports.getTimestamp = exports.deleteKeys = exports.lastAvailableString = exports.commaStringAsArray = exports.DateParser = exports.InvalidPayloadError = exports.BusinessRuleViolationError = exports.InvalidSchemaError = exports.RuntimeError = exports.ApplicationError = exports.DomainError = exports.UseCase = exports.ServiceProvider = exports.InfraService = exports.ApplicationService = exports.DomainService = exports.Service = exports.DomainEvent = exports.Adapter = exports.SchemaValidator = exports.CollectionOfRelatedEntity = exports.MapCollectionOfValueObjects = exports.CollectionOfValueObjects = exports.CollectionOfEntity = exports.AggregateRoot = exports.Result = exports.ValueObject = exports.EntityID = exports.Entity = void 0;
exports.schemaValidator = exports.splitAndTrim = exports.mountURL = exports.toRFC3339 = exports.toMoment = exports.toArray = exports.toJSON = exports.randomString = exports.removeIndex = exports.removeItem = exports.parseToJson = exports.preserve = exports.parseEmpty = exports.getTimestamp = exports.deleteKeys = exports.lastAvailableString = exports.commaStringAsArray = exports.DateParser = exports.InvalidPayloadError = exports.BusinessRuleViolationError = exports.InvalidSchemaError = exports.RuntimeError = exports.ApplicationError = exports.DomainError = exports.UseCase = exports.ServiceProvider = exports.InfraService = exports.ApplicationService = exports.DomainService = exports.Service = exports.EventEmmiter = exports.DomainEvent = exports.Adapter = exports.SchemaValidator = exports.CollectionOfRelatedEntity = exports.MapCollectionOfValueObjects = exports.CollectionOfValueObjects = exports.CollectionOfEntity = exports.AggregateRoot = exports.Result = exports.ValueObject = exports.EntityID = exports.Entity = void 0;
var Entity_1 = require("./core/Entity.js");

@@ -28,2 +28,4 @@ Object.defineProperty(exports, "Entity", { enumerable: true, get: function () { return Entity_1.Entity; } });

Object.defineProperty(exports, "DomainEvent", { enumerable: true, get: function () { return DomainEvent_1.DomainEvent; } });
var EventEmmiter_1 = require("./core/EventEmmiter.js");
Object.defineProperty(exports, "EventEmmiter", { enumerable: true, get: function () { return EventEmmiter_1.EventEmmiter; } });
var Service_1 = require("./core/Service.js");

@@ -30,0 +32,0 @@ Object.defineProperty(exports, "Service", { enumerable: true, get: function () { return Service_1.Service; } });

@@ -13,2 +13,3 @@ export { Entity } from './core/Entity.js';

export { DomainEvent } from './core/DomainEvent.js';
export { EventEmmiter } from './core/EventEmmiter.js';
export { Service } from './core/Service.js';

@@ -15,0 +16,0 @@ export { DomainService } from './core/DomainService.js';

@@ -14,1 +14,2 @@ import { EntityID } from '../EntityID';

}
export type EventListener = (...args: Array<any>) => void;

@@ -13,2 +13,3 @@ export { Entity } from './core/Entity';

export { DomainEvent } from './core/DomainEvent';
export { EventEmmiter } from './core/EventEmmiter';
export { Service } from './core/Service';

@@ -30,2 +31,2 @@ export { DomainService } from './core/DomainService';

export type { DomainErrorJSON, ApplicationErrorJSON, RuntimeErrorJSON, PreviousErrorJSON, PreviousError, DomainErrorHiddenProp, IDomainError, IApplicationError, IRuntimeError, } from './core/errors/types';
export type { RelatedEntity, IDomainEvent } from './core/types';
export type { RelatedEntity, IDomainEvent, EventListener } from './core/types';
{
"name": "@piggly/ddd-toolkit",
"version": "3.0.4",
"version": "3.0.5",
"description": "A bunch of tools to use Model-Driven Design and Domain-Driven Design architecture in a back-end application.",

@@ -5,0 +5,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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