react-server-dom-parcel 19.2.0 → 19.2.1

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.
@@ -30,7 +30,9 @@
30
30
  );
31
31
  }
32
32
  function requireModule(metadata) {
33
- return parcelRequire(metadata[0])[metadata[1]];
33
+ var moduleExports = parcelRequire(metadata[0]);
34
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
35
+ return moduleExports[metadata[1]];
34
36
  }
35
37
  function getIteratorFn(maybeIterable) {
36
38
  if (null === maybeIterable || "object" !== typeof maybeIterable)
@@ -4532,6 +4534,7 @@
4532
4534
  ReactDOM = require("react-dom"),
4533
4535
  decoderOptions = { stream: !0 },
4534
4536
  bind = Function.prototype.bind,
4537
+ hasOwnProperty = Object.prototype.hasOwnProperty,
4535
4538
  ReactDOMSharedInternals =
4536
4539
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
4537
4540
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -4560,7 +4563,6 @@
4560
4563
  v8FrameRegExp =
4561
4564
  /^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
4562
4565
  jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\d+):(\d+)/,
4563
- hasOwnProperty = Object.prototype.hasOwnProperty,
4564
4566
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
4565
4567
  supportsUserTiming =
4566
4568
  "undefined" !== typeof console &&
@@ -4738,10 +4740,10 @@
4738
4740
  return hook.checkDCE ? !0 : !1;
4739
4741
  })({
4740
4742
  bundleType: 1,
4741
- version: "19.2.0",
4743
+ version: "19.2.1",
4742
4744
  rendererPackageName: "react-server-dom-parcel",
4743
4745
  currentDispatcherRef: ReactSharedInternals,
4744
- reconcilerVersion: "19.2.0",
4746
+ reconcilerVersion: "19.2.1",
4745
4747
  getCurrentComponentInfo: function () {
4746
4748
  return currentOwnerInDEV;
4747
4749
  }
@@ -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;
@@ -30,7 +30,9 @@
30
30
  );
31
31
  }
32
32
  function requireModule(metadata) {
33
- return parcelRequire(metadata[0])[metadata[1]];
33
+ var moduleExports = parcelRequire(metadata[0]);
34
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
35
+ return moduleExports[metadata[1]];
34
36
  }
35
37
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
36
38
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -4576,6 +4578,7 @@
4576
4578
  React = require("react"),
4577
4579
  decoderOptions = { stream: !0 },
4578
4580
  bind$1 = Function.prototype.bind,
4581
+ hasOwnProperty = Object.prototype.hasOwnProperty,
4579
4582
  ReactDOMSharedInternals =
4580
4583
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
4581
4584
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -4607,7 +4610,6 @@
4607
4610
  v8FrameRegExp =
4608
4611
  /^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
4609
4612
  jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\d+):(\d+)/,
4610
- hasOwnProperty = Object.prototype.hasOwnProperty,
4611
4613
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
4612
4614
  supportsUserTiming =
4613
4615
  "undefined" !== typeof console &&
@@ -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;
@@ -30,7 +30,9 @@
30
30
  );
31
31
  }
32
32
  function requireModule(metadata) {
33
- return parcelRequire(metadata[0])[metadata[1]];
33
+ var moduleExports = parcelRequire(metadata[0]);
34
+ if (hasOwnProperty.call(moduleExports, metadata[1]))
35
+ return moduleExports[metadata[1]];
34
36
  }
35
37
  function prepareDestinationWithChunks(moduleLoading, bundles, nonce) {
36
38
  for (moduleLoading = 0; moduleLoading < bundles.length; moduleLoading++) {
@@ -4691,6 +4693,7 @@
4691
4693
  React = require("react"),
4692
4694
  decoderOptions = { stream: !0 },
4693
4695
  bind$1 = Function.prototype.bind,
4696
+ hasOwnProperty = Object.prototype.hasOwnProperty,
4694
4697
  ReactDOMSharedInternals =
4695
4698
  ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,
4696
4699
  REACT_ELEMENT_TYPE = Symbol.for("react.transitional.element"),
@@ -4722,7 +4725,6 @@
4722
4725
  v8FrameRegExp =
4723
4726
  /^ {3} at (?:(.+) \((.+):(\d+):(\d+)\)|(?:async )?(.+):(\d+):(\d+))$/,
4724
4727
  jscSpiderMonkeyFrameRegExp = /(?:(.*)@)?(.*):(\d+):(\d+)/,
4725
- hasOwnProperty = Object.prototype.hasOwnProperty,
4726
4728
  REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference"),
4727
4729
  supportsUserTiming =
4728
4730
  "undefined" !== typeof console &&
@@ -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;