@nocobase/database 1.6.0-alpha.2 → 1.6.0-alpha.4

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.
@@ -48,7 +48,6 @@ __export(single_relation_repository_exports, {
48
48
  SingleRelationRepository: () => SingleRelationRepository
49
49
  });
50
50
  module.exports = __toCommonJS(single_relation_repository_exports);
51
- var import_lodash = __toESM(require("lodash"));
52
51
  var import_target_collection_decorator = __toESM(require("../decorators/target-collection-decorator"));
53
52
  var import_update_associations = require("../update-associations");
54
53
  var import_relation_repository = require("./relation-repository");
@@ -103,7 +102,7 @@ const _SingleRelationRepository = class _SingleRelationRepository extends import
103
102
  throw new Error("The record does not exist");
104
103
  }
105
104
  await (0, import_update_associations.updateModelByValues)(target, options == null ? void 0 : options.values, {
106
- ...import_lodash.default.omit(options, "values"),
105
+ ...options,
107
106
  transaction: transaction2
108
107
  });
109
108
  if (options.hooks !== false) {
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@nocobase/database",
3
- "version": "1.6.0-alpha.2",
3
+ "version": "1.6.0-alpha.4",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "types": "./lib/index.d.ts",
7
7
  "license": "AGPL-3.0",
8
8
  "dependencies": {
9
- "@nocobase/logger": "1.6.0-alpha.2",
10
- "@nocobase/utils": "1.6.0-alpha.2",
9
+ "@nocobase/logger": "1.6.0-alpha.4",
10
+ "@nocobase/utils": "1.6.0-alpha.4",
11
11
  "async-mutex": "^0.3.2",
12
12
  "chalk": "^4.1.1",
13
13
  "cron-parser": "4.4.0",
@@ -38,5 +38,5 @@
38
38
  "url": "git+https://github.com/nocobase/nocobase.git",
39
39
  "directory": "packages/database"
40
40
  },
41
- "gitHead": "08bbc34c21727fc0ad0880f397a42bf7741091ee"
41
+ "gitHead": "595d5236feda9258791dac76270494721813b7e1"
42
42
  }