react-server-dom-webpack 19.2.0-canary-0ff1d13b-20250507 → 19.2.0-canary-21fdf308-20250508
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/cjs/react-server-dom-webpack-client.browser.development.js +77 -24
- package/cjs/react-server-dom-webpack-client.edge.development.js +75 -22
- package/cjs/react-server-dom-webpack-client.node.development.js +75 -22
- package/cjs/react-server-dom-webpack-client.node.unbundled.development.js +75 -22
- package/cjs/react-server-dom-webpack-server.browser.development.js +28 -11
- package/cjs/react-server-dom-webpack-server.browser.production.js +8 -10
- package/cjs/react-server-dom-webpack-server.edge.development.js +28 -11
- package/cjs/react-server-dom-webpack-server.edge.production.js +4 -6
- package/cjs/react-server-dom-webpack-server.node.development.js +28 -11
- package/cjs/react-server-dom-webpack-server.node.production.js +8 -10
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +28 -11
- package/cjs/react-server-dom-webpack-server.node.unbundled.production.js +8 -10
- package/package.json +3 -3
@@ -1917,41 +1917,90 @@
|
|
1917
1917
|
sourceMap,
|
1918
1918
|
line,
|
1919
1919
|
col,
|
1920
|
+
enclosingLine,
|
1921
|
+
enclosingCol,
|
1920
1922
|
environmentName
|
1921
1923
|
) {
|
1922
1924
|
name || (name = "<anonymous>");
|
1923
1925
|
var encodedName = JSON.stringify(name);
|
1924
|
-
1
|
1925
|
-
|
1926
|
-
|
1927
|
-
|
1928
|
-
|
1929
|
-
|
1930
|
-
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1926
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
1927
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
1928
|
+
1 > line ? (line = 0) : line--;
|
1929
|
+
1 > col ? (col = 0) : col--;
|
1930
|
+
if (
|
1931
|
+
line < enclosingLine ||
|
1932
|
+
(line === enclosingLine && col < enclosingCol)
|
1933
|
+
)
|
1934
|
+
enclosingCol = enclosingLine = 0;
|
1935
|
+
1 > line
|
1936
|
+
? ((line = encodedName.length + 3),
|
1937
|
+
(enclosingCol -= line),
|
1938
|
+
0 > enclosingCol && (enclosingCol = 0),
|
1939
|
+
(col = col - enclosingCol - line - 3),
|
1940
|
+
0 > col && (col = 0),
|
1941
|
+
(encodedName =
|
1935
1942
|
"({" +
|
1936
1943
|
encodedName +
|
1937
|
-
":
|
1938
|
-
" ".repeat(
|
1939
|
-
"_
|
1944
|
+
":" +
|
1945
|
+
" ".repeat(enclosingCol) +
|
1946
|
+
"_=>" +
|
1947
|
+
" ".repeat(col) +
|
1948
|
+
"_()})"))
|
1949
|
+
: 1 > enclosingLine
|
1950
|
+
? ((enclosingCol -= encodedName.length + 3),
|
1951
|
+
0 > enclosingCol && (enclosingCol = 0),
|
1952
|
+
(encodedName =
|
1953
|
+
"({" +
|
1954
|
+
encodedName +
|
1955
|
+
":" +
|
1956
|
+
" ".repeat(enclosingCol) +
|
1957
|
+
"_=>" +
|
1958
|
+
"\n".repeat(line - enclosingLine) +
|
1959
|
+
" ".repeat(col) +
|
1960
|
+
"_()})"))
|
1961
|
+
: enclosingLine === line
|
1962
|
+
? ((col = col - enclosingCol - 3),
|
1963
|
+
0 > col && (col = 0),
|
1964
|
+
(encodedName =
|
1965
|
+
"\n".repeat(enclosingLine - 1) +
|
1966
|
+
"({" +
|
1967
|
+
encodedName +
|
1968
|
+
":\n" +
|
1969
|
+
" ".repeat(enclosingCol) +
|
1970
|
+
"_=>" +
|
1971
|
+
" ".repeat(col) +
|
1972
|
+
"_()})"))
|
1973
|
+
: (encodedName =
|
1974
|
+
"\n".repeat(enclosingLine - 1) +
|
1975
|
+
"({" +
|
1976
|
+
encodedName +
|
1977
|
+
":\n" +
|
1978
|
+
" ".repeat(enclosingCol) +
|
1979
|
+
"_=>" +
|
1980
|
+
"\n".repeat(line - enclosingLine) +
|
1981
|
+
" ".repeat(col) +
|
1982
|
+
"_()})");
|
1983
|
+
encodedName =
|
1984
|
+
1 > enclosingLine
|
1985
|
+
? encodedName +
|
1986
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
1987
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
1988
|
+
encodedName;
|
1940
1989
|
filename.startsWith("/") && (filename = "file://" + filename);
|
1941
1990
|
sourceMap
|
1942
|
-
? ((
|
1991
|
+
? ((encodedName +=
|
1943
1992
|
"\n//# sourceURL=rsc://React/" +
|
1944
1993
|
encodeURIComponent(environmentName) +
|
1945
1994
|
"/" +
|
1946
1995
|
encodeURI(filename) +
|
1947
1996
|
"?" +
|
1948
1997
|
fakeFunctionIdx++),
|
1949
|
-
(
|
1950
|
-
: (
|
1951
|
-
?
|
1952
|
-
:
|
1998
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
1999
|
+
: (encodedName = filename
|
2000
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
2001
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
1953
2002
|
try {
|
1954
|
-
var fn = (0, eval)(
|
2003
|
+
var fn = (0, eval)(encodedName)[name];
|
1955
2004
|
} catch (x) {
|
1956
2005
|
fn = function (_) {
|
1957
2006
|
return _();
|
@@ -1967,8 +2016,10 @@
|
|
1967
2016
|
if (void 0 === fn) {
|
1968
2017
|
fn = frame[0];
|
1969
2018
|
var filename = frame[1],
|
1970
|
-
line = frame[2]
|
1971
|
-
|
2019
|
+
line = frame[2],
|
2020
|
+
col = frame[3],
|
2021
|
+
enclosingLine = frame[4];
|
2022
|
+
frame = frame[5];
|
1972
2023
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
1973
2024
|
findSourceMapURL = findSourceMapURL
|
1974
2025
|
? findSourceMapURL(filename, environmentName)
|
@@ -1978,6 +2029,8 @@
|
|
1978
2029
|
filename,
|
1979
2030
|
findSourceMapURL,
|
1980
2031
|
line,
|
2032
|
+
col,
|
2033
|
+
enclosingLine,
|
1981
2034
|
frame,
|
1982
2035
|
environmentName
|
1983
2036
|
);
|
@@ -2693,10 +2746,10 @@
|
|
2693
2746
|
return hook.checkDCE ? !0 : !1;
|
2694
2747
|
})({
|
2695
2748
|
bundleType: 1,
|
2696
|
-
version: "19.2.0-canary-
|
2749
|
+
version: "19.2.0-canary-21fdf308-20250508",
|
2697
2750
|
rendererPackageName: "react-server-dom-webpack",
|
2698
2751
|
currentDispatcherRef: ReactSharedInternals,
|
2699
|
-
reconcilerVersion: "19.2.0-canary-
|
2752
|
+
reconcilerVersion: "19.2.0-canary-21fdf308-20250508",
|
2700
2753
|
getCurrentComponentInfo: function () {
|
2701
2754
|
return currentOwnerInDEV;
|
2702
2755
|
}
|
@@ -2137,41 +2137,90 @@
|
|
2137
2137
|
sourceMap,
|
2138
2138
|
line,
|
2139
2139
|
col,
|
2140
|
+
enclosingLine,
|
2141
|
+
enclosingCol,
|
2140
2142
|
environmentName
|
2141
2143
|
) {
|
2142
2144
|
name || (name = "<anonymous>");
|
2143
2145
|
var encodedName = JSON.stringify(name);
|
2144
|
-
1
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2146
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
2147
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
2148
|
+
1 > line ? (line = 0) : line--;
|
2149
|
+
1 > col ? (col = 0) : col--;
|
2150
|
+
if (
|
2151
|
+
line < enclosingLine ||
|
2152
|
+
(line === enclosingLine && col < enclosingCol)
|
2153
|
+
)
|
2154
|
+
enclosingCol = enclosingLine = 0;
|
2155
|
+
1 > line
|
2156
|
+
? ((line = encodedName.length + 3),
|
2157
|
+
(enclosingCol -= line),
|
2158
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2159
|
+
(col = col - enclosingCol - line - 3),
|
2160
|
+
0 > col && (col = 0),
|
2161
|
+
(encodedName =
|
2155
2162
|
"({" +
|
2156
2163
|
encodedName +
|
2157
|
-
":
|
2158
|
-
" ".repeat(
|
2159
|
-
"_
|
2164
|
+
":" +
|
2165
|
+
" ".repeat(enclosingCol) +
|
2166
|
+
"_=>" +
|
2167
|
+
" ".repeat(col) +
|
2168
|
+
"_()})"))
|
2169
|
+
: 1 > enclosingLine
|
2170
|
+
? ((enclosingCol -= encodedName.length + 3),
|
2171
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2172
|
+
(encodedName =
|
2173
|
+
"({" +
|
2174
|
+
encodedName +
|
2175
|
+
":" +
|
2176
|
+
" ".repeat(enclosingCol) +
|
2177
|
+
"_=>" +
|
2178
|
+
"\n".repeat(line - enclosingLine) +
|
2179
|
+
" ".repeat(col) +
|
2180
|
+
"_()})"))
|
2181
|
+
: enclosingLine === line
|
2182
|
+
? ((col = col - enclosingCol - 3),
|
2183
|
+
0 > col && (col = 0),
|
2184
|
+
(encodedName =
|
2185
|
+
"\n".repeat(enclosingLine - 1) +
|
2186
|
+
"({" +
|
2187
|
+
encodedName +
|
2188
|
+
":\n" +
|
2189
|
+
" ".repeat(enclosingCol) +
|
2190
|
+
"_=>" +
|
2191
|
+
" ".repeat(col) +
|
2192
|
+
"_()})"))
|
2193
|
+
: (encodedName =
|
2194
|
+
"\n".repeat(enclosingLine - 1) +
|
2195
|
+
"({" +
|
2196
|
+
encodedName +
|
2197
|
+
":\n" +
|
2198
|
+
" ".repeat(enclosingCol) +
|
2199
|
+
"_=>" +
|
2200
|
+
"\n".repeat(line - enclosingLine) +
|
2201
|
+
" ".repeat(col) +
|
2202
|
+
"_()})");
|
2203
|
+
encodedName =
|
2204
|
+
1 > enclosingLine
|
2205
|
+
? encodedName +
|
2206
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
2207
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
2208
|
+
encodedName;
|
2160
2209
|
filename.startsWith("/") && (filename = "file://" + filename);
|
2161
2210
|
sourceMap
|
2162
|
-
? ((
|
2211
|
+
? ((encodedName +=
|
2163
2212
|
"\n//# sourceURL=rsc://React/" +
|
2164
2213
|
encodeURIComponent(environmentName) +
|
2165
2214
|
"/" +
|
2166
2215
|
encodeURI(filename) +
|
2167
2216
|
"?" +
|
2168
2217
|
fakeFunctionIdx++),
|
2169
|
-
(
|
2170
|
-
: (
|
2171
|
-
?
|
2172
|
-
:
|
2218
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
2219
|
+
: (encodedName = filename
|
2220
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
2221
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
2173
2222
|
try {
|
2174
|
-
var fn = (0, eval)(
|
2223
|
+
var fn = (0, eval)(encodedName)[name];
|
2175
2224
|
} catch (x) {
|
2176
2225
|
fn = function (_) {
|
2177
2226
|
return _();
|
@@ -2187,8 +2236,10 @@
|
|
2187
2236
|
if (void 0 === fn) {
|
2188
2237
|
fn = frame[0];
|
2189
2238
|
var filename = frame[1],
|
2190
|
-
line = frame[2]
|
2191
|
-
|
2239
|
+
line = frame[2],
|
2240
|
+
col = frame[3],
|
2241
|
+
enclosingLine = frame[4];
|
2242
|
+
frame = frame[5];
|
2192
2243
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
2193
2244
|
findSourceMapURL = findSourceMapURL
|
2194
2245
|
? findSourceMapURL(filename, environmentName)
|
@@ -2198,6 +2249,8 @@
|
|
2198
2249
|
filename,
|
2199
2250
|
findSourceMapURL,
|
2200
2251
|
line,
|
2252
|
+
col,
|
2253
|
+
enclosingLine,
|
2201
2254
|
frame,
|
2202
2255
|
environmentName
|
2203
2256
|
);
|
@@ -2137,41 +2137,90 @@
|
|
2137
2137
|
sourceMap,
|
2138
2138
|
line,
|
2139
2139
|
col,
|
2140
|
+
enclosingLine,
|
2141
|
+
enclosingCol,
|
2140
2142
|
environmentName
|
2141
2143
|
) {
|
2142
2144
|
name || (name = "<anonymous>");
|
2143
2145
|
var encodedName = JSON.stringify(name);
|
2144
|
-
1
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
|
2149
|
-
|
2150
|
-
|
2151
|
-
|
2152
|
-
|
2153
|
-
|
2154
|
-
|
2146
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
2147
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
2148
|
+
1 > line ? (line = 0) : line--;
|
2149
|
+
1 > col ? (col = 0) : col--;
|
2150
|
+
if (
|
2151
|
+
line < enclosingLine ||
|
2152
|
+
(line === enclosingLine && col < enclosingCol)
|
2153
|
+
)
|
2154
|
+
enclosingCol = enclosingLine = 0;
|
2155
|
+
1 > line
|
2156
|
+
? ((line = encodedName.length + 3),
|
2157
|
+
(enclosingCol -= line),
|
2158
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2159
|
+
(col = col - enclosingCol - line - 3),
|
2160
|
+
0 > col && (col = 0),
|
2161
|
+
(encodedName =
|
2155
2162
|
"({" +
|
2156
2163
|
encodedName +
|
2157
|
-
":
|
2158
|
-
" ".repeat(
|
2159
|
-
"_
|
2164
|
+
":" +
|
2165
|
+
" ".repeat(enclosingCol) +
|
2166
|
+
"_=>" +
|
2167
|
+
" ".repeat(col) +
|
2168
|
+
"_()})"))
|
2169
|
+
: 1 > enclosingLine
|
2170
|
+
? ((enclosingCol -= encodedName.length + 3),
|
2171
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2172
|
+
(encodedName =
|
2173
|
+
"({" +
|
2174
|
+
encodedName +
|
2175
|
+
":" +
|
2176
|
+
" ".repeat(enclosingCol) +
|
2177
|
+
"_=>" +
|
2178
|
+
"\n".repeat(line - enclosingLine) +
|
2179
|
+
" ".repeat(col) +
|
2180
|
+
"_()})"))
|
2181
|
+
: enclosingLine === line
|
2182
|
+
? ((col = col - enclosingCol - 3),
|
2183
|
+
0 > col && (col = 0),
|
2184
|
+
(encodedName =
|
2185
|
+
"\n".repeat(enclosingLine - 1) +
|
2186
|
+
"({" +
|
2187
|
+
encodedName +
|
2188
|
+
":\n" +
|
2189
|
+
" ".repeat(enclosingCol) +
|
2190
|
+
"_=>" +
|
2191
|
+
" ".repeat(col) +
|
2192
|
+
"_()})"))
|
2193
|
+
: (encodedName =
|
2194
|
+
"\n".repeat(enclosingLine - 1) +
|
2195
|
+
"({" +
|
2196
|
+
encodedName +
|
2197
|
+
":\n" +
|
2198
|
+
" ".repeat(enclosingCol) +
|
2199
|
+
"_=>" +
|
2200
|
+
"\n".repeat(line - enclosingLine) +
|
2201
|
+
" ".repeat(col) +
|
2202
|
+
"_()})");
|
2203
|
+
encodedName =
|
2204
|
+
1 > enclosingLine
|
2205
|
+
? encodedName +
|
2206
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
2207
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
2208
|
+
encodedName;
|
2160
2209
|
filename.startsWith("/") && (filename = "file://" + filename);
|
2161
2210
|
sourceMap
|
2162
|
-
? ((
|
2211
|
+
? ((encodedName +=
|
2163
2212
|
"\n//# sourceURL=rsc://React/" +
|
2164
2213
|
encodeURIComponent(environmentName) +
|
2165
2214
|
"/" +
|
2166
2215
|
encodeURI(filename) +
|
2167
2216
|
"?" +
|
2168
2217
|
fakeFunctionIdx++),
|
2169
|
-
(
|
2170
|
-
: (
|
2171
|
-
?
|
2172
|
-
:
|
2218
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
2219
|
+
: (encodedName = filename
|
2220
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
2221
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
2173
2222
|
try {
|
2174
|
-
var fn = (0, eval)(
|
2223
|
+
var fn = (0, eval)(encodedName)[name];
|
2175
2224
|
} catch (x) {
|
2176
2225
|
fn = function (_) {
|
2177
2226
|
return _();
|
@@ -2187,8 +2236,10 @@
|
|
2187
2236
|
if (void 0 === fn) {
|
2188
2237
|
fn = frame[0];
|
2189
2238
|
var filename = frame[1],
|
2190
|
-
line = frame[2]
|
2191
|
-
|
2239
|
+
line = frame[2],
|
2240
|
+
col = frame[3],
|
2241
|
+
enclosingLine = frame[4];
|
2242
|
+
frame = frame[5];
|
2192
2243
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
2193
2244
|
findSourceMapURL = findSourceMapURL
|
2194
2245
|
? findSourceMapURL(filename, environmentName)
|
@@ -2198,6 +2249,8 @@
|
|
2198
2249
|
filename,
|
2199
2250
|
findSourceMapURL,
|
2200
2251
|
line,
|
2252
|
+
col,
|
2253
|
+
enclosingLine,
|
2201
2254
|
frame,
|
2202
2255
|
environmentName
|
2203
2256
|
);
|
@@ -2099,41 +2099,90 @@
|
|
2099
2099
|
sourceMap,
|
2100
2100
|
line,
|
2101
2101
|
col,
|
2102
|
+
enclosingLine,
|
2103
|
+
enclosingCol,
|
2102
2104
|
environmentName
|
2103
2105
|
) {
|
2104
2106
|
name || (name = "<anonymous>");
|
2105
2107
|
var encodedName = JSON.stringify(name);
|
2106
|
-
1
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2108
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
2109
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
2110
|
+
1 > line ? (line = 0) : line--;
|
2111
|
+
1 > col ? (col = 0) : col--;
|
2112
|
+
if (
|
2113
|
+
line < enclosingLine ||
|
2114
|
+
(line === enclosingLine && col < enclosingCol)
|
2115
|
+
)
|
2116
|
+
enclosingCol = enclosingLine = 0;
|
2117
|
+
1 > line
|
2118
|
+
? ((line = encodedName.length + 3),
|
2119
|
+
(enclosingCol -= line),
|
2120
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2121
|
+
(col = col - enclosingCol - line - 3),
|
2122
|
+
0 > col && (col = 0),
|
2123
|
+
(encodedName =
|
2117
2124
|
"({" +
|
2118
2125
|
encodedName +
|
2119
|
-
":
|
2120
|
-
" ".repeat(
|
2121
|
-
"_
|
2126
|
+
":" +
|
2127
|
+
" ".repeat(enclosingCol) +
|
2128
|
+
"_=>" +
|
2129
|
+
" ".repeat(col) +
|
2130
|
+
"_()})"))
|
2131
|
+
: 1 > enclosingLine
|
2132
|
+
? ((enclosingCol -= encodedName.length + 3),
|
2133
|
+
0 > enclosingCol && (enclosingCol = 0),
|
2134
|
+
(encodedName =
|
2135
|
+
"({" +
|
2136
|
+
encodedName +
|
2137
|
+
":" +
|
2138
|
+
" ".repeat(enclosingCol) +
|
2139
|
+
"_=>" +
|
2140
|
+
"\n".repeat(line - enclosingLine) +
|
2141
|
+
" ".repeat(col) +
|
2142
|
+
"_()})"))
|
2143
|
+
: enclosingLine === line
|
2144
|
+
? ((col = col - enclosingCol - 3),
|
2145
|
+
0 > col && (col = 0),
|
2146
|
+
(encodedName =
|
2147
|
+
"\n".repeat(enclosingLine - 1) +
|
2148
|
+
"({" +
|
2149
|
+
encodedName +
|
2150
|
+
":\n" +
|
2151
|
+
" ".repeat(enclosingCol) +
|
2152
|
+
"_=>" +
|
2153
|
+
" ".repeat(col) +
|
2154
|
+
"_()})"))
|
2155
|
+
: (encodedName =
|
2156
|
+
"\n".repeat(enclosingLine - 1) +
|
2157
|
+
"({" +
|
2158
|
+
encodedName +
|
2159
|
+
":\n" +
|
2160
|
+
" ".repeat(enclosingCol) +
|
2161
|
+
"_=>" +
|
2162
|
+
"\n".repeat(line - enclosingLine) +
|
2163
|
+
" ".repeat(col) +
|
2164
|
+
"_()})");
|
2165
|
+
encodedName =
|
2166
|
+
1 > enclosingLine
|
2167
|
+
? encodedName +
|
2168
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
2169
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
2170
|
+
encodedName;
|
2122
2171
|
filename.startsWith("/") && (filename = "file://" + filename);
|
2123
2172
|
sourceMap
|
2124
|
-
? ((
|
2173
|
+
? ((encodedName +=
|
2125
2174
|
"\n//# sourceURL=rsc://React/" +
|
2126
2175
|
encodeURIComponent(environmentName) +
|
2127
2176
|
"/" +
|
2128
2177
|
encodeURI(filename) +
|
2129
2178
|
"?" +
|
2130
2179
|
fakeFunctionIdx++),
|
2131
|
-
(
|
2132
|
-
: (
|
2133
|
-
?
|
2134
|
-
:
|
2180
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
2181
|
+
: (encodedName = filename
|
2182
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
2183
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
2135
2184
|
try {
|
2136
|
-
var fn = (0, eval)(
|
2185
|
+
var fn = (0, eval)(encodedName)[name];
|
2137
2186
|
} catch (x) {
|
2138
2187
|
fn = function (_) {
|
2139
2188
|
return _();
|
@@ -2149,8 +2198,10 @@
|
|
2149
2198
|
if (void 0 === fn) {
|
2150
2199
|
fn = frame[0];
|
2151
2200
|
var filename = frame[1],
|
2152
|
-
line = frame[2]
|
2153
|
-
|
2201
|
+
line = frame[2],
|
2202
|
+
col = frame[3],
|
2203
|
+
enclosingLine = frame[4];
|
2204
|
+
frame = frame[5];
|
2154
2205
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
2155
2206
|
findSourceMapURL = findSourceMapURL
|
2156
2207
|
? findSourceMapURL(filename, environmentName)
|
@@ -2160,6 +2211,8 @@
|
|
2160
2211
|
filename,
|
2161
2212
|
findSourceMapURL,
|
2162
2213
|
line,
|
2214
|
+
col,
|
2215
|
+
enclosingLine,
|
2163
2216
|
frame,
|
2164
2217
|
environmentName
|
2165
2218
|
);
|
@@ -206,7 +206,7 @@
|
|
206
206
|
var callSite = structuredStackTrace[i],
|
207
207
|
_name = callSite.getFunctionName() || "<anonymous>";
|
208
208
|
if ("react-stack-bottom-frame" === _name) break;
|
209
|
-
else if (callSite.isNative()) result.push([_name, "", 0, 0]);
|
209
|
+
else if (callSite.isNative()) result.push([_name, "", 0, 0, 0, 0]);
|
210
210
|
else {
|
211
211
|
if (callSite.isConstructor()) _name = "new " + _name;
|
212
212
|
else if (!callSite.isToplevel()) {
|
@@ -240,8 +240,23 @@
|
|
240
240
|
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
241
241
|
(methodName = callSite$jscomp$0.toString() + ", <anonymous>");
|
242
242
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
243
|
-
|
244
|
-
|
243
|
+
result$jscomp$0 = callSite.getColumnNumber() || 0;
|
244
|
+
var enclosingLine =
|
245
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
246
|
+
? callSite.getEnclosingLineNumber() || 0
|
247
|
+
: 0;
|
248
|
+
callSite =
|
249
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
250
|
+
? callSite.getEnclosingColumnNumber() || 0
|
251
|
+
: 0;
|
252
|
+
result.push([
|
253
|
+
_name,
|
254
|
+
methodName,
|
255
|
+
callSite$jscomp$0,
|
256
|
+
result$jscomp$0,
|
257
|
+
enclosingLine,
|
258
|
+
callSite
|
259
|
+
]);
|
245
260
|
}
|
246
261
|
}
|
247
262
|
error = (error.name || "Error") + ": " + (error.message || "");
|
@@ -282,7 +297,9 @@
|
|
282
297
|
name,
|
283
298
|
filename,
|
284
299
|
+(previousPrepare[3] || previousPrepare[6]),
|
285
|
-
+(previousPrepare[4] || previousPrepare[7])
|
300
|
+
+(previousPrepare[4] || previousPrepare[7]),
|
301
|
+
0,
|
302
|
+
0
|
286
303
|
]);
|
287
304
|
}
|
288
305
|
return error;
|
@@ -308,13 +325,12 @@
|
|
308
325
|
maybeIterable["@@iterator"];
|
309
326
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
310
327
|
}
|
311
|
-
function noop
|
328
|
+
function noop() {}
|
312
329
|
function trackUsedThenable(thenableState, thenable, index) {
|
313
330
|
index = thenableState[index];
|
314
331
|
void 0 === index
|
315
332
|
? thenableState.push(thenable)
|
316
|
-
: index !== thenable &&
|
317
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
333
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
318
334
|
switch (thenable.status) {
|
319
335
|
case "fulfilled":
|
320
336
|
return thenable.value;
|
@@ -322,7 +338,7 @@
|
|
322
338
|
throw thenable.reason;
|
323
339
|
default:
|
324
340
|
"string" === typeof thenable.status
|
325
|
-
? thenable.then(noop
|
341
|
+
? thenable.then(noop, noop)
|
326
342
|
: ((thenableState = thenable),
|
327
343
|
(thenableState.status = "pending"),
|
328
344
|
thenableState.then(
|
@@ -697,7 +713,6 @@
|
|
697
713
|
function defaultErrorHandler(error) {
|
698
714
|
console.error(error);
|
699
715
|
}
|
700
|
-
function defaultPostponeHandler() {}
|
701
716
|
function RequestInstance(
|
702
717
|
type,
|
703
718
|
model,
|
@@ -769,7 +784,6 @@
|
|
769
784
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
770
785
|
pingedTasks.push(type);
|
771
786
|
}
|
772
|
-
function noop() {}
|
773
787
|
function createRequest(
|
774
788
|
model,
|
775
789
|
bundlerConfig,
|
@@ -1604,7 +1618,9 @@
|
|
1604
1618
|
error = serverReference.$$location;
|
1605
1619
|
error &&
|
1606
1620
|
((error = parseStackTrace(error, 1)),
|
1607
|
-
0 < error.length &&
|
1621
|
+
0 < error.length &&
|
1622
|
+
((location = error[0]),
|
1623
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1608
1624
|
existingId =
|
1609
1625
|
null !== location
|
1610
1626
|
? {
|
@@ -3964,6 +3980,7 @@
|
|
3964
3980
|
CLOSING = 13,
|
3965
3981
|
CLOSED = 14,
|
3966
3982
|
PRERENDER = 21,
|
3983
|
+
defaultPostponeHandler = noop,
|
3967
3984
|
currentRequest = null,
|
3968
3985
|
debugID = null,
|
3969
3986
|
serializedSize = 0,
|
@@ -442,16 +442,16 @@ function getIteratorFn(maybeIterable) {
|
|
442
442
|
maybeIterable["@@iterator"];
|
443
443
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
444
444
|
}
|
445
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
446
|
-
|
447
|
-
|
448
|
-
|
449
|
-
|
445
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
446
|
+
function noop() {}
|
447
|
+
var SuspenseException = Error(
|
448
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
449
|
+
);
|
450
450
|
function trackUsedThenable(thenableState, thenable, index) {
|
451
451
|
index = thenableState[index];
|
452
452
|
void 0 === index
|
453
453
|
? thenableState.push(thenable)
|
454
|
-
: index !== thenable && (thenable.then(noop
|
454
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
455
455
|
switch (thenable.status) {
|
456
456
|
case "fulfilled":
|
457
457
|
return thenable.value;
|
@@ -459,7 +459,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
459
459
|
throw thenable.reason;
|
460
460
|
default:
|
461
461
|
"string" === typeof thenable.status
|
462
|
-
? thenable.then(noop
|
462
|
+
? thenable.then(noop, noop)
|
463
463
|
: ((thenableState = thenable),
|
464
464
|
(thenableState.status = "pending"),
|
465
465
|
thenableState.then(
|
@@ -718,7 +718,6 @@ var ObjectPrototype = Object.prototype,
|
|
718
718
|
function defaultErrorHandler(error) {
|
719
719
|
console.error(error);
|
720
720
|
}
|
721
|
-
function defaultPostponeHandler() {}
|
722
721
|
function RequestInstance(
|
723
722
|
type,
|
724
723
|
model,
|
@@ -765,13 +764,12 @@ function RequestInstance(
|
|
765
764
|
this.identifierCount = 1;
|
766
765
|
this.taintCleanupQueue = [];
|
767
766
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
768
|
-
this.onPostpone = void 0 === onPostpone ?
|
767
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
769
768
|
this.onAllReady = onAllReady;
|
770
769
|
this.onFatalError = onFatalError;
|
771
770
|
type = createTask(this, model, null, !1, filterStackFrame);
|
772
771
|
environmentName.push(type);
|
773
772
|
}
|
774
|
-
function noop() {}
|
775
773
|
var currentRequest = null;
|
776
774
|
function serializeThenable(request, task, thenable) {
|
777
775
|
var newTask = createTask(
|
@@ -210,7 +210,7 @@
|
|
210
210
|
var callSite = structuredStackTrace[i],
|
211
211
|
_name = callSite.getFunctionName() || "<anonymous>";
|
212
212
|
if ("react-stack-bottom-frame" === _name) break;
|
213
|
-
else if (callSite.isNative()) result.push([_name, "", 0, 0]);
|
213
|
+
else if (callSite.isNative()) result.push([_name, "", 0, 0, 0, 0]);
|
214
214
|
else {
|
215
215
|
if (callSite.isConstructor()) _name = "new " + _name;
|
216
216
|
else if (!callSite.isToplevel()) {
|
@@ -244,8 +244,23 @@
|
|
244
244
|
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
245
245
|
(methodName = callSite$jscomp$0.toString() + ", <anonymous>");
|
246
246
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
247
|
-
|
248
|
-
|
247
|
+
result$jscomp$0 = callSite.getColumnNumber() || 0;
|
248
|
+
var enclosingLine =
|
249
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
250
|
+
? callSite.getEnclosingLineNumber() || 0
|
251
|
+
: 0;
|
252
|
+
callSite =
|
253
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
254
|
+
? callSite.getEnclosingColumnNumber() || 0
|
255
|
+
: 0;
|
256
|
+
result.push([
|
257
|
+
_name,
|
258
|
+
methodName,
|
259
|
+
callSite$jscomp$0,
|
260
|
+
result$jscomp$0,
|
261
|
+
enclosingLine,
|
262
|
+
callSite
|
263
|
+
]);
|
249
264
|
}
|
250
265
|
}
|
251
266
|
error = (error.name || "Error") + ": " + (error.message || "");
|
@@ -286,7 +301,9 @@
|
|
286
301
|
name,
|
287
302
|
filename,
|
288
303
|
+(previousPrepare[3] || previousPrepare[6]),
|
289
|
-
+(previousPrepare[4] || previousPrepare[7])
|
304
|
+
+(previousPrepare[4] || previousPrepare[7]),
|
305
|
+
0,
|
306
|
+
0
|
290
307
|
]);
|
291
308
|
}
|
292
309
|
return error;
|
@@ -304,13 +321,12 @@
|
|
304
321
|
temporaryReferences.set(reference, id);
|
305
322
|
return reference;
|
306
323
|
}
|
307
|
-
function noop
|
324
|
+
function noop() {}
|
308
325
|
function trackUsedThenable(thenableState, thenable, index) {
|
309
326
|
index = thenableState[index];
|
310
327
|
void 0 === index
|
311
328
|
? thenableState.push(thenable)
|
312
|
-
: index !== thenable &&
|
313
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
329
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
314
330
|
switch (thenable.status) {
|
315
331
|
case "fulfilled":
|
316
332
|
return thenable.value;
|
@@ -318,7 +334,7 @@
|
|
318
334
|
throw thenable.reason;
|
319
335
|
default:
|
320
336
|
"string" === typeof thenable.status
|
321
|
-
? thenable.then(noop
|
337
|
+
? thenable.then(noop, noop)
|
322
338
|
: ((thenableState = thenable),
|
323
339
|
(thenableState.status = "pending"),
|
324
340
|
thenableState.then(
|
@@ -704,7 +720,6 @@
|
|
704
720
|
function defaultErrorHandler(error) {
|
705
721
|
console.error(error);
|
706
722
|
}
|
707
|
-
function defaultPostponeHandler() {}
|
708
723
|
function RequestInstance(
|
709
724
|
type,
|
710
725
|
model,
|
@@ -776,7 +791,6 @@
|
|
776
791
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
777
792
|
pingedTasks.push(type);
|
778
793
|
}
|
779
|
-
function noop() {}
|
780
794
|
function createRequest(
|
781
795
|
model,
|
782
796
|
bundlerConfig,
|
@@ -1667,7 +1681,9 @@
|
|
1667
1681
|
error = serverReference.$$location;
|
1668
1682
|
error &&
|
1669
1683
|
((error = parseStackTrace(error, 1)),
|
1670
|
-
0 < error.length &&
|
1684
|
+
0 < error.length &&
|
1685
|
+
((location = error[0]),
|
1686
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1671
1687
|
existingId =
|
1672
1688
|
null !== location
|
1673
1689
|
? {
|
@@ -4042,6 +4058,7 @@
|
|
4042
4058
|
CLOSING = 13,
|
4043
4059
|
CLOSED = 14,
|
4044
4060
|
PRERENDER = 21,
|
4061
|
+
defaultPostponeHandler = noop,
|
4045
4062
|
currentRequest = null,
|
4046
4063
|
debugID = null,
|
4047
4064
|
serializedSize = 0,
|
@@ -441,15 +441,15 @@ function createTemporaryReference(temporaryReferences, id) {
|
|
441
441
|
temporaryReferences.set(reference, id);
|
442
442
|
return reference;
|
443
443
|
}
|
444
|
+
function noop() {}
|
444
445
|
var SuspenseException = Error(
|
445
446
|
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
446
447
|
);
|
447
|
-
function noop$1() {}
|
448
448
|
function trackUsedThenable(thenableState, thenable, index) {
|
449
449
|
index = thenableState[index];
|
450
450
|
void 0 === index
|
451
451
|
? thenableState.push(thenable)
|
452
|
-
: index !== thenable && (thenable.then(noop
|
452
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
453
453
|
switch (thenable.status) {
|
454
454
|
case "fulfilled":
|
455
455
|
return thenable.value;
|
@@ -457,7 +457,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
457
457
|
throw thenable.reason;
|
458
458
|
default:
|
459
459
|
"string" === typeof thenable.status
|
460
|
-
? thenable.then(noop
|
460
|
+
? thenable.then(noop, noop)
|
461
461
|
: ((thenableState = thenable),
|
462
462
|
(thenableState.status = "pending"),
|
463
463
|
thenableState.then(
|
@@ -715,7 +715,6 @@ var ObjectPrototype = Object.prototype,
|
|
715
715
|
function defaultErrorHandler(error) {
|
716
716
|
console.error(error);
|
717
717
|
}
|
718
|
-
function defaultPostponeHandler() {}
|
719
718
|
function RequestInstance(
|
720
719
|
type,
|
721
720
|
model,
|
@@ -762,13 +761,12 @@ function RequestInstance(
|
|
762
761
|
this.identifierCount = 1;
|
763
762
|
this.taintCleanupQueue = [];
|
764
763
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
765
|
-
this.onPostpone = void 0 === onPostpone ?
|
764
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
766
765
|
this.onAllReady = onAllReady;
|
767
766
|
this.onFatalError = onFatalError;
|
768
767
|
type = createTask(this, model, null, !1, filterStackFrame);
|
769
768
|
environmentName.push(type);
|
770
769
|
}
|
771
|
-
function noop() {}
|
772
770
|
var currentRequest = null;
|
773
771
|
function resolveRequest() {
|
774
772
|
if (currentRequest) return currentRequest;
|
@@ -229,7 +229,7 @@
|
|
229
229
|
var callSite = structuredStackTrace[i],
|
230
230
|
_name = callSite.getFunctionName() || "<anonymous>";
|
231
231
|
if ("react-stack-bottom-frame" === _name) break;
|
232
|
-
else if (callSite.isNative()) result.push([_name, "", 0, 0]);
|
232
|
+
else if (callSite.isNative()) result.push([_name, "", 0, 0, 0, 0]);
|
233
233
|
else {
|
234
234
|
if (callSite.isConstructor()) _name = "new " + _name;
|
235
235
|
else if (!callSite.isToplevel()) {
|
@@ -263,8 +263,23 @@
|
|
263
263
|
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
264
264
|
(methodName = callSite$jscomp$0.toString() + ", <anonymous>");
|
265
265
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
266
|
-
|
267
|
-
|
266
|
+
result$jscomp$0 = callSite.getColumnNumber() || 0;
|
267
|
+
var enclosingLine =
|
268
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
269
|
+
? callSite.getEnclosingLineNumber() || 0
|
270
|
+
: 0;
|
271
|
+
callSite =
|
272
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
273
|
+
? callSite.getEnclosingColumnNumber() || 0
|
274
|
+
: 0;
|
275
|
+
result.push([
|
276
|
+
_name,
|
277
|
+
methodName,
|
278
|
+
callSite$jscomp$0,
|
279
|
+
result$jscomp$0,
|
280
|
+
enclosingLine,
|
281
|
+
callSite
|
282
|
+
]);
|
268
283
|
}
|
269
284
|
}
|
270
285
|
error = (error.name || "Error") + ": " + (error.message || "");
|
@@ -305,7 +320,9 @@
|
|
305
320
|
name,
|
306
321
|
filename,
|
307
322
|
+(previousPrepare[3] || previousPrepare[6]),
|
308
|
-
+(previousPrepare[4] || previousPrepare[7])
|
323
|
+
+(previousPrepare[4] || previousPrepare[7]),
|
324
|
+
0,
|
325
|
+
0
|
309
326
|
]);
|
310
327
|
}
|
311
328
|
return error;
|
@@ -331,13 +348,12 @@
|
|
331
348
|
maybeIterable["@@iterator"];
|
332
349
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
333
350
|
}
|
334
|
-
function noop
|
351
|
+
function noop() {}
|
335
352
|
function trackUsedThenable(thenableState, thenable, index) {
|
336
353
|
index = thenableState[index];
|
337
354
|
void 0 === index
|
338
355
|
? thenableState.push(thenable)
|
339
|
-
: index !== thenable &&
|
340
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
356
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
341
357
|
switch (thenable.status) {
|
342
358
|
case "fulfilled":
|
343
359
|
return thenable.value;
|
@@ -345,7 +361,7 @@
|
|
345
361
|
throw thenable.reason;
|
346
362
|
default:
|
347
363
|
"string" === typeof thenable.status
|
348
|
-
? thenable.then(noop
|
364
|
+
? thenable.then(noop, noop)
|
349
365
|
: ((thenableState = thenable),
|
350
366
|
(thenableState.status = "pending"),
|
351
367
|
thenableState.then(
|
@@ -728,7 +744,6 @@
|
|
728
744
|
function defaultErrorHandler(error) {
|
729
745
|
console.error(error);
|
730
746
|
}
|
731
|
-
function defaultPostponeHandler() {}
|
732
747
|
function RequestInstance(
|
733
748
|
type,
|
734
749
|
model,
|
@@ -800,7 +815,6 @@
|
|
800
815
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
801
816
|
pingedTasks.push(type);
|
802
817
|
}
|
803
|
-
function noop() {}
|
804
818
|
function createRequest(
|
805
819
|
model,
|
806
820
|
bundlerConfig,
|
@@ -1663,7 +1677,9 @@
|
|
1663
1677
|
error = serverReference.$$location;
|
1664
1678
|
error &&
|
1665
1679
|
((error = parseStackTrace(error, 1)),
|
1666
|
-
0 < error.length &&
|
1680
|
+
0 < error.length &&
|
1681
|
+
((location = error[0]),
|
1682
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1667
1683
|
existingId =
|
1668
1684
|
null !== location
|
1669
1685
|
? {
|
@@ -4039,6 +4055,7 @@
|
|
4039
4055
|
CLOSING = 13,
|
4040
4056
|
CLOSED = 14,
|
4041
4057
|
PRERENDER = 21,
|
4058
|
+
defaultPostponeHandler = noop,
|
4042
4059
|
currentRequest = null,
|
4043
4060
|
debugID = null,
|
4044
4061
|
serializedSize = 0,
|
@@ -460,16 +460,16 @@ function getIteratorFn(maybeIterable) {
|
|
460
460
|
maybeIterable["@@iterator"];
|
461
461
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
462
462
|
}
|
463
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
463
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
464
|
+
function noop() {}
|
465
|
+
var SuspenseException = Error(
|
466
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
467
|
+
);
|
468
468
|
function trackUsedThenable(thenableState, thenable, index) {
|
469
469
|
index = thenableState[index];
|
470
470
|
void 0 === index
|
471
471
|
? thenableState.push(thenable)
|
472
|
-
: index !== thenable && (thenable.then(noop
|
472
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
473
473
|
switch (thenable.status) {
|
474
474
|
case "fulfilled":
|
475
475
|
return thenable.value;
|
@@ -477,7 +477,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
477
477
|
throw thenable.reason;
|
478
478
|
default:
|
479
479
|
"string" === typeof thenable.status
|
480
|
-
? thenable.then(noop
|
480
|
+
? thenable.then(noop, noop)
|
481
481
|
: ((thenableState = thenable),
|
482
482
|
(thenableState.status = "pending"),
|
483
483
|
thenableState.then(
|
@@ -735,7 +735,6 @@ var ObjectPrototype = Object.prototype,
|
|
735
735
|
function defaultErrorHandler(error) {
|
736
736
|
console.error(error);
|
737
737
|
}
|
738
|
-
function defaultPostponeHandler() {}
|
739
738
|
function RequestInstance(
|
740
739
|
type,
|
741
740
|
model,
|
@@ -782,13 +781,12 @@ function RequestInstance(
|
|
782
781
|
this.identifierCount = 1;
|
783
782
|
this.taintCleanupQueue = [];
|
784
783
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
785
|
-
this.onPostpone = void 0 === onPostpone ?
|
784
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
786
785
|
this.onAllReady = onAllReady;
|
787
786
|
this.onFatalError = onFatalError;
|
788
787
|
type = createTask(this, model, null, !1, filterStackFrame);
|
789
788
|
environmentName.push(type);
|
790
789
|
}
|
791
|
-
function noop() {}
|
792
790
|
var currentRequest = null;
|
793
791
|
function resolveRequest() {
|
794
792
|
if (currentRequest) return currentRequest;
|
@@ -229,7 +229,7 @@
|
|
229
229
|
var callSite = structuredStackTrace[i],
|
230
230
|
_name = callSite.getFunctionName() || "<anonymous>";
|
231
231
|
if ("react-stack-bottom-frame" === _name) break;
|
232
|
-
else if (callSite.isNative()) result.push([_name, "", 0, 0]);
|
232
|
+
else if (callSite.isNative()) result.push([_name, "", 0, 0, 0, 0]);
|
233
233
|
else {
|
234
234
|
if (callSite.isConstructor()) _name = "new " + _name;
|
235
235
|
else if (!callSite.isToplevel()) {
|
@@ -263,8 +263,23 @@
|
|
263
263
|
(callSite$jscomp$0 = callSite.getEvalOrigin()) &&
|
264
264
|
(methodName = callSite$jscomp$0.toString() + ", <anonymous>");
|
265
265
|
callSite$jscomp$0 = callSite.getLineNumber() || 0;
|
266
|
-
|
267
|
-
|
266
|
+
result$jscomp$0 = callSite.getColumnNumber() || 0;
|
267
|
+
var enclosingLine =
|
268
|
+
"function" === typeof callSite.getEnclosingLineNumber
|
269
|
+
? callSite.getEnclosingLineNumber() || 0
|
270
|
+
: 0;
|
271
|
+
callSite =
|
272
|
+
"function" === typeof callSite.getEnclosingColumnNumber
|
273
|
+
? callSite.getEnclosingColumnNumber() || 0
|
274
|
+
: 0;
|
275
|
+
result.push([
|
276
|
+
_name,
|
277
|
+
methodName,
|
278
|
+
callSite$jscomp$0,
|
279
|
+
result$jscomp$0,
|
280
|
+
enclosingLine,
|
281
|
+
callSite
|
282
|
+
]);
|
268
283
|
}
|
269
284
|
}
|
270
285
|
error = (error.name || "Error") + ": " + (error.message || "");
|
@@ -305,7 +320,9 @@
|
|
305
320
|
name,
|
306
321
|
filename,
|
307
322
|
+(previousPrepare[3] || previousPrepare[6]),
|
308
|
-
+(previousPrepare[4] || previousPrepare[7])
|
323
|
+
+(previousPrepare[4] || previousPrepare[7]),
|
324
|
+
0,
|
325
|
+
0
|
309
326
|
]);
|
310
327
|
}
|
311
328
|
return error;
|
@@ -331,13 +348,12 @@
|
|
331
348
|
maybeIterable["@@iterator"];
|
332
349
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
333
350
|
}
|
334
|
-
function noop
|
351
|
+
function noop() {}
|
335
352
|
function trackUsedThenable(thenableState, thenable, index) {
|
336
353
|
index = thenableState[index];
|
337
354
|
void 0 === index
|
338
355
|
? thenableState.push(thenable)
|
339
|
-
: index !== thenable &&
|
340
|
-
(thenable.then(noop$1, noop$1), (thenable = index));
|
356
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
341
357
|
switch (thenable.status) {
|
342
358
|
case "fulfilled":
|
343
359
|
return thenable.value;
|
@@ -345,7 +361,7 @@
|
|
345
361
|
throw thenable.reason;
|
346
362
|
default:
|
347
363
|
"string" === typeof thenable.status
|
348
|
-
? thenable.then(noop
|
364
|
+
? thenable.then(noop, noop)
|
349
365
|
: ((thenableState = thenable),
|
350
366
|
(thenableState.status = "pending"),
|
351
367
|
thenableState.then(
|
@@ -728,7 +744,6 @@
|
|
728
744
|
function defaultErrorHandler(error) {
|
729
745
|
console.error(error);
|
730
746
|
}
|
731
|
-
function defaultPostponeHandler() {}
|
732
747
|
function RequestInstance(
|
733
748
|
type,
|
734
749
|
model,
|
@@ -800,7 +815,6 @@
|
|
800
815
|
type = createTask(this, model, null, !1, abortSet, null, null, null);
|
801
816
|
pingedTasks.push(type);
|
802
817
|
}
|
803
|
-
function noop() {}
|
804
818
|
function createRequest(
|
805
819
|
model,
|
806
820
|
bundlerConfig,
|
@@ -1663,7 +1677,9 @@
|
|
1663
1677
|
error = serverReference.$$location;
|
1664
1678
|
error &&
|
1665
1679
|
((error = parseStackTrace(error, 1)),
|
1666
|
-
0 < error.length &&
|
1680
|
+
0 < error.length &&
|
1681
|
+
((location = error[0]),
|
1682
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1667
1683
|
existingId =
|
1668
1684
|
null !== location
|
1669
1685
|
? {
|
@@ -4002,6 +4018,7 @@
|
|
4002
4018
|
CLOSING = 13,
|
4003
4019
|
CLOSED = 14,
|
4004
4020
|
PRERENDER = 21,
|
4021
|
+
defaultPostponeHandler = noop,
|
4005
4022
|
currentRequest = null,
|
4006
4023
|
debugID = null,
|
4007
4024
|
serializedSize = 0,
|
@@ -460,16 +460,16 @@ function getIteratorFn(maybeIterable) {
|
|
460
460
|
maybeIterable["@@iterator"];
|
461
461
|
return "function" === typeof maybeIterable ? maybeIterable : null;
|
462
462
|
}
|
463
|
-
var ASYNC_ITERATOR = Symbol.asyncIterator
|
464
|
-
|
465
|
-
|
466
|
-
|
467
|
-
|
463
|
+
var ASYNC_ITERATOR = Symbol.asyncIterator;
|
464
|
+
function noop() {}
|
465
|
+
var SuspenseException = Error(
|
466
|
+
"Suspense Exception: This is not a real error! It's an implementation detail of `use` to interrupt the current render. You must either rethrow it immediately, or move the `use` call outside of the `try/catch` block. Capturing without rethrowing will lead to unexpected behavior.\n\nTo handle async errors, wrap your component in an error boundary, or call the promise's `.catch` method and pass the result to `use`."
|
467
|
+
);
|
468
468
|
function trackUsedThenable(thenableState, thenable, index) {
|
469
469
|
index = thenableState[index];
|
470
470
|
void 0 === index
|
471
471
|
? thenableState.push(thenable)
|
472
|
-
: index !== thenable && (thenable.then(noop
|
472
|
+
: index !== thenable && (thenable.then(noop, noop), (thenable = index));
|
473
473
|
switch (thenable.status) {
|
474
474
|
case "fulfilled":
|
475
475
|
return thenable.value;
|
@@ -477,7 +477,7 @@ function trackUsedThenable(thenableState, thenable, index) {
|
|
477
477
|
throw thenable.reason;
|
478
478
|
default:
|
479
479
|
"string" === typeof thenable.status
|
480
|
-
? thenable.then(noop
|
480
|
+
? thenable.then(noop, noop)
|
481
481
|
: ((thenableState = thenable),
|
482
482
|
(thenableState.status = "pending"),
|
483
483
|
thenableState.then(
|
@@ -735,7 +735,6 @@ var ObjectPrototype = Object.prototype,
|
|
735
735
|
function defaultErrorHandler(error) {
|
736
736
|
console.error(error);
|
737
737
|
}
|
738
|
-
function defaultPostponeHandler() {}
|
739
738
|
function RequestInstance(
|
740
739
|
type,
|
741
740
|
model,
|
@@ -782,13 +781,12 @@ function RequestInstance(
|
|
782
781
|
this.identifierCount = 1;
|
783
782
|
this.taintCleanupQueue = [];
|
784
783
|
this.onError = void 0 === onError ? defaultErrorHandler : onError;
|
785
|
-
this.onPostpone = void 0 === onPostpone ?
|
784
|
+
this.onPostpone = void 0 === onPostpone ? noop : onPostpone;
|
786
785
|
this.onAllReady = onAllReady;
|
787
786
|
this.onFatalError = onFatalError;
|
788
787
|
type = createTask(this, model, null, !1, filterStackFrame);
|
789
788
|
environmentName.push(type);
|
790
789
|
}
|
791
|
-
function noop() {}
|
792
790
|
var currentRequest = null;
|
793
791
|
function resolveRequest() {
|
794
792
|
if (currentRequest) return currentRequest;
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "react-server-dom-webpack",
|
3
3
|
"description": "React Server Components bindings for DOM using Webpack. This is intended to be integrated into meta-frameworks. It is not intended to be imported directly.",
|
4
|
-
"version": "19.2.0-canary-
|
4
|
+
"version": "19.2.0-canary-21fdf308-20250508",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -99,8 +99,8 @@
|
|
99
99
|
"node": ">=0.10.0"
|
100
100
|
},
|
101
101
|
"peerDependencies": {
|
102
|
-
"react": "19.2.0-canary-
|
103
|
-
"react-dom": "19.2.0-canary-
|
102
|
+
"react": "19.2.0-canary-21fdf308-20250508",
|
103
|
+
"react-dom": "19.2.0-canary-21fdf308-20250508",
|
104
104
|
"webpack": "^5.59.0"
|
105
105
|
},
|
106
106
|
"dependencies": {
|