sonamu 0.2.40 → 0.2.41

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.
@@ -4214,7 +4214,7 @@ var DB = new DBClass();
4214
4214
 
4215
4215
  // src/database/base-model.ts
4216
4216
  import { DateTime } from "luxon";
4217
- import _9 from "lodash";
4217
+ import _9, { once } from "lodash";
4218
4218
 
4219
4219
  // src/database/knex-plugins/knex-on-duplicate-update.ts
4220
4220
  import knex2 from "knex";
@@ -4545,7 +4545,7 @@ function getTableNamesFromWhere(ast) {
4545
4545
  }
4546
4546
 
4547
4547
  // src/database/base-model.ts
4548
- attachOnDuplicateUpdate();
4548
+ once(() => attachOnDuplicateUpdate());
4549
4549
  var BaseModelClass = class {
4550
4550
  constructor() {
4551
4551
  this.modelName = "Unknown";
@@ -7440,4 +7440,4 @@ export {
7440
7440
  FixtureManagerClass,
7441
7441
  FixtureManager
7442
7442
  };
7443
- //# sourceMappingURL=chunk-OTFO46SP.mjs.map
7443
+ //# sourceMappingURL=chunk-D7R7DOVD.mjs.map