@dnax/core 0.76.3 → 0.76.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.
- package/app/hono.ts +8 -0
- package/package.json +3 -3
- package/types/index.ts +1 -1
package/app/hono.ts
CHANGED
|
@@ -753,6 +753,14 @@ function HonoInstance(): typeof app {
|
|
|
753
753
|
}
|
|
754
754
|
}
|
|
755
755
|
|
|
756
|
+
if (col?.privateFields?.length && response?.data) {
|
|
757
|
+
response.data = omit(response.data, col?.privateFields);
|
|
758
|
+
}
|
|
759
|
+
|
|
760
|
+
if (col?.privateFields?.length) {
|
|
761
|
+
response = omit(response, col?.privateFields);
|
|
762
|
+
}
|
|
763
|
+
|
|
756
764
|
// hidden is function
|
|
757
765
|
if (
|
|
758
766
|
col?.api?.fields?.hidden?.length &&
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnax/core",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.4",
|
|
4
4
|
"module": "index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {},
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"mime-types": "^2.1.35",
|
|
42
42
|
"minio": "^8.0.5",
|
|
43
43
|
"moment": "^2.30.1",
|
|
44
|
-
"mongodb": "6.
|
|
44
|
+
"mongodb": "6.21.0",
|
|
45
45
|
"nodemailer": "^7.0.5",
|
|
46
46
|
"ora": "^8.2.0",
|
|
47
47
|
"pidusage": "^4.0.0",
|
|
48
48
|
"radash": "^12.1.0",
|
|
49
49
|
"rfc6902": "^5.1.2",
|
|
50
50
|
"sharp": "^0.33.5",
|
|
51
|
-
"ssh2": "^1.
|
|
51
|
+
"ssh2": "^1.17.0",
|
|
52
52
|
"ufo": "^1.5.4",
|
|
53
53
|
"urlencode": "^2.0.0",
|
|
54
54
|
"uuid": "^13.0.0"
|