@modern-js/plugin-v2 2.67.3 → 2.67.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.
@@ -36,7 +36,8 @@ function initServerContext(params) {
36
36
  metaName: options.metaName || "modern-js",
37
37
  plugins,
38
38
  middlewares: [],
39
- bffRuntimeFramework: options.appContext.bffRuntimeFramework
39
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework,
40
+ renderMiddlewares: []
40
41
  };
41
42
  }
42
43
  function createServerContext({ serverContext, config }) {
@@ -14,7 +14,8 @@ function initServerContext(params) {
14
14
  metaName: options.metaName || "modern-js",
15
15
  plugins,
16
16
  middlewares: [],
17
- bffRuntimeFramework: options.appContext.bffRuntimeFramework
17
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework,
18
+ renderMiddlewares: []
18
19
  };
19
20
  }
20
21
  function createServerContext(param) {
@@ -12,7 +12,8 @@ function initServerContext(params) {
12
12
  metaName: options.metaName || "modern-js",
13
13
  plugins,
14
14
  middlewares: [],
15
- bffRuntimeFramework: options.appContext.bffRuntimeFramework
15
+ bffRuntimeFramework: options.appContext.bffRuntimeFramework,
16
+ renderMiddlewares: []
16
17
  };
17
18
  }
18
19
  function createServerContext({ serverContext, config }) {
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.67.3",
18
+ "version": "2.67.4",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -81,20 +81,20 @@
81
81
  "dependencies": {
82
82
  "@swc/helpers": "0.5.13",
83
83
  "jiti": "1.21.7",
84
- "@modern-js/runtime-utils": "2.67.3",
85
- "@modern-js/utils": "2.67.3"
84
+ "@modern-js/runtime-utils": "2.67.4",
85
+ "@modern-js/utils": "2.67.4"
86
86
  },
87
87
  "devDependencies": {
88
- "@rsbuild/core": "1.3.10",
88
+ "@rsbuild/core": "1.3.16",
89
89
  "@types/jest": "^29",
90
90
  "@types/node": "^14",
91
91
  "@types/react": "^18.3.11",
92
92
  "jest": "^29",
93
93
  "typescript": "^5",
94
- "@modern-js/types": "2.67.3",
95
- "@modern-js/uni-builder": "2.67.3",
96
- "@scripts/jest-config": "2.66.0",
97
- "@scripts/build": "2.66.0"
94
+ "@modern-js/types": "2.67.4",
95
+ "@modern-js/uni-builder": "2.67.4",
96
+ "@scripts/build": "2.66.0",
97
+ "@scripts/jest-config": "2.66.0"
98
98
  },
99
99
  "sideEffects": false,
100
100
  "publishConfig": {