@modern-js/server 2.32.2-alpha.1 → 2.33.1

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.
@@ -20,8 +20,7 @@ async function workerSSRRender(ctx, renderOptions, _runner) {
20
20
  timeout: 5e3,
21
21
  responseType: "text",
22
22
  headers,
23
- params,
24
- adapter: require("axios/lib/adapters/http")
23
+ params
25
24
  });
26
25
  return {
27
26
  content: resposne.data,
@@ -21,8 +21,7 @@ function _workerSSRRender() {
21
21
  timeout: 5e3,
22
22
  responseType: "text",
23
23
  headers: headers,
24
- params: params,
25
- adapter: require("axios/lib/adapters/http")
24
+ params: params
26
25
  })
27
26
  ];
28
27
  case 1:
@@ -9,8 +9,7 @@ export async function workerSSRRender(ctx, renderOptions, _runner) {
9
9
  timeout: 5e3,
10
10
  responseType: "text",
11
11
  headers,
12
- params,
13
- adapter: require("axios/lib/adapters/http")
12
+ params
14
13
  });
15
14
  return {
16
15
  content: resposne.data,
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.32.2-alpha.1",
18
+ "version": "2.33.1",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -48,10 +48,10 @@
48
48
  "path-to-regexp": "^6.2.0",
49
49
  "ws": "^8.2.0",
50
50
  "axios": "^1.2.1",
51
- "@modern-js/prod-server": "2.32.2-alpha.1",
52
- "@modern-js/server-utils": "2.32.2-alpha.1",
53
- "@modern-js/types": "2.32.2-alpha.1",
54
- "@modern-js/utils": "2.32.2-alpha.1"
51
+ "@modern-js/prod-server": "2.33.1",
52
+ "@modern-js/server-utils": "2.33.1",
53
+ "@modern-js/types": "2.33.1",
54
+ "@modern-js/utils": "2.33.1"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/connect-history-api-fallback": "^1.3.5",
@@ -66,9 +66,9 @@
66
66
  "typescript": "^5",
67
67
  "webpack": "^5.88.1",
68
68
  "websocket": "^1",
69
- "@modern-js/server-core": "2.32.2-alpha.1",
70
- "@scripts/build": "2.32.1",
71
- "@scripts/jest-config": "2.32.1"
69
+ "@scripts/build": "2.33.1",
70
+ "@modern-js/server-core": "2.33.1",
71
+ "@scripts/jest-config": "2.33.1"
72
72
  },
73
73
  "peerDependencies": {
74
74
  "devcert": "^1.0.0",