react-server-dom-webpack 19.1.0 → 19.1.2

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.
@@ -123,13 +123,11 @@
123
123
  if ("fulfilled" === moduleExports.status)
124
124
  moduleExports = moduleExports.value;
125
125
  else throw moduleExports.reason;
126
- return "*" === metadata[2]
127
- ? moduleExports
128
- : "" === metadata[2]
129
- ? moduleExports.__esModule
130
- ? moduleExports.default
131
- : moduleExports
132
- : moduleExports[metadata[2]];
126
+ if ("*" === metadata[2]) return moduleExports;
127
+ if ("" === metadata[2])
128
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
129
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
130
+ return moduleExports[metadata[2]];
133
131
  }
134
132
  function loadChunk(chunkId, filename) {
135
133
  chunkMap.set(chunkId, filename);
@@ -2089,7 +2087,7 @@
2089
2087
  (stack = stack.slice(29));
2090
2088
  var idx = stack.indexOf("\n");
2091
2089
  -1 !== idx && (stack = stack.slice(idx + 1));
2092
- idx = stack.indexOf("react-stack-bottom-frame");
2090
+ idx = stack.indexOf("react_stack_bottom_frame");
2093
2091
  -1 !== idx && (idx = stack.lastIndexOf("\n", idx));
2094
2092
  var JSCompiler_inline_result =
2095
2093
  -1 !== idx ? (stack = stack.slice(0, idx)) : "";
@@ -2509,6 +2507,7 @@
2509
2507
  ReactDOM = require("react-dom"),
2510
2508
  decoderOptions = { stream: !0 },
2511
2509
  bind = Function.prototype.bind,
2510
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2512
2511
  chunkCache = new Map(),
2513
2512
  chunkMap = new Map(),
2514
2513
  webpackGetChunkFilename = __webpack_require__.u;
@@ -2587,11 +2586,7 @@
2587
2586
  fakeFunctionCache = new Map(),
2588
2587
  fakeFunctionIdx = 0,
2589
2588
  createFakeJSXCallStack = {
2590
- "react-stack-bottom-frame": function (
2591
- response,
2592
- stack,
2593
- environmentName
2594
- ) {
2589
+ react_stack_bottom_frame: function (response, stack, environmentName) {
2595
2590
  return buildFakeCallStack(
2596
2591
  response,
2597
2592
  stack,
@@ -2600,12 +2595,13 @@
2600
2595
  )();
2601
2596
  }
2602
2597
  },
2603
- createFakeJSXCallStackInDEV = createFakeJSXCallStack[
2604
- "react-stack-bottom-frame"
2605
- ].bind(createFakeJSXCallStack),
2598
+ createFakeJSXCallStackInDEV =
2599
+ createFakeJSXCallStack.react_stack_bottom_frame.bind(
2600
+ createFakeJSXCallStack
2601
+ ),
2606
2602
  currentOwnerInDEV = null,
2607
2603
  replayConsoleWithCallStack = {
2608
- "react-stack-bottom-frame": function (
2604
+ react_stack_bottom_frame: function (
2609
2605
  response,
2610
2606
  methodName,
2611
2607
  stackTrace,
@@ -2678,9 +2674,10 @@
2678
2674
  }
2679
2675
  }
2680
2676
  },
2681
- replayConsoleWithCallStackInDEV = replayConsoleWithCallStack[
2682
- "react-stack-bottom-frame"
2683
- ].bind(replayConsoleWithCallStack);
2677
+ replayConsoleWithCallStackInDEV =
2678
+ replayConsoleWithCallStack.react_stack_bottom_frame.bind(
2679
+ replayConsoleWithCallStack
2680
+ );
2684
2681
  (function (internals) {
2685
2682
  if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) return !1;
2686
2683
  var hook = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -2693,10 +2690,10 @@
2693
2690
  return hook.checkDCE ? !0 : !1;
2694
2691
  })({
2695
2692
  bundleType: 1,
2696
- version: "19.1.0",
2693
+ version: "19.1.2",
2697
2694
  rendererPackageName: "react-server-dom-webpack",
2698
2695
  currentDispatcherRef: ReactSharedInternals,
2699
- reconcilerVersion: "19.1.0",
2696
+ reconcilerVersion: "19.1.2",
2700
2697
  getCurrentComponentInfo: function () {
2701
2698
  return currentOwnerInDEV;
2702
2699
  }
@@ -10,7 +10,8 @@
10
10
 
11
11
  "use strict";
12
12
  var ReactDOM = require("react-dom"),
13
- decoderOptions = { stream: !0 };
13
+ decoderOptions = { stream: !0 },
14
+ hasOwnProperty = Object.prototype.hasOwnProperty;
14
15
  function resolveClientReference(bundlerConfig, metadata) {
15
16
  if (bundlerConfig) {
16
17
  var moduleExports = bundlerConfig[metadata[0]];
@@ -100,13 +101,11 @@ function requireModule(metadata) {
100
101
  if ("fulfilled" === moduleExports.status)
101
102
  moduleExports = moduleExports.value;
102
103
  else throw moduleExports.reason;
103
- return "*" === metadata[2]
104
- ? moduleExports
105
- : "" === metadata[2]
106
- ? moduleExports.__esModule
107
- ? moduleExports.default
108
- : moduleExports
109
- : moduleExports[metadata[2]];
104
+ if ("*" === metadata[2]) return moduleExports;
105
+ if ("" === metadata[2])
106
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
107
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
108
+ return moduleExports[metadata[2]];
110
109
  }
111
110
  var chunkMap = new Map(),
112
111
  webpackGetChunkFilename = __webpack_require__.u;
@@ -123,13 +123,11 @@
123
123
  if ("fulfilled" === moduleExports.status)
124
124
  moduleExports = moduleExports.value;
125
125
  else throw moduleExports.reason;
126
- return "*" === metadata[2]
127
- ? moduleExports
128
- : "" === metadata[2]
129
- ? moduleExports.__esModule
130
- ? moduleExports.default
131
- : moduleExports
132
- : moduleExports[metadata[2]];
126
+ if ("*" === metadata[2]) return moduleExports;
127
+ if ("" === metadata[2])
128
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
129
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
130
+ return moduleExports[metadata[2]];
133
131
  }
134
132
  function prepareDestinationWithChunks(
135
133
  moduleLoading,
@@ -2309,7 +2307,7 @@
2309
2307
  (stack = stack.slice(29));
2310
2308
  var idx = stack.indexOf("\n");
2311
2309
  -1 !== idx && (stack = stack.slice(idx + 1));
2312
- idx = stack.indexOf("react-stack-bottom-frame");
2310
+ idx = stack.indexOf("react_stack_bottom_frame");
2313
2311
  -1 !== idx && (idx = stack.lastIndexOf("\n", idx));
2314
2312
  var JSCompiler_inline_result =
2315
2313
  -1 !== idx ? (stack = stack.slice(0, idx)) : "";
@@ -2734,6 +2732,7 @@
2734
2732
  React = require("react"),
2735
2733
  decoderOptions = { stream: !0 },
2736
2734
  bind$1 = Function.prototype.bind,
2735
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2737
2736
  chunkCache = new Map(),
2738
2737
  ReactDOMSharedInternals =
2739
2738
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -2807,11 +2806,7 @@
2807
2806
  fakeFunctionCache = new Map(),
2808
2807
  fakeFunctionIdx = 0,
2809
2808
  createFakeJSXCallStack = {
2810
- "react-stack-bottom-frame": function (
2811
- response,
2812
- stack,
2813
- environmentName
2814
- ) {
2809
+ react_stack_bottom_frame: function (response, stack, environmentName) {
2815
2810
  return buildFakeCallStack(
2816
2811
  response,
2817
2812
  stack,
@@ -2820,12 +2815,13 @@
2820
2815
  )();
2821
2816
  }
2822
2817
  },
2823
- createFakeJSXCallStackInDEV = createFakeJSXCallStack[
2824
- "react-stack-bottom-frame"
2825
- ].bind(createFakeJSXCallStack),
2818
+ createFakeJSXCallStackInDEV =
2819
+ createFakeJSXCallStack.react_stack_bottom_frame.bind(
2820
+ createFakeJSXCallStack
2821
+ ),
2826
2822
  currentOwnerInDEV = null,
2827
2823
  replayConsoleWithCallStack = {
2828
- "react-stack-bottom-frame": function (
2824
+ react_stack_bottom_frame: function (
2829
2825
  response,
2830
2826
  methodName,
2831
2827
  stackTrace,
@@ -2898,9 +2894,10 @@
2898
2894
  }
2899
2895
  }
2900
2896
  },
2901
- replayConsoleWithCallStackInDEV = replayConsoleWithCallStack[
2902
- "react-stack-bottom-frame"
2903
- ].bind(replayConsoleWithCallStack);
2897
+ replayConsoleWithCallStackInDEV =
2898
+ replayConsoleWithCallStack.react_stack_bottom_frame.bind(
2899
+ replayConsoleWithCallStack
2900
+ );
2904
2901
  exports.createFromFetch = function (promiseForResponse, options) {
2905
2902
  var response = createResponseFromOptions(options);
2906
2903
  promiseForResponse.then(
@@ -10,7 +10,8 @@
10
10
 
11
11
  "use strict";
12
12
  var ReactDOM = require("react-dom"),
13
- decoderOptions = { stream: !0 };
13
+ decoderOptions = { stream: !0 },
14
+ hasOwnProperty = Object.prototype.hasOwnProperty;
14
15
  function resolveClientReference(bundlerConfig, metadata) {
15
16
  if (bundlerConfig) {
16
17
  var moduleExports = bundlerConfig[metadata[0]];
@@ -99,13 +100,11 @@ function requireModule(metadata) {
99
100
  if ("fulfilled" === moduleExports.status)
100
101
  moduleExports = moduleExports.value;
101
102
  else throw moduleExports.reason;
102
- return "*" === metadata[2]
103
- ? moduleExports
104
- : "" === metadata[2]
105
- ? moduleExports.__esModule
106
- ? moduleExports.default
107
- : moduleExports
108
- : moduleExports[metadata[2]];
103
+ if ("*" === metadata[2]) return moduleExports;
104
+ if ("" === metadata[2])
105
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
106
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
107
+ return moduleExports[metadata[2]];
109
108
  }
110
109
  function prepareDestinationWithChunks(moduleLoading, chunks, nonce$jscomp$0) {
111
110
  if (null !== moduleLoading)
@@ -123,13 +123,11 @@
123
123
  if ("fulfilled" === moduleExports.status)
124
124
  moduleExports = moduleExports.value;
125
125
  else throw moduleExports.reason;
126
- return "*" === metadata[2]
127
- ? moduleExports
128
- : "" === metadata[2]
129
- ? moduleExports.__esModule
130
- ? moduleExports.default
131
- : moduleExports
132
- : moduleExports[metadata[2]];
126
+ if ("*" === metadata[2]) return moduleExports;
127
+ if ("" === metadata[2])
128
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
129
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
130
+ return moduleExports[metadata[2]];
133
131
  }
134
132
  function prepareDestinationWithChunks(
135
133
  moduleLoading,
@@ -2309,7 +2307,7 @@
2309
2307
  (stack = stack.slice(29));
2310
2308
  var idx = stack.indexOf("\n");
2311
2309
  -1 !== idx && (stack = stack.slice(idx + 1));
2312
- idx = stack.indexOf("react-stack-bottom-frame");
2310
+ idx = stack.indexOf("react_stack_bottom_frame");
2313
2311
  -1 !== idx && (idx = stack.lastIndexOf("\n", idx));
2314
2312
  var JSCompiler_inline_result =
2315
2313
  -1 !== idx ? (stack = stack.slice(0, idx)) : "";
@@ -2622,6 +2620,7 @@
2622
2620
  React = require("react"),
2623
2621
  decoderOptions = { stream: !0 },
2624
2622
  bind$1 = Function.prototype.bind,
2623
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2625
2624
  chunkCache = new Map(),
2626
2625
  ReactDOMSharedInternals =
2627
2626
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -2695,11 +2694,7 @@
2695
2694
  fakeFunctionCache = new Map(),
2696
2695
  fakeFunctionIdx = 0,
2697
2696
  createFakeJSXCallStack = {
2698
- "react-stack-bottom-frame": function (
2699
- response,
2700
- stack,
2701
- environmentName
2702
- ) {
2697
+ react_stack_bottom_frame: function (response, stack, environmentName) {
2703
2698
  return buildFakeCallStack(
2704
2699
  response,
2705
2700
  stack,
@@ -2708,12 +2703,13 @@
2708
2703
  )();
2709
2704
  }
2710
2705
  },
2711
- createFakeJSXCallStackInDEV = createFakeJSXCallStack[
2712
- "react-stack-bottom-frame"
2713
- ].bind(createFakeJSXCallStack),
2706
+ createFakeJSXCallStackInDEV =
2707
+ createFakeJSXCallStack.react_stack_bottom_frame.bind(
2708
+ createFakeJSXCallStack
2709
+ ),
2714
2710
  currentOwnerInDEV = null,
2715
2711
  replayConsoleWithCallStack = {
2716
- "react-stack-bottom-frame": function (
2712
+ react_stack_bottom_frame: function (
2717
2713
  response,
2718
2714
  methodName,
2719
2715
  stackTrace,
@@ -2786,9 +2782,10 @@
2786
2782
  }
2787
2783
  }
2788
2784
  },
2789
- replayConsoleWithCallStackInDEV = replayConsoleWithCallStack[
2790
- "react-stack-bottom-frame"
2791
- ].bind(replayConsoleWithCallStack);
2785
+ replayConsoleWithCallStackInDEV =
2786
+ replayConsoleWithCallStack.react_stack_bottom_frame.bind(
2787
+ replayConsoleWithCallStack
2788
+ );
2792
2789
  exports.createFromNodeStream = function (
2793
2790
  stream,
2794
2791
  serverConsumerManifest,
@@ -11,7 +11,8 @@
11
11
  "use strict";
12
12
  var util = require("util"),
13
13
  ReactDOM = require("react-dom"),
14
- decoderOptions = { stream: !0 };
14
+ decoderOptions = { stream: !0 },
15
+ hasOwnProperty = Object.prototype.hasOwnProperty;
15
16
  function resolveClientReference(bundlerConfig, metadata) {
16
17
  if (bundlerConfig) {
17
18
  var moduleExports = bundlerConfig[metadata[0]];
@@ -100,13 +101,11 @@ function requireModule(metadata) {
100
101
  if ("fulfilled" === moduleExports.status)
101
102
  moduleExports = moduleExports.value;
102
103
  else throw moduleExports.reason;
103
- return "*" === metadata[2]
104
- ? moduleExports
105
- : "" === metadata[2]
106
- ? moduleExports.__esModule
107
- ? moduleExports.default
108
- : moduleExports
109
- : moduleExports[metadata[2]];
104
+ if ("*" === metadata[2]) return moduleExports;
105
+ if ("" === metadata[2])
106
+ return moduleExports.__esModule ? moduleExports.default : moduleExports;
107
+ if (hasOwnProperty.call(moduleExports, metadata[2]))
108
+ return moduleExports[metadata[2]];
110
109
  }
111
110
  function prepareDestinationWithChunks(moduleLoading, chunks, nonce$jscomp$0) {
112
111
  if (null !== moduleLoading)
@@ -87,11 +87,10 @@
87
87
  if ("fulfilled" === moduleExports.status)
88
88
  moduleExports = moduleExports.value;
89
89
  else throw moduleExports.reason;
90
- return "*" === metadata.name
91
- ? moduleExports
92
- : "" === metadata.name
93
- ? moduleExports.default
94
- : moduleExports[metadata.name];
90
+ if ("*" === metadata.name) return moduleExports;
91
+ if ("" === metadata.name) return moduleExports.default;
92
+ if (hasOwnProperty.call(moduleExports, metadata.name))
93
+ return moduleExports[metadata.name];
95
94
  }
96
95
  function prepareDestinationWithChunks(
97
96
  moduleLoading,
@@ -2271,7 +2270,7 @@
2271
2270
  (stack = stack.slice(29));
2272
2271
  var idx = stack.indexOf("\n");
2273
2272
  -1 !== idx && (stack = stack.slice(idx + 1));
2274
- idx = stack.indexOf("react-stack-bottom-frame");
2273
+ idx = stack.indexOf("react_stack_bottom_frame");
2275
2274
  -1 !== idx && (idx = stack.lastIndexOf("\n", idx));
2276
2275
  var JSCompiler_inline_result =
2277
2276
  -1 !== idx ? (stack = stack.slice(0, idx)) : "";
@@ -2584,6 +2583,7 @@
2584
2583
  React = require("react"),
2585
2584
  decoderOptions = { stream: !0 },
2586
2585
  bind$1 = Function.prototype.bind,
2586
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2587
2587
  asyncModuleCache = new Map(),
2588
2588
  ReactDOMSharedInternals =
2589
2589
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
@@ -2657,11 +2657,7 @@
2657
2657
  fakeFunctionCache = new Map(),
2658
2658
  fakeFunctionIdx = 0,
2659
2659
  createFakeJSXCallStack = {
2660
- "react-stack-bottom-frame": function (
2661
- response,
2662
- stack,
2663
- environmentName
2664
- ) {
2660
+ react_stack_bottom_frame: function (response, stack, environmentName) {
2665
2661
  return buildFakeCallStack(
2666
2662
  response,
2667
2663
  stack,
@@ -2670,12 +2666,13 @@
2670
2666
  )();
2671
2667
  }
2672
2668
  },
2673
- createFakeJSXCallStackInDEV = createFakeJSXCallStack[
2674
- "react-stack-bottom-frame"
2675
- ].bind(createFakeJSXCallStack),
2669
+ createFakeJSXCallStackInDEV =
2670
+ createFakeJSXCallStack.react_stack_bottom_frame.bind(
2671
+ createFakeJSXCallStack
2672
+ ),
2676
2673
  currentOwnerInDEV = null,
2677
2674
  replayConsoleWithCallStack = {
2678
- "react-stack-bottom-frame": function (
2675
+ react_stack_bottom_frame: function (
2679
2676
  response,
2680
2677
  methodName,
2681
2678
  stackTrace,
@@ -2748,9 +2745,10 @@
2748
2745
  }
2749
2746
  }
2750
2747
  },
2751
- replayConsoleWithCallStackInDEV = replayConsoleWithCallStack[
2752
- "react-stack-bottom-frame"
2753
- ].bind(replayConsoleWithCallStack);
2748
+ replayConsoleWithCallStackInDEV =
2749
+ replayConsoleWithCallStack.react_stack_bottom_frame.bind(
2750
+ replayConsoleWithCallStack
2751
+ );
2754
2752
  exports.createFromNodeStream = function (
2755
2753
  stream,
2756
2754
  serverConsumerManifest,
@@ -11,7 +11,8 @@
11
11
  "use strict";
12
12
  var util = require("util"),
13
13
  ReactDOM = require("react-dom"),
14
- decoderOptions = { stream: !0 };
14
+ decoderOptions = { stream: !0 },
15
+ hasOwnProperty = Object.prototype.hasOwnProperty;
15
16
  function resolveClientReference(bundlerConfig, metadata) {
16
17
  var moduleExports = bundlerConfig[metadata[0]];
17
18
  if ((bundlerConfig = moduleExports && moduleExports[metadata[2]]))
@@ -67,11 +68,10 @@ function requireModule(metadata) {
67
68
  var moduleExports = asyncModuleCache.get(metadata.specifier);
68
69
  if ("fulfilled" === moduleExports.status) moduleExports = moduleExports.value;
69
70
  else throw moduleExports.reason;
70
- return "*" === metadata.name
71
- ? moduleExports
72
- : "" === metadata.name
73
- ? moduleExports.default
74
- : moduleExports[metadata.name];
71
+ if ("*" === metadata.name) return moduleExports;
72
+ if ("" === metadata.name) return moduleExports.default;
73
+ if (hasOwnProperty.call(moduleExports, metadata.name))
74
+ return moduleExports[metadata.name];
75
75
  }
76
76
  function prepareDestinationWithChunks(moduleLoading, chunks, nonce$jscomp$0) {
77
77
  if (null !== moduleLoading)