@matthamlin/react-client 0.0.0-experimental-845d9374-20250506 → 0.0.0-experimental-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.
@@ -1957,41 +1957,90 @@
|
|
1957
1957
|
sourceMap,
|
1958
1958
|
line,
|
1959
1959
|
col,
|
1960
|
+
enclosingLine,
|
1961
|
+
enclosingCol,
|
1960
1962
|
environmentName
|
1961
1963
|
) {
|
1962
1964
|
name || (name = "<anonymous>");
|
1963
1965
|
var encodedName = JSON.stringify(name);
|
1964
|
-
1
|
1965
|
-
|
1966
|
-
|
1967
|
-
|
1968
|
-
|
1969
|
-
|
1970
|
-
|
1971
|
-
|
1972
|
-
|
1973
|
-
|
1974
|
-
|
1966
|
+
1 > enclosingLine ? (enclosingLine = 0) : enclosingLine--;
|
1967
|
+
1 > enclosingCol ? (enclosingCol = 0) : enclosingCol--;
|
1968
|
+
1 > line ? (line = 0) : line--;
|
1969
|
+
1 > col ? (col = 0) : col--;
|
1970
|
+
if (
|
1971
|
+
line < enclosingLine ||
|
1972
|
+
(line === enclosingLine && col < enclosingCol)
|
1973
|
+
)
|
1974
|
+
enclosingCol = enclosingLine = 0;
|
1975
|
+
1 > line
|
1976
|
+
? ((line = encodedName.length + 3),
|
1977
|
+
(enclosingCol -= line),
|
1978
|
+
0 > enclosingCol && (enclosingCol = 0),
|
1979
|
+
(col = col - enclosingCol - line - 3),
|
1980
|
+
0 > col && (col = 0),
|
1981
|
+
(encodedName =
|
1975
1982
|
"({" +
|
1976
1983
|
encodedName +
|
1977
|
-
":
|
1978
|
-
" ".repeat(
|
1979
|
-
"_
|
1984
|
+
":" +
|
1985
|
+
" ".repeat(enclosingCol) +
|
1986
|
+
"_=>" +
|
1987
|
+
" ".repeat(col) +
|
1988
|
+
"_()})"))
|
1989
|
+
: 1 > enclosingLine
|
1990
|
+
? ((enclosingCol -= encodedName.length + 3),
|
1991
|
+
0 > enclosingCol && (enclosingCol = 0),
|
1992
|
+
(encodedName =
|
1993
|
+
"({" +
|
1994
|
+
encodedName +
|
1995
|
+
":" +
|
1996
|
+
" ".repeat(enclosingCol) +
|
1997
|
+
"_=>" +
|
1998
|
+
"\n".repeat(line - enclosingLine) +
|
1999
|
+
" ".repeat(col) +
|
2000
|
+
"_()})"))
|
2001
|
+
: enclosingLine === line
|
2002
|
+
? ((col = col - enclosingCol - 3),
|
2003
|
+
0 > col && (col = 0),
|
2004
|
+
(encodedName =
|
2005
|
+
"\n".repeat(enclosingLine - 1) +
|
2006
|
+
"({" +
|
2007
|
+
encodedName +
|
2008
|
+
":\n" +
|
2009
|
+
" ".repeat(enclosingCol) +
|
2010
|
+
"_=>" +
|
2011
|
+
" ".repeat(col) +
|
2012
|
+
"_()})"))
|
2013
|
+
: (encodedName =
|
2014
|
+
"\n".repeat(enclosingLine - 1) +
|
2015
|
+
"({" +
|
2016
|
+
encodedName +
|
2017
|
+
":\n" +
|
2018
|
+
" ".repeat(enclosingCol) +
|
2019
|
+
"_=>" +
|
2020
|
+
"\n".repeat(line - enclosingLine) +
|
2021
|
+
" ".repeat(col) +
|
2022
|
+
"_()})");
|
2023
|
+
encodedName =
|
2024
|
+
1 > enclosingLine
|
2025
|
+
? encodedName +
|
2026
|
+
"\n/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */"
|
2027
|
+
: "/* This module was rendered by a Server Component. Turn on Source Maps to see the server source. */" +
|
2028
|
+
encodedName;
|
1980
2029
|
filename.startsWith("/") && (filename = "file://" + filename);
|
1981
2030
|
sourceMap
|
1982
|
-
? ((
|
2031
|
+
? ((encodedName +=
|
1983
2032
|
"\n//# sourceURL=rsc://React/" +
|
1984
2033
|
encodeURIComponent(environmentName) +
|
1985
2034
|
"/" +
|
1986
2035
|
encodeURI(filename) +
|
1987
2036
|
"?" +
|
1988
2037
|
fakeFunctionIdx++),
|
1989
|
-
(
|
1990
|
-
: (
|
1991
|
-
?
|
1992
|
-
:
|
2038
|
+
(encodedName += "\n//# sourceMappingURL=" + sourceMap))
|
2039
|
+
: (encodedName = filename
|
2040
|
+
? encodedName + ("\n//# sourceURL=" + encodeURI(filename))
|
2041
|
+
: encodedName + "\n//# sourceURL=<anonymous>");
|
1993
2042
|
try {
|
1994
|
-
var fn = (0, eval)(
|
2043
|
+
var fn = (0, eval)(encodedName)[name];
|
1995
2044
|
} catch (x) {
|
1996
2045
|
fn = function (_) {
|
1997
2046
|
return _();
|
@@ -2007,8 +2056,10 @@
|
|
2007
2056
|
if (void 0 === fn) {
|
2008
2057
|
fn = frame[0];
|
2009
2058
|
var filename = frame[1],
|
2010
|
-
line = frame[2]
|
2011
|
-
|
2059
|
+
line = frame[2],
|
2060
|
+
col = frame[3],
|
2061
|
+
enclosingLine = frame[4];
|
2062
|
+
frame = frame[5];
|
2012
2063
|
var findSourceMapURL = response._debugFindSourceMapURL;
|
2013
2064
|
findSourceMapURL = findSourceMapURL
|
2014
2065
|
? findSourceMapURL(filename, environmentName)
|
@@ -2018,6 +2069,8 @@
|
|
2018
2069
|
filename,
|
2019
2070
|
findSourceMapURL,
|
2020
2071
|
line,
|
2072
|
+
col,
|
2073
|
+
enclosingLine,
|
2021
2074
|
frame,
|
2022
2075
|
environmentName
|
2023
2076
|
);
|
@@ -2840,7 +2893,7 @@
|
|
2840
2893
|
version: rendererVersion,
|
2841
2894
|
rendererPackageName: rendererPackageName,
|
2842
2895
|
currentDispatcherRef: ReactSharedInternals,
|
2843
|
-
reconcilerVersion: "19.2.0-experimental-
|
2896
|
+
reconcilerVersion: "19.2.0-experimental-21fdf308-20250508",
|
2844
2897
|
getCurrentComponentInfo: getCurrentOwnerInDEV
|
2845
2898
|
};
|
2846
2899
|
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
|
@@ -1600,7 +1600,7 @@ module.exports = function ($$$config) {
|
|
1600
1600
|
version: rendererVersion,
|
1601
1601
|
rendererPackageName: rendererPackageName,
|
1602
1602
|
currentDispatcherRef: ReactSharedInternals,
|
1603
|
-
reconcilerVersion: "19.2.0-experimental-
|
1603
|
+
reconcilerVersion: "19.2.0-experimental-21fdf308-20250508",
|
1604
1604
|
getCurrentComponentInfo: getCurrentOwnerInDEV
|
1605
1605
|
};
|
1606
1606
|
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@matthamlin/react-client",
|
3
3
|
"description": "React package for consuming streaming models.",
|
4
|
-
"version": "0.0.0-experimental-
|
4
|
+
"version": "0.0.0-experimental-21fdf308-20250508",
|
5
5
|
"keywords": [
|
6
6
|
"react"
|
7
7
|
],
|
@@ -23,6 +23,6 @@
|
|
23
23
|
"node": ">=0.10.0"
|
24
24
|
},
|
25
25
|
"peerDependencies": {
|
26
|
-
"react": "0.0.0-experimental-
|
26
|
+
"react": "0.0.0-experimental-21fdf308-20250508"
|
27
27
|
}
|
28
28
|
}
|