react-server-dom-webpack 19.0.0-beta-e7d213dfb0-20240507 → 19.0.0-beta-04b058868c-20240508

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.
@@ -1619,20 +1619,27 @@ function loadServerReference$1(
1619
1619
  key
1620
1620
  ) {
1621
1621
  var serverReference = resolveServerReference(response._bundlerConfig, id);
1622
- response = preloadModule(serverReference);
1622
+ id = preloadModule(serverReference);
1623
1623
  if (bound)
1624
- bound = Promise.all([bound, response]).then(function (_ref) {
1624
+ bound = Promise.all([bound, id]).then(function (_ref) {
1625
1625
  _ref = _ref[0];
1626
1626
  var fn = requireModule(serverReference);
1627
1627
  return fn.bind.apply(fn, [null].concat(_ref));
1628
1628
  });
1629
- else if (response)
1630
- bound = Promise.resolve(response).then(function () {
1629
+ else if (id)
1630
+ bound = Promise.resolve(id).then(function () {
1631
1631
  return requireModule(serverReference);
1632
1632
  });
1633
1633
  else return requireModule(serverReference);
1634
1634
  bound.then(
1635
- createModelResolver(parentChunk, parentObject, key),
1635
+ createModelResolver(
1636
+ parentChunk,
1637
+ parentObject,
1638
+ key,
1639
+ !1,
1640
+ response,
1641
+ createModel
1642
+ ),
1636
1643
  createModelReject(parentChunk)
1637
1644
  );
1638
1645
  return null;
@@ -1677,13 +1684,17 @@ function getChunk(response, id) {
1677
1684
  chunks.set(id, chunk));
1678
1685
  return chunk;
1679
1686
  }
1680
- function createModelResolver(chunk, parentObject, key) {
1687
+ function createModelResolver(chunk, parentObject, key, cyclic, response, map) {
1681
1688
  if (initializingChunkBlockedModel) {
1682
1689
  var blocked = initializingChunkBlockedModel;
1683
- blocked.deps++;
1684
- } else blocked = initializingChunkBlockedModel = { deps: 1, value: null };
1690
+ cyclic || blocked.deps++;
1691
+ } else
1692
+ blocked = initializingChunkBlockedModel = {
1693
+ deps: cyclic ? 0 : 1,
1694
+ value: null
1695
+ };
1685
1696
  return function (value) {
1686
- parentObject[key] = value;
1697
+ parentObject[key] = map(response, value);
1687
1698
  "" === key && null === blocked.value && (blocked.value = parentObject[key]);
1688
1699
  blocked.deps--;
1689
1700
  0 === blocked.deps &&
@@ -1699,11 +1710,38 @@ function createModelReject(chunk) {
1699
1710
  return triggerErrorOnChunk(chunk, error);
1700
1711
  };
1701
1712
  }
1702
- function getOutlinedModel(response, id) {
1703
- response = getChunk(response, id);
1704
- "resolved_model" === response.status && initializeModelChunk(response);
1705
- if ("fulfilled" !== response.status) throw response.reason;
1706
- return response.value;
1713
+ function getOutlinedModel(response, id, parentObject, key, map) {
1714
+ id = getChunk(response, id);
1715
+ switch (id.status) {
1716
+ case "resolved_model":
1717
+ initializeModelChunk(id);
1718
+ }
1719
+ switch (id.status) {
1720
+ case "fulfilled":
1721
+ return map(response, id.value);
1722
+ case "pending":
1723
+ case "blocked":
1724
+ var parentChunk = initializingChunk;
1725
+ id.then(
1726
+ createModelResolver(parentChunk, parentObject, key, !1, response, map),
1727
+ createModelReject(parentChunk)
1728
+ );
1729
+ return null;
1730
+ default:
1731
+ throw id.reason;
1732
+ }
1733
+ }
1734
+ function createMap(response, model) {
1735
+ return new Map(model);
1736
+ }
1737
+ function createSet(response, model) {
1738
+ return new Set(model);
1739
+ }
1740
+ function extractIterator(response, model) {
1741
+ return model[Symbol.iterator]();
1742
+ }
1743
+ function createModel(response, model) {
1744
+ return model;
1707
1745
  }
1708
1746
  function parseModelString(response, obj, key, value) {
1709
1747
  if ("$" === value[0]) {
@@ -1715,7 +1753,7 @@ function parseModelString(response, obj, key, value) {
1715
1753
  case "F":
1716
1754
  return (
1717
1755
  (value = parseInt(value.slice(2), 16)),
1718
- (value = getOutlinedModel(response, value)),
1756
+ (value = getOutlinedModel(response, value, obj, key, createModel)),
1719
1757
  loadServerReference$1(
1720
1758
  response,
1721
1759
  value.id,
@@ -1729,29 +1767,27 @@ function parseModelString(response, obj, key, value) {
1729
1767
  return createTemporaryReference(value.slice(2));
1730
1768
  case "Q":
1731
1769
  return (
1732
- (obj = parseInt(value.slice(2), 16)),
1733
- (response = getOutlinedModel(response, obj)),
1734
- new Map(response)
1770
+ (value = parseInt(value.slice(2), 16)),
1771
+ getOutlinedModel(response, value, obj, key, createMap)
1735
1772
  );
1736
1773
  case "W":
1737
1774
  return (
1738
- (obj = parseInt(value.slice(2), 16)),
1739
- (response = getOutlinedModel(response, obj)),
1740
- new Set(response)
1775
+ (value = parseInt(value.slice(2), 16)),
1776
+ getOutlinedModel(response, value, obj, key, createSet)
1741
1777
  );
1742
1778
  case "K":
1743
1779
  obj = value.slice(2);
1744
1780
  var formPrefix = response._prefix + obj + "_",
1745
- data$23 = new FormData();
1781
+ data = new FormData();
1746
1782
  response._formData.forEach(function (entry, entryKey) {
1747
1783
  entryKey.startsWith(formPrefix) &&
1748
- data$23.append(entryKey.slice(formPrefix.length), entry);
1784
+ data.append(entryKey.slice(formPrefix.length), entry);
1749
1785
  });
1750
- return data$23;
1786
+ return data;
1751
1787
  case "i":
1752
1788
  return (
1753
- (obj = parseInt(value.slice(2), 16)),
1754
- getOutlinedModel(response, obj)[Symbol.iterator]()
1789
+ (value = parseInt(value.slice(2), 16)),
1790
+ getOutlinedModel(response, value, obj, key, extractIterator)
1755
1791
  );
1756
1792
  case "I":
1757
1793
  return Infinity;
@@ -1767,27 +1803,7 @@ function parseModelString(response, obj, key, value) {
1767
1803
  return BigInt(value.slice(2));
1768
1804
  }
1769
1805
  value = parseInt(value.slice(1), 16);
1770
- response = getChunk(response, value);
1771
- switch (response.status) {
1772
- case "resolved_model":
1773
- initializeModelChunk(response);
1774
- }
1775
- switch (response.status) {
1776
- case "fulfilled":
1777
- return response.value;
1778
- case "pending":
1779
- case "blocked":
1780
- return (
1781
- (value = initializingChunk),
1782
- response.then(
1783
- createModelResolver(value, obj, key),
1784
- createModelReject(value)
1785
- ),
1786
- null
1787
- );
1788
- default:
1789
- throw response.reason;
1790
- }
1806
+ return getOutlinedModel(response, value, obj, key, createModel);
1791
1807
  }
1792
1808
  return value;
1793
1809
  }
@@ -1983,9 +1983,8 @@ function renderFragment(request, task, children) {
1983
1983
 
1984
1984
  function renderClientElement(task, type, key, props, owner) // DEV-only
1985
1985
  {
1986
+ // We prepend the terminal client element that actually gets serialized with
1986
1987
  // the keys of any Server Components which are not serialized.
1987
-
1988
-
1989
1988
  var keyPath = task.keyPath;
1990
1989
 
1991
1990
  if (key === null) {
@@ -2129,7 +2128,7 @@ function createTask(request, model, keyPath, implicitSlot, abortSet) {
2129
2128
  if (typeof model === 'object' && model !== null) {
2130
2129
  // If we're about to write this into a new task we can assign it an ID early so that
2131
2130
  // any other references can refer to the value we're about to write.
2132
- if ((keyPath !== null || implicitSlot)) ; else {
2131
+ if (keyPath !== null || implicitSlot) ; else {
2133
2132
  request.writtenObjects.set(model, id);
2134
2133
  }
2135
2134
  }
@@ -2471,7 +2470,7 @@ function renderModelDestructive(request, task, parent, parentPropertyName, value
2471
2470
  var _existingId = _writtenObjects.get(value);
2472
2471
 
2473
2472
  if (_existingId !== undefined) {
2474
- if ((task.keyPath !== null || task.implicitSlot)) ; else if (modelRoot === value) {
2473
+ if (task.keyPath !== null || task.implicitSlot) ; else if (modelRoot === value) {
2475
2474
  // This is the ID we're currently emitting so we need to write it
2476
2475
  // once but if we discover it again, we refer to it by id.
2477
2476
  modelRoot = null;
@@ -2576,7 +2575,7 @@ function renderModelDestructive(request, task, parent, parentPropertyName, value
2576
2575
 
2577
2576
  if (typeof value.then === 'function') {
2578
2577
  if (existingId !== undefined) {
2579
- if ((task.keyPath !== null || task.implicitSlot)) {
2578
+ if (task.keyPath !== null || task.implicitSlot) {
2580
2579
  // If we're in some kind of context we can't reuse the result of this render or
2581
2580
  // previous renders of this element. We only reuse Promises if they're not wrapped
2582
2581
  // by another Server Component.
@@ -3769,7 +3768,7 @@ function loadServerReference$1(response, id, bound, parentChunk, parentObject, k
3769
3768
  }
3770
3769
  }
3771
3770
 
3772
- promise.then(createModelResolver(parentChunk, parentObject, key), createModelReject(parentChunk)); // We need a placeholder value that will be replaced later.
3771
+ promise.then(createModelResolver(parentChunk, parentObject, key, false, response, createModel), createModelReject(parentChunk)); // We need a placeholder value that will be replaced later.
3773
3772
 
3774
3773
  return null;
3775
3774
  }
@@ -3846,21 +3845,24 @@ function getChunk(response, id) {
3846
3845
  return chunk;
3847
3846
  }
3848
3847
 
3849
- function createModelResolver(chunk, parentObject, key) {
3848
+ function createModelResolver(chunk, parentObject, key, cyclic, response, map) {
3850
3849
  var blocked;
3851
3850
 
3852
3851
  if (initializingChunkBlockedModel) {
3853
3852
  blocked = initializingChunkBlockedModel;
3854
- blocked.deps++;
3853
+
3854
+ if (!cyclic) {
3855
+ blocked.deps++;
3856
+ }
3855
3857
  } else {
3856
3858
  blocked = initializingChunkBlockedModel = {
3857
- deps: 1,
3859
+ deps: cyclic ? 0 : 1,
3858
3860
  value: null
3859
3861
  };
3860
3862
  }
3861
3863
 
3862
3864
  return function (value) {
3863
- parentObject[key] = value; // If this is the root object for a model reference, where `blocked.value`
3865
+ parentObject[key] = map(response, value); // If this is the root object for a model reference, where `blocked.value`
3864
3866
  // is a stale `null`, the resolved value can be used directly.
3865
3867
 
3866
3868
  if (key === '' && blocked.value === null) {
@@ -3892,19 +3894,46 @@ function createModelReject(chunk) {
3892
3894
  };
3893
3895
  }
3894
3896
 
3895
- function getOutlinedModel(response, id) {
3897
+ function getOutlinedModel(response, id, parentObject, key, map) {
3896
3898
  var chunk = getChunk(response, id);
3897
3899
 
3898
- if (chunk.status === RESOLVED_MODEL) {
3899
- initializeModelChunk(chunk);
3900
- }
3900
+ switch (chunk.status) {
3901
+ case RESOLVED_MODEL:
3902
+ initializeModelChunk(chunk);
3903
+ break;
3904
+ } // The status might have changed after initialization.
3901
3905
 
3902
- if (chunk.status !== INITIALIZED) {
3903
- // We know that this is emitted earlier so otherwise it's an error.
3904
- throw chunk.reason;
3906
+
3907
+ switch (chunk.status) {
3908
+ case INITIALIZED:
3909
+ return map(response, chunk.value);
3910
+
3911
+ case PENDING:
3912
+ case BLOCKED:
3913
+ var parentChunk = initializingChunk;
3914
+ chunk.then(createModelResolver(parentChunk, parentObject, key, false, response, map), createModelReject(parentChunk));
3915
+ return null;
3916
+
3917
+ default:
3918
+ throw chunk.reason;
3905
3919
  }
3920
+ }
3921
+
3922
+ function createMap(response, model) {
3923
+ return new Map(model);
3924
+ }
3925
+
3926
+ function createSet(response, model) {
3927
+ return new Set(model);
3928
+ }
3906
3929
 
3907
- return chunk.value;
3930
+ function extractIterator(response, model) {
3931
+ // $FlowFixMe[incompatible-use]: This uses raw Symbols because we're extracting from a native array.
3932
+ return model[Symbol.iterator]();
3933
+ }
3934
+
3935
+ function createModel(response, model) {
3936
+ return model;
3908
3937
  }
3909
3938
 
3910
3939
  function parseModelString(response, obj, key, value) {
@@ -3921,9 +3950,8 @@ function parseModelString(response, obj, key, value) {
3921
3950
  // Promise
3922
3951
  var _id = parseInt(value.slice(2), 16);
3923
3952
 
3924
- var _chunk2 = getChunk(response, _id);
3925
-
3926
- return _chunk2;
3953
+ var chunk = getChunk(response, _id);
3954
+ return chunk;
3927
3955
  }
3928
3956
 
3929
3957
  case 'F':
@@ -3932,7 +3960,7 @@ function parseModelString(response, obj, key, value) {
3932
3960
  var _id2 = parseInt(value.slice(2), 16); // TODO: Just encode this in the reference inline instead of as a model.
3933
3961
 
3934
3962
 
3935
- var metaData = getOutlinedModel(response, _id2);
3963
+ var metaData = getOutlinedModel(response, _id2, obj, key, createModel);
3936
3964
  return loadServerReference$1(response, metaData.id, metaData.bound, initializingChunk, obj, key);
3937
3965
  }
3938
3966
 
@@ -3947,8 +3975,7 @@ function parseModelString(response, obj, key, value) {
3947
3975
  // Map
3948
3976
  var _id3 = parseInt(value.slice(2), 16);
3949
3977
 
3950
- var data = getOutlinedModel(response, _id3);
3951
- return new Map(data);
3978
+ return getOutlinedModel(response, _id3, obj, key, createMap);
3952
3979
  }
3953
3980
 
3954
3981
  case 'W':
@@ -3956,9 +3983,7 @@ function parseModelString(response, obj, key, value) {
3956
3983
  // Set
3957
3984
  var _id4 = parseInt(value.slice(2), 16);
3958
3985
 
3959
- var _data = getOutlinedModel(response, _id4);
3960
-
3961
- return new Set(_data);
3986
+ return getOutlinedModel(response, _id4, obj, key, createSet);
3962
3987
  }
3963
3988
 
3964
3989
  case 'K':
@@ -3966,9 +3991,7 @@ function parseModelString(response, obj, key, value) {
3966
3991
  // FormData
3967
3992
  var stringId = value.slice(2);
3968
3993
  var formPrefix = response._prefix + stringId + '_';
3969
-
3970
- var _data2 = new FormData();
3971
-
3994
+ var data = new FormData();
3972
3995
  var backingFormData = response._formData; // We assume that the reference to FormData always comes after each
3973
3996
  // entry that it references so we can assume they all exist in the
3974
3997
  // backing store already.
@@ -3976,10 +3999,10 @@ function parseModelString(response, obj, key, value) {
3976
3999
 
3977
4000
  backingFormData.forEach(function (entry, entryKey) {
3978
4001
  if (entryKey.startsWith(formPrefix)) {
3979
- _data2.append(entryKey.slice(formPrefix.length), entry);
4002
+ data.append(entryKey.slice(formPrefix.length), entry);
3980
4003
  }
3981
4004
  });
3982
- return _data2;
4005
+ return data;
3983
4006
  }
3984
4007
 
3985
4008
  case 'i':
@@ -3987,9 +4010,7 @@ function parseModelString(response, obj, key, value) {
3987
4010
  // Iterator
3988
4011
  var _id5 = parseInt(value.slice(2), 16);
3989
4012
 
3990
- var _data3 = getOutlinedModel(response, _id5);
3991
-
3992
- return _data3[Symbol.iterator]();
4013
+ return getOutlinedModel(response, _id5, obj, key, extractIterator);
3993
4014
  }
3994
4015
 
3995
4016
  case 'I':
@@ -4036,28 +4057,7 @@ function parseModelString(response, obj, key, value) {
4036
4057
 
4037
4058
 
4038
4059
  var id = parseInt(value.slice(1), 16);
4039
- var chunk = getChunk(response, id);
4040
-
4041
- switch (chunk.status) {
4042
- case RESOLVED_MODEL:
4043
- initializeModelChunk(chunk);
4044
- break;
4045
- } // The status might have changed after initialization.
4046
-
4047
-
4048
- switch (chunk.status) {
4049
- case INITIALIZED:
4050
- return chunk.value;
4051
-
4052
- case PENDING:
4053
- case BLOCKED:
4054
- var parentChunk = initializingChunk;
4055
- chunk.then(createModelResolver(parentChunk, obj, key), createModelReject(parentChunk));
4056
- return null;
4057
-
4058
- default:
4059
- throw chunk.reason;
4060
- }
4060
+ return getOutlinedModel(response, id, obj, key, createModel);
4061
4061
  }
4062
4062
 
4063
4063
  return value;
@@ -1673,20 +1673,27 @@ function loadServerReference$1(
1673
1673
  key
1674
1674
  ) {
1675
1675
  var serverReference = resolveServerReference(response._bundlerConfig, id);
1676
- response = preloadModule(serverReference);
1676
+ id = preloadModule(serverReference);
1677
1677
  if (bound)
1678
- bound = Promise.all([bound, response]).then(function (_ref) {
1678
+ bound = Promise.all([bound, id]).then(function (_ref) {
1679
1679
  _ref = _ref[0];
1680
1680
  var fn = requireModule(serverReference);
1681
1681
  return fn.bind.apply(fn, [null].concat(_ref));
1682
1682
  });
1683
- else if (response)
1684
- bound = Promise.resolve(response).then(function () {
1683
+ else if (id)
1684
+ bound = Promise.resolve(id).then(function () {
1685
1685
  return requireModule(serverReference);
1686
1686
  });
1687
1687
  else return requireModule(serverReference);
1688
1688
  bound.then(
1689
- createModelResolver(parentChunk, parentObject, key),
1689
+ createModelResolver(
1690
+ parentChunk,
1691
+ parentObject,
1692
+ key,
1693
+ !1,
1694
+ response,
1695
+ createModel
1696
+ ),
1690
1697
  createModelReject(parentChunk)
1691
1698
  );
1692
1699
  return null;
@@ -1731,13 +1738,17 @@ function getChunk(response, id) {
1731
1738
  chunks.set(id, chunk));
1732
1739
  return chunk;
1733
1740
  }
1734
- function createModelResolver(chunk, parentObject, key) {
1741
+ function createModelResolver(chunk, parentObject, key, cyclic, response, map) {
1735
1742
  if (initializingChunkBlockedModel) {
1736
1743
  var blocked = initializingChunkBlockedModel;
1737
- blocked.deps++;
1738
- } else blocked = initializingChunkBlockedModel = { deps: 1, value: null };
1744
+ cyclic || blocked.deps++;
1745
+ } else
1746
+ blocked = initializingChunkBlockedModel = {
1747
+ deps: cyclic ? 0 : 1,
1748
+ value: null
1749
+ };
1739
1750
  return function (value) {
1740
- parentObject[key] = value;
1751
+ parentObject[key] = map(response, value);
1741
1752
  "" === key && null === blocked.value && (blocked.value = parentObject[key]);
1742
1753
  blocked.deps--;
1743
1754
  0 === blocked.deps &&
@@ -1753,11 +1764,38 @@ function createModelReject(chunk) {
1753
1764
  return triggerErrorOnChunk(chunk, error);
1754
1765
  };
1755
1766
  }
1756
- function getOutlinedModel(response, id) {
1757
- response = getChunk(response, id);
1758
- "resolved_model" === response.status && initializeModelChunk(response);
1759
- if ("fulfilled" !== response.status) throw response.reason;
1760
- return response.value;
1767
+ function getOutlinedModel(response, id, parentObject, key, map) {
1768
+ id = getChunk(response, id);
1769
+ switch (id.status) {
1770
+ case "resolved_model":
1771
+ initializeModelChunk(id);
1772
+ }
1773
+ switch (id.status) {
1774
+ case "fulfilled":
1775
+ return map(response, id.value);
1776
+ case "pending":
1777
+ case "blocked":
1778
+ var parentChunk = initializingChunk;
1779
+ id.then(
1780
+ createModelResolver(parentChunk, parentObject, key, !1, response, map),
1781
+ createModelReject(parentChunk)
1782
+ );
1783
+ return null;
1784
+ default:
1785
+ throw id.reason;
1786
+ }
1787
+ }
1788
+ function createMap(response, model) {
1789
+ return new Map(model);
1790
+ }
1791
+ function createSet(response, model) {
1792
+ return new Set(model);
1793
+ }
1794
+ function extractIterator(response, model) {
1795
+ return model[Symbol.iterator]();
1796
+ }
1797
+ function createModel(response, model) {
1798
+ return model;
1761
1799
  }
1762
1800
  function parseModelString(response, obj, key, value) {
1763
1801
  if ("$" === value[0]) {
@@ -1769,7 +1807,7 @@ function parseModelString(response, obj, key, value) {
1769
1807
  case "F":
1770
1808
  return (
1771
1809
  (value = parseInt(value.slice(2), 16)),
1772
- (value = getOutlinedModel(response, value)),
1810
+ (value = getOutlinedModel(response, value, obj, key, createModel)),
1773
1811
  loadServerReference$1(
1774
1812
  response,
1775
1813
  value.id,
@@ -1783,29 +1821,27 @@ function parseModelString(response, obj, key, value) {
1783
1821
  return createTemporaryReference(value.slice(2));
1784
1822
  case "Q":
1785
1823
  return (
1786
- (obj = parseInt(value.slice(2), 16)),
1787
- (response = getOutlinedModel(response, obj)),
1788
- new Map(response)
1824
+ (value = parseInt(value.slice(2), 16)),
1825
+ getOutlinedModel(response, value, obj, key, createMap)
1789
1826
  );
1790
1827
  case "W":
1791
1828
  return (
1792
- (obj = parseInt(value.slice(2), 16)),
1793
- (response = getOutlinedModel(response, obj)),
1794
- new Set(response)
1829
+ (value = parseInt(value.slice(2), 16)),
1830
+ getOutlinedModel(response, value, obj, key, createSet)
1795
1831
  );
1796
1832
  case "K":
1797
1833
  obj = value.slice(2);
1798
1834
  var formPrefix = response._prefix + obj + "_",
1799
- data$23 = new FormData();
1835
+ data = new FormData();
1800
1836
  response._formData.forEach(function (entry, entryKey) {
1801
1837
  entryKey.startsWith(formPrefix) &&
1802
- data$23.append(entryKey.slice(formPrefix.length), entry);
1838
+ data.append(entryKey.slice(formPrefix.length), entry);
1803
1839
  });
1804
- return data$23;
1840
+ return data;
1805
1841
  case "i":
1806
1842
  return (
1807
- (obj = parseInt(value.slice(2), 16)),
1808
- getOutlinedModel(response, obj)[Symbol.iterator]()
1843
+ (value = parseInt(value.slice(2), 16)),
1844
+ getOutlinedModel(response, value, obj, key, extractIterator)
1809
1845
  );
1810
1846
  case "I":
1811
1847
  return Infinity;
@@ -1821,27 +1857,7 @@ function parseModelString(response, obj, key, value) {
1821
1857
  return BigInt(value.slice(2));
1822
1858
  }
1823
1859
  value = parseInt(value.slice(1), 16);
1824
- response = getChunk(response, value);
1825
- switch (response.status) {
1826
- case "resolved_model":
1827
- initializeModelChunk(response);
1828
- }
1829
- switch (response.status) {
1830
- case "fulfilled":
1831
- return response.value;
1832
- case "pending":
1833
- case "blocked":
1834
- return (
1835
- (value = initializingChunk),
1836
- response.then(
1837
- createModelResolver(value, obj, key),
1838
- createModelReject(value)
1839
- ),
1840
- null
1841
- );
1842
- default:
1843
- throw response.reason;
1844
- }
1860
+ return getOutlinedModel(response, value, obj, key, createModel);
1845
1861
  }
1846
1862
  return value;
1847
1863
  }
@@ -1998,12 +2014,12 @@ exports.decodeReplyFromBusboy = function (busboyStream, webpackMap) {
1998
2014
  "React doesn't accept base64 encoded file uploads because we don't expect form data passed from a browser to ever encode data that way. If that's the wrong assumption, we can easily fix it."
1999
2015
  );
2000
2016
  pendingFiles++;
2001
- var JSCompiler_object_inline_chunks_209 = [];
2017
+ var JSCompiler_object_inline_chunks_205 = [];
2002
2018
  value.on("data", function (chunk) {
2003
- JSCompiler_object_inline_chunks_209.push(chunk);
2019
+ JSCompiler_object_inline_chunks_205.push(chunk);
2004
2020
  });
2005
2021
  value.on("end", function () {
2006
- var blob = new Blob(JSCompiler_object_inline_chunks_209, {
2022
+ var blob = new Blob(JSCompiler_object_inline_chunks_205, {
2007
2023
  type: mimeType
2008
2024
  });
2009
2025
  response._formData.append(name, blob, filename);