jest-expo 55.0.0-canary-20251127-587bc53 → 55.0.0-canary-20251205-756eb7a
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/package.json +14 -6
- package/src/rsc-utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jest-expo",
|
|
3
|
-
"version": "55.0.0-canary-
|
|
3
|
+
"version": "55.0.0-canary-20251205-756eb7a",
|
|
4
4
|
"description": "A Jest preset to painlessly test your Expo / React Native apps.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -37,8 +37,8 @@
|
|
|
37
37
|
"preset": "jest-expo/universal"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@expo/config": "12.0.
|
|
41
|
-
"@expo/json-file": "10.0.
|
|
40
|
+
"@expo/config": "12.0.12-canary-20251205-756eb7a",
|
|
41
|
+
"@expo/json-file": "10.0.9-canary-20251205-756eb7a",
|
|
42
42
|
"@jest/create-cache-key-function": "^29.2.1",
|
|
43
43
|
"@jest/globals": "^29.2.1",
|
|
44
44
|
"babel-jest": "^29.2.1",
|
|
@@ -48,13 +48,21 @@
|
|
|
48
48
|
"jest-watch-typeahead": "2.2.1",
|
|
49
49
|
"json5": "^2.2.3",
|
|
50
50
|
"lodash": "^4.17.19",
|
|
51
|
-
"react-server-dom-webpack": "~19.0.0",
|
|
52
51
|
"react-test-renderer": "19.2.0",
|
|
53
52
|
"server-only": "^0.0.1",
|
|
54
53
|
"stacktrace-js": "^2.0.2"
|
|
55
54
|
},
|
|
56
55
|
"peerDependencies": {
|
|
57
|
-
"expo": "55.0.0-canary-
|
|
58
|
-
"react-native": "*"
|
|
56
|
+
"expo": "55.0.0-canary-20251205-756eb7a",
|
|
57
|
+
"react-native": "*",
|
|
58
|
+
"react-server-dom-webpack": "~19.0.1 || ~19.1.2 || ~19.2.1"
|
|
59
|
+
},
|
|
60
|
+
"peerDependenciesMeta": {
|
|
61
|
+
"react-server-dom-webpack": {
|
|
62
|
+
"optional": true
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"react-server-dom-webpack": "~19.0.1"
|
|
59
67
|
}
|
|
60
68
|
}
|
package/src/rsc-utils.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import path from 'path';
|
|
2
|
-
import { renderToReadableStream } from 'react-server-dom-webpack/server';
|
|
3
2
|
|
|
4
3
|
import { toPosixPath } from './filePath';
|
|
5
4
|
|
|
@@ -40,6 +39,7 @@ export async function renderJsxToFlightStringAsync(jsx, throwOnError = true) {
|
|
|
40
39
|
}
|
|
41
40
|
|
|
42
41
|
export function renderJsxToReadableStream(jsx, { onError } = {}) {
|
|
42
|
+
const { renderToReadableStream } = require('react-server-dom-webpack/server');
|
|
43
43
|
const clientBoundaries = [];
|
|
44
44
|
const bundlerConfig = new Proxy(
|
|
45
45
|
{},
|