@modern-js/runtime 0.0.0-next-1678932293161 → 0.0.0-next-1678938221663

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,25 +1,22 @@
1
1
  # @modern-js/runtime
2
2
 
3
- ## 0.0.0-next-1678932293161
3
+ ## 0.0.0-next-1678938221663
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - e8c580125: fix: remove `serialze-javascript` from client bundle
7
+ - e8c580125d: fix: remove `serialze-javascript` from client bundle
8
8
  fix: 移除客户端构建产物中的 `serialze-javascript`
9
- - fca9731f6: chore: upgrade jest and puppeteer
10
- chore: 升级 jest 和 puppeteer 到 latest
11
- - 7035d5c22: feat: support streaming ssr in worker
9
+ - 7035d5c22f: feat: support streaming ssr in worker
12
10
 
13
11
  feat: worker 支持 streaming ssr
14
12
 
15
- - 49bb8cd0e: fix: move chunkmap.css comment to bottom of head
13
+ - 49bb8cd0ef: fix: move chunkmap.css comment to bottom of head
16
14
  fix: 将 chunkmap.css 标记移动到 head 底部
17
- - 755a05357: fix: export missing react-router types
15
+ - 755a053579: fix: export missing react-router types
18
16
  fix: 导出缺少的 react-router 类型
19
- - Updated dependencies [fca9731f6]
20
- - @modern-js/plugin@0.0.0-next-1678932293161
21
- - @modern-js/types@0.0.0-next-1678932293161
22
- - @modern-js/utils@0.0.0-next-1678932293161
17
+ - @modern-js/plugin@0.0.0-next-1678938221663
18
+ - @modern-js/types@0.0.0-next-1678938221663
19
+ - @modern-js/utils@0.0.0-next-1678938221663
23
20
 
24
21
  ## 2.8.0
25
22
 
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Body(props: {
2
3
  children?: any;
3
4
  }): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Head(props: {
2
3
  children?: any;
3
4
  }): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Html(props: {
2
3
  children: any[];
3
4
  }): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Links(): JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Root(props: {
2
3
  children?: any;
3
4
  rootId?: string;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare function Script(props: {
2
3
  content: () => void;
3
4
  }): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare function Scripts(): JSX.Element;
@@ -1 +1,2 @@
1
+ /// <reference types="react" />
1
2
  export declare const DefaultNotFound: () => JSX.Element;
@@ -1,3 +1,5 @@
1
+ /// <reference types="react" />
2
+
1
3
  /**
2
4
  * DeferredDataScripts only renders in server side,
3
5
  * it doesn't need to be hydrated in client side.
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "0.0.0-next-1678932293161",
14
+ "version": "0.0.0-next-1678938221663",
15
15
  "engines": {
16
16
  "node": ">=14.17.6"
17
17
  },
@@ -158,9 +158,9 @@
158
158
  "react-side-effect": "^2.1.1",
159
159
  "redux-logger": "^3.0.6",
160
160
  "styled-components": "^5.3.1",
161
- "@modern-js/plugin": "0.0.0-next-1678932293161",
162
- "@modern-js/utils": "0.0.0-next-1678932293161",
163
- "@modern-js/types": "0.0.0-next-1678932293161"
161
+ "@modern-js/plugin": "0.0.0-next-1678938221663",
162
+ "@modern-js/types": "0.0.0-next-1678938221663",
163
+ "@modern-js/utils": "0.0.0-next-1678938221663"
164
164
  },
165
165
  "peerDependencies": {
166
166
  "react": ">=17",
@@ -172,20 +172,20 @@
172
172
  "@testing-library/react": "^13.4.0",
173
173
  "@testing-library/react-hooks": "^8.0.1",
174
174
  "@types/invariant": "^2.2.30",
175
- "@types/jest": "^29",
175
+ "@types/jest": "^27",
176
176
  "@types/loadable__webpack-plugin": "^5.7.3",
177
177
  "@types/node": "^14",
178
178
  "@types/react-side-effect": "^1.1.1",
179
- "jest": "^29",
179
+ "jest": "^27",
180
180
  "react": "^18",
181
181
  "react-dom": "^18",
182
- "ts-jest": "^29.0.5",
182
+ "ts-jest": "^27.0.4",
183
183
  "typescript": "^4",
184
- "@modern-js/app-tools": "0.0.0-next-1678932293161",
185
- "@modern-js/core": "0.0.0-next-1678932293161",
186
- "@modern-js/server-core": "0.0.0-next-1678932293161",
187
- "@scripts/build": "0.0.0-next-1678932293161",
188
- "@scripts/jest-config": "0.0.0-next-1678932293161"
184
+ "@modern-js/app-tools": "0.0.0-next-1678938221663",
185
+ "@modern-js/core": "0.0.0-next-1678938221663",
186
+ "@modern-js/server-core": "0.0.0-next-1678938221663",
187
+ "@scripts/build": "0.0.0-next-1678938221663",
188
+ "@scripts/jest-config": "0.0.0-next-1678938221663"
189
189
  },
190
190
  "sideEffects": false,
191
191
  "modernConfig": {},