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

@aleodoni-fullstack/core-libs

Package Overview
Dependencies
Maintainers
0
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aleodoni-fullstack/core-libs - npm Package Compare versions

Comparing version 1.0.9 to 1.0.10

6

dist/index.d.ts

@@ -124,2 +124,6 @@ import { EventEmitter } from 'events';

declare class UniqueEntityCUID extends Identifier<string | number> {
constructor(id?: string | number);
}
interface ValueObjectProps {

@@ -184,2 +188,2 @@ [index: string]: any;

export { AggregateRoot, AppError, Changes, DomainEmitter, DomainEvents, DomainService, Either, Entity, Guard, GuardArgumentCollection, IDomainEvent, IGuardArgument, IGuardResult, IHandle, Identifier, Left, Mapper, Result, Right, StaticGenerationService, UniqueEntityID, UseCase, UseCaseError, ValueObject, WatchedList, WithChanges, delay, left, right };
export { AggregateRoot, AppError, Changes, DomainEmitter, DomainEvents, DomainService, Either, Entity, Guard, GuardArgumentCollection, IDomainEvent, IGuardArgument, IGuardResult, IHandle, Identifier, Left, Mapper, Result, Right, StaticGenerationService, UniqueEntityCUID, UniqueEntityID, UseCase, UseCaseError, ValueObject, WatchedList, WithChanges, delay, left, right };

@@ -33,2 +33,3 @@ var __defProp = Object.defineProperty;

Right: () => Right,
UniqueEntityCUID: () => UniqueEntityCUID,
UniqueEntityID: () => UniqueEntityID,

@@ -293,3 +294,3 @@ UseCaseError: () => UseCaseError,

// src/domain/UniqueEntityID.ts
var import_uuid = require("uuid");
var import_cuid2 = require("@paralleldrive/cuid2");

@@ -322,3 +323,3 @@ // src/domain/Identifier.ts

constructor(id) {
super(id || (0, import_uuid.v4)());
super(id || (0, import_cuid2.createId)());
}

@@ -440,2 +441,10 @@ };

// src/domain/UniqueEntityCUID.ts
var import_cuid22 = require("@paralleldrive/cuid2");
var UniqueEntityCUID = class extends Identifier {
constructor(id) {
super(id || (0, import_cuid22.createId)());
}
};
// src/domain/ValueObject.ts

@@ -562,2 +571,3 @@ var ValueObject = class {

Right,
UniqueEntityCUID,
UniqueEntityID,

@@ -564,0 +574,0 @@ UseCaseError,

2

package.json
{
"name": "@aleodoni-fullstack/core-libs",
"version": "1.0.9",
"version": "1.0.10",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "license": "MIT",

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