react-server-dom-webpack 19.2.0-canary-0ff1d13b-20250507 → 19.2.0-canary-38ef6550-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 +24 -5
- package/cjs/react-server-dom-webpack-server.edge.development.js +24 -5
- package/cjs/react-server-dom-webpack-server.node.development.js +24 -5
- package/cjs/react-server-dom-webpack-server.node.unbundled.development.js +24 -5
- 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-38ef6550-20250508",
|
2697
2750
|
rendererPackageName: "react-server-dom-webpack",
|
2698
2751
|
currentDispatcherRef: ReactSharedInternals,
|
2699
|
-
reconcilerVersion: "19.2.0-canary-
|
2752
|
+
reconcilerVersion: "19.2.0-canary-38ef6550-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;
|
@@ -1604,7 +1621,9 @@
|
|
1604
1621
|
error = serverReference.$$location;
|
1605
1622
|
error &&
|
1606
1623
|
((error = parseStackTrace(error, 1)),
|
1607
|
-
0 < error.length &&
|
1624
|
+
0 < error.length &&
|
1625
|
+
((location = error[0]),
|
1626
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1608
1627
|
existingId =
|
1609
1628
|
null !== location
|
1610
1629
|
? {
|
@@ -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;
|
@@ -1667,7 +1684,9 @@
|
|
1667
1684
|
error = serverReference.$$location;
|
1668
1685
|
error &&
|
1669
1686
|
((error = parseStackTrace(error, 1)),
|
1670
|
-
0 < error.length &&
|
1687
|
+
0 < error.length &&
|
1688
|
+
((location = error[0]),
|
1689
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1671
1690
|
existingId =
|
1672
1691
|
null !== location
|
1673
1692
|
? {
|
@@ -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;
|
@@ -1663,7 +1680,9 @@
|
|
1663
1680
|
error = serverReference.$$location;
|
1664
1681
|
error &&
|
1665
1682
|
((error = parseStackTrace(error, 1)),
|
1666
|
-
0 < error.length &&
|
1683
|
+
0 < error.length &&
|
1684
|
+
((location = error[0]),
|
1685
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1667
1686
|
existingId =
|
1668
1687
|
null !== location
|
1669
1688
|
? {
|
@@ -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;
|
@@ -1663,7 +1680,9 @@
|
|
1663
1680
|
error = serverReference.$$location;
|
1664
1681
|
error &&
|
1665
1682
|
((error = parseStackTrace(error, 1)),
|
1666
|
-
0 < error.length &&
|
1683
|
+
0 < error.length &&
|
1684
|
+
((location = error[0]),
|
1685
|
+
(location = [location[0], location[1], location[2], location[3]])));
|
1667
1686
|
existingId =
|
1668
1687
|
null !== location
|
1669
1688
|
? {
|
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-38ef6550-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-38ef6550-20250508",
|
103
|
+
"react-dom": "19.2.0-canary-38ef6550-20250508",
|
104
104
|
"webpack": "^5.59.0"
|
105
105
|
},
|
106
106
|
"dependencies": {
|