@mikro-orm/knex 6.2.5-dev.1 → 6.2.5-dev.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikro-orm/knex",
3
- "version": "6.2.5-dev.1",
3
+ "version": "6.2.5-dev.2",
4
4
  "description": "TypeScript ORM for Node.js based on Data Mapper, Unit of Work and Identity Map patterns. Supports MongoDB, MySQL, PostgreSQL and SQLite databases as well as usage with vanilla JavaScript.",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -66,6 +66,6 @@
66
66
  "@mikro-orm/core": "^6.2.4"
67
67
  },
68
68
  "peerDependencies": {
69
- "@mikro-orm/core": "6.2.5-dev.1"
69
+ "@mikro-orm/core": "6.2.5-dev.2"
70
70
  }
71
71
  }
@@ -270,7 +270,7 @@ export declare class QueryBuilder<T extends object = AnyEntity> {
270
270
  private ensureFromClause;
271
271
  private ensureNotFinalized;
272
272
  /** @ignore */
273
- [inspect.custom](depth: number): string;
273
+ [inspect.custom](depth?: number): string;
274
274
  }
275
275
  export interface RunQueryBuilder<T extends object> extends Omit<QueryBuilder<T>, 'getResult' | 'getSingleResult' | 'getResultList' | 'where'> {
276
276
  where(cond: QBFilterQuery<T> | string, params?: keyof typeof GroupOperator | any[], operator?: keyof typeof GroupOperator): this;
@@ -1336,7 +1336,7 @@ class QueryBuilder {
1336
1336
  }
1337
1337
  /* istanbul ignore next */
1338
1338
  /** @ignore */
1339
- [util_1.inspect.custom](depth) {
1339
+ [util_1.inspect.custom](depth = 2) {
1340
1340
  const object = { ...this };
1341
1341
  const hidden = ['metadata', 'driver', 'context', 'platform', 'knex', 'type'];
1342
1342
  Object.keys(object).filter(k => k.startsWith('_')).forEach(k => delete object[k]);