react-server-dom-webpack 19.0.0-rc-14a4699f-20240725 → 19.0.0-rc-941e1b4a-20240729

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.
@@ -1749,19 +1749,22 @@
1749
1749
  (response._debugInfo || (response._debugInfo = [])).push(buffer);
1750
1750
  break;
1751
1751
  case 87:
1752
- if (response._replayConsole)
1752
+ if (response._replayConsole) {
1753
+ buffer = JSON.parse(buffer, response._fromJSON);
1754
+ response = buffer[0];
1755
+ id = buffer[3];
1756
+ tag = buffer.slice(4);
1753
1757
  b: {
1754
- (buffer = JSON.parse(buffer, response._fromJSON)),
1755
- (response = buffer[0]),
1756
- (id = buffer[3]),
1757
- (tag = buffer.slice(4)),
1758
- (buffer = 0);
1758
+ buffer = 0;
1759
1759
  switch (response) {
1760
1760
  case "dir":
1761
1761
  case "dirxml":
1762
1762
  case "groupEnd":
1763
1763
  case "table":
1764
- console[response].apply(console, tag);
1764
+ response = bind.apply(
1765
+ console[response],
1766
+ [console].concat(tag)
1767
+ );
1765
1768
  break b;
1766
1769
  case "assert":
1767
1770
  buffer = 1;
@@ -1784,8 +1787,11 @@
1784
1787
  " " + id + " ",
1785
1788
  ""
1786
1789
  );
1787
- console[response].apply(console, tag);
1790
+ tag.unshift(console);
1791
+ response = bind.apply(console[response], tag);
1788
1792
  }
1793
+ response();
1794
+ }
1789
1795
  break;
1790
1796
  case 82:
1791
1797
  startReadableStream(response, id, void 0);
@@ -1989,6 +1995,7 @@
1989
1995
  }
1990
1996
  var ReactDOM = require("react-dom"),
1991
1997
  decoderOptions = { stream: !0 },
1998
+ bind = Function.prototype.bind,
1992
1999
  chunkCache = new Map(),
1993
2000
  chunkMap = new Map(),
1994
2001
  webpackGetChunkFilename = __webpack_require__.u;
@@ -1925,19 +1925,22 @@
1925
1925
  (response._debugInfo || (response._debugInfo = [])).push(buffer);
1926
1926
  break;
1927
1927
  case 87:
1928
- if (response._replayConsole)
1928
+ if (response._replayConsole) {
1929
+ buffer = JSON.parse(buffer, response._fromJSON);
1930
+ response = buffer[0];
1931
+ id = buffer[3];
1932
+ tag = buffer.slice(4);
1929
1933
  b: {
1930
- (buffer = JSON.parse(buffer, response._fromJSON)),
1931
- (response = buffer[0]),
1932
- (id = buffer[3]),
1933
- (tag = buffer.slice(4)),
1934
- (buffer = 0);
1934
+ buffer = 0;
1935
1935
  switch (response) {
1936
1936
  case "dir":
1937
1937
  case "dirxml":
1938
1938
  case "groupEnd":
1939
1939
  case "table":
1940
- console[response].apply(console, tag);
1940
+ response = bind$1.apply(
1941
+ console[response],
1942
+ [console].concat(tag)
1943
+ );
1941
1944
  break b;
1942
1945
  case "assert":
1943
1946
  buffer = 1;
@@ -1960,8 +1963,11 @@
1960
1963
  " " + id + " ",
1961
1964
  ""
1962
1965
  );
1963
- console[response].apply(console, tag);
1966
+ tag.unshift(console);
1967
+ response = bind$1.apply(console[response], tag);
1964
1968
  }
1969
+ response();
1970
+ }
1965
1971
  break;
1966
1972
  case 82:
1967
1973
  startReadableStream(response, id, void 0);
@@ -2170,6 +2176,7 @@
2170
2176
  }
2171
2177
  var ReactDOM = require("react-dom"),
2172
2178
  decoderOptions = { stream: !0 },
2179
+ bind$1 = Function.prototype.bind,
2173
2180
  chunkCache = new Map(),
2174
2181
  ReactDOMSharedInternals =
2175
2182
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -1929,19 +1929,22 @@
1929
1929
  (response._debugInfo || (response._debugInfo = [])).push(row);
1930
1930
  break;
1931
1931
  case 87:
1932
- if (response._replayConsole)
1932
+ if (response._replayConsole) {
1933
+ row = JSON.parse(row, response._fromJSON);
1934
+ response = row[0];
1935
+ id = row[3];
1936
+ tag = row.slice(4);
1933
1937
  b: {
1934
- (row = JSON.parse(row, response._fromJSON)),
1935
- (response = row[0]),
1936
- (id = row[3]),
1937
- (tag = row.slice(4)),
1938
- (row = 0);
1938
+ row = 0;
1939
1939
  switch (response) {
1940
1940
  case "dir":
1941
1941
  case "dirxml":
1942
1942
  case "groupEnd":
1943
1943
  case "table":
1944
- console[response].apply(console, tag);
1944
+ response = bind$1.apply(
1945
+ console[response],
1946
+ [console].concat(tag)
1947
+ );
1945
1948
  break b;
1946
1949
  case "assert":
1947
1950
  row = 1;
@@ -1964,8 +1967,11 @@
1964
1967
  " " + id + " ",
1965
1968
  ""
1966
1969
  );
1967
- console[response].apply(console, tag);
1970
+ tag.unshift(console);
1971
+ response = bind$1.apply(console[response], tag);
1968
1972
  }
1973
+ response();
1974
+ }
1969
1975
  break;
1970
1976
  case 82:
1971
1977
  startReadableStream(response, id, void 0);
@@ -2061,6 +2067,7 @@
2061
2067
  var util = require("util"),
2062
2068
  ReactDOM = require("react-dom"),
2063
2069
  decoderOptions = { stream: !0 },
2070
+ bind$1 = Function.prototype.bind,
2064
2071
  chunkCache = new Map(),
2065
2072
  ReactDOMSharedInternals =
2066
2073
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -1904,19 +1904,22 @@
1904
1904
  (response._debugInfo || (response._debugInfo = [])).push(row);
1905
1905
  break;
1906
1906
  case 87:
1907
- if (response._replayConsole)
1907
+ if (response._replayConsole) {
1908
+ row = JSON.parse(row, response._fromJSON);
1909
+ response = row[0];
1910
+ id = row[3];
1911
+ tag = row.slice(4);
1908
1912
  b: {
1909
- (row = JSON.parse(row, response._fromJSON)),
1910
- (response = row[0]),
1911
- (id = row[3]),
1912
- (tag = row.slice(4)),
1913
- (row = 0);
1913
+ row = 0;
1914
1914
  switch (response) {
1915
1915
  case "dir":
1916
1916
  case "dirxml":
1917
1917
  case "groupEnd":
1918
1918
  case "table":
1919
- console[response].apply(console, tag);
1919
+ response = bind$1.apply(
1920
+ console[response],
1921
+ [console].concat(tag)
1922
+ );
1920
1923
  break b;
1921
1924
  case "assert":
1922
1925
  row = 1;
@@ -1939,8 +1942,11 @@
1939
1942
  " " + id + " ",
1940
1943
  ""
1941
1944
  );
1942
- console[response].apply(console, tag);
1945
+ tag.unshift(console);
1946
+ response = bind$1.apply(console[response], tag);
1943
1947
  }
1948
+ response();
1949
+ }
1944
1950
  break;
1945
1951
  case 82:
1946
1952
  startReadableStream(response, id, void 0);
@@ -2036,6 +2042,7 @@
2036
2042
  var util = require("util"),
2037
2043
  ReactDOM = require("react-dom"),
2038
2044
  decoderOptions = { stream: !0 },
2045
+ bind$1 = Function.prototype.bind,
2039
2046
  asyncModuleCache = new Map(),
2040
2047
  ReactDOMSharedInternals =
2041
2048
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
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.0.0-rc-14a4699f-20240725",
4
+ "version": "19.0.0-rc-941e1b4a-20240729",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -77,8 +77,8 @@
77
77
  "node": ">=0.10.0"
78
78
  },
79
79
  "peerDependencies": {
80
- "react": "19.0.0-rc-14a4699f-20240725",
81
- "react-dom": "19.0.0-rc-14a4699f-20240725",
80
+ "react": "19.0.0-rc-941e1b4a-20240729",
81
+ "react-dom": "19.0.0-rc-941e1b4a-20240729",
82
82
  "webpack": "^5.59.0"
83
83
  },
84
84
  "dependencies": {