react-server-dom-parcel 19.1.1 → 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.
@@ -51,7 +51,9 @@
51
51
  );
52
52
  }
53
53
  function requireModule(metadata) {
54
- return parcelRequire(metadata[0])[metadata[1]];
54
+ var moduleExports = parcelRequire(metadata[0]);
55
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
56
+ return moduleExports[metadata[1]];
55
57
  }
56
58
  function getIteratorFn(maybeIterable) {
57
59
  if (null === maybeIterable || "object" !== typeof maybeIterable)
@@ -2457,6 +2459,7 @@
2457
2459
  ReactDOM = require("react-dom"),
2458
2460
  decoderOptions = { stream: !0 },
2459
2461
  bind = Function.prototype.bind,
2462
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2460
2463
  ReactDOMSharedInternals =
2461
2464
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
2462
2465
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -2631,10 +2634,10 @@
2631
2634
  return hook.checkDCE ? !0 : !1;
2632
2635
  })({
2633
2636
  bundleType: 1,
2634
- version: "19.1.1",
2637
+ version: "19.1.2",
2635
2638
  rendererPackageName: "react-server-dom-parcel",
2636
2639
  currentDispatcherRef: ReactSharedInternals,
2637
- reconcilerVersion: "19.1.1",
2640
+ reconcilerVersion: "19.1.2",
2638
2641
  getCurrentComponentInfo: function () {
2639
2642
  return currentOwnerInDEV;
2640
2643
  }
@@ -9,7 +9,9 @@
9
9
  */
10
10
 
11
11
  "use strict";
12
- var decoderOptions = { stream: !0 };
12
+ var ReactDOM = require("react-dom"),
13
+ decoderOptions = { stream: !0 },
14
+ hasOwnProperty = Object.prototype.hasOwnProperty;
13
15
  function resolveServerReference(bundlerConfig, ref) {
14
16
  var idx = ref.lastIndexOf("#"),
15
17
  id = ref.slice(0, idx);
@@ -29,10 +31,12 @@ function preloadModule(metadata) {
29
31
  );
30
32
  }
31
33
  function requireModule(metadata) {
32
- return parcelRequire(metadata[0])[metadata[1]];
34
+ var moduleExports = parcelRequire(metadata[0]);
35
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
36
+ return moduleExports[metadata[1]];
33
37
  }
34
38
  var ReactDOMSharedInternals =
35
- require("react-dom").__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
39
+ ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
36
40
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
37
41
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
38
42
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
@@ -51,7 +51,9 @@
51
51
  );
52
52
  }
53
53
  function requireModule(metadata) {
54
- return parcelRequire(metadata[0])[metadata[1]];
54
+ var moduleExports = parcelRequire(metadata[0]);
55
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
56
+ return moduleExports[metadata[1]];
55
57
  }
56
58
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
57
59
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -2647,6 +2649,7 @@
2647
2649
  React = require("react"),
2648
2650
  decoderOptions = { stream: !0 },
2649
2651
  bind$1 = Function.prototype.bind,
2652
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2650
2653
  ReactDOMSharedInternals =
2651
2654
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
2652
2655
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -9,7 +9,9 @@
9
9
  */
10
10
 
11
11
  "use strict";
12
- var decoderOptions = { stream: !0 };
12
+ var ReactDOM = require("react-dom"),
13
+ decoderOptions = { stream: !0 },
14
+ hasOwnProperty = Object.prototype.hasOwnProperty;
13
15
  function resolveServerReference(bundlerConfig, ref) {
14
16
  var idx = ref.lastIndexOf("#"),
15
17
  id = ref.slice(0, idx);
@@ -29,7 +31,9 @@ function preloadModule(metadata) {
29
31
  );
30
32
  }
31
33
  function requireModule(metadata) {
32
- return parcelRequire(metadata[0])[metadata[1]];
34
+ var moduleExports = parcelRequire(metadata[0]);
35
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
36
+ return moduleExports[metadata[1]];
33
37
  }
34
38
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
35
39
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -42,7 +46,7 @@ function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
42
46
  }
43
47
  }
44
48
  var ReactDOMSharedInternals =
45
- require("react-dom").__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
49
+ ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
46
50
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
47
51
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
48
52
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;
@@ -51,7 +51,9 @@
51
51
  );
52
52
  }
53
53
  function requireModule(metadata) {
54
- return parcelRequire(metadata[0])[metadata[1]];
54
+ var moduleExports = parcelRequire(metadata[0]);
55
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
56
+ return moduleExports[metadata[1]];
55
57
  }
56
58
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
57
59
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -2535,6 +2537,7 @@
2535
2537
  React = require("react"),
2536
2538
  decoderOptions = { stream: !0 },
2537
2539
  bind$1 = Function.prototype.bind,
2540
+ hasOwnProperty = Object.prototype.hasOwnProperty,
2538
2541
  ReactDOMSharedInternals =
2539
2542
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
2540
2543
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -10,7 +10,9 @@
10
10
 
11
11
  "use strict";
12
12
  var util = require("util"),
13
- decoderOptions = { stream: !0 };
13
+ ReactDOM = require("react-dom"),
14
+ decoderOptions = { stream: !0 },
15
+ hasOwnProperty = Object.prototype.hasOwnProperty;
14
16
  function resolveServerReference(bundlerConfig, ref) {
15
17
  var idx = ref.lastIndexOf("#"),
16
18
  id = ref.slice(0, idx);
@@ -30,7 +32,9 @@ function preloadModule(metadata) {
30
32
  );
31
33
  }
32
34
  function requireModule(metadata) {
33
- return parcelRequire(metadata[0])[metadata[1]];
35
+ var moduleExports = parcelRequire(metadata[0]);
36
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
37
+ return moduleExports[metadata[1]];
34
38
  }
35
39
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
36
40
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -43,7 +47,7 @@ function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
43
47
  }
44
48
  }
45
49
  var ReactDOMSharedInternals =
46
- require("react-dom").__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
50
+ ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
47
51
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
48
52
  REACT_LAZY_TYPE = Symbol.for("react.lazy"),
49
53
  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;