@clairejs/server 3.21.7 → 3.21.9

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/README.md CHANGED
@@ -1,7 +1,8 @@
1
1
  ## Change Log
2
2
 
3
- #### 3.21.7:
3
+ #### 3.21.9:
4
4
 
5
+ - fix express wrapper parse multipart form data
5
6
  - upgrade packages
6
7
  - fix getApiInfo return circular object
7
8
  - fix cron expression
@@ -56,7 +56,7 @@ export class ExpressWrapper {
56
56
  });
57
57
  app.use(express.raw({
58
58
  limit: requestLimitBytes,
59
- type: (req) => !["application/json", "application/x-www-form-urlencoded"].find((type) => req.headers["content-type"]?.includes(type)),
59
+ type: (req) => !["application/json", "application/x-www-form-urlencoded", "multipart/form-data"].find((type) => req.headers["content-type"]?.includes(type)),
60
60
  }));
61
61
  app.all("*", (req, res) => {
62
62
  (async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clairejs/server",
3
- "version": "3.21.7",
3
+ "version": "3.21.9",
4
4
  "description": "Claire server NodeJs framework written in Typescript.",
5
5
  "types": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
@@ -33,9 +33,9 @@
33
33
  "ws": "^7.5.5"
34
34
  },
35
35
  "peerDependencies": {
36
+ "@clairejs/client": "^3.4.1",
36
37
  "@clairejs/core": "^3.8.8",
37
- "@clairejs/orm": "^3.16.6",
38
- "@clairejs/client": "^3.4.1"
38
+ "@clairejs/orm": "^3.16.7"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/cookie-parser": "^1.4.3",