react-server-dom-parcel 19.2.8 → 19.2.9

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.
@@ -82,33 +82,44 @@
82
82
  (currentView = new Uint8Array(2048)),
83
83
  (writtenBytes = 0));
84
84
  }
85
- } else
86
- 0 !== chunk.byteLength &&
87
- (2048 < chunk.byteLength
88
- ? (0 < writtenBytes &&
89
- (writeToDestination(
90
- destination,
91
- currentView.subarray(0, writtenBytes)
92
- ),
93
- (currentView = new Uint8Array(2048)),
94
- (writtenBytes = 0)),
95
- writeToDestination(destination, chunk))
96
- : ((target = currentView.length - writtenBytes),
97
- target < chunk.byteLength &&
98
- (0 === target
99
- ? writeToDestination(destination, currentView)
100
- : (currentView.set(chunk.subarray(0, target), writtenBytes),
101
- (writtenBytes += target),
102
- writeToDestination(destination, currentView),
103
- (chunk = chunk.subarray(target))),
104
- (currentView = new Uint8Array(2048)),
105
- (writtenBytes = 0)),
106
- currentView.set(chunk, writtenBytes),
107
- (writtenBytes += chunk.byteLength),
108
- 2048 === writtenBytes &&
109
- (writeToDestination(destination, currentView),
110
- (currentView = new Uint8Array(2048)),
111
- (writtenBytes = 0))));
85
+ } else if (0 === chunk.byteLength)
86
+ if (supportsArrayBufferDetached) {
87
+ if (chunk.buffer.detached)
88
+ throw Error(
89
+ "Cannot transport a detached buffer. This usually happens when trying to transport multiple buffer-spanning views on the same underyling buffer. Either reuse the exact same view by identity or copy the underlying buffer manually via `view.slice()`."
90
+ );
91
+ } else
92
+ didWarnAboutMissingArrayBufferDetached ||
93
+ (console.error(
94
+ "React encountered an empty buffer when writing in an environment that does not support ArrayBuffer.prototype.detached. This could be a security issue if the buffer was not actually empty. Please upgrade to a Node.js version that supports ArrayBuffer.prototype.detached."
95
+ ),
96
+ (didWarnAboutMissingArrayBufferDetached = !0));
97
+ else
98
+ 2048 < chunk.byteLength
99
+ ? (0 < writtenBytes &&
100
+ (writeToDestination(
101
+ destination,
102
+ currentView.subarray(0, writtenBytes)
103
+ ),
104
+ (currentView = new Uint8Array(2048)),
105
+ (writtenBytes = 0)),
106
+ writeToDestination(destination, chunk))
107
+ : ((target = currentView.length - writtenBytes),
108
+ target < chunk.byteLength &&
109
+ (0 === target
110
+ ? writeToDestination(destination, currentView)
111
+ : (currentView.set(chunk.subarray(0, target), writtenBytes),
112
+ (writtenBytes += target),
113
+ writeToDestination(destination, currentView),
114
+ (chunk = chunk.subarray(target))),
115
+ (currentView = new Uint8Array(2048)),
116
+ (writtenBytes = 0)),
117
+ currentView.set(chunk, writtenBytes),
118
+ (writtenBytes += chunk.byteLength),
119
+ 2048 === writtenBytes &&
120
+ (writeToDestination(destination, currentView),
121
+ (currentView = new Uint8Array(2048)),
122
+ (writtenBytes = 0)));
112
123
  return destinationHasCapacity;
113
124
  }
114
125
  function completeWriting(destination) {
@@ -3074,13 +3085,35 @@
3074
3085
  }
3075
3086
  function emitTypedArrayChunk(request, id, tag, typedArray, debug) {
3076
3087
  debug ? request.pendingDebugChunks++ : request.pendingChunks++;
3077
- typedArray = new Uint8Array(
3078
- typedArray.buffer,
3079
- typedArray.byteOffset,
3080
- typedArray.byteLength
3081
- );
3082
- var binaryLength = typedArray.byteLength;
3083
- id = id.toString(16) + ":" + tag + binaryLength.toString(16) + ",";
3088
+ a: {
3089
+ var view = new Uint8Array(
3090
+ typedArray.buffer,
3091
+ typedArray.byteOffset,
3092
+ typedArray.byteLength
3093
+ );
3094
+ if (2048 < typedArray.byteLength) {
3095
+ if (
3096
+ 0 !== typedArray.byteOffset ||
3097
+ typedArray.byteLength !== typedArray.buffer.byteLength ||
3098
+ typedArray.buffer.resizable
3099
+ ) {
3100
+ typedArray = view.slice();
3101
+ break a;
3102
+ }
3103
+ if (!supportsArrayBufferDetached) {
3104
+ didWarnAboutMissingArrayBufferDetached ||
3105
+ (console.error(
3106
+ "React copied a partial view into a fresh buffer as a safety precaution because the environment does not implement ArrayBuffer.prototype.detached. This negatively impacts performance. Please upgrade to a modern Node.js version."
3107
+ ),
3108
+ (didWarnAboutMissingArrayBufferDetached = !0));
3109
+ typedArray = view.slice();
3110
+ break a;
3111
+ }
3112
+ }
3113
+ typedArray = view;
3114
+ }
3115
+ view = typedArray.byteLength;
3116
+ id = id.toString(16) + ":" + tag + view.toString(16) + ",";
3084
3117
  debug
3085
3118
  ? request.completedDebugChunks.push(id, typedArray)
3086
3119
  : request.completedRegularChunks.push(id, typedArray);
@@ -4200,13 +4233,38 @@
4200
4233
  if (hasOwnProperty.call(moduleExports, metadata[1]))
4201
4234
  return moduleExports[metadata[1]];
4202
4235
  }
4203
- function appendBackingEntry(backingStore, key, value) {
4204
- backingStore.data.append(key, value);
4205
- value = backingStore.keys;
4206
- null === value
4207
- ? ((backingStore.keys = Array.from(backingStore.data.keys())),
4208
- (backingStore.keyPointer = 0))
4209
- : value.push(key);
4236
+ function appendBackingEntry(backingStore, value, key) {
4237
+ var prefix = backingStore.prefix;
4238
+ if (key.startsWith(prefix)) {
4239
+ switch (key[prefix.length]) {
4240
+ case "_":
4241
+ prefix = backingStore.referencedEntries;
4242
+ null === prefix && (prefix = backingStore.referencedEntries = []);
4243
+ prefix.push([key, value]);
4244
+ return;
4245
+ case "S":
4246
+ "string" === typeof value &&
4247
+ ((prefix = backingStore.streamChunks),
4248
+ null === prefix &&
4249
+ (prefix = backingStore.streamChunks = new Map()),
4250
+ (backingStore = prefix.get(key)),
4251
+ void 0 === backingStore
4252
+ ? prefix.set(key, [value])
4253
+ : backingStore.push(value));
4254
+ return;
4255
+ }
4256
+ "string" === typeof value
4257
+ ? ((prefix = backingStore.stringChunks),
4258
+ null === prefix && (prefix = backingStore.stringChunks = new Map()),
4259
+ prefix.set(key, value))
4260
+ : ((prefix = backingStore.blobs),
4261
+ null === prefix && (prefix = backingStore.blobs = new Map()),
4262
+ prefix.set(key, value));
4263
+ }
4264
+ }
4265
+ function getBackingBlob(backingStore, key) {
4266
+ backingStore = backingStore.blobs;
4267
+ return null === backingStore ? void 0 : backingStore.get(key);
4210
4268
  }
4211
4269
  function ReactPromise(status, value, reason) {
4212
4270
  this.status = status;
@@ -4519,9 +4577,11 @@
4519
4577
  function getChunk(response, id) {
4520
4578
  var chunks = response._chunks,
4521
4579
  chunk = chunks.get(id);
4522
- chunk ||
4523
- ((chunk = response._formData.data.get(response._prefix + id)),
4524
- (chunk =
4580
+ if (!chunk) {
4581
+ chunk = response._prefix;
4582
+ var stringChunks = response._formData.stringChunks;
4583
+ chunk = null === stringChunks ? void 0 : stringChunks.get(chunk + id);
4584
+ chunk =
4525
4585
  "string" === typeof chunk
4526
4586
  ? new ReactPromise(
4527
4587
  "resolved_model",
@@ -4530,8 +4590,9 @@
4530
4590
  )
4531
4591
  : response._closed
4532
4592
  ? new ReactPromise("rejected", null, response._closedReason)
4533
- : new ReactPromise("pending", null, null)),
4534
- chunks.set(id, chunk));
4593
+ : new ReactPromise("pending", null, null);
4594
+ chunks.set(id, chunk);
4595
+ }
4535
4596
  return chunk;
4536
4597
  }
4537
4598
  function fulfillReference(response, reference, value, arrayRoot) {
@@ -4778,7 +4839,7 @@
4778
4839
  Error("Already initialized typed array.")
4779
4840
  )
4780
4841
  );
4781
- reference = response._formData.data.get(key).arrayBuffer();
4842
+ reference = getBackingBlob(response._formData, key).arrayBuffer();
4782
4843
  if (initializingHandler) {
4783
4844
  var handler = initializingHandler;
4784
4845
  handler.deps++;
@@ -4822,15 +4883,17 @@
4822
4883
  var chunks = response._chunks;
4823
4884
  stream = new ReactPromise("fulfilled", stream, controller);
4824
4885
  chunks.set(id, stream);
4825
- response = response._formData.data.getAll(response._prefix + id);
4826
- for (id = 0; id < response.length; id++)
4827
- (chunks = response[id]),
4828
- "string" === typeof chunks &&
4829
- ("C" === chunks[0]
4886
+ chunks = response._prefix;
4887
+ response = response._formData.streamChunks;
4888
+ id = null === response ? void 0 : response.get(chunks + "S" + id);
4889
+ if (void 0 !== id)
4890
+ for (response = 0; response < id.length; response++)
4891
+ (chunks = id[response]),
4892
+ "C" === chunks[0]
4830
4893
  ? controller.close(
4831
4894
  "C" === chunks ? '"$undefined"' : chunks.slice(1)
4832
4895
  )
4833
- : controller.enqueueModel(chunks));
4896
+ : controller.enqueueModel(chunks);
4834
4897
  }
4835
4898
  function parseReadableStream(response, reference, type) {
4836
4899
  function enqueue(value) {
@@ -4994,7 +5057,14 @@
4994
5057
  });
4995
5058
  return iterator;
4996
5059
  }
4997
- function parseModelString(response, obj, key, value, reference, arrayRoot) {
5060
+ function parseModelString(
5061
+ response,
5062
+ obj,
5063
+ key$jscomp$0,
5064
+ value,
5065
+ reference,
5066
+ arrayRoot
5067
+ ) {
4998
5068
  if ("$" === value[0]) {
4999
5069
  switch (value[1]) {
5000
5070
  case "$":
@@ -5014,7 +5084,7 @@
5014
5084
  response,
5015
5085
  arrayRoot,
5016
5086
  obj,
5017
- key,
5087
+ key$jscomp$0,
5018
5088
  null,
5019
5089
  loadServerReference$1
5020
5090
  )
@@ -5034,41 +5104,44 @@
5034
5104
  case "Q":
5035
5105
  return (
5036
5106
  (arrayRoot = value.slice(2)),
5037
- getOutlinedModel(response, arrayRoot, obj, key, null, createMap)
5107
+ getOutlinedModel(
5108
+ response,
5109
+ arrayRoot,
5110
+ obj,
5111
+ key$jscomp$0,
5112
+ null,
5113
+ createMap
5114
+ )
5038
5115
  );
5039
5116
  case "W":
5040
5117
  return (
5041
5118
  (arrayRoot = value.slice(2)),
5042
- getOutlinedModel(response, arrayRoot, obj, key, null, createSet)
5119
+ getOutlinedModel(
5120
+ response,
5121
+ arrayRoot,
5122
+ obj,
5123
+ key$jscomp$0,
5124
+ null,
5125
+ createSet
5126
+ )
5043
5127
  );
5044
5128
  case "K":
5045
- key = value.slice(2);
5046
- obj = response._prefix + "_";
5047
- key = obj + key + "_";
5048
- arrayRoot = new FormData();
5049
- for (response = response._formData; ; ) {
5050
- value = response;
5051
- reference = value.keys;
5052
- null === reference &&
5053
- ((reference = value.keys = Array.from(value.data.keys())),
5054
- (value.keyPointer = 0));
5055
- value = reference[value.keyPointer];
5056
- if (void 0 === value) break;
5057
- if (value.startsWith(key)) {
5058
- reference = response.data.getAll(value);
5059
- for (
5060
- var referencedFormDataKey = value.slice(key.length), i = 0;
5061
- i < reference.length;
5062
- i++
5063
- )
5064
- arrayRoot.append(referencedFormDataKey, reference[i]);
5065
- reference = response;
5066
- reference.data.delete(value);
5067
- reference.keyPointer++;
5068
- } else if (value.startsWith(obj)) break;
5069
- else response.keyPointer++;
5129
+ key$jscomp$0 = value.slice(2);
5130
+ obj = response._formData;
5131
+ response = response._prefix + "_" + key$jscomp$0 + "_";
5132
+ key$jscomp$0 = new FormData();
5133
+ arrayRoot = obj.referencedEntries;
5134
+ if (null !== arrayRoot) {
5135
+ for (value = obj.keyPointer; value < arrayRoot.length; ) {
5136
+ reference = arrayRoot[value];
5137
+ var key = reference[0];
5138
+ if (!key.startsWith(response)) break;
5139
+ key$jscomp$0.append(key.slice(response.length), reference[1]);
5140
+ value++;
5141
+ }
5142
+ obj.keyPointer = value;
5070
5143
  }
5071
- return arrayRoot;
5144
+ return key$jscomp$0;
5072
5145
  case "i":
5073
5146
  return (
5074
5147
  (arrayRoot = value.slice(2)),
@@ -5076,7 +5149,7 @@
5076
5149
  response,
5077
5150
  arrayRoot,
5078
5151
  obj,
5079
- key,
5152
+ key$jscomp$0,
5080
5153
  null,
5081
5154
  extractIterator
5082
5155
  )
@@ -5111,7 +5184,7 @@
5111
5184
  ArrayBuffer,
5112
5185
  1,
5113
5186
  obj,
5114
- key,
5187
+ key$jscomp$0,
5115
5188
  arrayRoot
5116
5189
  );
5117
5190
  case "O":
@@ -5121,7 +5194,7 @@
5121
5194
  Int8Array,
5122
5195
  1,
5123
5196
  obj,
5124
- key,
5197
+ key$jscomp$0,
5125
5198
  arrayRoot
5126
5199
  );
5127
5200
  case "o":
@@ -5131,7 +5204,7 @@
5131
5204
  Uint8Array,
5132
5205
  1,
5133
5206
  obj,
5134
- key,
5207
+ key$jscomp$0,
5135
5208
  arrayRoot
5136
5209
  );
5137
5210
  case "U":
@@ -5141,7 +5214,7 @@
5141
5214
  Uint8ClampedArray,
5142
5215
  1,
5143
5216
  obj,
5144
- key,
5217
+ key$jscomp$0,
5145
5218
  arrayRoot
5146
5219
  );
5147
5220
  case "S":
@@ -5151,7 +5224,7 @@
5151
5224
  Int16Array,
5152
5225
  2,
5153
5226
  obj,
5154
- key,
5227
+ key$jscomp$0,
5155
5228
  arrayRoot
5156
5229
  );
5157
5230
  case "s":
@@ -5161,7 +5234,7 @@
5161
5234
  Uint16Array,
5162
5235
  2,
5163
5236
  obj,
5164
- key,
5237
+ key$jscomp$0,
5165
5238
  arrayRoot
5166
5239
  );
5167
5240
  case "L":
@@ -5171,7 +5244,7 @@
5171
5244
  Int32Array,
5172
5245
  4,
5173
5246
  obj,
5174
- key,
5247
+ key$jscomp$0,
5175
5248
  arrayRoot
5176
5249
  );
5177
5250
  case "l":
@@ -5181,7 +5254,7 @@
5181
5254
  Uint32Array,
5182
5255
  4,
5183
5256
  obj,
5184
- key,
5257
+ key$jscomp$0,
5185
5258
  arrayRoot
5186
5259
  );
5187
5260
  case "G":
@@ -5191,7 +5264,7 @@
5191
5264
  Float32Array,
5192
5265
  4,
5193
5266
  obj,
5194
- key,
5267
+ key$jscomp$0,
5195
5268
  arrayRoot
5196
5269
  );
5197
5270
  case "g":
@@ -5201,7 +5274,7 @@
5201
5274
  Float64Array,
5202
5275
  8,
5203
5276
  obj,
5204
- key,
5277
+ key$jscomp$0,
5205
5278
  arrayRoot
5206
5279
  );
5207
5280
  case "M":
@@ -5211,7 +5284,7 @@
5211
5284
  BigInt64Array,
5212
5285
  8,
5213
5286
  obj,
5214
- key,
5287
+ key$jscomp$0,
5215
5288
  arrayRoot
5216
5289
  );
5217
5290
  case "m":
@@ -5221,7 +5294,7 @@
5221
5294
  BigUint64Array,
5222
5295
  8,
5223
5296
  obj,
5224
- key,
5297
+ key$jscomp$0,
5225
5298
  arrayRoot
5226
5299
  );
5227
5300
  case "V":
@@ -5231,13 +5304,13 @@
5231
5304
  DataView,
5232
5305
  1,
5233
5306
  obj,
5234
- key,
5307
+ key$jscomp$0,
5235
5308
  arrayRoot
5236
5309
  );
5237
5310
  case "B":
5238
5311
  return (
5239
5312
  (obj = parseInt(value.slice(2), 16)),
5240
- response._formData.data.get(response._prefix + obj)
5313
+ getBackingBlob(response._formData, response._prefix + obj)
5241
5314
  );
5242
5315
  case "R":
5243
5316
  return parseReadableStream(response, value, void 0);
@@ -5253,7 +5326,7 @@
5253
5326
  response,
5254
5327
  value,
5255
5328
  obj,
5256
- key,
5329
+ key$jscomp$0,
5257
5330
  arrayRoot,
5258
5331
  createModel
5259
5332
  );
@@ -5272,11 +5345,20 @@
5272
5345
  : new FormData(),
5273
5346
  arraySizeLimit =
5274
5347
  4 < arguments.length && void 0 !== arguments[4] ? arguments[4] : 1e6,
5275
- chunks = new Map();
5348
+ chunks = new Map(),
5349
+ backingStore = {
5350
+ prefix: formFieldPrefix,
5351
+ referencedEntries: null,
5352
+ keyPointer: 0,
5353
+ stringChunks: null,
5354
+ streamChunks: null,
5355
+ blobs: null
5356
+ };
5357
+ backingFormData.forEach(appendBackingEntry.bind(null, backingStore));
5276
5358
  return {
5277
5359
  _bundlerConfig: bundlerConfig,
5278
5360
  _prefix: formFieldPrefix,
5279
- _formData: { data: backingFormData, keyPointer: -1, keys: null },
5361
+ _formData: backingStore,
5280
5362
  _chunks: chunks,
5281
5363
  _closed: !1,
5282
5364
  _closedReason: null,
@@ -5286,14 +5368,26 @@
5286
5368
  };
5287
5369
  }
5288
5370
  function resolveField(response, key, value) {
5289
- appendBackingEntry(response._formData, key, value);
5290
5371
  var prefix = response._prefix;
5291
5372
  if (key.startsWith(prefix)) {
5292
5373
  var chunks = response._chunks;
5293
- key = +key.slice(prefix.length);
5294
- (chunks = chunks.get(key)) &&
5295
- resolveModelChunk(response, chunks, value, key);
5374
+ if ("S" === key[prefix.length]) {
5375
+ if (
5376
+ key.length > prefix.length + 1 &&
5377
+ ((prefix = +key.slice(prefix.length + 1)),
5378
+ (chunks = chunks.get(prefix)))
5379
+ ) {
5380
+ resolveModelChunk(response, chunks, value, prefix);
5381
+ return;
5382
+ }
5383
+ } else if (
5384
+ ((prefix = +key.slice(prefix.length)), (chunks = chunks.get(prefix)))
5385
+ ) {
5386
+ resolveModelChunk(response, chunks, value, prefix);
5387
+ return;
5388
+ }
5296
5389
  }
5390
+ appendBackingEntry(response._formData, value, key);
5297
5391
  }
5298
5392
  function close(response) {
5299
5393
  reportGlobalError(response, Error("Connection closed."));
@@ -5546,6 +5640,12 @@
5546
5640
  Symbol.for("react.postpone");
5547
5641
  var MAYBE_ITERATOR_SYMBOL = Symbol.iterator,
5548
5642
  ASYNC_ITERATOR = Symbol.asyncIterator,
5643
+ hasOwnProperty = Object.prototype.hasOwnProperty,
5644
+ supportsArrayBufferDetached = hasOwnProperty.call(
5645
+ ArrayBuffer.prototype,
5646
+ "detached"
5647
+ ),
5648
+ didWarnAboutMissingArrayBufferDetached = !1,
5549
5649
  scheduleMicrotask = queueMicrotask,
5550
5650
  currentView = null,
5551
5651
  writtenBytes = 0,
@@ -5856,7 +5956,6 @@
5856
5956
  jsxPropsParents = new WeakMap(),
5857
5957
  jsxChildrenParents = new WeakMap(),
5858
5958
  CLIENT_REFERENCE_TAG = Symbol.for("react.client.reference"),
5859
- hasOwnProperty = Object.prototype.hasOwnProperty,
5860
5959
  doNotLimit = new WeakSet();
5861
5960
  (function () {
5862
5961
  async_hooks
@@ -6160,7 +6259,7 @@
6160
6259
  _entry$value = _entry$value[1];
6161
6260
  "string" === typeof _entry$value
6162
6261
  ? resolveField(response, entry, _entry$value)
6163
- : appendBackingEntry(response._formData, entry, _entry$value);
6262
+ : appendBackingEntry(response._formData, _entry$value, entry);
6164
6263
  iterator.next().then(progress, error);
6165
6264
  }
6166
6265
  }
@@ -6186,26 +6285,33 @@
6186
6285
  var current = head;
6187
6286
  if (!current.complete) return;
6188
6287
  try {
6189
- var response = response$jscomp$0,
6190
- key = current.name,
6191
- handle = current.file,
6192
- blob = new Blob(handle.chunks, { type: handle.mime }),
6193
- backingStore = response._formData;
6194
- response = key;
6195
- backingStore.data.append(response, blob, handle.filename);
6196
- var keys = backingStore.keys;
6197
- null === keys
6198
- ? ((backingStore.keys = Array.from(backingStore.data.keys())),
6199
- (backingStore.keyPointer = 0))
6200
- : keys.push(response);
6288
+ var key = current.name,
6289
+ JSCompiler_temp_const = response._formData;
6290
+ var handle = current.file;
6291
+ if ("function" === typeof File)
6292
+ var JSCompiler_inline_result = new File(
6293
+ handle.chunks,
6294
+ handle.filename,
6295
+ { type: handle.mime }
6296
+ );
6297
+ else {
6298
+ var scratch = new FormData();
6299
+ scratch.append(
6300
+ "file",
6301
+ new Blob(handle.chunks, { type: handle.mime }),
6302
+ handle.filename
6303
+ );
6304
+ JSCompiler_inline_result = scratch.get("file");
6305
+ }
6306
+ appendBackingEntry(
6307
+ JSCompiler_temp_const,
6308
+ JSCompiler_inline_result,
6309
+ key
6310
+ );
6201
6311
  var queuedFields = current.queuedFields;
6202
6312
  if (null !== queuedFields)
6203
- for (response = 0; response < queuedFields.length; response += 2)
6204
- resolveField(
6205
- response$jscomp$0,
6206
- queuedFields[response],
6207
- queuedFields[response + 1]
6208
- );
6313
+ for (var i = 0; i < queuedFields.length; i += 2)
6314
+ resolveField(response, queuedFields[i], queuedFields[i + 1]);
6209
6315
  } catch (error) {
6210
6316
  busboyStream.destroy(error);
6211
6317
  return;
@@ -6213,9 +6319,9 @@
6213
6319
  head = current.next;
6214
6320
  }
6215
6321
  tail = null;
6216
- bodyFinished && !closed && ((closed = !0), close(response$jscomp$0));
6322
+ bodyFinished && !closed && ((closed = !0), close(response));
6217
6323
  }
6218
- var response$jscomp$0 = createResponse(
6324
+ var response = createResponse(
6219
6325
  serverManifest,
6220
6326
  "",
6221
6327
  options ? options.temporaryReferences : void 0,
@@ -6232,7 +6338,7 @@
6232
6338
  tail.queuedFields.push(name, value);
6233
6339
  else
6234
6340
  try {
6235
- resolveField(response$jscomp$0, name, value);
6341
+ resolveField(response, name, value);
6236
6342
  } catch (error) {
6237
6343
  busboyStream.destroy(error);
6238
6344
  }
@@ -6278,14 +6384,14 @@
6278
6384
  flush();
6279
6385
  closed ||
6280
6386
  reportGlobalError(
6281
- response$jscomp$0,
6387
+ response,
6282
6388
  Error("Reply finished with incomplete file part.")
6283
6389
  );
6284
6390
  });
6285
6391
  busboyStream.on("error", function (err) {
6286
- reportGlobalError(response$jscomp$0, err);
6392
+ reportGlobalError(response, err);
6287
6393
  });
6288
- return getChunk(response$jscomp$0, 0);
6394
+ return getChunk(response, 0);
6289
6395
  };
6290
6396
  exports.loadServerAction = function (id) {
6291
6397
  var reference = resolveServerReference(serverManifest, id);