@forklaunch/core 0.9.7 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ declare class BaseEntity extends BaseEntity$1 {
14
14
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()
15
15
  * @returns A promise resolving to the created entity
16
16
  */
17
- static create<T extends BaseEntity>(this: Constructor<T>, data: RequiredEntityData<T>, em?: EntityManager): Promise<typeof this>;
17
+ static create<T extends BaseEntity>(this: Constructor<T>, data: RequiredEntityData<T>, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
18
18
  /**
19
19
  * Update an existing entity instance with the given data.
20
20
  *
@@ -24,11 +24,11 @@ declare class BaseEntity extends BaseEntity$1 {
24
24
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()
25
25
  * @returns A promise resolving to the updated entity
26
26
  */
27
- static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T>, em?: EntityManager): Promise<typeof this>;
27
+ static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T>, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
28
28
  /**
29
29
  * Reads the entity, initializing it if necessary, and returns its DTO representation.
30
30
  *
31
- * @param em - Optional MikroORM EntityManager for initialization
31
+ * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database
32
32
  * @returns A promise resolving to the entity's DTO (plain object representation)
33
33
  * @throws Error if the entity is not initialized and no EntityManager is provided
34
34
  */
@@ -14,7 +14,7 @@ declare class BaseEntity extends BaseEntity$1 {
14
14
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()
15
15
  * @returns A promise resolving to the created entity
16
16
  */
17
- static create<T extends BaseEntity>(this: Constructor<T>, data: RequiredEntityData<T>, em?: EntityManager): Promise<typeof this>;
17
+ static create<T extends BaseEntity>(this: Constructor<T>, data: RequiredEntityData<T>, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
18
18
  /**
19
19
  * Update an existing entity instance with the given data.
20
20
  *
@@ -24,11 +24,11 @@ declare class BaseEntity extends BaseEntity$1 {
24
24
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()
25
25
  * @returns A promise resolving to the updated entity
26
26
  */
27
- static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T>, em?: EntityManager): Promise<typeof this>;
27
+ static update<T extends BaseEntity>(this: Constructor<T>, data: EntityData<T>, em?: EntityManager, ...constructorArgs: ConstructorParameters<Constructor<T>>): Promise<T>;
28
28
  /**
29
29
  * Reads the entity, initializing it if necessary, and returns its DTO representation.
30
30
  *
31
- * @param em - Optional MikroORM EntityManager for initialization
31
+ * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database
32
32
  * @returns A promise resolving to the entity's DTO (plain object representation)
33
33
  * @throws Error if the entity is not initialized and no EntityManager is provided
34
34
  */
@@ -36,13 +36,14 @@ var BaseEntity = class extends import_core.BaseEntity {
36
36
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()
37
37
  * @returns A promise resolving to the created entity
38
38
  */
39
- static async create(data, em) {
39
+ static async create(data, em, ...constructorArgs) {
40
+ const instance = new this(...constructorArgs);
40
41
  if (em) {
41
42
  return em.create(this, data);
42
43
  } else {
43
- Object.assign(this, data);
44
+ Object.assign(instance, data);
44
45
  }
45
- return this;
46
+ return instance;
46
47
  }
47
48
  /**
48
49
  * Update an existing entity instance with the given data.
@@ -53,30 +54,25 @@ var BaseEntity = class extends import_core.BaseEntity {
53
54
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()
54
55
  * @returns A promise resolving to the updated entity
55
56
  */
56
- static async update(data, em) {
57
+ static async update(data, em, ...constructorArgs) {
58
+ const instance = new this(...constructorArgs);
57
59
  if (em) {
58
- return em.upsert(this, data);
60
+ return em.upsert(instance, data);
59
61
  } else {
60
- Object.assign(this, data);
62
+ Object.assign(instance, data);
61
63
  }
62
- return this;
64
+ return instance;
63
65
  }
64
66
  /**
65
67
  * Reads the entity, initializing it if necessary, and returns its DTO representation.
66
68
  *
67
- * @param em - Optional MikroORM EntityManager for initialization
69
+ * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database
68
70
  * @returns A promise resolving to the entity's DTO (plain object representation)
69
71
  * @throws Error if the entity is not initialized and no EntityManager is provided
70
72
  */
71
73
  async read(em) {
72
- if (!this.isInitialized()) {
73
- if (em) {
74
- await this.init({ em });
75
- } else {
76
- throw new Error(
77
- "Not connected to MikroORM backend, read() will not work"
78
- );
79
- }
74
+ if (em && !this.isInitialized()) {
75
+ await this.init({ em });
80
76
  }
81
77
  return (0, import_core.wrap)(this).toPOJO();
82
78
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/persistence/index.ts","../../../src/persistence/base.entity.ts"],"sourcesContent":["export * from './base.entity';\n","import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager\n ): Promise<typeof this> {\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(this, data);\n }\n return this;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()\n * @returns A promise resolving to the updated entity\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T>,\n em?: EntityManager\n ): Promise<typeof this> {\n if (em) {\n return em.upsert(this, data);\n } else {\n Object.assign(this, data);\n }\n return this;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (!this.isInitialized()) {\n if (em) {\n await this.init({ em });\n } else {\n throw new Error(\n 'Not connected to MikroORM backend, read() will not work'\n );\n }\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,kBAQO;AAMA,IAAM,aAAN,cAAyB,YAAAA,WAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,IACsB;AACtB,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,MAAM,IAAI;AAAA,IAC1B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,aAAa,OAEX,MACA,IACsB;AACtB,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,MAAM,IAAI;AAAA,IAC1B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,CAAC,KAAK,cAAc,GAAG;AACzB,UAAI,IAAI;AACN,cAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,MACxB,OAAO;AACL,cAAM,IAAI;AAAA,UACR;AAAA,QACF;AAAA,MACF;AAAA,IACF;AACA,eAAO,kBAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":["MikroORMBaseEntity"]}
1
+ {"version":3,"sources":["../../../src/persistence/index.ts","../../../src/persistence/base.entity.ts"],"sourcesContent":["export * from './base.entity';\n","import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, data);\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()\n * @returns A promise resolving to the updated entity\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.upsert(instance, data);\n } else {\n Object.assign(instance, data);\n }\n return instance;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (em && !this.isInitialized()) {\n await this.init({ em });\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,kBAQO;AAMA,IAAM,aAAN,cAAyB,YAAAA,WAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,UAAU,IAAI;AAAA,IAC9B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,UAAU,IAAI;AAAA,IACjC,OAAO;AACL,aAAO,OAAO,UAAU,IAAI;AAAA,IAC9B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,MAAM,CAAC,KAAK,cAAc,GAAG;AAC/B,YAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,IACxB;AACA,eAAO,kBAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":["MikroORMBaseEntity"]}
@@ -13,13 +13,14 @@ var BaseEntity = class extends MikroORMBaseEntity {
13
13
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()
14
14
  * @returns A promise resolving to the created entity
15
15
  */
16
- static async create(data, em) {
16
+ static async create(data, em, ...constructorArgs) {
17
+ const instance = new this(...constructorArgs);
17
18
  if (em) {
18
19
  return em.create(this, data);
19
20
  } else {
20
- Object.assign(this, data);
21
+ Object.assign(instance, data);
21
22
  }
22
- return this;
23
+ return instance;
23
24
  }
24
25
  /**
25
26
  * Update an existing entity instance with the given data.
@@ -30,30 +31,25 @@ var BaseEntity = class extends MikroORMBaseEntity {
30
31
  * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()
31
32
  * @returns A promise resolving to the updated entity
32
33
  */
33
- static async update(data, em) {
34
+ static async update(data, em, ...constructorArgs) {
35
+ const instance = new this(...constructorArgs);
34
36
  if (em) {
35
- return em.upsert(this, data);
37
+ return em.upsert(instance, data);
36
38
  } else {
37
- Object.assign(this, data);
39
+ Object.assign(instance, data);
38
40
  }
39
- return this;
41
+ return instance;
40
42
  }
41
43
  /**
42
44
  * Reads the entity, initializing it if necessary, and returns its DTO representation.
43
45
  *
44
- * @param em - Optional MikroORM EntityManager for initialization
46
+ * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database
45
47
  * @returns A promise resolving to the entity's DTO (plain object representation)
46
48
  * @throws Error if the entity is not initialized and no EntityManager is provided
47
49
  */
48
50
  async read(em) {
49
- if (!this.isInitialized()) {
50
- if (em) {
51
- await this.init({ em });
52
- } else {
53
- throw new Error(
54
- "Not connected to MikroORM backend, read() will not work"
55
- );
56
- }
51
+ if (em && !this.isInitialized()) {
52
+ await this.init({ em });
57
53
  }
58
54
  return wrap(this).toPOJO();
59
55
  }
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/persistence/base.entity.ts"],"sourcesContent":["import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager\n ): Promise<typeof this> {\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(this, data);\n }\n return this;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()\n * @returns A promise resolving to the updated entity\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T>,\n em?: EntityManager\n ): Promise<typeof this> {\n if (em) {\n return em.upsert(this, data);\n } else {\n Object.assign(this, data);\n }\n return this;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (!this.isInitialized()) {\n if (em) {\n await this.init({ em });\n } else {\n throw new Error(\n 'Not connected to MikroORM backend, read() will not work'\n );\n }\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";AAAA;AAAA,EAKE,cAAc;AAAA,EAEd;AAAA,OACK;AAMA,IAAM,aAAN,cAAyB,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,IACsB;AACtB,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,MAAM,IAAI;AAAA,IAC1B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,aAAa,OAEX,MACA,IACsB;AACtB,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,MAAM,IAAI;AAAA,IAC1B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,CAAC,KAAK,cAAc,GAAG;AACzB,UAAI,IAAI;AACN,cAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,MACxB,OAAO;AACL,cAAM,IAAI;AAAA,UACR;AAAA,QACF;AAAA,MACF;AAAA,IACF;AACA,WAAO,KAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":[]}
1
+ {"version":3,"sources":["../../../src/persistence/base.entity.ts"],"sourcesContent":["import {\n Constructor,\n EntityData,\n EntityDTO,\n EntityManager,\n BaseEntity as MikroORMBaseEntity,\n RequiredEntityData,\n wrap\n} from '@mikro-orm/core';\n\n/**\n * BaseEntity class extending MikroORM's BaseEntity to provide\n * convenience static methods for entity creation, updating, and reading.\n */\nexport class BaseEntity extends MikroORMBaseEntity {\n /**\n * Create a new entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Data required to create the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.create()\n * @returns A promise resolving to the created entity\n */\n static async create<T extends BaseEntity>(\n this: Constructor<T>,\n data: RequiredEntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.create(this, data);\n } else {\n Object.assign(instance, data);\n }\n return instance;\n }\n\n /**\n * Update an existing entity instance with the given data.\n *\n * @template T - Entity type extending BaseEntity\n * @param this - The constructor of the entity\n * @param data - Partial data to update the entity\n * @param em - Optional MikroORM EntityManager. If passed, this will call em.upsert()\n * @returns A promise resolving to the updated entity\n */\n static async update<T extends BaseEntity>(\n this: Constructor<T>,\n data: EntityData<T>,\n em?: EntityManager,\n ...constructorArgs: ConstructorParameters<Constructor<T>>\n ): Promise<T> {\n const instance = new this(...constructorArgs);\n if (em) {\n return em.upsert(instance, data);\n } else {\n Object.assign(instance, data);\n }\n return instance;\n }\n\n /**\n * Reads the entity, initializing it if necessary, and returns its DTO representation.\n *\n * @param em - Optional MikroORM EntityManager for initialization. If passed, entity will synchronize with database\n * @returns A promise resolving to the entity's DTO (plain object representation)\n * @throws Error if the entity is not initialized and no EntityManager is provided\n */\n async read(em?: EntityManager): Promise<EntityDTO<this>> {\n if (em && !this.isInitialized()) {\n await this.init({ em });\n }\n return wrap(this).toPOJO();\n }\n}\n"],"mappings":";AAAA;AAAA,EAKE,cAAc;AAAA,EAEd;AAAA,OACK;AAMA,IAAM,aAAN,cAAyB,mBAAmB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAUjD,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,MAAM,IAAI;AAAA,IAC7B,OAAO;AACL,aAAO,OAAO,UAAU,IAAI;AAAA,IAC9B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAWA,aAAa,OAEX,MACA,OACG,iBACS;AACZ,UAAM,WAAW,IAAI,KAAK,GAAG,eAAe;AAC5C,QAAI,IAAI;AACN,aAAO,GAAG,OAAO,UAAU,IAAI;AAAA,IACjC,OAAO;AACL,aAAO,OAAO,UAAU,IAAI;AAAA,IAC9B;AACA,WAAO;AAAA,EACT;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EASA,MAAM,KAAK,IAA8C;AACvD,QAAI,MAAM,CAAC,KAAK,cAAc,GAAG;AAC/B,YAAM,KAAK,KAAK,EAAE,GAAG,CAAC;AAAA,IACxB;AACA,WAAO,KAAK,IAAI,EAAE,OAAO;AAAA,EAC3B;AACF;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forklaunch/core",
3
- "version": "0.9.7",
3
+ "version": "0.9.9",
4
4
  "description": "forklaunch-js core package. Contains useful building blocks.",
5
5
  "homepage": "https://github.com/forklaunch/forklaunch-js#readme",
6
6
  "bugs": {
@@ -96,8 +96,8 @@
96
96
  "pino-pretty": "^13.0.0",
97
97
  "redis": "^5.5.6",
98
98
  "uuid": "^11.1.0",
99
- "@forklaunch/common": "0.3.8",
100
- "@forklaunch/validator": "0.6.8"
99
+ "@forklaunch/common": "0.3.9",
100
+ "@forklaunch/validator": "0.6.9"
101
101
  },
102
102
  "devDependencies": {
103
103
  "@eslint/js": "^9.28.0",
@@ -106,11 +106,11 @@
106
106
  "@types/jest": "^29.5.14",
107
107
  "@types/qs": "^6.14.0",
108
108
  "@types/uuid": "^10.0.0",
109
- "@typescript/native-preview": "7.0.0-dev.20250609.1",
109
+ "@typescript/native-preview": "7.0.0-dev.20250610.1",
110
110
  "globals": "^16.2.0",
111
- "jest": "^29.7.0",
111
+ "jest": "^30.0.0",
112
112
  "prettier": "^3.5.3",
113
- "testcontainers": "^11.0.2",
113
+ "testcontainers": "^11.0.3",
114
114
  "ts-jest": "^29.3.4",
115
115
  "ts-node": "^10.9.2",
116
116
  "tsup": "^8.5.0",