react-server-dom-webpack 19.0.0-rc-38e3b23483-20240529 → 19.0.0-rc-9d4fba0788-20240530

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.
@@ -2797,10 +2797,9 @@ function resolveErrorDev(response, id, digest, message, stack) {
2797
2797
  function resolveHint(response, code, model) {
2798
2798
  var hintModel = parseModel(response, model);
2799
2799
  dispatchHint(code, hintModel);
2800
- }
2800
+ } // eslint-disable-next-line react-internal/no-production-logging
2801
2801
 
2802
2802
  function resolveDebugInfo(response, id, debugInfo) {
2803
-
2804
2803
  var chunk = getChunk(response, id);
2805
2804
  var chunkDebugInfo = chunk._debugInfo || (chunk._debugInfo = []);
2806
2805
  chunkDebugInfo.push(debugInfo);
@@ -2809,13 +2808,16 @@ function resolveDebugInfo(response, id, debugInfo) {
2809
2808
  function resolveConsoleEntry(response, value) {
2810
2809
 
2811
2810
  var payload = parseModel(response, value);
2812
- var methodName = payload[0]; // TODO: Restore the fake stack before logging.
2813
- // const stackTrace = payload[1];
2814
- // const owner = payload[2];
2815
-
2811
+ var methodName = payload[0];
2816
2812
  var env = payload[3];
2817
2813
  var args = payload.slice(4);
2818
- printToConsole(methodName, args, env);
2814
+
2815
+ {
2816
+ // Printing with stack isn't really limited to owner stacks but
2817
+ // we gate it behind the same flag for now while iterating.
2818
+ printToConsole(methodName, args, env);
2819
+ return;
2820
+ }
2819
2821
  }
2820
2822
 
2821
2823
  function mergeBuffer(buffer, lastChunk) {
@@ -3051,10 +3051,9 @@ function resolveErrorDev(response, id, digest, message, stack) {
3051
3051
  function resolveHint(response, code, model) {
3052
3052
  var hintModel = parseModel(response, model);
3053
3053
  dispatchHint(code, hintModel);
3054
- }
3054
+ } // eslint-disable-next-line react-internal/no-production-logging
3055
3055
 
3056
3056
  function resolveDebugInfo(response, id, debugInfo) {
3057
-
3058
3057
  var chunk = getChunk(response, id);
3059
3058
  var chunkDebugInfo = chunk._debugInfo || (chunk._debugInfo = []);
3060
3059
  chunkDebugInfo.push(debugInfo);
@@ -3063,13 +3062,16 @@ function resolveDebugInfo(response, id, debugInfo) {
3063
3062
  function resolveConsoleEntry(response, value) {
3064
3063
 
3065
3064
  var payload = parseModel(response, value);
3066
- var methodName = payload[0]; // TODO: Restore the fake stack before logging.
3067
- // const stackTrace = payload[1];
3068
- // const owner = payload[2];
3069
-
3065
+ var methodName = payload[0];
3070
3066
  var env = payload[3];
3071
3067
  var args = payload.slice(4);
3072
- printToConsole(methodName, args, env);
3068
+
3069
+ {
3070
+ // Printing with stack isn't really limited to owner stacks but
3071
+ // we gate it behind the same flag for now while iterating.
3072
+ printToConsole(methodName, args, env);
3073
+ return;
3074
+ }
3073
3075
  }
3074
3076
 
3075
3077
  function mergeBuffer(buffer, lastChunk) {
@@ -3049,10 +3049,9 @@ function resolveErrorDev(response, id, digest, message, stack) {
3049
3049
  function resolveHint(response, code, model) {
3050
3050
  var hintModel = parseModel(response, model);
3051
3051
  dispatchHint(code, hintModel);
3052
- }
3052
+ } // eslint-disable-next-line react-internal/no-production-logging
3053
3053
 
3054
3054
  function resolveDebugInfo(response, id, debugInfo) {
3055
-
3056
3055
  var chunk = getChunk(response, id);
3057
3056
  var chunkDebugInfo = chunk._debugInfo || (chunk._debugInfo = []);
3058
3057
  chunkDebugInfo.push(debugInfo);
@@ -3061,13 +3060,16 @@ function resolveDebugInfo(response, id, debugInfo) {
3061
3060
  function resolveConsoleEntry(response, value) {
3062
3061
 
3063
3062
  var payload = parseModel(response, value);
3064
- var methodName = payload[0]; // TODO: Restore the fake stack before logging.
3065
- // const stackTrace = payload[1];
3066
- // const owner = payload[2];
3067
-
3063
+ var methodName = payload[0];
3068
3064
  var env = payload[3];
3069
3065
  var args = payload.slice(4);
3070
- printToConsole(methodName, args, env);
3066
+
3067
+ {
3068
+ // Printing with stack isn't really limited to owner stacks but
3069
+ // we gate it behind the same flag for now while iterating.
3070
+ printToConsole(methodName, args, env);
3071
+ return;
3072
+ }
3071
3073
  }
3072
3074
 
3073
3075
  function mergeBuffer(buffer, lastChunk) {
@@ -3002,10 +3002,9 @@ function resolveErrorDev(response, id, digest, message, stack) {
3002
3002
  function resolveHint(response, code, model) {
3003
3003
  var hintModel = parseModel(response, model);
3004
3004
  dispatchHint(code, hintModel);
3005
- }
3005
+ } // eslint-disable-next-line react-internal/no-production-logging
3006
3006
 
3007
3007
  function resolveDebugInfo(response, id, debugInfo) {
3008
-
3009
3008
  var chunk = getChunk(response, id);
3010
3009
  var chunkDebugInfo = chunk._debugInfo || (chunk._debugInfo = []);
3011
3010
  chunkDebugInfo.push(debugInfo);
@@ -3014,13 +3013,16 @@ function resolveDebugInfo(response, id, debugInfo) {
3014
3013
  function resolveConsoleEntry(response, value) {
3015
3014
 
3016
3015
  var payload = parseModel(response, value);
3017
- var methodName = payload[0]; // TODO: Restore the fake stack before logging.
3018
- // const stackTrace = payload[1];
3019
- // const owner = payload[2];
3020
-
3016
+ var methodName = payload[0];
3021
3017
  var env = payload[3];
3022
3018
  var args = payload.slice(4);
3023
- printToConsole(methodName, args, env);
3019
+
3020
+ {
3021
+ // Printing with stack isn't really limited to owner stacks but
3022
+ // we gate it behind the same flag for now while iterating.
3023
+ printToConsole(methodName, args, env);
3024
+ return;
3025
+ }
3024
3026
  }
3025
3027
 
3026
3028
  function mergeBuffer(buffer, lastChunk) {
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-38e3b23483-20240529",
4
+ "version": "19.0.0-rc-9d4fba0788-20240530",
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-38e3b23483-20240529",
81
- "react-dom": "19.0.0-rc-38e3b23483-20240529",
80
+ "react": "19.0.0-rc-9d4fba0788-20240530",
81
+ "react-dom": "19.0.0-rc-9d4fba0788-20240530",
82
82
  "webpack": "^5.59.0"
83
83
  },
84
84
  "dependencies": {