@modern-js/render 2.69.5 → 3.0.0-alpha.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.
@@ -2,4 +2,4 @@
2
2
  * forked and modified from https://github.com/devongovett/rsc-html-stream/blob/main/client.js
3
3
  * license at https://github.com/devongovett/rsc-html-stream/blob/main/LICENSE
4
4
  */
5
- export declare const rscStream: ReadableStream<Uint8Array>;
5
+ export declare const rscStream: ReadableStream<Uint8Array<ArrayBufferLike>>;
package/package.json CHANGED
@@ -15,30 +15,32 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.69.5",
18
+ "version": "3.0.0-alpha.0",
19
19
  "files": [
20
20
  "dist",
21
21
  "hook.d.ts"
22
22
  ],
23
23
  "dependencies": {
24
24
  "@swc/helpers": "^0.5.17",
25
- "@modern-js/types": "2.69.5",
26
- "@modern-js/utils": "2.69.5"
25
+ "@modern-js/types": "3.0.0-alpha.0",
26
+ "@modern-js/utils": "3.0.0-alpha.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@types/jest": "^29",
30
- "@types/react": "^19.0.0",
31
- "@types/react-dom": "^19.0.0",
32
- "jest": "^29",
33
- "react": "^18.3.1",
34
- "react-dom": "^18.3.1",
29
+ "@rslib/core": "0.18.5",
30
+ "@types/react": "^19.2.7",
31
+ "@types/react-dom": "^19.2.3",
32
+ "react": "^19.2.3",
33
+ "react-dom": "^19.2.3",
34
+ "react-server-dom-webpack": "^19.2.3",
35
35
  "typescript": "^5",
36
- "@modern-js/server-core": "2.69.5"
36
+ "@modern-js/rslib": "2.68.10",
37
+ "@scripts/rstest-config": "2.66.0",
38
+ "@modern-js/server-core": "3.0.0-alpha.0"
37
39
  },
38
40
  "peerDependencies": {
39
- "react": ">=17.0.0",
40
- "react-dom": ">=17.0.0",
41
- "react-server-dom-webpack": "^19.0.3"
41
+ "react": ">=17.0.2",
42
+ "react-dom": ">=17.0.2",
43
+ "react-server-dom-webpack": "^19.2.3"
42
44
  },
43
45
  "exports": {
44
46
  "./ssr": {
@@ -76,10 +78,9 @@
76
78
  "access": "public"
77
79
  },
78
80
  "scripts": {
79
- "new": "modern-lib new",
80
81
  "dev": "modern-lib build --watch",
81
82
  "build": "modern-lib build",
82
- "test": "jest --passWithNoTests"
83
+ "test": "rstest --passWithNoTests"
83
84
  },
84
85
  "types": "./dist/types/browser.d.ts"
85
86
  }