@nocobase/database 1.6.0-beta.16 → 1.6.0-beta.17
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.
|
@@ -84,7 +84,8 @@ const _RelationRepository = class _RelationRepository {
|
|
|
84
84
|
decodeMultiTargetKey(str) {
|
|
85
85
|
try {
|
|
86
86
|
const decoded = decodeURIComponent(str);
|
|
87
|
-
|
|
87
|
+
const parsed = JSON.parse(decoded);
|
|
88
|
+
return typeof parsed === "object" && parsed !== null ? parsed : decoded;
|
|
88
89
|
} catch (e) {
|
|
89
90
|
return false;
|
|
90
91
|
}
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/database",
|
|
3
|
-
"version": "1.6.0-beta.
|
|
3
|
+
"version": "1.6.0-beta.17",
|
|
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-beta.
|
|
10
|
-
"@nocobase/utils": "1.6.0-beta.
|
|
9
|
+
"@nocobase/logger": "1.6.0-beta.17",
|
|
10
|
+
"@nocobase/utils": "1.6.0-beta.17",
|
|
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": "
|
|
41
|
+
"gitHead": "f431f7c589bcefd6dcda19a0119a85b0aa192b05"
|
|
42
42
|
}
|