@modern-js/types 1.20.1 → 1.21.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @modern-js/types
2
2
 
3
+ ## 1.21.0
4
+
5
+ ### Patch Changes
6
+
7
+ - f51c59a: feat: remove node internal package like fs or path which import by ssr runtime
8
+ feat: 删除在 ssr runtime 中引用的 node 内部包
9
+
3
10
  ## 1.20.1
4
11
 
5
12
  ## 1.20.0
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.20.1",
14
+ "version": "1.21.0",
15
15
  "types": "./index.d.ts",
16
16
  "exports": {
17
17
  ".": "./index.d.ts",
@@ -21,8 +21,8 @@
21
21
  }
22
22
  },
23
23
  "devDependencies": {
24
- "@scripts/build": "1.20.1",
25
- "@scripts/jest-config": "1.20.1",
24
+ "@scripts/build": "1.21.0",
25
+ "@scripts/jest-config": "1.21.0",
26
26
  "@types/jest": "^27",
27
27
  "@types/node": "^14",
28
28
  "http-proxy-middleware": "^2.0.4",
@@ -66,7 +66,7 @@ export type BaseSSRServerContext = {
66
66
  status: (code: number) => void;
67
67
  };
68
68
  redirection: { url?: string; status?: number };
69
- distDir: string;
69
+ loadableStats: Record<string, any>;
70
70
  template: string;
71
71
  entryName: string;
72
72
  logger: {
@@ -86,7 +86,6 @@ export type BaseSSRServerContext = {
86
86
  tags: Record<string, unknown> = {},
87
87
  ) => void;
88
88
  };
89
- loadableManifest?: string;
90
89
  cacheConfig?: any;
91
90
  };
92
91