@dnax/core 0.76.4 → 0.76.6
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 +0 -2
- package/package.json +9 -11
- package/utils/index.ts +2 -0
package/app/hono.ts
CHANGED
|
@@ -98,9 +98,7 @@ function HonoInstance(): typeof app {
|
|
|
98
98
|
);
|
|
99
99
|
|
|
100
100
|
app.use(secureHeaders());
|
|
101
|
-
//app.use(compress());
|
|
102
101
|
|
|
103
|
-
//eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2VyIjoibm9tIiwiaWF0IjoxNzE3Nzc0MDQzLCJleHAiOjE3MTc3NzQxMDN9.Ud4-0y8pa4SMIcSn8PU1A-sjC-hT4ZVe_u3AdChyIJU
|
|
104
102
|
// Middlewares Injection
|
|
105
103
|
app.use(async (c, next) => {
|
|
106
104
|
return asyncLocalStorage.run(new Map(), async () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dnax/core",
|
|
3
|
-
"version": "0.76.
|
|
3
|
+
"version": "0.76.6",
|
|
4
4
|
"module": "index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {},
|
|
@@ -8,12 +8,11 @@
|
|
|
8
8
|
"@types/bun": "latest",
|
|
9
9
|
"@types/dot-object": "^2.1.6",
|
|
10
10
|
"@types/fs-extra": "^11.0.4",
|
|
11
|
-
"@types/jsonwebtoken": "9.0.
|
|
11
|
+
"@types/jsonwebtoken": "9.0.10",
|
|
12
12
|
"@types/mime-types": "^3.0.1",
|
|
13
|
-
"@types/
|
|
14
|
-
"@types/nodemailer": "^6.4.17",
|
|
13
|
+
"@types/nodemailer": "^7.0.4",
|
|
15
14
|
"@types/pidusage": "^2.0.5",
|
|
16
|
-
"@types/uuid": "^
|
|
15
|
+
"@types/uuid": "^11.0.0"
|
|
17
16
|
},
|
|
18
17
|
"peerDependencies": {
|
|
19
18
|
"typescript": "^5.9.2"
|
|
@@ -34,20 +33,19 @@
|
|
|
34
33
|
"dot-object": "2.1.5",
|
|
35
34
|
"fs-extra": "^11.2.0",
|
|
36
35
|
"generate-unique-id": "^2.0.3",
|
|
37
|
-
"hono": "4.10.
|
|
38
|
-
"joi": "
|
|
36
|
+
"hono": "4.10.7",
|
|
37
|
+
"joi": "18.0.2",
|
|
39
38
|
"json-joy": "16.8.0",
|
|
40
|
-
"jsonwebtoken": "^9.0.
|
|
39
|
+
"jsonwebtoken": "^9.0.3",
|
|
41
40
|
"mime-types": "^2.1.35",
|
|
42
|
-
"minio": "^8.0.5",
|
|
43
41
|
"moment": "^2.30.1",
|
|
44
|
-
"mongodb": "
|
|
42
|
+
"mongodb": "7.0.0",
|
|
45
43
|
"nodemailer": "^7.0.5",
|
|
46
44
|
"ora": "^8.2.0",
|
|
47
45
|
"pidusage": "^4.0.0",
|
|
48
46
|
"radash": "^12.1.0",
|
|
49
47
|
"rfc6902": "^5.1.2",
|
|
50
|
-
"sharp": "^0.
|
|
48
|
+
"sharp": "^0.34.5",
|
|
51
49
|
"ssh2": "^1.17.0",
|
|
52
50
|
"ufo": "^1.5.4",
|
|
53
51
|
"urlencode": "^2.0.0",
|
package/utils/index.ts
CHANGED
|
@@ -24,6 +24,7 @@ import { getPidUsage } from "./os";
|
|
|
24
24
|
import { deepEqual } from "json-joy/lib/json-equal/deepEqual";
|
|
25
25
|
import type { SupportedCryptoAlgorithms } from "bun";
|
|
26
26
|
//import {applyPatch} from "json-joy/lib/json-patch"
|
|
27
|
+
import cleanDeep from "clean-deep";
|
|
27
28
|
|
|
28
29
|
function copy(data: object): object | any {
|
|
29
30
|
return deepCopy(data);
|
|
@@ -633,4 +634,5 @@ export {
|
|
|
633
634
|
useKey,
|
|
634
635
|
getRecentDate,
|
|
635
636
|
getPidUsage,
|
|
637
|
+
cleanDeep,
|
|
636
638
|
};
|